Suspend Opation not working in Icehouse
Hi,
I have installed the Icehouse version of openstack and all the components are working fine except suspend option. I am getting the below error while resuming the instance. It is not resuming and showing the shutdown state. Please suggest the solution.
Logs
2014-09-16 10:27:15.145 21357 INFO nova.compute.resource_tracker [-] Compute_service record
updated for compute:compute.compute
2014-09-16 10:27:39.574 21357 AUDIT nova.compute.manager [req-84e1b9b0-1835-46f1-a06d-19b63d50e14e 8976b4316afc4da2a8e2f473d9864f27 21ef44195eb049a88444450404401238]
[instance: a57745bf-61b0-48c1-87a9-2f5e89026112] Resuming
2014-09-16 10:27:41.064 21357 ERROR nova.virt.libvirt.driver [req-84e1b9b0-1835-46f1-a06d-19b63d50e14e 8976b4316afc4da2a8e2f473d9864f27 21ef44195eb049a88444450404401238] An error occurred while trying to launch a defined domain with xml: <domain type='kvm'>
<name>instance-0000010e</name>
<uuid>a57745bf-61b0-48c1-87a9-2f5e89026112</uuid>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>1</vcpu>
<sysinfo type='smbios'>
<system>
<entry name='manufacturer'>OpenStack Foundation</entry>
<entry name='product'>OpenStack Nova</entry>
<entry name='version'>2014.1</entry>
<entry name='serial'>58384454-544e-0025-904b-0025904b1160</entry>
<entry name='uuid'>a57745bf-61b0-48c1-87a9-2f5e89026112</entry>
</system>
</sysinfo>
<os>
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>
<boot dev='hd'/>
<smbios mode='sysinfo'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough'>
</cpu>
<clock offset='utc'>
<timer name='pit' tickpolicy='delay'/>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/kvm-spice</emulator>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-path/ip-192.168.10.3:3260-iscsi-iqn.2010-10.org.openstack:volume-5a889c81-45cf-
46f6-bc83-b40df1b69d82-lun-1'/>
<target dev='vda' bus='virtio'/>
<serial>5a889c81-45cf-46f6-bc83-b40df1b69d82</serial>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<interface type='bridge'>
<mac address='fa:16:3e:b9:61:43'/>
<source bridge='qbr372d7ae4-d4'/>
<target dev='tap372d7ae4-d4'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='file'>
<source path='/var/lib/nova/instances/a57745bf-61b0-48c1-87a9-2f5e89026112/console.log'/>
<target port='0'/>
</serial>
<serial type='pty'>
<target port='1'/>
</serial>
<console type='file'>
<source path='/var/lib/nova/instances/a57745bf-61b0-48c1-87a9-2f5e89026112/console.log'/>
<target type='serial' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</memballoon>
</devices>
</domain>
2014-09-16 10:27:41.327 21357 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: internal error: cannot load AppArmor profile 'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112'
2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply ...