WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1661] New: [xm] VM creation hang via Xen-API

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1661] New: [xm] VM creation hang via Xen-API
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 10 Sep 2010 05:11:55 -0700
Delivery-date: Fri, 10 Sep 2010 05:12:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
        ReportedBy: nagius.ext@xxxxxxxxxxxxxxxxxx


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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>