Fix released to Jammy [ubuntu/jammy-proposed] cloud-init 22.1-14-g2e17a0d6-0ubuntu1~22.04.4 (Accepted)
** Changed in: cloud-init (Ubuntu Jammy) Status: In Progress => Fix Released ** 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/1966085 Title: cloud-init status --wait never returns if datasource not found Status in cloud-init: Fix Released Status in cloud-init package in Ubuntu: Fix Released Status in cloud-init source package in Bionic: In Progress Status in cloud-init source package in Focal: In Progress Status in cloud-init source package in Impish: In Progress Status in cloud-init source package in Jammy: Fix Released Bug description: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1966085/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp