yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12693
[Bug 1243718] Re: kill qemu pid will crash openstack-nova-compute
*** This bug is a duplicate of bug 1270304 ***
https://bugs.launchpad.net/bugs/1270304
** This bug has been marked a duplicate of bug 1270304
error in guestfs driver setup causes orphaned libguestfs processes
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1243718
Title:
kill qemu pid will crash openstack-nova-compute
Status in OpenStack Compute (Nova):
Incomplete
Bug description:
I am working with gluster as cinder backend.
when I boot an instance I see two qemu pid's created, one for the instance and a second one for glusterfs (not sure what it is and why we run it)
when I delete the instance the glusterfs pid remains. if I kill it
openstack-nova-compute will be killed as well
[root@cougar07 ~(keystone_admin)]# ps -elf |grep qemu
2 S nova 13775 13645 6 80 0 - 212831 poll_s 16:51 ? 00:00:02 /usr/libexec/qemu-kvm -global virtio-blk-pci.scsi=off -nodefconfig -nodefaults -nographic -machine accel=kvm:tcg -cpu host,+kvmclock -m 500 -no-reboot -kernel /var/tmp/.guestfs-162/kernel.13645 -initrd /var/tmp/.guestfs-162/initrd.13645 -device virtio-scsi-pci,id=scsi -drive file=/var/lib/nova/instances/2f469c9d-2bf8-44ba-ac9a-e280289802bf/disk,cache=none,format=qcow2,id=hd0,if=none -device scsi-hd,drive=hd0 -drive file=/var/tmp/.guestfs-162/root.13645,snapshot=on,id=appliance,if=none,cache=unsafe -device scsi-hd,drive=appliance -device virtio-serial -serial stdio -device sga -chardev socket,path=/tmp/libguestfsWTO2Jc/guestfsd.sock,id=channel0 -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 -append panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 TERM=xterm
6 S qemu 14018 1 72 80 0 - 217865 poll_s 16:51 ? 00:00:19 /usr/libexec/qemu-kvm -name instance-00000035 -S -M rhel6.5.0 -cpu Opteron_G3,+nodeid_msr,+wdt,+skinit,+ibs,+osvw,+3dnowprefetch,+cr8legacy,+extapic,+cmp_legacy,+3dnow,+3dnowext,+pdpe1gb,+fxsr_opt,+mmxext,+ht,+vme -enable-kvm -m 512 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 2f469c9d-2bf8-44ba-ac9a-e280289802bf -smbios type=1,manufacturer=Red Hat Inc.,product=OpenStack Nova,version=2013.2-0.25.rc1.el6ost,serial=44454c4c-4a00-1044-804c-b5c04f39354a,uuid=2f469c9d-2bf8-44ba-ac9a-e280289802bf -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000035.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -no-kvm-pit-reinjection -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/2f469c9d-2bf8-44ba-ac9a-e280289802bf/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=22,id=hostnet0,vhost=on,vhostfd=23 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:37:43:23,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/2f469c9d-2bf8-44ba-ac9a-e280289802bf/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 -vnc 10.35.160.135:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
0 S root 14043 13613 0 80 0 - 25813 pipe_w 16:52 pts/2 00:00:00 grep qemu
[root@cougar07 ~(keystone_admin)]# ps -elf |grep qemu
2 S nova 13775 13645 4 80 0 - 212831 poll_s 16:51 ? 00:00:02 /usr/libexec/qemu-kvm -global virtio-blk-pci.scsi=off -nodefconfig -nodefaults -nographic -machine accel=kvm:tcg -cpu host,+kvmclock -m 500 -no-reboot -kernel /var/tmp/.guestfs-162/kernel.13645 -initrd /var/tmp/.guestfs-162/initrd.13645 -device virtio-scsi-pci,id=scsi -drive file=/var/lib/nova/instances/2f469c9d-2bf8-44ba-ac9a-e280289802bf/disk,cache=none,format=qcow2,id=hd0,if=none -device scsi-hd,drive=hd0 -drive file=/var/tmp/.guestfs-162/root.13645,snapshot=on,id=appliance,if=none,cache=unsafe -device scsi-hd,drive=appliance -device virtio-serial -serial stdio -device sga -chardev socket,path=/tmp/libguestfsWTO2Jc/guestfsd.sock,id=channel0 -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 -append panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 TERM=xterm
0 S root 14135 13613 0 80 0 - 25813 pipe_w 16:52 pts/2 00:00:00 grep qemu
[root@cougar07 ~(keystone_admin)]# kill -9 13645
[root@cougar07 ~(keystone_admin)]#
[root@cougar07 ~(keystone_admin)]#
[root@cougar07 ~(keystone_admin)]# ps -elf |grep qemu
0 S root 14140 13613 0 80 0 - 25813 pipe_w 16:52 pts/2 00:00:00 grep qemu
[root@cougar07 ~(keystone_admin)]#
[root@cougar07 ~(keystone_admin)]#
[root@cougar07 ~(keystone_admin)]#
[root@cougar07 ~(keystone_admin)]#
[root@cougar07 ~(keystone_admin)]# /etc/init.d/openstack-nova-compute status
openstack-nova-compute dead but pid file exists
[root@cougar07 ~(keystone_admin)]#
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1243718/+subscriptions