← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1818302] [NEW] Need to keep apply_network_config=false in azure data source and make it configurable through cloud-init

 

Public bug reported:

Cloud Provider: Azure
Image: Ubuntu 18.04 LTS

New release of 18.04 LTS on Azure has apply_network_config=true, this
forces cloud-init to use metadata to get all the IP address. If a
virtual machine as a lot of nics with secondary IP addresses by the time
IPs are configured, the azure data source ends up using secondary CA to
talk to 168.* address which is not supported. All communications must
use Primary CA. Due to this high percentage of provisioning failures
occurs on Ubuntu 18.04 for VMs with multiple Nics and secondary
addresses.


019-02-05 00:26:53,652 - azure.py[DEBUG]: Azure endpoint found at 168.63.129.16
2019-02-05 00:26:53,652 - url_helper.py[DEBUG]: [0/11] open 'http://168.63.129.16/machine/?comp=goalstate' with {'url': 'http://168.63.129.16/machine/?comp=goalstate', 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'User-Agent': 'Cloud-Init/18.4-0ubuntu1~18.04.1', 'x-ms-agent-name': 'WALinuxAgent', 'x-ms-version': '2012-11-30'}} configuration
2019-02-05 00:26:58,660 - url_helper.py[DEBUG]: Please wait 1 seconds while we wait to try again
2019-02-05 00:26:59,662 - url_helper.py[DEBUG]: [1/11] open 'http://168.63.129.16/machine/?comp=goalstate' with {'url': 'http://168.63.129.16/machine/?comp=goalstate', 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'User-Agent': 'Cloud-Init/18.4-0ubuntu1~18.04.1', 'x-ms-agent-name': 'WALinuxAgent', 'x-ms-version': '2012-11-30'}} configuration
2019-02-05 00:27:04,668 - url_helper.py[DEBUG]: Please wait 1 seconds while we wait to try again
2019-02-05 00:27:05,670 - url_helper.py[DEBUG]: [2/11] open 'http://168.63.129.16/machine/?comp=goalstate' with {'url': 'http://168.63.129.16/machine/?comp=goalstate', 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'User-Agent': 'Cloud-Init/18.4-0ubuntu1~18.04.1', 'x-ms-agent-name': 'WALinuxAgent', 'x-ms-version': '2012-11-30'}} configuration
2019-02-05 00:27:10,676 - url_helper.py[DEBUG]: Please wait 1 seconds while we wait to try again

** Affects: cloud-init
     Importance: Undecided
         Status: New

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

Title:
  Need to keep apply_network_config=false in azure data source and make
  it configurable through cloud-init

Status in cloud-init:
  New

Bug description:
  Cloud Provider: Azure
  Image: Ubuntu 18.04 LTS

  New release of 18.04 LTS on Azure has apply_network_config=true, this
  forces cloud-init to use metadata to get all the IP address. If a
  virtual machine as a lot of nics with secondary IP addresses by the
  time IPs are configured, the azure data source ends up using secondary
  CA to talk to 168.* address which is not supported. All communications
  must use Primary CA. Due to this high percentage of provisioning
  failures occurs on Ubuntu 18.04 for VMs with multiple Nics and
  secondary addresses.

  
  019-02-05 00:26:53,652 - azure.py[DEBUG]: Azure endpoint found at 168.63.129.16
  2019-02-05 00:26:53,652 - url_helper.py[DEBUG]: [0/11] open 'http://168.63.129.16/machine/?comp=goalstate' with {'url': 'http://168.63.129.16/machine/?comp=goalstate', 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'User-Agent': 'Cloud-Init/18.4-0ubuntu1~18.04.1', 'x-ms-agent-name': 'WALinuxAgent', 'x-ms-version': '2012-11-30'}} configuration
  2019-02-05 00:26:58,660 - url_helper.py[DEBUG]: Please wait 1 seconds while we wait to try again
  2019-02-05 00:26:59,662 - url_helper.py[DEBUG]: [1/11] open 'http://168.63.129.16/machine/?comp=goalstate' with {'url': 'http://168.63.129.16/machine/?comp=goalstate', 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'User-Agent': 'Cloud-Init/18.4-0ubuntu1~18.04.1', 'x-ms-agent-name': 'WALinuxAgent', 'x-ms-version': '2012-11-30'}} configuration
  2019-02-05 00:27:04,668 - url_helper.py[DEBUG]: Please wait 1 seconds while we wait to try again
  2019-02-05 00:27:05,670 - url_helper.py[DEBUG]: [2/11] open 'http://168.63.129.16/machine/?comp=goalstate' with {'url': 'http://168.63.129.16/machine/?comp=goalstate', 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0, 'headers': {'User-Agent': 'Cloud-Init/18.4-0ubuntu1~18.04.1', 'x-ms-agent-name': 'WALinuxAgent', 'x-ms-version': '2012-11-30'}} configuration
  2019-02-05 00:27:10,676 - url_helper.py[DEBUG]: Please wait 1 seconds while we wait to try again

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


Follow ups