old lxd containers pile up

Bug #1772604 reported by Iain Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Auto Package Testing
New
Undecided
Unassigned

Bug Description

These nodes were "down" - i.e. no active jobs were running on them, but there were a ton of stale containers around

Figure out what that's about, but we should probably also have a cleanup job.

ubuntu@juju-prod-ues-proposed-migration-machine-12:~$ for remote in $(lxc remote list | grep lxd-armhf | grep -v lxd-armhf-10.44.41.11 | awk '{print $2}'); do echo ${remote}; for instance in $(lxc list ${remote}: | grep autopkgtest- | awk '{print $2}'); do echo "deleting ${remote}:${instance}"; lxc delete --force ${remote}:${instance}; done; done
lxd-armhf-10.44.41.10
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-bhsung
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-bkvawl
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-cmlkhr
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-cnpboz
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-dqfliv
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-estwwn
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-evoxnt
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-fdfgab
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-ikfdkn
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-joqyvi
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-pdxarf
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-qfzuyq
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-rbuirk
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-ruxdlv
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-ttiktz
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-wkffex
deleting lxd-armhf-10.44.41.10:autopkgtest-lxd-xvrozk
lxd-armhf-10.44.41.12
deleting lxd-armhf-10.44.41.12:autopkgtest-lxd-btcmdt
deleting lxd-armhf-10.44.41.12:autopkgtest-lxd-doxvng
deleting lxd-armhf-10.44.41.12:autopkgtest-lxd-hkrmzc
deleting lxd-armhf-10.44.41.12:autopkgtest-lxd-mvbpuq
deleting lxd-armhf-10.44.41.12:autopkgtest-lxd-nihtir
deleting lxd-armhf-10.44.41.12:autopkgtest-lxd-qakmrw
deleting lxd-armhf-10.44.41.12:autopkgtest-lxd-whkxgc
lxd-armhf-10.44.41.13
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-aermnc
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-biyqca
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-cuwswu
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-grxsic
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-hkntbr
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-kdktgg
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-opicrd
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-optoaf
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-qnoxjs
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-swqrhd
deleting lxd-armhf-10.44.41.13:autopkgtest-lxd-vrfufn
lxd-armhf-10.44.41.14
deleting lxd-armhf-10.44.41.14:autopkgtest-lxd-aevhvz
deleting lxd-armhf-10.44.41.14:autopkgtest-lxd-jvrfsz
deleting lxd-armhf-10.44.41.14:autopkgtest-lxd-oatkxg
deleting lxd-armhf-10.44.41.14:autopkgtest-lxd-wcehih
deleting lxd-armhf-10.44.41.14:autopkgtest-lxd-yhrzco
lxd-armhf-10.44.41.15
deleting lxd-armhf-10.44.41.15:autopkgtest-lxd-dindms
deleting lxd-armhf-10.44.41.15:autopkgtest-lxd-jzqfuc
deleting lxd-armhf-10.44.41.15:autopkgtest-lxd-ofvtsb
deleting lxd-armhf-10.44.41.15:autopkgtest-lxd-ooagwo
deleting lxd-armhf-10.44.41.15:autopkgtest-lxd-xmznvn
deleting lxd-armhf-10.44.41.15:autopkgtest-lxd-xzjvjg
lxd-armhf-10.44.41.6
deleting lxd-armhf-10.44.41.6:autopkgtest-lxd-jjflmy
deleting lxd-armhf-10.44.41.6:autopkgtest-lxd-jwrokp
deleting lxd-armhf-10.44.41.6:autopkgtest-lxd-njwffy
deleting lxd-armhf-10.44.41.6:autopkgtest-lxd-rbpllm
deleting lxd-armhf-10.44.41.6:autopkgtest-lxd-vvtgxp
deleting lxd-armhf-10.44.41.6:autopkgtest-lxd-xhpesv
lxd-armhf-10.44.41.8
deleting lxd-armhf-10.44.41.8:autopkgtest-lxd-asiyvt
deleting lxd-armhf-10.44.41.8:autopkgtest-lxd-fjxkqz
deleting lxd-armhf-10.44.41.8:autopkgtest-lxd-frmbzq
deleting lxd-armhf-10.44.41.8:autopkgtest-lxd-obucia
deleting lxd-armhf-10.44.41.8:autopkgtest-lxd-ufkrcx
lxd-armhf-10.44.41.9
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-caehfx
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-eccxwv
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-eiskyk
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-fohshu
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-ipatcb
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-jyzxwc
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-lxeztv
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-onvsqc
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-pcwitc
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-rgiksm
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-sijenz
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-sotcal
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-uprbvp
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-utrshh
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-vcebmh
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-yknzty
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-ymclpy
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-zjnxaz
deleting lxd-armhf-10.44.41.9:autopkgtest-lxd-zprycw

Revision history for this message
Iain Lane (laney) wrote :

cleanup-lxd is supposed to do some of this

Iain Lane (laney)
summary: - old lxd jobs pile up
+ old lxd container pile up
summary: - old lxd container pile up
+ old lxd containers pile up
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.