[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Custom block script started twice for root block but only stopped once
A bit more info: I tried using PV-GRUB and this doesn't happen there, so it's only with PyGRUB. AFAICT it happens in tools/python/xen/xend/XendDomainInfo.py in the _configureBootloader method. _shouldMount will return true and so " dom0.create_vbd(vbd, disk)" will be executed to allow access to the device to the host by executing the block-script before the actuall booting. [2012-11-26 13:40:44 3469] INFO (XendDomainInfo:3270) Mounting 192.168.2.201 name=rbd;key=rbd rbd-vm test on /dev/xvdp. [2012-11-26 13:40:44 3469] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '51952', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/0/51952'} to /local/domain/0/device/vbd/51952. [2012-11-26 13:40:44 3469] DEBUG (DevController:97) DevController: writing {'domain': 'Domain-0', 'frontend': '/local/domain/0/device/vbd/51952', 'uuid': '1845bb27-97b5-ce21-348d-ade6e99829e9', 'bootable': '0', 'dev': '/dev/xvdp', 'state': '1', 'params': '192.168.2.201 name=rbd;key=rbd rbd-vm test', 'mode': 'r', 'online': '1', 'frontend-id': '0', 'type': 'rbd'} to /local/domain/0/backend/vbd/0/51952. [2012-11-26 13:40:44 3469] DEBUG (DevController:144) Waiting for 51952. [2012-11-26 13:40:44 3469] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/0/51952/hotplug-status. [2012-11-26 13:40:45 3469] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/0/51952/hotplug-status. [2012-11-26 13:40:45 3469] DEBUG (DevController:642) hotplugStatusCallback 1. [2012-11-26 13:40:45 3469] DEBUG (DevController:144) Waiting for 51952. [2012-11-26 13:40:45 3469] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/0/51952/hotplug-status. [2012-11-26 13:40:45 3469] DEBUG (DevController:642) hotplugStatusCallback 1. [2012-11-26 13:40:45 4455] DEBUG (XendBootloader:113) Launching bootloader as ['/usr/lib/xen-4.1/bin/pygrub', '--args=console=hvc0 xencons=hvc0', '--output=/var/run/xend/boot/xenbl.7585', '-q', '/dev/xvdp']. [2012-11-26 13:40:48 3469] INFO (XendDomainInfo:3289) Unmounting /dev/xvdp from /dev/xvdp. [2012-11-26 13:40:48 3469] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = vbd, device = /dev/xvdp Now in theory the destroyDevice call should have cleared up any resources, but it seems it didn't ... Cheers, Sylvain _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |