← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.)

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups