http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=933
Summary: xm mem-max 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----- 133.8
vm1 256 2 0.0
# xm mem-max vm1 512
Error: int argument required
Usage: xm mem-max <Domain> <Mem>
Set the maximum amount reservation for a domain.
[2007-03-23 18:00:12 5099] ERROR (xmlrpclib2:249) Internal error
handling xend.domain.maxmem_set
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 "//usr/lib/python/xen/xend/XendDomain.py", line 1415, in
domain_maxmem_set
dominfo.setMemoryMaximum(mem)
File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 594, in
setMemoryMaximum
self.info[\047name_label\047], self.domid, limit)
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
|