Comment 10 for bug 1837927

Revision history for this message
Orestes Leal Rodriguez (orestesleal) wrote : Re: [Bug 1837927] Re: Missing mandatory path: http://169.254.169.254/openstack/2018-08-27/meta_data.json

Dan,
I appreciate your response, thanks a lot!

Orestes.

On 7/29/19, Dan Watkins <email address hidden> wrote:
> Hi Orestes, cloud-init really just relies on libraries for its HTTP
> requests; we aren't doing anything out of the ordinary there. So
> presumably the responses from the EC2 compatibility layer are different
> in some way from the ones from /openstack/, but I don't believe that the
> way that cloud-init fetches each of them is all that different.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1837927
>
> Title:
> Missing mandatory path:
> http://169.254.169.254/openstack/2018-08-27/meta_data.json
>
> Status in cloud-init:
> Invalid
>
> 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://169.254.169.254/openstack/2018-08-27/meta_data.json"
>
> 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-gbaa47854-0ubuntu1~16.04.1' on the bionic cloud images it does
> not.
>
> 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://cloudinit.readthedocs.io/en/latest/topics/datasources/openstack.html
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cloud-init/+bug/1837927/+subscriptions
>