[Bug 1384532] Re: Unable to set AppArmor profile [...] no such file or directory

2016-09-14 Thread Prateek khushalani
Just to add I think I know a solution to this problem:-

1. The libvirt files created under  /etc/apparmor.d/libvirt/ has a 
.files
2. If the directory of the ISO specified has spaces it will fail.


Workaround-

1. Change the name of the file to a very simple one( windows.iso, ubuntu.iso)
2. Make sure the path of the iso contains no directory name with spaces.
3. It works :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384532

Title:
  Unable to set AppArmor profile [...] no such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1322681] Re: live-migration --block-migrate UUID fails: XML error: CPU feature `pdpe1gb' specified more than once

2014-08-01 Thread Prateek khushalani
*** This bug is a duplicate of bug 1267191 ***
https://bugs.launchpad.net/bugs/1267191

Hi,

its a bug it the code. The workaround is to comment the function in the
libvirt code which checks the flags of cpu while migration. Do make sure
manually that the cpu flags of both the compute nodes are same.

Regards,
Prateek Khushalani
On Aug 1, 2014 6:51 PM, James Page james.p...@ubuntu.com wrote:

 *** This bug is a duplicate of bug 1267191 ***
 https://bugs.launchpad.net/bugs/1267191

 I think this is related to bug 1267191 which is currently in verfication
 in trusty-proposed.

 ** Changed in: nova (Ubuntu)
Importance: Undecided = Medium

 ** Changed in: nova (Ubuntu)
Status: Confirmed = Triaged

 ** This bug has been marked a duplicate of bug 1267191
 openstack-nova-compute service fails with - libvirtError: internal
 error: CPU feature `avx' specified more than once

 --
 You received this bug notification because you are subscribed to
 OpenStack.
 Matching subscriptions: Prateek Khushalani
 https://bugs.launchpad.net/bugs/1322681

 Title:
   live-migration --block-migrate UUID fails: XML error: CPU feature
   `pdpe1gb' specified more than once

 Status in OpenStack Compute (Nova):
   New
 Status in “nova” package in Ubuntu:
   Triaged
 Status in “nova” package in Fedora:
   New

 Bug description:
   2014-05-23 15:32:58.767 57916 INFO nova.compute.resource_tracker [-]
 Compute_service record updated for chakora:chakora.1ss.qa.lexington
   2014-05-23 15:33:42.551 57916 INFO nova.virt.libvirt.driver
 [req-9d8c6bac-74ea-4876-9fb2-729f2f525fb2 ff364dfc08b84aab871a802888cfbd76
 ce780a90138b466f8a0343d487e3198c] Instance launched has CPU info:
   {vendor: Intel, model: SandyBridge, arch: x86_64,
 features: [pdpe1gb, osxsave, dca, pcid, pdcm, xtpr, tm2,
 est, smx, vmx, ds_cpl, monitor, dtes64, pbe, tm, ht,
 ss, acpi, ds, vme, pdpe1gb, osxsave, dca, pcid, pdcm,
 xtpr, tm2, est, smx, vmx, ds_cpl, monitor, dtes64, pbe,
 tm, ht, ss, acpi, ds, vme, lahf_lm, lm, rdtscp, nx,
 syscall, avx, xsave, aes, tsc-deadline, popcnt, x2apic,
 sse4.2, sse4.1, cx16, ssse3, pclmuldq, pni, sse2, sse,
 fxsr, mmx, clflush, pse36, pat, cmov, mca, pge, mtrr,
 sep, apic, cx8, mce, pae, msr, tsc, pse, de, fpu],
 topology: {cores: 8, threads: 2, sockets: 1}}
   2014-05-23 15:33:42.556 57916 ERROR nova.virt.libvirt.driver
 [req-9d8c6bac-74ea-4876-9fb2-729f2f525fb2 ff364dfc08b84aab871a802888cfbd76
 ce780a90138b466f8a0343d487e3198c] CPU doesn't have compatibility.

   XML error: CPU feature `pdpe1gb' specified more than once

   Refer to
 http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult
   2014-05-23 15:33:42.568 57916 ERROR oslo.messaging.rpc.dispatcher [-]
 Exception during message handling: XML error: CPU feature `pdpe1gb'
 specified more than once
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 Traceback (most recent call last):
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py, line
 133, in _dispatch_and_reply
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 incoming.message))
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py, line
 176, in _dispatch
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 return self._do_dispatch(endpoint, method, ctxt, args)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py, line
 122, in _do_dispatch
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 result = getattr(endpoint, method)(ctxt, **new_args)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/exception.py, line 88, in wrapped
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 payload)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 six.reraise(self.type_, self.value, self.tb)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/exception.py, line 71, in wrapped
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 return f(self, context, *args, **kw)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 309, in
 decorated_function
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher e,
 sys.exc_info())
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__
   2014-05-23 15:33:42.568 57916 TRACE

Re: [Bug 1322681] Re: live-migration --block-migrate UUID fails: XML error: CPU feature `pdpe1gb' specified more than once

