[Bug 1633207] Comment bridged from LTC Bugzilla
--- Comment From sathe...@in.ibm.com 2016-12-12 03:13 EDT--- Tested in my env aswell with the proposed stream,it is working as expected and issue is fixed # dpkg -l|grep libvirt ii libvirt-bin2.1.0-1ubuntu9.1 ppc64el programs for the libvirt library ii libvirt-clients2.1.0-1ubuntu9.1 ppc64el Programs for the libvirt library ii libvirt-daemon 2.1.0-1ubuntu9.1 ppc64el Virtualization daemon ii libvirt-daemon-system 2.1.0-1ubuntu9.1 ppc64el Libvirt daemon configuration files ii libvirt-dev:ppc64el2.1.0-1ubuntu9.1 ppc64el development files for the libvirt library ii libvirt-glib-1.0-0:ppc64el 0.2.3-2 ppc64el libvirt GLib and GObject mapping library ii libvirt0:ppc64el 2.1.0-1ubuntu9.1 ppc64el library for interfacing with different virtualization systems ii python-libvirt 2.0.0-1 ppc64el libvirt Python bindings #virsh dumpxml virt-tests-vm1 virt-tests-vm1 e0e543b0-c05d-4653-8436-b6c4e4eca978 33554432 33554432 32 /machine hvm destroy restart restart /usr/bin/kvm libvirt-e0e543b0-c05d-4653-8436-b6c4e4eca978 libvirt-e0e543b0-c05d-4653-8436-b6c4e4eca978 +113:+113 +113:+113 #virsh destroy virt-tests-vm1;virsh start --console virt-tests-vm1 Domain virt-tests-vm1 destroyed Domain virt-tests-vm1 started Connected to domain virt-tests-vm1 Escape character is ^] SLOF ** QEMU Starting Build Date = Jan 1 1970 00:00:00 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633207 Title: VM fails to start with dac security driver added To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1633207/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1633207] Comment bridged from LTC Bugzilla
dpkg -S | xargs) | sort -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633207 Title: VM fails to start with dac security driver added To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1633207/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1633207] Comment bridged from LTC Bugzilla
--- Comment From sathe...@in.ibm.com 2016-11-03 07:03 EDT--- (In reply to comment #27) > On Thu, Nov 3, 2016 at 7:40 AM, bugproxywrote: > > > Tried to install update and could not found any update in ppa. > > Looks like it has not been built for ppc64el(https://launchpad.net/ > > ~paelzer/+archive/ubuntu/libvirt-bug-1633207/+packages) > > Can you add it for me to test? > > Thanks in advance. > > > > I beg a pardon, I tested all on amd64 where it obviously worked. > Of course I can enable and upload a new rev. > Rebuilding in the ppa for ppc64el this very moment - please retest once it > is built. Have tested with the given packages, and now VM starts with dac secuity driver added in the xml. # dpkg -l |grep libvirt ii libvirt-bin2.1.0-1ubuntu10~ppa6 ppc64el programs for the libvirt library ii libvirt-clients2.1.0-1ubuntu10~ppa6 ppc64el Programs for the libvirt library ii libvirt-daemon 2.1.0-1ubuntu10~ppa6 ppc64el Virtualization daemon ii libvirt-daemon-system 2.1.0-1ubuntu10~ppa6 ppc64el Libvirt daemon configuration files ii libvirt-dev:ppc64el2.1.0-1ubuntu10~ppa6 ppc64el development files for the libvirt library ii libvirt-glib-1.0-0:ppc64el 0.2.3-2 ppc64el libvirt GLib and GObject mapping library ii libvirt0:ppc64el 2.1.0-1ubuntu10~ppa6 ppc64el library for interfacing with different virtualization systems ii python-libvirt 2.0.0-1 ppc64el libvirt Python bindings # uname -a Linux ltc-test-ci1 4.8.0-26-generic #28-Ubuntu SMP Tue Oct 18 14:41:40 UTC 2016 ppc64le ppc64le ppc64le 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/1633207 Title: VM fails to start with dac security driver added To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1633207/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1633207] Comment bridged from LTC Bugzilla
On Thu, Nov 3, 2016 at 7:40 AM, bugproxywrote: > Tried to install update and could not found any update in ppa. > Looks like it has not been built for ppc64el(https://launchpad.net/ > ~paelzer/+archive/ubuntu/libvirt-bug-1633207/+packages) > Can you add it for me to test? > Thanks in advance. > I beg a pardon, I tested all on amd64 where it obviously worked. Of course I can enable and upload a new rev. Rebuilding in the ppa for ppc64el this very moment - please retest once it is built. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633207 Title: VM fails to start with dac security driver added To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1633207/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1633207] Comment bridged from LTC Bugzilla
--- Comment From sathe...@in.ibm.com 2016-11-03 02:33 EDT--- (In reply to comment #25) > Thanks a lot Guido for your feedback - it helped me better "reading the > case". > > I see the same issue throughout latest libvirt upstream as of today. > So I'm gonna submit the fix upstream for discussion as I could easily > overlook something here. > E.g. parseOpaque is quite close as it is passed up to virDomainDefParseXML, > but I think that would be even more misuse than a new flag. > > If accepted there (one way or the other) I intend to create a diff to upload > for latest Debian and Ubuntu and consider SRUs from there. > > The created domain while active has both seclabels and valid content in them > just as it had back on libvirt 1.3: > [...] > > libvirt-956134c4-d91d-417e-b68f-1d8d492419d6 > libvirt-956134c4-d91d-417e-b68f-1d8d492419d6 > > > +112:+116 > +112:+116 > > > @AGX - I'll set you on cc on that upstream discussion. > > @IBM - I have a new version (2.1.0-1ubuntu10~ppa5) in the ppa that works for > me, It would be great if you could verify this one for you as well. > Tried to install update and could not found any update in ppa. Looks like it has not been built for ppc64el(https://launchpad.net/~paelzer/+archive/ubuntu/libvirt-bug-1633207/+packages) Can you add it for me to test? Thanks in advance. #add-apt-repository ppa:paelzer/libvirt-bug-1633207 Early verification of libvirt-bug-1633207 More info: https://launchpad.net/~paelzer/+archive/ubuntu/libvirt-bug-1633207 Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keybox '/tmp/tmpypsm5vem/pubring.gpg' created gpg: /tmp/tmpypsm5vem/trustdb.gpg: trustdb created gpg: key 42C3EB37B6832E30: public key "Launchpad PPA for ChristianEhrhardt" imported gpg: Total number processed: 1 gpg: imported: 1 OK #apt-get update Hit:1 http://us.ports.ubuntu.com/ubuntu-ports yakkety InRelease Hit:2 http://us.ports.ubuntu.com/ubuntu-ports yakkety-updates InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports yakkety-security InRelease Hit:4 http://us.ports.ubuntu.com/ubuntu-ports yakkety-backports InRelease Get:5 http://ppa.launchpad.net/paelzer/libvirt-bug-1633207/ubuntu yakkety InRelease [18.1 kB] Get:6 http://ppa.launchpad.net/paelzer/libvirt-bug-1633207/ubuntu yakkety/main ppc64el Packages [516 B] Get:7 http://ppa.launchpad.net/paelzer/libvirt-bug-1633207/ubuntu yakkety/main Translation-en [984 B] Fetched 19.6 kB in 1s (14.6 kB/s) Reading package lists... Done # apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > FYI discussion started at > https://www.redhat.com/archives/libvir-list/2016-October/msg01297.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633207 Title: VM fails to start with dac security driver added To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1633207/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1633207] Comment bridged from LTC Bugzilla
--- Comment From sathe...@in.ibm.com 2016-10-18 06:34 EDT--- (In reply to comment #10) > Hi, > I tested a simple guest as created with uvt-kvm: > $ uvt-kvm create --memory 2048 --cpu 4 --password=ubuntu > paelzer-yakkety-test-libvirt release=yakkety arch=ppc64el label=daily > plus the two lines: > > > > That works on: > Xenial: ok > Yakkety: ok > > I did the same on ppc64el, but only had a Xenial host available there. > Yet this worked just fine as well. > > Quoting the report: "Linux ltc-test-ci1 4.4.0-9136-generic #55-Ubuntu SMP > Fri Aug 26 05:56:24" > Since that seems to be a pre-release yakkety, could I ask you to retest with > at least the released levels and report the versions of qemu > involved for you (dpkg -l '*qemu*' '*libvirt*')? I am still hitting with error #virsh start vm1 error: Failed to start domain vm1 error: internal error: cannot load AppArmor profile 'libvirt-ac906bc7-db70-42fc-be34-1f3cf0fe5745' After removing line, am able to start the same vm # virsh start vm1 Domain vm1 started qemu and libvirt Level in the system is matching http://cdimage.ubuntu.com/ubuntu/releases/16.10/release/ubuntu-16.10 -server-ppc64el.list: # dpkg -l '*qemu*' '*libvirt*'|grep ^ii ii gir1.2-libvirt-glib-1.0:ppc64el 0.2.3-2 ppc64el GObject introspection files for the libvirt-glib library ii gir1.2-libvirt-sandbox-1.0 0.5.1+git20151113-3 ppc64el GObject introspection files for the libvirt-sandbox library ii ipxe-qemu 1.0.0+git-20150424.a25a16d-1ubuntu2 all PXE boot firmware - ROM images for qemu ii libvirt-bin 2.1.0-1ubuntu9 ppc64el programs for the libvirt library ii libvirt-clients 2.1.0-1ubuntu9 ppc64el Programs for the libvirt library ii libvirt-daemon 2.1.0-1ubuntu9 ppc64el Virtualization daemon ii libvirt-daemon-system 2.1.0-1ubuntu9 ppc64el Libvirt daemon configuration files ii libvirt-dev:ppc64el 2.1.0-1ubuntu9 ppc64el development files for the libvirt library ii libvirt-doc 2.1.0-1ubuntu9 all documentation for the libvirt library ii libvirt-glib-1.0-0:ppc64el 0.2.3-2 ppc64el libvirt GLib and GObject mapping library ii libvirt-glib-1.0-dev:ppc64el0.2.3-2 ppc64el Development files for the libvirt-glib library ii libvirt-ocaml 0.6.1.2-1build2 ppc64el OCaml bindings for libvirt ii libvirt-ocaml-dev 0.6.1.2-1build2 ppc64el OCaml bindings for libvirt ii libvirt-sandbox-1.0-5 0.5.1+git20151113-3 ppc64el Application sandbox toolkit shared library ii libvirt-sandbox-1.0-dev 0.5.1+git20151113-3 ppc64el Development files for libvirt-sandbox library ii libvirt-sanlock 2.1.0-1ubuntu9 ppc64el Sanlock plugin for virtlockd ii libvirt0:ppc64el2.1.0-1ubuntu9 ppc64el library for interfacing with different virtualization systems ii munin-libvirt-plugins 0.0.6-1 all Munin plugins using libvirt ii python-libvirt 2.0.0-1 ppc64el libvirt Python bindings ii qemu-block-extra:ppc64el1:2.6.1+dfsg-0ubuntu5 ppc64el extra block backend modules for qemu-system and qemu-utils ii qemu-kvm1:2.6.1+dfsg-0ubuntu5 ppc64el QEMU Full virtualization ii qemu-slof 20160223+dfsg-1 all Slimline Open Firmware -- QEMU PowerPC version ii qemu-system-common 1:2.6.1+dfsg-0ubuntu5 ppc64el QEMU full system emulation binaries (common files) ii qemu-system-ppc 1:2.6.1+dfsg-0ubuntu5 ppc64el QEMU full system emulation binaries (ppc) ii qemu-utils 1:2.6.1+dfsg-0ubuntu5 ppc64el QEMU utilities ii uvtool-libvirt 0~bzr99-0ubuntu2all Library and tools for using Ubuntu Cloud Images with libvirt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633207 Title: VM fails to start with dac security driver added To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1633207/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs