root@~ $oz-generate-icicle -d 4 /export/temp/oz-test/mickey.tdl /etc/libvirt/qemu/mickey.xml DEBUG:oz.Guest.FedoraGuest:libvirt bridge name is virbr0, host_bridge_ip is 192.168.122.1 DEBUG:oz.Guest.FedoraGuest:Name: mickey, UUID: 2906f8cc-4532-471f-9c6a-d798f22bbe81 DEBUG:oz.Guest.FedoraGuest:MAC: 52:54:00:1a:c2:ea, distro: Fedora DEBUG:oz.Guest.FedoraGuest:update: 14, arch: x86_64, diskimage: /var/lib/libvirt/images/mickey.dsk DEBUG:oz.Guest.FedoraGuest:nicmodel: virtio, clockoffset: utc DEBUG:oz.Guest.FedoraGuest:mousetype: ps2, disk_bus: virtio, disk_dev: vda DEBUG:oz.Guest.FedoraGuest:icicletmp: /var/lib/oz/icicletmp/mickey, listen_port: 64021 DEBUG:oz.Guest.FedoraGuest:Original ISO path: /var/lib/oz/isos/Fedora14x86_64-url.iso DEBUG:oz.Guest.FedoraGuest:Modified ISO cache: /var/lib/oz/isos/Fedora14x86_64-url-oz.iso DEBUG:oz.Guest.FedoraGuest:Output ISO path: /var/lib/libvirt/images/mickey-url-oz.iso DEBUG:oz.Guest.FedoraGuest:ISO content path: /var/lib/oz/isocontent/mickey-url DEBUG:oz.Guest.FedoraGuest:Original URL http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ resolved to http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ INFO:oz.Guest.FedoraGuest:Generating ICICLE INFO:oz.Guest.FedoraGuest:Collection Setup INFO:oz.Guest.FedoraGuest:Setting up guestfs handle for mickey DEBUG:oz.Guest.FedoraGuest:Adding disk image /var/lib/libvirt/images/mickey.dsk DEBUG:oz.Guest.FedoraGuest:Launching guestfs DEBUG:oz.Guest.FedoraGuest:Inspecting guest OS DEBUG:oz.Guest.FedoraGuest:Getting mountpoints DEBUG:oz.Guest.FedoraGuest:Root device: /dev/VolGroup00/LogVol00 DEBUG:oz.Guest.FedoraGuest:Step 1: Uploading ssh keys INFO:oz.Guest.FedoraGuest:Generating new openssh key DEBUG:oz.Guest.FedoraGuest:Step 2: setup sshd DEBUG:oz.Guest.FedoraGuest:Step 3: Open up the firewall DEBUG:oz.Guest.FedoraGuest:Step 4: Guest announcement DEBUG:oz.Guest.FedoraGuest:Step 5: Set SELinux to permissive mode INFO:oz.Guest.FedoraGuest:Cleaning up guestfs handle for mickey DEBUG:oz.Guest.FedoraGuest:Syncing DEBUG:oz.Guest.FedoraGuest:Unmounting all DEBUG:oz.Guest.FedoraGuest:Killing guestfs subprocess INFO:oz.Guest.FedoraGuest:Waiting for guest mickey to boot DEBUG:oz.Guest.FedoraGuest:Waiting for guest mickey to boot, 300/300 DEBUG:oz.Guest.FedoraGuest:Waiting for guest mickey to boot, 290/300 DEBUG:oz.Guest.FedoraGuest:Waiting for guest mickey to boot, 280/300 DEBUG:oz.Guest.FedoraGuest:Waiting for guest mickey to boot, 270/300 DEBUG:oz.Guest.FedoraGuest:Waiting for guest mickey to boot, 260/300 DEBUG:oz.Guest.FedoraGuest:Waiting for guest mickey to boot, 250/300 DEBUG:oz.Guest.FedoraGuest:IP address of guest is 192.168.122.25 DEBUG:oz.Guest.FedoraGuest:Waiting for mickey to shutdown, 60/60 DEBUG:oz.Guest.FedoraGuest:Waiting for mickey to shutdown, 50/60 DEBUG:oz.Guest.FedoraGuest:Waiting for mickey to shutdown, 40/60 DEBUG:oz.Guest.FedoraGuest:Waiting for mickey to shutdown, 30/60 DEBUG:oz.Guest.FedoraGuest:Waiting for mickey to shutdown, 20/60 DEBUG:oz.Guest.FedoraGuest:Waiting for mickey to shutdown, 10/60 WARNING:oz.Guest.FedoraGuest:Guest did not shutdown in time, going to kill INFO:oz.Guest.FedoraGuest:Collection Teardown INFO:oz.Guest.FedoraGuest:Setting up guestfs handle for mickey DEBUG:oz.Guest.FedoraGuest:Adding disk image /var/lib/libvirt/images/mickey.dsk DEBUG:oz.Guest.FedoraGuest:Launching guestfs DEBUG:oz.Guest.FedoraGuest:Inspecting guest OS DEBUG:oz.Guest.FedoraGuest:Getting mountpoints DEBUG:oz.Guest.FedoraGuest:Root device: /dev/VolGroup00/LogVol00 DEBUG:oz.Guest.FedoraGuest:Teardown step 1 DEBUG:oz.Guest.FedoraGuest:Resetting authorized_keys DEBUG:oz.Guest.FedoraGuest:Teardown step 2 DEBUG:oz.Guest.FedoraGuest:Resetting sshd_config DEBUG:oz.Guest.FedoraGuest:Resetting sshd service DEBUG:oz.Guest.FedoraGuest:Teardown step 3 DEBUG:oz.Guest.FedoraGuest:Resetting iptables rules DEBUG:oz.Guest.FedoraGuest:Teardown step 4 DEBUG:oz.Guest.FedoraGuest:Resetting announcement to host DEBUG:oz.Guest.FedoraGuest:Removing icicle-nc binary DEBUG:oz.Guest.FedoraGuest:Resetting crond service DEBUG:oz.Guest.FedoraGuest:Teardown step 5 INFO:oz.Guest.FedoraGuest:Cleaning up guestfs handle for mickey DEBUG:oz.Guest.FedoraGuest:Syncing DEBUG:oz.Guest.FedoraGuest:Unmounting all DEBUG:oz.Guest.FedoraGuest:Killing guestfs subprocess Traceback (most recent call last): File "/usr/bin/oz-generate-icicle", line 107, in print guest.generate_icicle(open(libvirt_xml_file, 'r').read()) File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 388, in generate_icicle self.shutdown_guest(guestaddr, libvirt_dom) File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 432, in shutdown_guest libvirt_dom.destroy() File "/usr/lib64/python2.7/site-packages/libvirt.py", line 349, in destroy if ret == -1: raise libvirtError ('virDomainDestroy() failed', dom=self) libvirt.libvirtError: Requested operation is not valid: domain is not running