yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #71361
[Bug 1741093] Re: cloud-init clean traceback on instance dir symlink
This bug is believed to be fixed in cloud-init in 18.1. If this is still
a problem for you, please make a comment and set the state back to New
Thank you.
** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1741093
Title:
cloud-init clean traceback on instance dir symlink
Status in cloud-init:
Fix Released
Bug description:
cloud-init clean command traces when attempting to del_dir on the
'instance' symlink if instance is ordered before 'instances' when
traversing the /var/lib/cloud directory.
smoser@milhouse:~$ lxc launch ubuntu-daily:bionic b4
Creating b4
Starting b4
smoser@milhouse:~$ lxc exec b4 -- ls -l /var/lib/cloud
total 4
drwxr-xr-x 2 root root 6 Jan 3 17:35 data
drwxr-xr-x 2 root root 2 Jan 3 17:35 handlers
lrwxrwxrwx 1 root root 27 Jan 3 17:35 instance -> /var/lib/cloud/instances/b4
drwxr-xr-x 3 root root 3 Jan 3 17:35 instances
drwxr-xr-x 6 root root 6 Jan 3 17:35 scripts
drwxr-xr-x 3 root root 3 Jan 3 17:35 seed
drwxr-xr-x 2 root root 2 Jan 3 17:35 sem
smoser@milhouse:~$ lxc exec b4 cloud-init clean
ERROR: Could not remove instance: Cannot call rmtree on a symbolic link
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1741093/+subscriptions
References