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 384] New: Xend behaves badly if a domain fails to reboot

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 384] New: Xend behaves badly if a domain fails to reboot due to hotplug failures
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 06 Nov 2005 09:23:43 +0000
Delivery-date: Sun, 06 Nov 2005 09:23:47 +0000
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/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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=384

           Summary: Xend behaves badly if a domain fails to reboot due to
                    hotplug failures
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: ewan@xxxxxxxxxxxxx


[2005-11-06 02:06:21 xend.XendDomainInfo] ERROR (XendDomainInfo:158)            
Domain construction failed                                                      
Traceback (most recent call last):                                              
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 152, in create         
   vm.initDomain()                                                              
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1109, in initDomain    
   self.createDevices()                                                         
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1222, in createDevices 
   self.createDevice(n, c)                                                      
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 893, in createDevice   
   return self.getDeviceController(deviceClass).createDevice(devconfig)         
 File "/usr/lib/python/xen/xend/server/DevController.py", line 66, in           
createDevice                                                                    
   raise VmError( ("Device %s (%s) could not be connected. "                    
VmError: Device 2049 (vbd) could not be connected. Hotplug scripts not working  
[2005-11-06 02:06:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:1156)           
XendDomainInfo.destroy: domid=8                                                 
[2005-11-06 02:06:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164)           
XendDomainInfo.destroyDomain(8)                                                 
[2005-11-06 02:06:22 xend.XendDomainInfo] ERROR (XendDomainInfo:1306)           
Failed to restart domain 7.                                                     
Traceback (most recent call last):                                              
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1299, in restart       
   new_dom = xd.domain_create(config)                                           
 File "/usr/lib/python/xen/xend/XendDomain.py", line 215, in domain_create      
   dominfo = XendDomainInfo.create(config)                                      
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 152, in create         
   vm.initDomain()                                                              
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1109, in initDomain    
   self.createDevices()                                                         
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1222, in createDevices 
   self.createDevice(n, c)                                                      
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 893, in createDevice   
   return self.getDeviceController(deviceClass).createDevice(devconfig)         
 File "/usr/lib/python/xen/xend/server/DevController.py", line 66, in           
createDevice                                                                    
   raise VmError( ("Device %s (%s) could not be connected. "                    
VmError: Device 2049 (vbd) could not be connected. Hotplug scripts not working  
[2005-11-06 02:06:22 xend] ERROR (xswatch:50) read_watch failed                 
Traceback (most recent call last):                                              
 File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 48, in watchMain     
   watch.fn(*watch.args, **watch.kwargs)                                        
 File "/usr/lib/python/xen/xend/XendDomain.py", line 112, in onReleaseDomain    
   self.refresh()                                                               
 File "/usr/lib/python/xen/xend/XendDomain.py", line 176, in refresh            
   d.update(info)                                                               
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 849, in update         
   self.refreshShutdown(info)                                                   
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 781, in refreshShutdown
   self.maybeRestart(restart_reason)                                            
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 801, in maybeRestart   
   {"destroy"        : self.destroy,                                            
 File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1312, in restart       
   new_dom.removeVm('xend/restart_in_progress')                                 
UnboundLocalError: local variable 'new_dom' referenced before assignment        
[2005-11-06 02:06:22 xend] ERROR (xswatch:50) read_watch failed                 
Traceback (most recent call last):                                              
 File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 48, in watchMain     
   watch.fn(*watch.args, **watch.kwargs)                                        
 File "/usr/lib/python/xen/xend/server/DevController.py", line 267, in          
hotplugStatus                                                                   
   status = self.readBackend(devid, HOTPLUG_STATUS_NODE)                        
 File "/usr/lib/python/xen/xend/server/DevController.py", line 201, in         
readBackend                                                                     
   return xstransact.Read(backpath, *args)                                      
 File "/usr/lib/python/xen/xend/xenstore/xstransact.py", line 225, in Read      
   t = cls(path)                                                                
 File "/usr/lib/python/xen/xend/xenstore/xstransact.py", line 17, in __init__   
   self.path = path.rstrip("/")                                                 
AttributeError: 'NoneType' object has no attribute 'rstrip'

-- 
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>
  • [Xen-bugs] [Bug 384] New: Xend behaves badly if a domain fails to reboot due to hotplug failures, bugzilla-daemon <=