Metadata service {devices list}

Ahmed Abdelhamid ahmedabdelhamid1221 at gmail.com
Mon Mar 14 16:02:28 UTC 2022


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/20220314/41d8291e/attachment.htm>


More information about the openstack-discuss mailing list