<div dir="ltr">Thanks. It's OpenStack ussuri, deployed via kolla-ansibleĀ </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 18, 2022 at 10:06 PM Laurent Dumont <<a href="mailto:laurentfdumont@gmail.com">laurentfdumont@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">That is weird.<div><ul><li>What version of Openstack are you running?</li><li>How was it deployed?</li></ul></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 18, 2022 at 9:30 AM Ahmed Abdelhamid <<a href="mailto:ahmedabdelhamid1221@gmail.com" target="_blank">ahmedabdelhamid1221@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks, Laurent. I tried it for both CEPH-backed VMs and ones with local disk, still, the devices array is empty<div><br></div><div>Network data curl shows alright</div><div><br></div><div>{"links": [{"id": "tapa.....", "vif_id": "ae....", "type": "bridge", "mtu": 1500, "ethernet_mac_address": "fa:......."}], "networks": [{"id": "network0", "type": "ipv4_dhcp", "link": "tap.....<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 16, 2022 at 6:39 PM Laurent Dumont <<a href="mailto:laurentfdumont@gmail.com" target="_blank">laurentfdumont@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Are you getting anything from the neutron endpoint?<div><br></div><div><a href="http://169.254.169.254/openstack/2018-08-27/network_data.json" target="_blank">http://169.254.169.254/openstack/2018-08-27/network_data.json</a><br></div><div><br></div><div>Can you provide an "openstack server show $server_id" of the VM? I wonder if it's a case of boot from a volume VM missing that data. It would not explain why the port is not there though.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 15, 2022 at 9:15 AM Ahmed Abdelhamid <<a href="mailto:ahmedabdelhamid1221@gmail.com" target="_blank">ahmedabdelhamid1221@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I am running into a strange issue with the metadata service. Per <a href="https://docs.openstack.org/nova/latest/user/metadata.html" target="_blank">metadata-service manual</a>, the devices attached to a VM should be visible inĀ </div><div><br></div><div>$ curl <a href="http://169.254.169.254/openstack/2018-08-27/meta_data.json" target="_blank">http://169.254.169.254/openstack/2018-08-27/meta_data.json</a><br></div><div><br></div><div>However, whenever i execute it from a VM , the devices array is empty and looks like this, any idea why ?</div><div><br></div><div>Thanks</div><div><br></div><div><pre style="box-sizing:border-box;line-height:16.25px;overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;padding:20px 30px;margin-top:0px;margin-bottom:10px;color:rgb(255,255,255);word-break:break-all;background-color:rgb(51,51,51);border:1px solid rgb(204,204,204);border-radius:4px"><span style="box-sizing:border-box;color:rgb(208,208,208)">{</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"random_seed"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"yu5ZnkqF2CqnDZVAfZgarG..."</span><span style="box-sizing:border-box;color:rgb(208,208,208)">,</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"availability_zone"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"nova"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">,</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"keys"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(208,208,208)">[</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">       </span><span style="box-sizing:border-box;color:rgb(208,208,208)">{</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">         </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"data"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"ssh-rsa AAAAB3NzaC1y...== Generated by Nova\n"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">,</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">         </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"type"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"ssh"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">,</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">         </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"name"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"mykey"</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">       </span><span style="box-sizing:border-box;color:rgb(208,208,208)">}</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(208,208,208)">],</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"hostname"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"test.novalocal"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">,</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"launch_index"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(54,119,169)">0</span><span style="box-sizing:border-box;color:rgb(208,208,208)">,</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"meta"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(208,208,208)">{</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">      </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"priority"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"low"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">,</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">      </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"role"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"webserver"</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(208,208,208)">},</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"devices"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(208,208,208)">[</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(208,208,208)">],</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"project_id"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"f7ac731cc11f40efbc03a9f9e1d1d21f"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">,</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"public_keys"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(208,208,208)">{</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">       </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"mykey"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"ssh-rsa AAAAB3NzaC1y...== Generated by Nova\n"</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(208,208,208)">},</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(102,102,102)">   </span><span style="box-sizing:border-box;color:rgb(106,184,37);font-weight:bold">"name"</span><span style="box-sizing:border-box;color:rgb(208,208,208)">:</span><span style="box-sizing:border-box;color:rgb(102,102,102)"> </span><span style="box-sizing:border-box;color:rgb(237,157,19)">"test"</span><span style="box-sizing:border-box;color:rgb(102,102,102)"></span>
<span style="box-sizing:border-box;color:rgb(208,208,208)">}</span></pre></div><div><br></div><div><br></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>