yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70172
[Bug 1741093] [NEW] cloud-init clean traceback on instance dir symlink
Public bug reported:
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
** Affects: cloud-init
Importance: Low
Assignee: Chad Smith (chad.smith)
Status: In Progress
** Changed in: cloud-init
Importance: Undecided => Low
** Changed in: cloud-init
Assignee: (unassigned) => Chad Smith (chad.smith)
** Changed in: cloud-init
Status: New => Incomplete
** Changed in: cloud-init
Status: Incomplete => In Progress
--
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:
In Progress
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
Follow ups