Changeset 1707:d192f45f089f

Show
Ignore:
Timestamp:
07/22/08 17:37:31 (7 weeks ago)
Author:
klai@…
Children:
1708:ecdea2edaa60, 1710:b829bebff6c4
Branch:
default
Message:

Work around Xen hung boot bug by restarting xend before each boot

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Tycoon/Virtualization/XenUtil.py

    r1695 r1707  
    261261            'ramdisk = "%s"' % account['initrd']) 
    262262         
     263        # Restart the xend to work around a xend bug that causes 
     264        # boots to silently fail. 
     265        d = do(self.__reactor, ("/sbin/service", "xend", "restart")) 
     266        yield d 
     267 
    263268        # Boot the VM 
    264269        # Sometimes virtual machine creation fails initially, but