[Bug 1890672] Re: secure boot fails after upgrade to grub2-common 2.04-1ubuntu26.2
ok, can i at least assume that shim is not required? that was my main issue. i wanted a single unencrypted file (grub + initramfs by another name:), and, my chain of trust. that is the key for me, if there is a requirement to only use shim and the microsoft keys, i'm in trouble. if its simply that canonical doesn't test w/o shim, that's ok. But it seems empirically that shim is now a hard requirement since the valid signed kernel no longer validates w/ this patch of grub. i guess also to the original bug from the original author here, perhaps removing the no-longer-supported option from grub doc would be good? the set check_signatures=no -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1890672 Title: secure boot fails after upgrade to grub2-common 2.04-1ubuntu26.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1890672/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1890672] Re: secure boot fails after upgrade to grub2-common 2.04-1ubuntu26.2
** Changed in: grub2 (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1890672 Title: secure boot fails after upgrade to grub2-common 2.04-1ubuntu26.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1890672/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1890672] Re: secure boot fails after upgrade to grub2-common 2.04-1ubuntu26.2
I'm the author of that secure boot package. I think you might misunderstand... what it does is put all the grub config etc into a signed initramfs. So you cannot change the grub.cfg. Also, to sign the binaries you need the GPG keyring and the passphrase. The objective is to *not* use the shipped trusted microsoft key. The only key in the UEFI keystore is our own chain of trust. So The goal is to *not* use shim. It is used in conjunction w/ full disk encryption. The only file unencrypted is a single grub w/ the ininitramfs, and that is in turn signed. The kernel, etc, are all on the encrypted disk. Thus they cannot be tampered with by e.g. removing the disk etc. Installing shim means adding someone else trust, which I don't accept. I'm not sure what "don't support secure boot without shim" means, but I don't think that can or should be true. It doesn't support booting the Microsoft signed keys w/o shim, but, its certainly legal to remove the Microsoft keys from the BIOS and still use secureboot. as for the check_signatures=no, I'm ok if that is removed as a feature I guess, but it would need to be removed from the documentation. In my case its not a reduction in security (since you cannot change the grub.cfg w/o having the trust chain anyway). so tldr: * no, shim is not required to support secureboot * yes, you can self sign securely * no, merely having an option in grub.cfg or grub cmdline to disable subsequent checks need not reduce the security, as long as it is gated by being in a signed initramfs (and grub password is as strong as bios password) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1890672 Title: secure boot fails after upgrade to grub2-common 2.04-1ubuntu26.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1890672/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1764965] Re: [Realtek ALC1220 ASUS PRIME X370] Recording is very slow and plays 10x faster
Observing on Focal 20.04 on ROG STRIX X470-I, same ALC1220 audio device. Its intermittent, sometimes audacity will record properly. Sometimes it will record slow and playback fast. its not just audacity, e.g. chrome observes same affect (https://mictests.com/) bumped kernel to 5.7.6-050706-generic from mainline, same affect alsa-base 1.0.25+dfsg-0ubuntu5, pulseaudio 1:13.99.1-1ubuntu3.3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1764965 Title: [Realtek ALC1220 ASUS PRIME X370] Recording is very slow and plays 10x faster To manage notifications about this bug go to: https://bugs.launchpad.net/sound-2.6/+bug/1764965/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1754084] Re: Freecad crashes at start
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890882 I just recompiled from upstream git repo, and same problem. (w/ X11) I did: $ lxc launch images:ubuntu/bionic/amd64 b to get a fresh system, and followed the build instructions from https://www.freecadweb.org/wiki/CompileOnUnix I used instructions from https://blog.simos.info/how-to-run-graphics- accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/ to get an lxc image that has accelerated X11 access, glxinfo and xclock run ok. I tried adding XInitThreads() into main() before Gui::Application::runApplication(), but no change. The bt is: (gdb) bt #0 0x74379e97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x7437b801 in __GI_abort () at abort.c:79 #2 0x7436b39a in __assert_fail_base (fmt=0x744f27d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x74d7f660 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x74d7f4cb "../../src/xcb_io.c", line=line@entry=259, function=function@entry=0x74d7f908 "poll_for_event") at assert.c:92 #3 0x7436b412 in __GI___assert_fail (assertion=0x74d7f660 "!xcb_xlib_threads_sequence_lost", file=0x74d7f4cb "../../src/xcb_io.c", line=259, function=0x74d7f908 "poll_for_event") at assert.c:101 #4 0x74d0d1da in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #5 0x74d0d28b in () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #6 0x74d0d57d in _XEventsQueued () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #7 0x74d103c5 in _XGetRequest () at /usr/lib/x86_64-linux-gnu/libX11.so.6 #8 0x7fffdefc4ee2 in () at /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0 #9 0x72a06ff4 in () at /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4 #10 0x7298a8ad in QGLFormat::openGLVersionFlags() () at /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4 #11 0x772e2a38 in Gui::Application::runApplication() () at /usr/local/lib/libFreeCADGui.so #12 0x742b in main () ** Bug watch added: Debian Bug tracker #890882 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890882 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1754084 Title: Freecad crashes at start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1754084/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1328088] Re: Kernel network namespace performance regression during rcu development on kernels above 3.8
I wonder if this fix fell out or is somehow different now? The below script, on 4.11rc7: 1cpu: 0m1.379s 12cpu: 1m36.556s 72cpu: 2m20.118s This is a *huge* impact for neutron L3 agent on my OpenStack system. # cd /tmp # ip netns add foo # ip netns add bar # for i in `seq 0 1000` ; do echo -e 'netns exec foo echo\nnetns exec bar echo' >> ipnetns.batch ; done # time ip -b ipnetns.batch > /dev/null -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1328088 Title: Kernel network namespace performance regression during rcu development on kernels above 3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1328088/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1615393] Re: 16.04 sane no longer sees network scanner
You may also need to add 'smfp' to /etc/sane.d/dll.conf. And check: SANE_DEBUG_DLL=128 scanimage -L to see a line like: device `smfp:net;172.16.0.222' is a Samsung C460 Series on 172.16.0.222 Scanner device `smfp:net;fddcb6f32fe0021599fffecdf33f' is a Samsung C460 Series on fddc:b6f3:2fe0:0:215:99ff:fecd:f33f Scanner -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1615393 Title: 16.04 sane no longer sees network scanner To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1615393/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1615393] Re: 16.04 sane no longer sees network scanner
For myself as well the C460FW was plug&play until 16.04++. Now my workaround is to edit /etc/sane.d/xerox_mfp.conf and add add line: tcp PRINTERIP 9400 and then it resumes working. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1615393 Title: 16.04 sane no longer sees network scanner To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1615393/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1386503] Re: openstack snapshot, migration, suspend broken by invtsc
tried on utopic. resolved my issue with OpenStack snapshots. ** Tags removed: verification-needed ** Tags added: verification-done ** Description changed: === SRU Justification: 1. Impact: migration fails 2. Test case: Have in xml and try to do virsh managedsave. 3. Regression potential: this same patch was applied to the same libvirt version some time ago in vivid. No regressions are therefore expected. === I believe this commit http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=de0aeafe9ce3eb414c8b5d3aa8995d776a2952de fixes the issue. In OpenStack nova, one gets this error: libvirtError: internal error: unable to execute QEMU command 'migrate': State blocked by non-migratable device 'cpu' when executing 'nova image-create', or 'nova suspend' operations. This in turn is caused by the 'invtsc' being used for 'host-model', preventing a migration. $ lsb_release -rd Description:Ubuntu 14.10 Release:14.10 $ apt-cache policy libvirt-bin libvirt-bin: - Installed: 1.2.8-0ubuntu11 - Candidate: 1.2.8-0ubuntu11 - Version table: - *** 1.2.8-0ubuntu11 0 - 500 http://ca.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages - 100 /var/lib/dpkg/status + Installed: 1.2.8-0ubuntu11 + Candidate: 1.2.8-0ubuntu11 + Version table: + *** 1.2.8-0ubuntu11 0 + 500 http://ca.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages + 100 /var/lib/dpkg/status -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1386503 Title: openstack snapshot, migration, suspend broken by invtsc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1386503/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
tried 1.2.8-0ubuntu11.3. seems to resolve. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
I added the ppa: $ cat /etc/apt/sources.list.d/serge-hallyn-ubuntu-virt-utopic.list deb http://ppa.launchpad.net/serge-hallyn/virt/ubuntu utopic main whilst the sru process presumably continues. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
i ran the ppa image on 10 blades for a day in my production. its cycled through ~10K instances. so far so good, it appears to have solved this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
I just tried, it did not immediately reproduce, will let it run for a bit. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
this patch to libvirt gets it going. ** Patch added: "don-cgm.patch" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+attachment/4282322/+files/don-cgm.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
so part of the issue is cgm_* is not thread safe, but is called from various threads. e.g. if u start libvirtd w/ several instances already running, it will call cgm_dbus_connect from each. there is a pair of global variable: static NihDBusProxy *cgroup_manager = NULL; bool cgm_running = false; in src/util/cgmanager.c, and they cause this issue. cgm_dbus_connect() overwrites cgroup_manager regardless of the state of cgm_running (and cgm_running is set @ the end of it anyway). The use of pthread_once is probably part of the solution. The below patch partially corrects. --- libvirt-1.2.8.orig/src/util/cgmanager.c +++ libvirt-1.2.8/src/util/cgmanager.c @@ -40,10 +40,12 @@ static NihDBusProxy *cgroup_manager = NULL; bool cgm_running = false; +static pthread_once_t cgmanager_is_init = PTHREAD_ONCE_INIT; + VIR_LOG_INIT("util.cgmanager"); #define CGMANAGER_DBUS_SOCK "unix:path=/sys/fs/cgroup/cgmanager/sock" -bool cgm_dbus_connect(void) +static bool _cgm_dbus_connect(void) { DBusError dbus_error; DBusConnection *connection; @@ -83,6 +85,11 @@ bool cgm_dbus_connect(void) return true; } +bool cgm_dbus_connect(void) +{ + pthread_once(&cgmanager_is_init, _cgm_dbus_connect); +} + void cgm_dbus_disconnect(void) { if (cgroup_manager) { --- libvirt-1.2.8.orig/src/util/cgmanager.h +++ libvirt-1.2.8/src/util/cgmanager.h @@ -30,6 +30,7 @@ #include #include #include +#include extern bool cgm_running; Its not clear to me the underlying libs are all thread safe (e.g. https://bugs.launchpad.net/ubuntu/+source/libnih/+bug/1294200) there would remain the problem of... what if cgmanager goes away. 1 thread will find it, does it reconnect and fix the others? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367702] Re: libvirt-bin terminated unexpectedly
OK, that is the problem. in src/util/cgmanager.c, we are calling cgm_dbus_connect() from multiple threads. it in turn assigns 'cgroup_manager'. but this is a global (static) var. So the threads fight over it, and corrupt. static NihDBusProxy *cgroup_manager = NULL; bool cgm_running = false; VIR_LOG_INIT("util.cgmanager"); #define CGMANAGER_DBUS_SOCK "unix:path=/sys/fs/cgroup/cgmanager/sock" bool cgm_dbus_connect(void) { DBusError dbus_error; DBusConnection *connection; dbus_error_init(&dbus_error); connection = dbus_connection_open_private(CGMANAGER_DBUS_SOCK, &dbus_error); if (!connection) { dbus_error_free(&dbus_error); return false; } dbus_connection_set_exit_on_disconnect(connection, FALSE); dbus_error_free(&dbus_error); cgroup_manager = nih_dbus_proxy_new(NULL, connection, NULL /* p2p */, "/org/linuxcontainers/cgmanager", NULL, NULL); dbus_connection_unref(connection); if (!cgroup_manager) { NihError *nerr; nerr = nih_error_get(); VIR_ERROR("cgmanager: Error opening proxy: %s", nerr->message); nih_free(nerr); return false; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367702 Title: libvirt-bin terminated unexpectedly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1367702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367702] Re: libvirt-bin terminated unexpectedly
there may be some threading issues here e.g. https://bugs.launchpad.net/ubuntu/+source/libnih/+bug/1294200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367702 Title: libvirt-bin terminated unexpectedly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1367702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367702] Re: libvirt-bin terminated unexpectedly
on startup of libvirtd, it does a cgm_dbus_connect() for each thread (e.g. each instance which is running). One of these fails, not all. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367702 Title: libvirt-bin terminated unexpectedly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1367702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367702] Re: libvirt-bin terminated unexpectedly
the attached (utopic.xml) shows how to launch a virtual machine running 14.10 under KVM that will demonstrate the problem w/ the attached script. it pretends to have 2 socks NUMA to make the problem occur (in case it does not on a single socket, since cgmanager is inter-related somehow) ** Attachment added: "utopic.xml" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1367702/+attachment/4282199/+files/utopic.xml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367702 Title: libvirt-bin terminated unexpectedly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1367702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
script to reproduce (as attachment) ** Attachment added: "script to reproduce" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+attachment/4281789/+files/repro -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
the attached script will reproduce this on utopic. I did it on a virtual machine running under kvm, but it will also do it bare-metal. #!/bin/bash apt-get -qy install virtinst libvirt-bin die() { echo "$*" exit 1 } dir=$(mktemp -d "/tmp/repro.XX") echo "rep files in $dir" cd "$dir" chgrp libvirtd . chmod 775 . [ -f cirros-0.3.3-x86_64-disk.img ] || wget http://download.cirros- cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img || die "Error fetching cirros image" ninstances=10 for i in $(seq 0 $ninstances) do cp -f cirros-0.3.3-x86_64-disk.img cirros-$i.qcow2 chgrp libvirtd cirros-$i.qcow2 chmod 775 cirros-$i.qcow2 done for i in $(seq 0 $ninstances) do virt-install -n instance-$i -r 256 --cpu host --description "instance-$i" --import --disk cirros-$i.qcow2 --os-type=linux --noautoconsole done service libvirt-bin restart echo "This command should return instantly with $ninstances in the list" virsh list -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
the attached script will reproduce this on utopic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
reproduced with requested steps attached ** Attachment removed: "ubuntu-virt.txt" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+attachment/4279216/+files/ubuntu-virt.txt ** Attachment added: "ubuntu-virt.txt" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+attachment/4279220/+files/ubuntu-virt.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
another way to reproduce this is to start new instances quickly (e.g. create back to back), and then restart libvirt-bin. and sometimes, just start new instances quickly (w/o restart libvirt- bin) for example, for host X, if the sleep are commented out, it will normally crash libvirt if this is run to try and rescue the old instances. if the sleep is present it will normally not crash. #!/bin/bash host=$1 j=0 for i in $(nova list --host $host --all-tenants | awk '/Shutdown/ {print $2}') do j=$((j+1)) if [ $j -eq 5 ] then echo "Wait a bit..." #sleep 30 j=0 fi echo "Rescue $i" nova reboot --hard $i #sleep 5 done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
the latest repro shows this stack trace if it helps. Linux nubo-9 3.16.0-28-generic #37-Ubuntu SMP Mon Dec 8 17:15:28 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux root@nubo-9:/var/crash# dpkg -l |grep cgm ii cgmanager 0.33-2 amd64Central cgroup manager daemon ii cgmanager-tests 0.33-2 all Central cgroup manager daemon (tests) ii libcgmanager-dev:amd64 0.33-2 amd64Central cgroup manager daemon (dev) ii libcgmanager0:amd64 0.33-2 amd64Central cgroup manager daemon (client library) root@nubo-9:/var/crash# dpkg -l|grep libvirt ii libvirt-bin 1.2.8-0ubuntu11.1 amd64programs for the libvirt library ii libvirt01.2.8-0ubuntu11.1 amd64library for interfacing with different virtualization systems hi nova-compute-libvirt1:2014.2-0ubuntu1 all OpenStack Compute - compute node libvirt support ii python-libvirt 1.2.8-0ubuntu2 amd64libvirt Python bindings # dpkg -l |grep dbus ii dbus1.8.8-1ubuntu2.1 amd64simple interprocess messaging system (daemon and utilities) ii dbus-1-dbg:amd641.8.8-1ubuntu2.1 amd64simple interprocess messaging system (debug symbols) ii dbus-x111.8.8-1ubuntu2.1 amd64simple interprocess messaging system (X11 deps) ii libdbus-1-3:amd64 1.8.8-1ubuntu2.1 amd64simple interprocess messaging system (library) ii libdbus-1-dev:amd64 1.8.8-1ubuntu2.1 amd64simple interprocess messaging system (development headers) ii libdbus-glib-1-2:amd64 0.102-1 amd64simple interprocess messaging system (GLib-based shared library) ii libnih-dbus-dev:amd64 1.0.3-4ubuntu26 amd64NIH D-Bus Bindings Library (development files) ii libnih-dbus1:amd64 1.0.3-4ubuntu26 amd64NIH D-Bus Bindings Library ii nih-dbus-tool 1.0.3-4ubuntu26 amd64NIH D-Bus Binding Tool ii python3-dbus1.2.0-2build2 amd64simple interprocess messaging system (Python 3 interface) 2014-12-12 05:27:01.331+: 35353: error : cgm_dbus_connect:76 : cgmanager: Error pinging manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. process 35331: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details. Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection. 2014-12-12 05:27:01.333+: 35358: error : cgm_dbus_connect:76 : cgmanager: Error pinging manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. (null):dbus_error.c:69: Unhandled error from nih_dbus_error_raise: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Program received signal SIGABRT, Aborted. [Switching to Thread 0x7f342dd40700 (LWP 35356)] 0x7f3440d2fd27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x7f3440d2fd27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x7f3440d31418 in __GI_abort () at abort.c:89 #2 0x7f343eaa1997 in ?? () from /lib/x86_64-linux-gnu/libnih.so.1 #3 0x7f343eaa1be1 in _nih_error_raise_error () from /lib/x86_64-linux-gnu/libnih.so.1 #4 0x7f343ecb46e5 in cgmanager_get_pid_cgroup_sync () from /lib/x86_64-linux-gnu/libcgmanager.so.0 #5 0x7f344134802b in ?? () from /usr/lib/libvirt.so.0 #6 0x7f344133fa3b in ?? () from /usr/lib/libvirt.so.0 #7 0x7f3441340c53 in ?? () from /usr/lib/libvirt.so.0 #8 0x7f3441340ec7 in virCgroupNewDetectMachine () from /usr/lib/libvirt.so.0 #9 0x7f3431a7dec5 in qemuConnectCgroup () from /usr/lib/libvirt/connection-driver/libvirt_driver_qemu.so #10 0x7f3431a92447
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
attached. it didn't happen the first time [w/ 0 instances running]. i then started 1, and virsh hung [after my earlier restart?] its now dead. this is a different blade, a 2x E5-2640 0 @ 2.50GHz ** Attachment added: "ubuntu-virt.txt" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+attachment/4279216/+files/ubuntu-virt.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
463.169884] init: cgmanager main process (510) killed by TERM signal [ 468.885143] show_signal_msg: 1 callbacks suppressed [ 468.885149] libvirtd[44515]: segfault at 0 ip 7fb39575b90f sp 7fb38241b8e0 error 4 in libvirt.so.0.1002.8[7fb3956f+2b3000][ 469.049895] init: libvirt-bin main process (44423) killed by SEGV signal [ 469.049908] init: libvirt-bin main process ended, respawning [ 494.421272] libvirtd[44683]: segfault at 0 ip 7f65efd2e90f sp 7f65dc9ee8e0 error 4 in libvirt.so.0.1002.8[7f65efcc3000+2b3000] [ 494.614372] init: libvirt-bin main process (44584) killed by SEGV signal [ 494.614387] init: libvirt-bin main process ended, respawning [ 494.977478] libvirtd[2476]: segfault at 7f3b0012 ip 7f3b3f811ec7 sp 7f3b2daa1650 error 4 in libc-2.19.so[7f3b3f791000+1ba000] [ 495.125140] init: libvirt-bin main process (2414) killed by SEGV signal [ 495.125153] init: libvirt-bin main process ended, respawning [ 495.604876] init: libvirt-bin main process (2511) killed by ABRT signal [ 495.604888] init: libvirt-bin main process ended, respawning [ 495.946894] libvirtd[2744]: segfault at 0 ip 7f27818c590f sp 7f276fd888e0 error 4 in libvirt.so.0.1002.8[7f278185a000+2b3000] [ 495.946912] libvirtd[2749]: segfault at 7f270012 ip 7f27812f7ec7 sp 7f276d583210 error 4 in libc-2.19.so[7f2781277000+1ba000] [ 496.101145] init: libvirt-bin main process (2647) killed by SEGV signal [ 496.101160] init: libvirt-bin main process ended, respawning [ 496.403354] libvirtd[2911]: segfault at 10 ip 7f55485bd5b6 sp 7f55352ed850 error 4 in libdbus-1.so.3.8.7[7f5548598000+46000] [ 496.524614] init: libvirt-bin main process (2821) killed by SEGV signal [ 496.524628] init: libvirt-bin main process ended, respawning [ 496.993885] init: libvirt-bin main process (2938) killed by ABRT signal [ 496.993910] init: libvirt-bin main process ended, respawning [ 497.363533] libvirtd[3270]: segfault at 0 ip 7fddf3dd690f sp 7fddd3ffe8e0 error 4 in libvirt.so.0.1002.8[7fddf3d6b000+2b3000] [ 497.363551] libvirtd[3266]: segfault at 0 ip 7fddf3dd690f sp 7fdde22998e0 error 4 in libvirt.so.0.1002.8[7fddf3d6b000+2b3000] [ 497.504828] init: libvirt-bin main process (3097) killed by SEGV signal [ 497.504841] init: libvirt-bin main process ended, respawning [ 497.989323] init: libvirt-bin main process (3296) killed by ABRT signal [ 497.989339] init: libvirt-bin main process ended, respawning [ 498.477920] init: libvirt-bin main process (3464) killed by ABRT signal [ 498.477940] init: libvirt-bin main process ended, respawning [ 498.787286] libvirtd[3711]: segfault at 7fd7000a ip 7fd7666cc232 sp 7fd75515e500 error 4 in libc-2.19.so[7fd76664d000+1ba000] [ 498.953864] init: libvirt-bin main process (3624) killed by SEGV signal [ 498.953878] init: libvirt-bin main process ended, respawning [ 499.262920] libvirtd[3910]: segfault at 10 ip 7f34615465b6 sp 7f344affc850 error 4 in libdbus-1.so.3.8.7[7f3461521000+46000] [ 499.409498] init: libvirt-bin main process (3785) killed by SEGV signal [ 499.409522] init: libvirt-bin respawning too fast, stopped -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367702] Re: libvirt-bin terminated unexpectedly
filed bug 1397130 as per request. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367702 Title: libvirt-bin terminated unexpectedly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1367702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
(gdb) bt #0 0x7f9fd650ad27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x7f9fd650c418 in __GI_abort () at abort.c:89 #2 0x7f9fd448f538 in cgmanager_get_pid_cgroup_sync () from /lib/x86_64-linux-gnu/libcgmanager.so.0 #3 0x7f9fd6b2302b in cgm_controller_exists (controller=0x7f9fd6ca766b "name=systemd") at /build/buildd/libvirt-1.2.8/./src/util/cgmanager.c:296 #4 0x7f9fd6b1aa3b in cg_get_cgroups (group=) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:374 #5 virCgroupDetectMounts (group=0x12f) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:412 #6 0x7f9fd6b1bc53 in virCgroupDetect (parent=, path=, controllers=, pid=, group=) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:729 #7 virCgroupNew (pid=303, path=0x7f9fd6cf4dd8 "", parent=0x0, controllers=-1, group=0x7f9fbcff9700) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:1263 #8 0x7f9fd6b1bec7 in virCgroupNewDetectMachine (name=0x7f9fc0279100 "instance-15f8", drivername=0x7f9fc70c8ffb "qemu", pid=303, partition=0x7f9fc026c1a0 "/machine", controllers=-1124100352, group=0x7f9fc027cb50) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:1782 #9 0x7f9fc7048ec5 in qemuConnectCgroup (driver=, vm=0x7f9fc027e080) at /build/buildd/libvirt-1.2.8/./src/qemu/qemu_cgroup.c:781 #10 0x7f9fc705d447 in qemuProcessReconnect (opaque=0x12f, opaque@entry=0x7f9fc031b890) at /build/buildd/libvirt-1.2.8/./src/qemu/qemu_process.c:3322 #11 0x7f9fd6b6c94e in virThreadHelper (data=) at /build/buildd/libvirt-1.2.8/./src/util/virthread.c:197 #12 0x7f9fd68a10a5 in start_thread (arg=0x7f9fbcff9700) at pthread_create.c:309 #13 0x7f9fd65ce84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] [NEW] libvirt-bin crashes / refuses to restart if cgmanager is restarted
Public bug reported: reference bug 1367702. As per request, opening new ticket w/ instructions to reproduce. This is on 14.10 server, libvirt-bin 1.2.8-0ubuntu11.1 As per 1367702, this is not using LXC (which u used in your attempt). This is running bare-metal, no container, no hypervisor. Each VM below is started from OpenStack nova-compute (this node is a compute-only node). don@nubo-5:~$ sudo service cgmanager restart cgmanager stop/waiting cgmanager start/running, process 22588 don@nubo-5:~$ virsh list IdName State 2 instance-15de running 3 instance-15df running 4 instance-15e0 running 5 instance-15e1 running 6 instance-15e2 running 7 instance-15e3 running 8 instance-15e4 running 9 instance-15e5 running 10instance-15e6 running 11instance-15e7 running 12instance-15e8 running 13instance-15e9 running 14instance-15ea running 15instance-15eb running 16instance-15ec running 17instance-15ed running 18instance-15ee running 19instance-15ef running 20instance-15f0 running 21instance-15f1 running 22instance-15f2 running 23instance-15f3 running 24instance-15f4 running 25instance-15f5 running 26instance-15f6 running 27instance-15f7 running 28instance-15f8 running 29instance-15f9 running 30instance-15fa running 31instance-15fb running 32instance-15fc running 33instance-15fd running 34instance-15fe running 35instance-15ff running 36instance-1600 running don@nubo-5:~$ sudo service libvirt-bin restart libvirt-bin stop/waiting libvirt-bin start/running, process 22751 don@nubo-5:~$ virsh list error: failed to connect to the hypervisor error: no valid connection error: Cannot recv data: Connection reset by peer If i then run libvirtd manually: root@nubo-5:~# libvirtd -v 2014-11-27 22:38:18.066+: 26422: info : libvirt version: 1.2.8, package: 1.2.8-0ubuntu11.1 2014-11-27 22:38:18.066+: 26422: info : virNetlinkEventServiceStart:521 : starting netlink event service with protocol 0 2014-11-27 22:38:18.066+: 26422: info : virNetlinkEventServiceStart:521 : starting netlink event service with protocol 15 2014-11-27 22:38:18.073+: 26433: info : dnsmasqCapsSetFromBuffer:685 : dnsmasq version is 2.71, --bind-dynamic is present, SO_BINDTODEVICE is in use 2014-11-27 22:38:18.074+: 26433: info : networkReloadFirewallRules:1778 : Reloading iptables rules 2014-11-27 22:38:18.074+: 26433: info : networkRefreshDaemons:1750 : Refreshing network daemons 2014-11-27 22:38:18.198+: 26433: info : virFirewallApplyGroup:844 : Starting transaction for 0x7f15e40e7110 flags=0 2014-11-27 22:38:18.198+: 26433: info : virFirewallApplyRule:785 : Applying rule '/sbin/iptables --version' 2014-11-27 22:38:18.207+: 26433: info : libxlDriverShouldLoad:241 : Disabling driver as /proc/xen/capabilities does not exist 2014-11-27 22:38:18.250+: 26433: info : virDomainObjListLoadAllConfigs:18944 : Scanning for configs in /var/run/libvirt/qemu 2014-11-27 22:38:18.256+: 26433: info : virDomainObjListLoadAllConfigs:18968 : Loading config file 'instance-15fd.xml' ... 2014-11-27 22:38:18.385+: 26441: error : cgm_dbus_connect:76 : cgmanager: Error pinging manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. process 26422: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details. Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection. 2014-11-27 22:38:18.387+: 26439: warning : cg_detect_placement:561 : Failed to get cgroup path for cpu 2014-11-27 22:38:18.392+: 26445: error : cgm_dbus_connect:76 : cgmanager: Error pinging manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. cgm ping returns true, so cgmanager is presumably ok. sometimes when doing th
[Bug 1397130] KernLog.txt
apport information ** Attachment added: "KernLog.txt" https://bugs.launchpad.net/bugs/1397130/+attachment/4269912/+files/KernLog.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] RelatedPackageVersions.txt
apport information ** Attachment added: "RelatedPackageVersions.txt" https://bugs.launchpad.net/bugs/1397130/+attachment/4269913/+files/RelatedPackageVersions.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1397130] Re: libvirt-bin crashes / refuses to restart if cgmanager is restarted
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `libvirtd -v'. Program terminated with signal SIGABRT, Aborted. #0 0x7fa266277d27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x7fa266277d27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x7fa266279418 in __GI_abort () at abort.c:89 #2 0x7fa263fde309 in nih_free () from /lib/x86_64-linux-gnu/libnih.so.1 #3 0x7fa26688f862 in cgm_dbus_connect () at /build/buildd/libvirt-1.2.8/./src/util/cgmanager.c:78 #4 0x7fa266887d5c in virCgroupAvailable () at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:135 #5 0x7fa256db5e85 in qemuConnectCgroup (driver=, vm=0x7fa25028d540) at /build/buildd/libvirt-1.2.8/./src/qemu/qemu_cgroup.c:776 #6 0x7fa256dca447 in qemuProcessReconnect (opaque=0x7d3e, opaque@entry=0x7fa25032de10) at /build/buildd/libvirt-1.2.8/./src/qemu/qemu_process.c:3322 #7 0x7fa2668d994e in virThreadHelper (data=) at /build/buildd/libvirt-1.2.8/./src/util/virthread.c:197 #8 0x7fa26660e0a5 in start_thread (arg=0x7fa245ffb700) at pthread_create.c:309 #9 0x7fa26633b84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397130 Title: libvirt-bin crashes / refuses to restart if cgmanager is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1397130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1367702] Re: libvirt-bin terminated unexpectedly
if cgmanager is restarted, this problem occurs. 2014-11-22 22:32:45.543+: 18448: error : cgm_dbus_connect:76 : cgmanager: Error pinging manager: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. process 18397: The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details. Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection. (null):alloc.c:315: Assertion failed in nih_free: ptr != NULL Segmentation fault (core dumped) root@nubo-10:/var/crash/x# cgm ping ... again ... 2014-11-22 22:34:47.076+: 19701: error : cgm_dbus_connect:76 : cgmanager: Error pinging manager: Connection is closed (null):dbus_error.c:69: Unhandled error from nih_dbus_error_raise: Connection is closed Segmentation fault (core dumped) [Switching to Thread 0x7fe482ffd700 (LWP 21863)] 0x7fe49a778d27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x7fe49a778d27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x7fe49a77a418 in __GI_abort () at abort.c:89 #2 0x7fe4986fd538 in cgmanager_get_pid_cgroup_sync () from /lib/x86_64-linux-gnu/libcgmanager.so.0 #3 0x7fe49ad9102b in cgm_controller_exists (controller=0x7fe49af1566b "name=systemd") at /build/buildd/libvirt-1.2.8/./src/util/cgmanager.c:296 #4 0x7fe49ad88a3b in cg_get_cgroups (group=) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:374 #5 virCgroupDetectMounts (group=0x552e) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:412 #6 0x7fe49ad89c53 in virCgroupDetect (parent=, path=, controllers=, pid=, group=) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:729 #7 virCgroupNew (pid=21806, path=0x7fe49af62dd8 "", parent=0x0, controllers=-1, group=0x7fe482ffd700) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:1263 #8 0x7fe49ad89ec7 in virCgroupNewDetectMachine (name=0x7fe4842ef770 "instance-152c", drivername=0x7fe48b33affb "qemu", pid=21806, partition=0x7fe4841b9400 "/machine", controllers=-2097162496, group=0x7fe484309250) at /build/buildd/libvirt-1.2.8/./src/util/vircgroup.c:1782 #9 0x7fe48b2baec5 in qemuConnectCgroup (driver=, vm=0x7fe4842c75d0) at /build/buildd/libvirt-1.2.8/./src/qemu/qemu_cgroup.c:781 #10 0x7fe48b2cf447 in qemuProcessReconnect (opaque=0x552e, opaque@entry=0x7fe48431c700) at /build/buildd/libvirt-1.2.8/./src/qemu/qemu_process.c:3322 #11 0x7fe49adda94e in virThreadHelper (data=) at /build/buildd/libvirt-1.2.8/./src/util/virthread.c:197 #12 0x7fe49ab0f0a5 in start_thread (arg=0x7fe482ffd700) at pthread_create.c:309 #13 0x7fe49a83c84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1367702 Title: libvirt-bin terminated unexpectedly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1367702/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice
sigh, the kvm-spice entry in apparmor.d/libivrt is my workaround. i added it manually and forget to mention that when attaching above. w/o that entry, openstack will not start an instance. with it, it is fine. -- 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: libvirt-qemu apparmor profile missing kvm-spice 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
[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice
The ls has: total 192 -rw-r--r-- 1 root root 265 Sep 15 18:46 libvirt-06bba064-b57e-4cf5-a1e3-c39567895aab -rw-r--r-- 1 root root 1140 Oct 28 03:09 libvirt-06bba064-b57e-4cf5-a1e3-c39567895aab.files -rw-r--r-- 1 root root 265 Oct 14 04:07 libvirt-0cb7d575-9a0b-4000-b6d2-3901a4d44f7c -rw-r--r-- 1 root root 1077 Oct 28 03:09 libvirt-0cb7d575-9a0b-4000-b6d2-3901a4d44f7c.files -rw-r--r-- 1 root root 265 Oct 23 13:40 libvirt-0cd2e54a-1c6e-419b-974b-06ec713f3794 -rw-r--r-- 1 root root 1077 Oct 28 03:08 libvirt-0cd2e54a-1c6e-419b-974b-06ec713f3794.files -rw-r--r-- 1 root root 265 Oct 23 13:40 libvirt-0dc31de4-0271-48e0-9c34-b5ec4869015a -rw-r--r-- 1 root root 1098 Oct 28 03:08 libvirt-0dc31de4-0271-48e0-9c34-b5ec4869015a.files -rw-r--r-- 1 root root 265 Oct 14 04:07 libvirt-136a90ad-7e8a-4060-9b8a-602aed4b5fb8 -rw-r--r-- 1 root root 1161 Oct 28 03:09 libvirt-136a90ad-7e8a-4060-9b8a-602aed4b5fb8.files -rw-r--r-- 1 root root 265 Sep 15 18:59 libvirt-5170f30d-8835-4e28-aa24-3230476fb1ad -rw-r--r-- 1 root root 1077 Oct 29 21:44 libvirt-5170f30d-8835-4e28-aa24-3230476fb1ad.files -rw-r--r-- 1 root root 265 Sep 15 18:46 libvirt-5750b2a4-6679-4965-85c8-bb8273e029b0 -rw-r--r-- 1 root root 1077 Oct 28 03:09 libvirt-5750b2a4-6679-4965-85c8-bb8273e029b0.files -rw-r--r-- 1 root root 265 Oct 23 13:40 libvirt-598b9e83-ce0a-47a8-8555-b62a252ee3bb -rw-r--r-- 1 root root 1098 Oct 28 03:08 libvirt-598b9e83-ce0a-47a8-8555-b62a252ee3bb.files -rw-r--r-- 1 root root 265 Sep 15 18:46 libvirt-67541f7c-fe64-4125-876f-3e06667df53b -rw-r--r-- 1 root root 1098 Oct 28 03:08 libvirt-67541f7c-fe64-4125-876f-3e06667df53b.files -rw-r--r-- 1 root root 265 Oct 29 20:44 libvirt-6a16064d-cf87-40c8-8ae0-703c51cf184f -rw-r--r-- 1 root root 1098 Oct 29 20:44 libvirt-6a16064d-cf87-40c8-8ae0-703c51cf184f.files -rw-r--r-- 1 root root 265 Oct 14 04:06 libvirt-84a2b12b-3f3b-494c-abd2-aa42236ef844 -rw-r--r-- 1 root root 1140 Oct 28 03:09 libvirt-84a2b12b-3f3b-494c-abd2-aa42236ef844.files -rw-r--r-- 1 root root 265 Oct 29 16:14 libvirt-89d5121b-5c5f-4548-83b3-a187d751a5bc -rw-r--r-- 1 root root 1140 Oct 29 16:14 libvirt-89d5121b-5c5f-4548-83b3-a187d751a5bc.files -rw-r--r-- 1 root root 265 Oct 28 20:32 libvirt-8a699639-3311-4567-bf21-ce381a4e8783 -rw-r--r-- 1 root root 1098 Oct 28 20:32 libvirt-8a699639-3311-4567-bf21-ce381a4e8783.files -rw-r--r-- 1 root root 265 Oct 23 13:40 libvirt-8bda3eb5-420c-4822-84a5-fa2fe6e92e71 -rw-r--r-- 1 root root 1161 Oct 28 03:08 libvirt-8bda3eb5-420c-4822-84a5-fa2fe6e92e71.files -rw-r--r-- 1 root root 265 Oct 29 09:59 libvirt-8f0e3112-db6a-4ad9-8598-01cc24f1a4cf -rw-r--r-- 1 root root 1161 Oct 29 09:59 libvirt-8f0e3112-db6a-4ad9-8598-01cc24f1a4cf.files -rw-r--r-- 1 root root 265 Sep 15 18:46 libvirt-a9ac1393-0462-43af-a7db-1a48bdc521f7 -rw-r--r-- 1 root root 1098 Oct 28 03:08 libvirt-a9ac1393-0462-43af-a7db-1a48bdc521f7.files -rw-r--r-- 1 root root 265 Oct 14 04:06 libvirt-bae8f71e-b10d-4598-a33b-1e9443e0876d -rw-r--r-- 1 root root 1077 Oct 28 03:09 libvirt-bae8f71e-b10d-4598-a33b-1e9443e0876d.files -rw-r--r-- 1 root root 265 Oct 23 13:41 libvirt-bfce9b50-f66a-47c6-affc-ca860463bd45 -rw-r--r-- 1 root root 1098 Oct 28 03:08 libvirt-bfce9b50-f66a-47c6-affc-ca860463bd45.files -rw-r--r-- 1 root root 265 Sep 15 18:46 libvirt-c5494a5c-65de-49f4-a5ea-d9b06cf7fd56 -rw-r--r-- 1 root root 1161 Oct 28 03:08 libvirt-c5494a5c-65de-49f4-a5ea-d9b06cf7fd56.files -rw-r--r-- 1 root root 265 Oct 28 22:10 libvirt-ce40d7be-cbf2-4451-afb4-3d9e59962bdd -rw-r--r-- 1 root root 1077 Oct 28 22:10 libvirt-ce40d7be-cbf2-4451-afb4-3d9e59962bdd.files -rw-r--r-- 1 root root 265 Oct 24 01:54 libvirt-dbcf50ae-6b24-4527-bb65-009281870f3b -rw-r--r-- 1 root root 875 Oct 28 03:08 libvirt-dbcf50ae-6b24-4527-bb65-009281870f3b.files -rw-r--r-- 1 root root 265 Oct 28 22:10 libvirt-df619766-fc3c-44bc-ab4a-0f995912fb52 -rw-r--r-- 1 root root 1098 Oct 28 22:10 libvirt-df619766-fc3c-44bc-ab4a-0f995912fb52.files -rw-r--r-- 1 root root 265 Sep 15 18:46 libvirt-f747aea0-b37d-472f-bd68-01d8955061f0 -rw-r--r-- 1 root root 1098 Oct 28 03:08 libvirt-f747aea0-b37d-472f-bd68-01d8955061f0.files -rw-r--r-- 1 root root 632 Oct 9 16:22 TEMPLATE.lxc -rw-r--r-- 1 root root 164 Oct 9 16:22 TEMPLATE.qemu and a representative instance is: instance-106d 0cd2e54a-1c6e-419b-974b-06ec713f3794 http://openstack.org/xmlns/libvirt/nova/1.0";> Bo_new-win7 2014-10-28 03:08:29 1024 5 0 0 1 don don 1048576 1048576 1 /machine OpenStack Foundation OpenStack Nova 2014.2 57ddf2ff-3374-c04c-002e-b22b53ee7e7f 0cd2e54a-1c6e-419b-974b-06ec713f3794 hvm destroy restart destroy /usr/bin/kvm-spice
[Bug 1386503] [NEW] openstack snapshot, migration, suspend broken by invtsc
Public bug reported: I believe this commit http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=de0aeafe9ce3eb414c8b5d3aa8995d776a2952de fixes the issue. In OpenStack nova, one gets this error: libvirtError: internal error: unable to execute QEMU command 'migrate': State blocked by non-migratable device 'cpu' when executing 'nova image-create', or 'nova suspend' operations. This in turn is caused by the 'invtsc' being used for 'host-model', preventing a migration. $ lsb_release -rd Description:Ubuntu 14.10 Release:14.10 $ apt-cache policy libvirt-bin libvirt-bin: Installed: 1.2.8-0ubuntu11 Candidate: 1.2.8-0ubuntu11 Version table: *** 1.2.8-0ubuntu11 0 500 http://ca.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages 100 /var/lib/dpkg/status ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1386503 Title: openstack snapshot, migration, suspend broken by invtsc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1386503/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice
osadmin-don@nubo-7:~$ ls -l /usr/bin/kvm* -rwxr-xr-x 1 root root 52 Jul 30 23:06 /usr/bin/kvm lrwxrwxrwx 1 root root 3 Oct 16 09:59 /usr/bin/kvm-spice -> kvm $ sudo apt-file search kvm-spice qemu-kvm: /usr/bin/kvm-spice instance-0563 5750b2a4-6679-4965-85c8-bb8273e029b0 http://openstack.org/xmlns/libvirt/nova/1.0";> exp-win7 2014-10-21 08:40:50 1024 5 0 0 1 admin admin 1048576 1048576 1 /machine OpenStack Foundation OpenStack Nova 2014.2 57ddf2ff-3374-c04c-002e-b22b53ee7e7f 5750b2a4-6679-4965-85c8-bb8273e029b0 hvm destroy restart destroy /usr/bin/kvm-spice libvirt-5750b2a4-6679-4965-85c8-bb8273e029b0 libvirt-5750b2a4-6679-4965-85c8-bb8273e029b0 -- 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: libvirt-qemu apparmor profile missing kvm-spice 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
[Bug 1384532] [NEW] libvirt-qemu apparmor profile missing kvm-spice
Public bug reported: /usr/bin/kvm-spice is a soft-link to /usr/bin/kvm in /etc/apparmor.d/abstractions/libvirt-qemu there is no line for kvm- spice. This leads rise to the error: libvirt: error : unable to set AppArmor profile 'libvirt-224075ba-a31a-48e9-98fe-337146e9f4f1' for '/usr/bin/kvm-spice': No such file or directory when using e.g. OpenStack $ lsb_release -rd Description:Ubuntu 14.10 Release:14.10 $ dpkg -l|grep libvirt-bin ii libvirt-bin 1.2.8-0ubuntu11 amd64programs for the libvirt library ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- 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: libvirt-qemu apparmor profile missing kvm-spice 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
[Bug 1256642] Re: Chromium shows "aw snap" error on every page
after running into this problem infrequently, I enabled logging, and found that it was this issue for me: https://groups.google.com/a/chromium.org/forum/#!msg/chromium- dev/lFgKOYo3iYM/Ws_7Gn32ZoMJ I increased my ulimit on the # of files, and the renderer no longer gives the Snap problem periodically. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1256642 Title: Chromium shows "aw snap" error on every page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1256642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1244176] Re: Server 13.10 Install Fails with USB Keyboard (Appears to Hang)
I also observe this on trusty server amd64 (release). Its a bit hard to diagnose, it just locks up. two systems... one is zotac z77-itx, and the other is gigabyte brix. in both cases, only usb keyboard is available. both hang the same way. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1244176 Title: Server 13.10 Install Fails with USB Keyboard (Appears to Hang) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1244176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs