Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Suspend Opation not working horizon

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

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher incoming.message))

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 176, in _dispatch

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)

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 122, in _do_dispatch

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher payload)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return f(self, context, args, *kw)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 280, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher pass

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 266, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return function(self, context, args, *kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 333, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher function(self, context, args, *kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 309, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher e, sys.exc_info())

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return function(self, context, args, *kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3724, in resume_instance

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher block_device_info)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2143, in resume

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher vifs_already_plugged=True)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages /nova/virt/libvirt/driver.py", line 3644, in _create_domain_and_network

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher power_on=power_on)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3547, in _create_domain

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher domain.XMLDesc(0))

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3542, in _create_domain

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher domain.createWithFlags(launch_flags)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher result = proxy_call(self._autowrap, f, args, *kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher rv = execute(f,args,*kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher rv = meth(args,*kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/libvirt.py", line 896, in createWithFlags

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher libvirtError: 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

2014-09-16 10:27:41.331 21357 ERROR oslo.messaging._drivers.common [-] Returning exception internal error: cannot load AppArmor profile 'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112' to caller

2014-09-16 10:27:41.331 21357 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, new_args)\n', ' File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped\n return f(self, context, args, *kw)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 280, in decorated_function\n pass\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 266, in decorated_function\n return function(self, context, args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 333, in decorated_function\n function(self, context, args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 309, in decorated_function\n e, sys.exc_info())\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function\n return function(self, context, args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3724, in resume_instance\n block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2143, in resume\n vifs_already_plugged=True)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3644, in _create_domain_and_network\n power_on=power_on)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3547, in _create_domain\n domain.XMLDesc(0))\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3542, in _create_domain\n domain.createWithFlags(launch_flags)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit\n result = proxy_call(self._autowrap, f, args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call\n rv = execute(f,args,kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker\n rv = meth(args,**kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/libvirt.py", line 896, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', "libvirtError: internal error: cannot load AppArmor profile 'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112'\n"]

Suspend Opation not working horizonin 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

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher incoming.message))

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 176, in _dispatch

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)

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 122, in _do_dispatch

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher payload)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return f(self, context, args, *kw)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 280, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher pass

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 266, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return function(self, context, args, *kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 333, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher function(self, context, args, *kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 309, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher e, sys.exc_info())

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return function(self, context, args, *kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3724, in resume_instance

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher block_device_info)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2143, in resume

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher vifs_already_plugged=True)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages /nova/virt/libvirt/driver.py", line 3644, in _create_domain_and_network

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher power_on=power_on)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3547, in _create_domain

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher domain.XMLDesc(0))

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3542, in _create_domain

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher domain.createWithFlags(launch_flags)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher result = proxy_call(self._autowrap, f, args, *kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher rv = execute(f,args,*kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher rv = meth(args,*kwargs)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/libvirt.py", line 896, in createWithFlags

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher libvirtError: 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

2014-09-16 10:27:41.331 21357 ERROR oslo.messaging._drivers.common [-] Returning exception internal error: cannot load AppArmor profile 'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112' to caller

2014-09-16 10:27:41.331 21357 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, new_args)\n', ' File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped\n return f(self, context, args, *kw)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 280, in decorated_function\n pass\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 266, in decorated_function\n return function(self, context, args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 333, in decorated_function\n function(self, context, args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 309, in decorated_function\n e, sys.exc_info())\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function\n return function(self, context, args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3724, in resume_instance\n block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2143, in resume\n vifs_already_plugged=True)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3644, in _create_domain_and_network\n power_on=power_on)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3547, in _create_domain\n domain.XMLDesc(0))\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3542, in _create_domain\n domain.createWithFlags(launch_flags)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit\n result = proxy_call(self._autowrap, f, args, *kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call\n rv = execute(f,args,kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker\n rv = meth(args,**kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/libvirt.py", line 896, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', "libvirtError: internal error: cannot load AppArmor profile 'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112'\n"]

click to hide/show revision 3
No.3 Revision

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

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

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>

type='kvm'> <name>instance-0000010e</name> <uuid>a57745bf-61b0-48c1-87a9-2f5e89026112</uuid> <memory unit="KiB">2097152</memory>

<currentmemory unit="KiB">2097152</currentmemory>

unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <vcpu placement="static">1</vcpu>

placement='static'>1</vcpu> <sysinfo type="smbios">

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>


  </sysinfo>

  <os>

    <type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>

 <boot dev='hd'/>

 <smbios mode='sysinfo'/>

</os>

<features>


  </os>

  <features>

    <acpi/>

 <apic/>

</features>

</features> <cpu mode="host-passthrough">

</cpu>

mode='host-passthrough'> </cpu> <clock offset="utc">

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>


  </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'/>

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>

</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'

'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112' 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):

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

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher incoming.message))

