yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #77833
[Bug 1823084] [NEW] DataSourceAzure doesn't rebuild network-config after reboot
Public bug reported:
After merge 365065 (commit 0dc3a77f4), when an Azure VM (previously
provisioned via cloud-init) is rebooted, DataSourceAzure fails to
recreate a NetworkConfig, with multiple exceptions raised and caught.
When the ds is restored from obj.pkl in the instance directory,
self._network_config is reloaded as the string "_unset" rather than as a
dictionary. Comments in the datasource indicate this was a deliberate
decision; the intent was to force the datasource to rebuild the network
configuration at each boot based on information fetched from the Azure
control plane. The self._network_config dict is overwritten very quickly
after it is generated and used; the net result is that the "_unset"
string is deliberately saved as obj['ds']['network_config']
** Affects: cloud-init
Importance: Undecided
Status: New
** Attachment added: "cloud-init collect-logs output"
https://bugs.launchpad.net/bugs/1823084/+attachment/5252625/+files/cloud-init.tar.gz
** Merge proposal linked:
https://code.launchpad.net/~jasonzio/cloud-init/+git/cloud-init/+merge/365377
--
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/1823084
Title:
DataSourceAzure doesn't rebuild network-config after reboot
Status in cloud-init:
New
Bug description:
After merge 365065 (commit 0dc3a77f4), when an Azure VM (previously
provisioned via cloud-init) is rebooted, DataSourceAzure fails to
recreate a NetworkConfig, with multiple exceptions raised and caught.
When the ds is restored from obj.pkl in the instance directory,
self._network_config is reloaded as the string "_unset" rather than as
a dictionary. Comments in the datasource indicate this was a
deliberate decision; the intent was to force the datasource to rebuild
the network configuration at each boot based on information fetched
from the Azure control plane. The self._network_config dict is
overwritten very quickly after it is generated and used; the net
result is that the "_unset" string is deliberately saved as
obj['ds']['network_config']
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1823084/+subscriptions
Follow ups