← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1823084] Re: DataSourceAzure doesn't rebuild network-config after reboot

 

This bug is believed to be fixed in cloud-init in version 19.1. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** 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/1823084

Title:
  DataSourceAzure doesn't rebuild network-config after reboot

Status in cloud-init:
  Fix Released

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


References