_dispatch_and_reply 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher incoming.message)) 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 176, in _dispatch

_dispatch 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)

args) 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 122, in _do_dispatch

_do_dispatch 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)

**new_args) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher payload)

wrapped 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher payload) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

__exit__ 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

self.tb) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped

wrapped 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return f(self, context, args, *kw)

*args, **kw) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 280, in decorated_function

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher pass

decorated_function 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher pass 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

__exit__ 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

self.tb) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 266, in decorated_function

decorated_function 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return function(self, context, args, *kwargs)

*args, **kwargs) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 333, in decorated_function

decorated_function 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher function(self, context, args, *kwargs)

*args, **kwargs) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 309, in decorated_function

decorated_function 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher e, sys.exc_info())

sys.exc_info()) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

__exit__ 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

self.tb) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function

decorated_function 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher return function(self, context, args, *kwargs)

*args, **kwargs) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3724, in resume_instance

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher block_device_info)

resume_instance 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher block_device_info) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2143, in resume

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher vifs_already_plugged=True)

resume 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher vifs_already_plugged=True) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages /nova/virt/libvirt/driver.py", line 3644, in _create_domain_and_network

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher power_on=power_on)

_create_domain_and_network 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher power_on=power_on) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3547, in _create_domain

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher domain.XMLDesc(0))

_create_domain 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher domain.XMLDesc(0)) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__

__exit__ 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb)

self.tb) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3542, in _create_domain

2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher domain.createWithFlags(launch_flags)

_create_domain 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher domain.createWithFlags(launch_flags) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit

doit 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher result = proxy_call(self._autowrap, f, args, *kwargs)

*args, **kwargs) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call

proxy_call 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher rv = execute(f,args,*kwargs)

execute(f,*args,**kwargs) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker

tworker 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher rv = meth(args,*kwargs)

meth(*args,**kwargs) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/libvirt.py", line 896, in createWithFlags

createWithFlags 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)

dom=self) 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher libvirtError: 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

'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112' 2014-09-16 10:27:41.327 21357 TRACE oslo.messaging.rpc.dispatcher 2014-09-16 10:27:41.331 21357 ERROR oslo.messaging._drivers.common [-] Returning exception internal error: cannot load AppArmor profile 'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112' to caller

caller 2014-09-16 10:27:41.331 21357 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, new_args)\n', **new_args)\n', ' File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped\n payload)\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped\n return f(self, context, args, *kw)\n', *args, **kw)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 280, in decorated_function\n pass\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 266, in decorated_function\n return function(self, context, args, *kwargs)\n', *args, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 333, in decorated_function\n function(self, context, args, *kwargs)\n', *args, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 309, in decorated_function\n e, sys.exc_info())\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function\n return function(self, context, args, *kwargs)\n', *args, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3724, in resume_instance\n block_device_info)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2143, in resume\n vifs_already_plugged=True)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3644, in _create_domain_and_network\n power_on=power_on)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3547, in _create_domain\n domain.XMLDesc(0))\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3542, in _create_domain\n domain.createWithFlags(launch_flags)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit\n result = proxy_call(self._autowrap, f, args, *kwargs)\n', *args, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call\n rv = execute(f,args,kwargs)\n', execute(f,*args,**kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker\n rv = meth(args,**kwargs)\n', meth(*args,**kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/libvirt.py", line 896, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', "libvirtError: internal error: cannot load AppArmor profile 'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112'\n"]

'libvirt-a57745bf-61b0-48c1-87a9-2f5e89026112'\n"]