http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=934
Summary: xm mem-set command failed
Product: Xen
Version: unstable
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Tools
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: kanno.masaki@xxxxxxxxxxxxxx
I tried the xm mem-max command with xen-unstable:cs14488.
The result is as follows.
# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 512 2 r----- 173.6
vm1 256 2 0.0
# xm mem-set vm1 512
Error: int argument required
Usage: xm mem-set <Domain> <Mem>
Set the current memory usage for a domain.
[2007-03-23 18:45:02 5858] ERROR (xmlrpclib2:249) Internal error
handling xend.domain.setMemoryTarget
Traceback (most recent call last):
File "//usr/lib/python/xen/util/xmlrpclib2.py", line 202, in
_marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/lib/python2.3/SimpleXMLRPCServer.py", line 407, in _dispatch
return func(*params)
File "<string>", line 1, in <lambda>
File "//usr/lib/python/xen/xend/server/XMLRPCServer.py", line 50, in dispatch
return getattr(info, fn)(*args)
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 574, in
setMemoryTarget
self.info[\047name_label\047], self.domid, target)
File "/usr/lib/python2.3/logging/__init__.py", line 879, in debug
apply(self._log, (DEBUG, msg, args), kwargs)
File "/usr/lib/python2.3/logging/__init__.py", line 994, in _log
self.handle(record)
File "/usr/lib/python2.3/logging/__init__.py", line 1004, in handle
self.callHandlers(record)
File "/usr/lib/python2.3/logging/__init__.py", line 1037, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.3/logging/__init__.py", line 592, in handle
self.emit(record)
File "/usr/lib/python2.3/logging/handlers.py", line 102, in emit
msg = "%s\n" % self.format(record)
File "/usr/lib/python2.3/logging/__init__.py", line 567, in format
return fmt.format(record)
File "/usr/lib/python2.3/logging/__init__.py", line 362, in format
record.message = record.getMessage()
File "/usr/lib/python2.3/logging/__init__.py", line 233, in getMessage
msg = msg % self.args
TypeError: int argument required
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|