<div dir="ltr"><div>Hello Ahmed:</div><div><br></div><div>What network backend are you using?</div><div><br></div><div>Regards.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 15, 2022 at 2:22 PM Ahmed Abdelhamid <<a href="mailto:ahmedabdelhamid1221@gmail.com">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>