Metadata service {devices list}

Rodolfo Alonso Hernandez ralonsoh at redhat.com
Tue Mar 15 13:44:46 UTC 2022


Hello Ahmed:

What network backend are you using?

Regards.

On Tue, Mar 15, 2022 at 2:22 PM Ahmed Abdelhamid <
ahmedabdelhamid1221 at gmail.com> wrote:

> Hi All,
>
> I am running into a strange issue with the metadata service. Per metadata-service
> manual <https://docs.openstack.org/nova/latest/user/metadata.html>, the
> devices attached to a VM should be visible in
>
> $ curl http://169.254.169.254/openstack/2018-08-27/meta_data.json
>
> However, whenever i execute it from a VM , the devices array is empty and
> looks like this, any idea why ?
>
> Thanks
>
> {   "random_seed": "yu5ZnkqF2CqnDZVAfZgarG...",   "availability_zone": "nova",   "keys": [       {         "data": "ssh-rsa AAAAB3NzaC1y...== Generated by Nova\n",         "type": "ssh",         "name": "mykey"       }   ],   "hostname": "test.novalocal",   "launch_index": 0,   "meta": {      "priority": "low",      "role": "webserver"   },   "devices": [ ],   "project_id": "f7ac731cc11f40efbc03a9f9e1d1d21f",   "public_keys": {       "mykey": "ssh-rsa AAAAB3NzaC1y...== Generated by Nova\n"   },   "name": "test"}
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220315/550fb527/attachment.htm>


More information about the openstack-discuss mailing list