Terminated LXD instances processes stick around
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
nova-compute-lxd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I spun up a number of lxd instances using the lxd driver and then deleted them; the instances disappear from lxc list, but processes remain:
ceilome+ 4050 1 0 10:18 ? 00:00:10 /usr/bin/python /usr/bin/
neutron 7897 1 2 10:19 ? 00:02:09 /usr/bin/python /usr/bin/
root 8265 7897 0 10:19 ? 00:00:00 sudo neutron-rootwrap /etc/neutron/
root 8267 8265 0 10:19 ? 00:00:00 /usr/bin/python /usr/bin/
root 8269 8267 0 10:19 ? 00:00:00 /usr/bin/
root 8543 1 0 09:52 ? 00:00:00 /bin/bash /var/lib/
root 8549 8543 0 09:52 ? 00:00:00 /var/lib/
root 8607 1 0 09:52 ? 00:00:00 /bin/bash /var/lib/
root 8611 8607 0 09:52 ? 00:00:02 /var/lib/
root 15377 1 0 10:52 ? 00:00:00 [lxc monitor] /var/lib/lxd/lxc 0f57a93e-
100000 15384 15377 0 10:52 ? 00:00:00 init
100000 15493 15384 0 10:52 ? 00:00:00 /sbin/syslogd -m 0
100000 15716 15384 0 10:52 ? 00:00:00 udhcpc -p /var/run/
uuidd 16562 1 0 10:58 ? 00:00:00 /usr/sbin/uuidd --socket-activation
root 16920 2 0 11:01 ? 00:00:00 [kworker/1:3]
root 16969 867 0 11:02 ? 00:00:00 sshd: ubuntu [priv]
ubuntu 17028 16969 0 11:02 ? 00:00:00 sshd: ubuntu@pts/1
ubuntu 17029 17028 0 11:02 pts/1 00:00:00 -bash
root 17050 17029 0 11:02 pts/1 00:00:00 sudo su
root 17051 17050 0 11:02 pts/1 00:00:00 su
root 17052 17051 0 11:02 pts/1 00:00:00 bash
root 17132 1 0 09:53 ? 00:00:10 /sbin/cgmanager -m name=systemd
root 17296 1 0 11:02 ? 00:00:00 [lxc monitor] /var/lib/lxd/lxc 98d89f17-
100000 17312 17296 0 11:02 ? 00:00:00 init
100000 17412 17312 0 11:02 ? 00:00:00 /sbin/syslogd -m 0
100000 17478 17312 0 11:02 ? 00:00:00 udhcpc -p /var/run/
root 17678 1 0 09:53 ? 00:00:00 /usr/bin/lxcfs -f -s -o allow_other /var/lib/lxcfs/
lxc-dns+ 18169 1 0 09:53 ? 00:00:00 dnsmasq -u lxc-dnsmasq --strict-order --bind-interfaces --pid-file=
root 18689 1 0 11:09 ? 00:00:00 [lxc monitor] /var/lib/lxd/lxc 40bd8478-
root 18697 2 0 11:09 ? 00:00:00 [kworker/0:3]
100000 18709 18689 0 11:09 ? 00:00:00 init
100000 18814 18709 0 11:09 ? 00:00:00 /sbin/syslogd -m 0
100000 18880 18709 0 11:09 ? 00:00:00 udhcpc -p /var/run/
nova 19280 1 2 11:12 ? 00:00:40 /usr/bin/python /usr/bin/
root 19405 1 0 09:54 ? 00:00:00 /bin/bash /var/lib/
root 19409 19405 0 09:54 ? 00:00:00 /var/lib/
root 19439 1 0 09:54 ? 00:00:00 /bin/bash /var/lib/
root 19443 19439 0 09:54 ? 00:00:01 /var/lib/
root 19549 1 0 11:12 ? 00:00:00 [lxc monitor] /var/lib/lxd/lxc 6786c602-
100000 19563 19549 0 11:12 ? 00:00:00 init
100000 19660 19563 0 11:12 ? 00:00:00 /sbin/syslogd -m 0
100000 19726 19563 0 11:12 ? 00:00:00 udhcpc -p /var/run/
root 21246 1 0 11:25 ? 00:00:01 /usr/bin/lxd --group lxd --debug --tcp [::]:8443
root 21252 2 0 11:25 ? 00:00:00 [kworker/1:0]
root 21990 1 0 11:26 ? 00:00:00 [lxc monitor] /var/lib/lxd/lxc 96f97989-
root 21997 2 0 11:26 ? 00:00:00 [kworker/0:2]
100000 22020 21990 0 11:26 ? 00:00:00 init
100000 22104 22020 0 11:26 ? 00:00:00 /sbin/syslogd -m 0
100000 22181 22020 0 11:26 ? 00:00:00 udhcpc -p /var/run/
root 22447 1 0 09:55 ? 00:00:00 ovsdb-server: monitoring pid 22448 (healthy)
root 22448 22447 0 09:55 ? 00:00:00 ovsdb-server /etc/openvswitc
root 22459 1 0 09:55 ? 00:00:00 ovs-vswitchd: monitoring pid 22460 (healthy)
root 22460 22459 0 09:55 ? 00:00:07 ovs-vswitchd unix:/var/
root 22545 1 0 11:27 ? 00:00:00 [lxc monitor] /var/lib/lxd/lxc 35ab12d3-
100000 22553 22545 0 11:27 ? 00:00:00 init
100000 22657 22553 0 11:27 ? 00:00:00 /sbin/syslogd -m 0
100000 22728 22553 0 11:28 ? 00:00:00 udhcpc -p /var/run/
root 24128 17052 0 11:38 pts/1 00:00:00 ps -aef
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: nova-compute-lxd 0.5.1-0ubuntu1
ProcVersionSign
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
Date: Wed Apr 22 11:39:15 2015
Ec2AMI: ami-0000031a
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.medium
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitec
SourcePackage: nova-compute-lxd
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in nova-compute-lxd (Ubuntu): | |
status: | New → Fix Released |
I also get residual veth state:
13: vethMY0SC0: <BROADCAST, MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast master lxcbr0 state UP group default qlen 1000 c9ff:feaf: e483/64 scope link MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast master lxcbr0 state UP group default qlen 1000 eaff:fe31: b4f0/64 scope link MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast master lxcbr0 state UP group default qlen 1000 87ff:fe39: 4210/64 scope link MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast master lxcbr0 state UP group default qlen 1000 cfff:fefe: 13c4/64 scope link MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast master lxcbr0 state UP group default qlen 1000 aeff:fefa: a34a/64 scope link MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc pfifo_fast master lxcbr0 state UP group default qlen 1000 7aff:feff: 742/64 scope link
link/ether fe:c4:c9:af:e4:83 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcc4:
valid_lft forever preferred_lft forever
18: vethRP1GL1: <BROADCAST,
link/ether fe:6e:ea:31:b4:f0 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc6e:
valid_lft forever preferred_lft forever
23: veth0TH2LA: <BROADCAST,
link/ether fe:86:87:39:42:10 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc86:
valid_lft forever preferred_lft forever
28: veth7C0G4C: <BROADCAST,
link/ether fe:f2:cf:fe:13:c4 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcf2:
valid_lft forever preferred_lft forever
33: vethO2EI0J: <BROADCAST,
link/ether fe:b5:ae:fa:a3:4a brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcb5:
valid_lft forever preferred_lft forever
38: vethTG4UPW: <BROADCAST,
link/ether fe:2e:7a:ff:07:42 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc2e:
valid_lft forever preferred_lft forever