<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Mar 1, 2017 at 4:53 PM Marc Young &lt;<a href="mailto:3vilpenguin@gmail.com">3vilpenguin@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Ive looked through what documentation I can find and i only come up on bug reports from years ago, but: is there anyway to get metadata about a oVirt server metadata from the context of a VM ? cloud-init supports a metadata service that sits on 169.254.169.254 to retrieve info like instance-id etc. This is very useful in AWS which I&#39;m familiar with.</div></blockquote><div><br></div><div>We support cloud-init via config drive, not over the network.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">My context is that I&#39;d like to run some assertions against a VM and the test framework I&#39;m using runs all assertions from within the VM itself. So If i wanted to assert that the host running my VM is &quot;<a href="http://x.foo.com" class="gmail_msg" target="_blank">x.foo.com</a>&quot; I&#39;d have to be able to retrieve that from within the VM. I can do that via the REST API but that requires me to get a REST user/pass inside the vm and feels hacky. The common way of doing this at openstack/aws is to curl the metadata service which replies with information only relevant to the machine asking.</div></div></blockquote><div><br></div><div>Feels OK to me - doesn&#39;t sound too hacky to me.</div><div>You can do it via Ansible, but still need creds.</div><div>I don&#39;t remember if anything in the VM BIOS (dmidecode) will help you there - I think not.</div><div>Y.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br class="gmail_msg">
Devel mailing list<br class="gmail_msg">
<a href="mailto:Devel@ovirt.org" class="gmail_msg" target="_blank">Devel@ovirt.org</a><br class="gmail_msg">
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a></blockquote></div></div>