Missing mandatory path: http://169.254.169.254/openstack/2018-08-27/meta_data.json
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm running OpenStack Stein.
Cloud init from the bionic-cloud images it's not working correctly. I'm launching instances with ubuntu-bionic 18.04 cloud and the following message appears when reaching the openstack metadata server:
"[ 86.559374] cloud-init[843]: 2019-07-25 15:25:21,978 - util.py[WARNING]: Missing mandatory path: http://
Now, I can (without doing anything special) use ubuntu 14.04 cloud, 16.04 cloud, Centos7-cloud (all with different versions of cloud-init) and everything works, but with 'Cloud-init v. 19.1-1-
I have tried to use EC2 datasources, OpenStack datasources [1] and it does not work. It connects to the metadata server and gets the meta_data.json file but doesn't do much more. therefore I'm unable to provision ssh keys, etc, with bionic-cloud. Attached is the full log for one bionic-cloud-1804 instance.
1. https:/
Hi Orestes,
Thanks for using cloud-init and for the bug report!
Are you able to capture the disk of a failing instance and pull files off of it? If so, could you attach cloud-init.log to this bug, please?
Could you also confirm that http:// 169.254. 169.254/ openstack/ 2018-08- 27/meta_ data.json does actually exist from within an instance?
Finally, 19.1-1- gbaa47854- 0ubuntu1~ 16.04.1 is an unusual version to see on _bionic_ (I'd expect to see 18.04 there); was this a typo? If not, how are you constructing your images?
Thanks!
Dan