[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2014-10-21 Thread Vincent Gerris
That is on Ubuntu 14.04 with recent updates by the way:
virsh --version
1.2.2
3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2014-10-21 Thread Vincent Gerris
Same issue here. Removing space fixes the AppArmour message.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


Re: [Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2014-01-16 Thread Serge Hallyn
I see three things happening when I reproduce this.

First, to do this with domxml-from-native you need to give a more
complete command.  (Whether or not this is a bug in virsh depends on
whether qemu is still *supposed* to support giving the drive disk as
a standalone argument.)

Second, your command did not provide full pathnames for kvm or for
drives.  virsh domxml-to-native doesn't expand those for you.  

Third, even when fixing those up in the xml file, then doing
   virsh define z.xml
   virsh dumpxml unnamed > z2.xml
   /usr/lib/libvirt/virt-aa-helper -c < z2.xml

I get

virt-aa-helper: error: invalid UUID

(This also happens if I add '-u ' to the command)

 status: confirmed


** Changed in: libvirt (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2014-01-09 Thread David McNeill
Yep, I've struck the original bug.

Create a basic qemu VM, which runs fine

qemu-img create -f qcow2 /VMs/p2.img 4G

Feed it some CD ROM to install

qemu -cdrom /VMs/Downloads/some.iso -m 512 -boot d /VMs/p2.img

Then start it normally without a cd

qemu -m 512 -boot d /VMs/p2.img

Put the args above in a file and create a domain xml file from
arguments

virsh domxml-from-native qemu-argv p2.args  > p2.xml
  (d-f-n creates valid xml, but are all the parameters correct?)

Suck the xml in

virsh define p2.xml

Start the vm

Get the original error above.

virsh # version
Compiled against library: libvirt 1.0.2
Using library: libvirt 1.0.2
Using API: QEMU 1.0.2
Running hypervisor: QEMU 1.4.0

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2014-01-03 Thread Serge Hallyn
has anyone reproduced the original bug
(/etc/apparmor.d/libvirt/libvirt-$uuid.files missing) lately?

** Changed in: libvirt (Ubuntu)
   Status: Confirmed => Incomplete

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2013-08-08 Thread Jürgen
I have removed spaces from hostname that did the trick with 13.04

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-29 Thread Jamie Strandboge
virt-aa-helper has done this for as long as I can remember. /lib4 is not
an FHS compliant location to store volatile data like VMs, which is what
virt-aa-helper is trying to enforce (ie, if someone is trying to also
restrict libvirtd itself, then virt-aa-helper has to be careful to not
allow someone with libvirtd qemu:///system access to various files which
could be used to escalate privileges.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-29 Thread Dale Amon
Okay, I used the suggested hack and changed my mount point from lib4 to
srv. I have my VM up so I am sorted. But I only have a handful. I would
hate to be in shoes of the person responsible for this change if someone
is so foolish as to upgrade a critical system without lab testing the
upgrade first. So if I were you, I would worry about that guy...

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-29 Thread Dale Amon
I would worry that my small complaints are the least of your worries. If
someone with a very large farm of VM's happens to update to this
version... you could be hearing from someone with thousands of screaming
customers. It would not be surprising to me if someone with large
systems had their own internal standards for where their VM pools go. It
is not necessarily the case that everyone is going to choose /srv.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-29 Thread Dale Amon
Oh my. I would call that a bug. True, I can do a workaround to cover my
immediate emergency, I will probably have to change my disk structure
since the root disk is intentionally pretty small... but what if I were
running hundreds or thousands of VM's? And even worse, on another system
(which is fortunately Debian), different groups of users have their own
private disks with multiple VM's on each,

I really think this needs to be fixed.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-29 Thread Jamie Strandboge
A typical (though unfortunately undocumented (we should really add this
to the wiki somewhere)) is to do something like (see /usr/lib/libvirt
/virt-aa-helper -h more more info (-u/--uuid is of form
'libvirt-'):

If profile does not exist:
export VM=foo ; virsh dumpxml $VM | sudo /usr/lib/libvirt/virt-aa-helper -c -u 
libvirt-`virsh domuuid $VM`

If profile already does exist:
export VM=foo ; virsh dumpxml $VM | sudo /usr/lib/libvirt/virt-aa-helper -r -u 
libvirt-`virsh domuuid $VM`

So, I saved your xml to /tmp/xml, then did:
cat /tmp/xml | sudo /usr/lib/libvirt/virt-aa-helper -c -u 
libvirt-6445bf42-7513-985a-7920-9e89a4c42ffe
virt-aa-helper: warning: path does not exist, skipping file type checks
virt-aa-helper: error: /lib4/vmpool1/myhost.org-sda.raw
virt-aa-helper: error:   skipped restricted file
virt-aa-helper: error: invalid VM definition

What is happening is that virt-aa-helper does some safety checks and notices 
that the disk (a writable file) is in the non-standard directory that starts 
with /lib, so it skips the file. Because this file is the disk, it fails with 
'invalid VM definition'. The bad news is that the restricted file checks are 
hardcoded in the source code for virt-aa-helper. The good news is that if you 
move it somewhere else (eg, /srv/vmpool1/myhost.org-sda.raw) it should work 
fine and you will be able to retain the guest isolation security that the 
apparmor driver provides (virt-aa-helper is a bit noisy since I don't have the 
disk present, but not that is not an error condition). Eg, making the change to 
the xml:
$ cat /tmp/xml | sudo /usr/lib/libvirt/virt-aa-helper -c -u 
libvirt-6445bf42-7513-985a-7920-9e89a4c42ffe
virt-aa-helper: warning: path does not exist, skipping file type checks
2012-12-29 19:30:27.679+: 10245: info : libvirt version: 0.9.13
2012-12-29 19:30:27.679+: 10245: warning : 
virDomainDiskDefForeachPath:14691 : Ignoring open failure on 
/srv/vmpool1/myhost.org-sda.raw: No such file or directory
$ sudo aa-status | grep libvirt-6445bf42-7513-985a-7920-9e89a4c42ffe
   libvirt-6445bf42-7513-985a-7920-9e89a4c42ffe

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-29 Thread Dale Amon
# virsh dumpxml myhost..org 

  myhost.org
  6445bf42-7513-985a-7920-9e89a4c42ffe
  524288
  524288
  1
  
hvm

  
  



  
  
  destroy
  restart
  restart
  
/usr/bin/qemu-system-x86_64

  
  
  
  


  


  


  
  
  
  


  


  




  
  


  

  


# grep virt /var/log/kern.log 
Dec 29 13:29:28 library kernel: [0.00] Booting paravirtualized kernel 
on bare hardware
Dec 29 13:29:28 library kernel: [8.053331] type=1400 
audit(1356787768.805:11): apparmor="STATUS" operation="profile_load" 
name="/usr/sbin/libvirtd" pid=1428 comm="apparmor_parser"
Dec 29 13:29:28 library kernel: [8.060934] type=1400 
audit(1356787768.813:12): apparmor="STATUS" operation="profile_load" 
name="/usr/lib/libvirt/virt-aa-helper" pid=1427 comm="apparmor_parser"
Dec 29 13:31:43 library kernel: [0.00] Booting paravirtualized kernel 
on bare hardware
Dec 29 13:31:43 library kernel: [   10.447494] type=1400 
audit(1356787903.202:8): apparmor="STATUS" operation="profile_load" 
name="/usr/lib/libvirt/virt-aa-helper" pid=1266 comm="apparmor_parser"
Dec 29 13:35:02 library kernel: [0.00] Booting paravirtualized kernel 
on bare hardware
Dec 29 13:35:02 library kernel: [7.631940] type=1400 
audit(1356788102.439:8): apparmor="STATUS" operation="profile_load" 
name="/usr/lib/libvirt/virt-aa-helper" pid=1266 comm="apparmor_parser"
Dec 29 13:35:02 library kernel: [7.632210] type=1400 
audit(1356788102.439:9): apparmor="STATUS" operation="profile_load" 
name="/usr/sbin/libvirtd" pid=1267 comm="apparmor_parser"

# virsh start mourne.islandone.org
error: Failed to start domain mourne.islandone.org
error: internal error cannot load AppArmor profile 
'libvirt-6445bf42-7513-985a-7920-9e89a4c42ffe'

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-29 Thread Jamie Strandboge
Due to the way libvirt handles logging, this error message could be many
things and is unfortunately quite generic. For people having this
problem, can you post your domain xml for the affected VM and any
apparmor denials from /var/log/kern.log?

As a workaround, people don't need to 'rip out apparmor', they can simply 
disable the apparmor profile for libvirtd (note that apparmor is protecting a 
lot of different things on a typical system, so it is best to disable just the 
profile that is having the problem). Eg:
$ sudo aa-disable /etc/apparmor.d/usr.sbin.libvirtd

Then stop and start libvirtd.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-29 Thread Dale Amon
Note: This is time critical. If I cannot find a solution within the next
couple days, I will have to either rip apparmor out by the roots or
switch to Debian... a week from now I will be 8000 miles from this
machine, so by definition it will be operating properly before then...

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-12-28 Thread Dale Amon
I have the same issue. I brought up a machine with a de novo install of
Quantal server amd64.

I transferred a VM from the old server that is out of service by moving the 
disk containing. Made the one edit
change to the xml of the VM so that path to its main disk was correct in the 
new environment.

virsh define xml/hostname.xml

and I got the same problems as discussed. I thought perhaps apparmor did not 
like my /lib4/vmpool1, which is where
the images reside, so I added to  /etc/apparmor.d/usr.lib.libvirt.virt-aa-helper

  /lib4/vmpool1/ r,
  /lib4/vmpool1/** r,

but that did nothing either. Something is very wrong. This should have
just *worked*, first try, no fiddling.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-10-31 Thread xuanmingyi
I also met the error.

I think it may the program have no access to create a file in 
/etc/apparmor.d/libvirt 
I try to `aa-complain libvirtd` ,but it didn't work.

I think if you install a lxc ,then install the libvirt.You may met the
error again.

Help!

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-10-31 Thread Michael Cook
FWIW I ran into this error when I changed a KVM guest name from
"kvm-4.0" to "kvm-4.0 (new)" in the xml file and performed a virsh
define.  The naming convention is enforced in Virt Manager (no brackets
or special symbols).  There seems to be no checking on virsh define from
the cmd line.  There seems to be some dependency (at least with
apparmour) on name format.

I returned the name of the machine back to the original "kvm-4.0" and it
runs fine.  I then tried another name "kvm-4.0 test".  This failed.  I
think tried "kvm-4.0.1" this worked. I dont have time to try out more
variations on machine name but it may help this investigation.  (I did
not look for or change apparmour profiles, I did try removing and re-
adding disk images but this made no difference. I also created a new
machine via the Virt Manager UI and this made no difference.).

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-10-04 Thread Serge Hallyn
@Ryan,

thanks for the info.  The adduser libvirt-qemu libvirtd should however
be spurious.  libvirt-qemu is never plced in group libvirtd,
/etc/apparmor.d/libvirt is owned by root:root, and libvirt-qemu is only
used to run the actual kvm command, not to set up the domains.

Has anyone had this happen without using virt-manager?

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-10-03 Thread Ryan Lovett
I had to run "adduser libvirt-qemu libvirtd" to get past this.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-10-03 Thread Ryan Lovett
This is happening to me on precise. I try to create a virtual machine in
virt-manager, customize the configuration, click Begin Installation,
then the error pops up:

Unable to complete install: 'internal error cannot load AppArmor profile
'libvirt-f0986b73-5557-62bb-1f46-261d044dec4e''

where that uuid is not in /etc/apparmor.d/libvirt/. I tried creating the
libvirt-*{,.files} in that directory, but the vm creation appears to
generate a new uuid each time.


Unable to complete install: 'internal error cannot load AppArmor profile 
'libvirt-f0986b73-5557-62bb-1f46-261d044dec4e''

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1909, in do_install
guest.start_install(False, meter=meter)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1236, in 
start_install
noboot)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1304, in 
_create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2166, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
libvirtError: internal error cannot load AppArmor profile 
'libvirt-f0986b73-5557-62bb-1f46-261d044dec4e'

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-26 Thread Ursula Junque
> By this do you mean that the windows VM actually runs fine? Or does
> it fail to start the same way as the other?

Yes, sorry, I mean it now runs fine, I got no more of that error after
deleting the image and creating it again.

> Are the virt-manager client and the libvirt server running the same
> release?

I'm not sure if I got the question, I can say I installed the packages
from Ubuntu repository and just upgraded the machine to quantal.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


Re: [Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-26 Thread Serge Hallyn
Quoting Ursula Junque (799...@bugs.launchpad.net):
> Hi Serge, sorry about the delay. I managed to create another windows
> virtual machine successfully, after removing the old disk image and

By this do you mean that the windows VM actually runs fine?  Or does
it fail to start the same way as the other?

> creating another one (the removal was accidental, oops :/). So this is
> what's left:
> 
> 19:01:47 ursula@marvin: ~ $ ls -l /etc/apparmor.d/libvirt
> total 12
> -rw-r--r-- 1 root root 265 Sep 21 14:40 
> libvirt-a990b482-c084-e8fd-03e6-9a004815cbcd
> -rw-r--r-- 1 root root 572 Sep 21 14:40 
> libvirt-a990b482-c084-e8fd-03e6-9a004815cbcd.files

Odd, this uuid doesn't match the uuids in the .xml files.

> -rw-r--r-- 1 root root 164 Sep 14 13:24 TEMPLATE
> 
> 
> 18:59:50 ursula@marvin: ~ $ sudo grep -Hi uuid /etc/libvirt/qemu/*.xml
> /etc/libvirt/qemu/windows3.xml:  
> e7921c81-2628-ec0b-a425-28f455ec9e77
> /etc/libvirt/qemu/windows-vista.xml:  
> 5c22fbaf-c160-2146-bd54-9f01967aca28
> 
> Please, let me know if I can do anything else to help.

Are the virt-manager client and the libvirt server running the same
release?

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-24 Thread Ursula Junque
Hi Serge, sorry about the delay. I managed to create another windows
virtual machine successfully, after removing the old disk image and
creating another one (the removal was accidental, oops :/). So this is
what's left:

19:01:47 ursula@marvin: ~ $ ls -l /etc/apparmor.d/libvirt
total 12
-rw-r--r-- 1 root root 265 Sep 21 14:40 
libvirt-a990b482-c084-e8fd-03e6-9a004815cbcd
-rw-r--r-- 1 root root 572 Sep 21 14:40 
libvirt-a990b482-c084-e8fd-03e6-9a004815cbcd.files
-rw-r--r-- 1 root root 164 Sep 14 13:24 TEMPLATE


18:59:50 ursula@marvin: ~ $ sudo grep -Hi uuid /etc/libvirt/qemu/*.xml
/etc/libvirt/qemu/windows3.xml:  
e7921c81-2628-ec0b-a425-28f455ec9e77
/etc/libvirt/qemu/windows-vista.xml:  
5c22fbaf-c160-2146-bd54-9f01967aca28

Please, let me know if I can do anything else to help.


** Changed in: libvirt (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-24 Thread Serge Hallyn
(marking incomplete awaiting answer to comment #19)

** Changed in: libvirt (Ubuntu)
   Status: Confirmed => Incomplete

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-21 Thread Serge Hallyn
The package should not have deleted that file, and neither precise nor
quantal have libvirt-bin.postrm doing that, which is why I worry
something else may be going on.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-21 Thread Serge Hallyn
Ursula,

After trying to create the new windows vm, can you please show the
contents of /etc/apparmor.d/libvirt and the result of

sudo grep -Hi uuid /etc/libvirt/qemu/*.xml

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-21 Thread Ursula Junque
Hi Serge,

I tried to create a new Windows VM yesterday and today, and the error is
the same, BUT when trying to create an Ubuntu VM, it worked!

Unable to complete install: 'internal error cannot load AppArmor profile
'libvirt-23860d44-d9ef-3528-7f65-609bbb727707''

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1943, in do_install
guest.start_install(False, meter=meter)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1246, in 
start_install
noboot)
  File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1314, in 
_create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2501, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
libvirtError: internal error cannot load AppArmor profile 
'libvirt-23860d44-d9ef-3528-7f65-609bbb727707'


What's the issue then? Should the package, when purged, have deleted that file?

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


Re: [Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-21 Thread Serge Hallyn
Quoting Ursula Junque (799...@bugs.launchpad.net):
> Here it is:
> 
> 16:12:57 ursula@marvin: ~ $ ls -l /etc/apparmor.d/libvirt
> total 4
> -rw-r--r-- 1 root root 164 Sep 14 13:24 TEMPLATE
> 
> 16:13:06 ursula@marvin: ~ $ sudo grep -Hi uuid /etc/libvirt/qemu/*.xml
> /etc/libvirt/qemu/windows3.xml:  
> e7921c81-2628-ec0b-a425-28f455ec9e77

So that vm won't start because it doesn't have an apparmor profile.  I'm
not convinced that the purge of libvirt0 deleted the profile, because I
can't get purge to do that.

Can you now try and create a new (ubuntu server, or whatever) VM with 
virt-manager, and show (a) the exact error output and (b) the output
of the same questions as above while the error message is up?

thanks!

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-20 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: libvirt (Ubuntu)
   Status: New => Confirmed

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-20 Thread Ursula Junque
Here it is:

16:12:57 ursula@marvin: ~ $ ls -l /etc/apparmor.d/libvirt
total 4
-rw-r--r-- 1 root root 164 Sep 14 13:24 TEMPLATE

16:13:06 ursula@marvin: ~ $ sudo grep -Hi uuid /etc/libvirt/qemu/*.xml
/etc/libvirt/qemu/windows3.xml:  
e7921c81-2628-ec0b-a425-28f455ec9e77


** Changed in: libvirt (Ubuntu)
   Status: Incomplete => New

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-20 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu)
   Status: New => Incomplete

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-20 Thread Serge Hallyn
@Ursula,

hm, unable to reproduce this still.

Can you please show the contents of /etc/apparmor.d/libvirt and the
result of

sudo grep -Hi uuid /etc/libvirt/qemu/*.xml

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-20 Thread Serge Hallyn
Thanks, Ursula - that gives me an idea, i will test.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-20 Thread Ursula Junque
Hi Serge, sure:

14:59:48 ursula@marvin: ~ $ dpkg -l | grep libvirt
ii  libvirt-bin0.9.13-0ubuntu10 
   amd64programs for the libvirt library
ii  libvirt0   0.9.13-0ubuntu10 
   amd64library for interfacing with different 
virtualization systems
ii  libvirtodbc0   6.1.6+repack-0ubuntu1
   amd64high-performance database - ODBC libraries
ii  python-libvirt 0.9.13-0ubuntu10 
   amd64libvirt Python bindings

Let me know if I can provide any other information.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-20 Thread Serge Hallyn
@Ursula,

could you show the result of 'dpkg -l | grep libvirt' ?

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-09-20 Thread Ursula Junque
I'm running Quantal, just removed/purged libvirt0 and installed that
again. I'm still not able to run or create any other virtual machines
using virt-manager, as this error message appears.

** Tags added: apport-collected quantal running-unity

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-08-15 Thread Serge Hallyn
@Mikkel,

if you are still having this problem, please run 'apport-collect 77'
to have apport post debug info to this bug.

In the future please file a new bug rather than re-opening an invalid
bug as we are more likely to see that.

** Changed in: libvirt (Ubuntu)
   Status: Confirmed => Incomplete

** Changed in: libvirt (Ubuntu)
   Importance: Undecided => High

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-06-26 Thread Mikkel Høgh
error: Failed to start domain pinova.example.com
error: internal error cannot load AppArmor profile 
'libvirt-1337abc-54b2-fd6f-19f5-6862588b195d

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2012-06-25 Thread Mikkel Høgh
I have the same issue with libvirt 0.9.8-2ubuntu1 on Precise. It is the
version that ships with Precise, so no custom versions here.

** Changed in: libvirt (Ubuntu)
   Status: Invalid => Confirmed

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2011-06-20 Thread Jamie Strandboge
Thank you for using Ubuntu and reporting a bug. Unfortunately, the
version of libvirt you are using is not a supported version and
therefore I am marking this bug as Invalid. If you can reproduce this in
a supported version of libvirt, please feel free to reopen, giving
detailed instructions on how to reproduce the bug.

If you are going to go this route, I recommend removing any unofficial PPAs 
from your apt sources, then performing:
$ sudo apt-get update
$ sudo apt-get remove --purge libvirt0
$ sudo apt-get install libvirt-bin

(the supported version of libvirt on Ubuntu 10.10 is currently
0.8.3-1ubuntu18). Please note that performing the above will remove
existing VM definitions as well as any changes to your libvirt
configuration in /etc (which was the intent-- to start with a clean
slate).

** Changed in: libvirt (Ubuntu)
   Status: New => Invalid

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2011-06-20 Thread Qiao Liyong
when create a vm ,it also appears:
'internal error cannot generate AppArmor profile 
'libvirt-aa1e3827-e4d3-044e-21e3-f25660ad1d93''
Traceback (most recent call last):
  File "/usr/local/share/virt-manager/virtManager/asyncjob.py", line 45, in 
cb_wrapper
callback(asyncjob, *args, **kwargs)
  File "/usr/local/share/virt-manager/virtManager/create.py", line 1643, in 
do_install
guest.start_install(False, meter=meter)
  File "/usr/local/lib/python2.6/dist-packages/virtinst/Guest.py", line 1186, 
in start_install
start_xml, final_xml, is_initial)
  File "/usr/local/lib/python2.6/dist-packages/virtinst/Guest.py", line 1245, 
in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1446, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
libvirtError: internal error cannot generate AppArmor profile 
'libvirt-aa1e3827-e4d3-044e-21e3-f25660ad1d93'

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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


[Bug 799997] Re: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile"

2011-06-20 Thread Qiao Liyong
Error starting domain: internal error cannot generate AppArmor profile
'libvirt-abe9380c-eab7-fe6f-1b49-21a511bdd129'

Traceback (most recent call last):
  File "/usr/local/share/virt-manager/virtManager/asyncjob.py", line 45, in 
cb_wrapper
callback(asyncjob, *args, **kwargs)
  File "/usr/local/share/virt-manager/virtManager/engine.py", line 959, in 
asyncfunc
vm.startup()
  File "/usr/local/share/virt-manager/virtManager/domain.py", line 1114, in 
startup
self._backend.create()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 362, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error cannot generate AppArmor profile 
'libvirt-abe9380c-eab7-fe6f-1b49-21a511bdd129'

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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