Re: [openstack-dev] [Ironic] Node uuid and Nova Hypervisor ID

2014-05-07 Thread Devananda van der Veen
Can you describe the deployment topology you envision -- which service(s) are on what host(s)? Your question seems based on an assumption that ironic is able to control the power state of the nova-compute host _itself_ -- which is not true (*). When using the nova.virt.ironic driver with Nova, you

Re: [openstack-dev] [Ironic] Node uuid and Nova Hypervisor ID

2014-05-06 Thread Jim Rollenhagen
Hi François, You can hit the Ironic nodes API and filter by instance_uuid. Something like: curl http://ironic:6385/v1/nodes?instance_uuid=blablabla Hope that helps. // jim On May 6, 2014 at 2:28:30 AM, François Rossigneux (francois.rossign...@inria.fr) wrote: Hi all, I need to retrieve the

Re: [openstack-dev] [Ironic] Node uuid and Nova Hypervisor ID

2014-05-06 Thread Devananda van der Veen
François, Can you clarify by way of a CLI example what exactly you mean by nova hypervisor id? I'm not sure if you mean the instance uuid, compute host id, service id, or something else. I'll assume you mean the nova instance uuid, in which case, you can get the Ironic node uuid from nova show

Re: [openstack-dev] [Ironic] Node uuid and Nova Hypervisor ID

2014-05-06 Thread Devananda van der Veen
François, Can you clarify by way of a CLI example what exactly you mean by nova hypervisor id? I'm not sure if you mean the instance uuid, compute host id, service id, or something else. I'll assume you mean the nova instance uuid, in which case, you can get the Ironic node uuid from nova show

Re: [openstack-dev] [Ironic] Node uuid and Nova Hypervisor ID

2014-05-06 Thread François Rossigneux
Devananda, I get the Nova Hypervisor ID by typing nova hypervisor-list. I am developing a resource reservation service and the reservations are attached to a Nova Hypervisor ID. I would use Ironic to put the nodes on standby mode when there is no running instances. This is why I need to get