Re: [ovirt-devel] cloud-init metadata service

2017-03-01 Thread Marc Young
I partially agree. I do agree that I shouldn't have to crawl the API, nor do I want to. I'd like to have something similar to the metadata service that can provide only designated data to a request, much like how openstack/aws do it. Ie you can get _your_ instance id, network information, etc but

Re: [ovirt-devel] cloud-init metadata service

2017-03-01 Thread Sven Kieske
On 01/03/17 16:53, Marc Young wrote: > What feels hacky is that I have so little information about the VM i'm > running from within that I'd have a hard time crawling the API enough to > know the information I got was about the VM I'm testing against. Per my > later email the ID in

Re: [ovirt-devel] cloud-init metadata service

2017-03-01 Thread Marc Young
Awesome, let me give this a shot and see if it helps On Wed, Mar 1, 2017 at 10:00 AM, Juan Hernández wrote: > On 03/01/2017 04:53 PM, Marc Young wrote: > > What feels hacky is that I have so little information about the VM i'm > > running from within that I'd have a hard

Re: [ovirt-devel] cloud-init metadata service

2017-03-01 Thread Juan Hernández
On 03/01/2017 04:53 PM, Marc Young wrote: > What feels hacky is that I have so little information about the VM i'm > running from within that I'd have a hard time crawling the API enough to > know the information I got was about the VM I'm testing against. Per my > later email the ID in

Re: [ovirt-devel] cloud-init metadata service

2017-03-01 Thread Marc Young
What feels hacky is that I have so little information about the VM i'm running from within that I'd have a hard time crawling the API enough to know the information I got was about the VM I'm testing against. Per my later email the ID in /var/lib/cloud/data/instance-id is not the same that I'd

Re: [ovirt-devel] cloud-init metadata service

2017-03-01 Thread Yaniv Kaul
On Wed, Mar 1, 2017 at 4:53 PM Marc Young <3vilpeng...@gmail.com> wrote: > 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

Re: [ovirt-devel] cloud-init metadata service

2017-03-01 Thread Marc Young
After investigating alittle, it looks like it's partially supported, it uses the NoCloud portion: http://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html $ tail -n 1 /etc/cloud/cloud.cfg datasource_list: ["NoCloud", "ConfigDrive"] But I'm not sure how to get more information

[ovirt-devel] cloud-init metadata service

2017-03-01 Thread Marc Young
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