** Description changed:

  Calling "cloud-init status --wait" never returns if ds-identify cannot
  find a datasource.
  
+ In https://github.com/canonical/cloud-init/pull/1162, we modified status
+ checks to wait until we get an "enabled" or "disabled" file from ds-
+ identiy. ds-identify never outputs a "disabled" file, so "status --wait"
+ will wait indefinitely if no datasource is found.
+ 
  A simple reproduction is to change "ret=1" on this line:
  https://github.com/canonical/cloud-init/blob/main/tools/ds-identify#L1866

** Tags added: regression-update

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1966085

Title:
  cloud-init status --wait never returns if datasource not found

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to