[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-bugs
Subject:    [Xen-bugs] [Bug 1661] New: [xm] VM creation hang via Xen-API
From:       bugzilla-daemon () lists ! xensource ! com
Date:       2010-09-10 12:11:55
Message-ID: bug-1661-3 () http ! bugzilla ! xensource ! com/bugzilla/
[Download RAW message or body]

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1661

           Summary: [xm] VM creation hang via Xen-API
           Product: Xen
           Version: unstable
          Platform: x86-64
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@lists.xensource.com
        ReportedBy: nagius.ext@orange-ftgroup.com


When starting a VM with the new Xen-API and the keywork "maxmem" in the conf,
the creation just hang.
This bug is reproductible with xm command, from 3.3.0 to 4.0.1, using
serverType = SERVER_XEN_API.

It seems that there is a typo in the file xen/xm/xenapi_create.py
Here is the patch :


diff -Naur xen.orig/xm/xenapi_create.py xen/xm/xenapi_create.py
--- xen.orig/xm/xenapi_create.py        2010-08-25 12:22:10.000000000 +0200
+++ xen/xm/xenapi_create.py     2010-09-10 11:45:22.000000000 +0200
@@ -761,7 +761,7 @@

         if get_child_by_name(config, "maxmem"):
             memory.attributes["static_max"] = \
-               str(int(get_child_by_name(config, "maxmem")*1024*1024))
+               str(int(get_child_by_name(config, "maxmem"))*1024*1024)

         vm.appendChild(memory)


-- 
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@lists.xensource.com
http://lists.xensource.com/xen-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic