← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1883903] Re: cc_final_message will create /var/lib/cloud/instance as a directory if the symlink does not exist

 

This bug is believed to be fixed in cloud-init in version 20.3. 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/1883903

Title:
  cc_final_message will create /var/lib/cloud/instance as a directory if
  the symlink does not exist

Status in cloud-init:
  Fix Released

Bug description:
  cc_final_message calls util.write_file, which calls ensure_dir; if
  nothing has caused the symlink to be created, then this means that
  /var/lib/cloud/instance will be a directory, and future boots will
  fail because they fail to remove it (because it's a directory, so
  can't just be `rm`d.)

  (We're seeing this in bug 1883661; I don't think it's the root cause,
  hence this separate bug.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1883903/+subscriptions


References