← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1884949] Re: ds-identify fails on nocloud datasource when /var is a separate filesystem

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3750

** Bug watch added: github.com/canonical/cloud-init/issues #3750
   https://github.com/canonical/cloud-init/issues/3750

** Changed in: cloud-init
       Status: Triaged => Expired

-- 
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/1884949

Title:
  ds-identify fails on nocloud datasource when /var is a separate
  filesystem

Status in cloud-init:
  Expired

Bug description:
  I'm running CentOS 7.8.2003 with cloud-init 18.5. At least in CentOS,
  systemd is running the generators, including the cloud-init generator,
  before any secondary filesystems are mounted.

  Thus, in ds-identify/dscheck_NoCloud/check_seed_dir, this line of code
  is invalid:

      local dir="${PATH_VAR_LIB_CLOUD}/seed/$name"
      [ -d "$dir" ] || return 1

  because PATH_VAR_LIB_CLOUD is set to /var/lib/cloud and when this code
  is running /var is not yet mounted.

  I'm sorry but I am not setup to test using a more recent version of
  cloud-init.

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



References