[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 429] New: domain reboot fails when domain has too much memory



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

           Summary: domain reboot fails when domain has too much memory
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: becker@xxxxxxxxxxx
 BugsThisDependsOn: 407


'xm reboot' fails if there is not enough free memory.   In my case, i can 
reboot if 84MB are free.  Any less and xend fails.   xend.log message at 
bottom. 
 
xm info says my test host has  total_memory 256 and free_memory 190.  
After creating a domain with  memory=106, xm info says free_memory is 
84. This reboots fine. 
 
If I then 'xm mem-set domain 108' (or just xm create memory=108), the 
domain will not reboot.  xend says not enough free memory. 
 
The domain reboot feature is critical so users without access to domain 0 
can reboot their VMs. 
 
 
[2005-12-02 11:56:21 xend.XendDomainInfo] ERROR 
(XendDomainInfo:1369) Failed to  
restart domain 4. 
Traceback (most recent call last): 
  File 
"/usr/research/proj/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/x 
end/XendDomainInfo.py", line 1358, in restart 
    new_dom = XendDomain.instance().domain_create(config) 
  File 
"/usr/research/proj/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/x 
end/XendDomain.py", line 220, in domain_create 
    dominfo = XendDomainInfo.create(config) 
  File 
"/usr/research/proj/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/x 
end/XendDomainInfo.py", line 183, in create 
    vm.initDomain() 
  File 
"/usr/research/proj/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/x 
end/XendDomainInfo.py", line 1120, in initDomain 
    balloon.free(m) 
  File 
"/usr/research/proj/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/x 
end/balloon.py", line 54, in free 
    raise VmError('Not enough free memory and dom0_min_mem is 0.') 
VmError: Not enough free memory and dom0_min_mem is 0.

-- 
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.