2014-08-01 Thread Prateek khushalani
*** This bug is a duplicate of bug 1267191 ***
https://bugs.launchpad.net/bugs/1267191

Hi,

its a bug it the code. The workaround is to comment the function in the
libvirt code which checks the flags of cpu while migration. Do make sure
manually that the cpu flags of both the compute nodes are same.

Regards,
Prateek Khushalani
On Aug 1, 2014 6:51 PM, James Page james.p...@ubuntu.com wrote:

 *** This bug is a duplicate of bug 1267191 ***
 https://bugs.launchpad.net/bugs/1267191

 I think this is related to bug 1267191 which is currently in verfication
 in trusty-proposed.

 ** Changed in: nova (Ubuntu)
Importance: Undecided = Medium

 ** Changed in: nova (Ubuntu)
Status: Confirmed = Triaged

 ** This bug has been marked a duplicate of bug 1267191
 openstack-nova-compute service fails with - libvirtError: internal
 error: CPU feature `avx' specified more than once

 --
 You received this bug notification because you are subscribed to
 OpenStack.
 Matching subscriptions: Prateek Khushalani
 https://bugs.launchpad.net/bugs/1322681

 Title:
   live-migration --block-migrate UUID fails: XML error: CPU feature
   `pdpe1gb' specified more than once

 Status in OpenStack Compute (Nova):
   New
 Status in “nova” package in Ubuntu:
   Triaged
 Status in “nova” package in Fedora:
   New

 Bug description:
   2014-05-23 15:32:58.767 57916 INFO nova.compute.resource_tracker [-]
 Compute_service record updated for chakora:chakora.1ss.qa.lexington
   2014-05-23 15:33:42.551 57916 INFO nova.virt.libvirt.driver
 [req-9d8c6bac-74ea-4876-9fb2-729f2f525fb2 ff364dfc08b84aab871a802888cfbd76
 ce780a90138b466f8a0343d487e3198c] Instance launched has CPU info:
   {vendor: Intel, model: SandyBridge, arch: x86_64,
 features: [pdpe1gb, osxsave, dca, pcid, pdcm, xtpr, tm2,
 est, smx, vmx, ds_cpl, monitor, dtes64, pbe, tm, ht,
 ss, acpi, ds, vme, pdpe1gb, osxsave, dca, pcid, pdcm,
 xtpr, tm2, est, smx, vmx, ds_cpl, monitor, dtes64, pbe,
 tm, ht, ss, acpi, ds, vme, lahf_lm, lm, rdtscp, nx,
 syscall, avx, xsave, aes, tsc-deadline, popcnt, x2apic,
 sse4.2, sse4.1, cx16, ssse3, pclmuldq, pni, sse2, sse,
 fxsr, mmx, clflush, pse36, pat, cmov, mca, pge, mtrr,
 sep, apic, cx8, mce, pae, msr, tsc, pse, de, fpu],
 topology: {cores: 8, threads: 2, sockets: 1}}
   2014-05-23 15:33:42.556 57916 ERROR nova.virt.libvirt.driver
 [req-9d8c6bac-74ea-4876-9fb2-729f2f525fb2 ff364dfc08b84aab871a802888cfbd76
 ce780a90138b466f8a0343d487e3198c] CPU doesn't have compatibility.

   XML error: CPU feature `pdpe1gb' specified more than once

   Refer to
 http://libvirt.org/html/libvirt-libvirt.html#virCPUCompareResult
   2014-05-23 15:33:42.568 57916 ERROR oslo.messaging.rpc.dispatcher [-]
 Exception during message handling: XML error: CPU feature `pdpe1gb'
 specified more than once
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 Traceback (most recent call last):
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py, line
 133, in _dispatch_and_reply
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 incoming.message))
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py, line
 176, in _dispatch
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 return self._do_dispatch(endpoint, method, ctxt, args)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py, line
 122, in _do_dispatch
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 result = getattr(endpoint, method)(ctxt, **new_args)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/exception.py, line 88, in wrapped
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 payload)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 six.reraise(self.type_, self.value, self.tb)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/exception.py, line 71, in wrapped
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher
 return f(self, context, *args, **kw)
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 309, in
 decorated_function
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher e,
 sys.exc_info())
   2014-05-23 15:33:42.568 57916 TRACE oslo.messaging.rpc.dispatcher   File
 /usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py, line
 68, in __exit__
   2014-05-23 15:33:42.568 57916 TRACE