Re: [openstack-dev] [cinder][nova] cinder querying nova-api

2014-07-20 Thread Jay S. Bryant
Abbass, There has been discussion around this in the past. As it would be a significant feature you should open a spec for it. Do a 'git clone https://github.com/openstack/cinder-specs. There are directions in there for actually submitting the spec. Thanks! Jay On Fri, 2014-07-18 at 09:01 +02

[openstack-dev] [cinder][nova] cinder querying nova-api

2014-07-18 Thread Abbass MAROUNI
Thanks Thomas, By cinder spec. you mean a cinder blueprint ? Where I can submit such a proposition ? Thanks, On 07/17/2014 05:20 PM, openstack-dev-requ...@lists.openstack.org wrote: You're far from the only person trying to achieve that result, there's plenty of interest in it, and a few appro

Re: [openstack-dev] [cinder][nova] cinder querying nova-api

2014-07-17 Thread Duncan Thomas
On 17 July 2014 08:36, Abbass MAROUNI wrote: > Thanks Thomas, > > What I'm trying to achieve is the following : > To be able to create a VM on a host (that's a compute and volume host at the > same time) then call cinder and let it find the host and create and attach > volumes there. > > I guess t

Re: [openstack-dev] [cinder][nova] cinder querying nova-api

2014-07-17 Thread Abbass MAROUNI
Thanks Thomas, What I'm trying to achieve is the following : To be able to create a VM on a host (that's a compute and volume host at the same time) then call cinder and let it find the host and create and attach volumes there. I guess the biggest problem is to be able to identify the host, a

Re: [openstack-dev] [cinder][nova] cinder querying nova-api

2014-07-16 Thread Duncan Thomas
So I see a couple of issues here: 1) reliability - need to decide what the scheduler does if the nova api isn't responding - hanging and ignoring future scheduling requests is not a good option... a timeout and putting the volume into error might be fine. 2) Nova doesn't expose hostname as identi

[openstack-dev] [cinder][nova] cinder querying nova-api

2014-07-16 Thread Abbass MAROUNI
Hello guys, I'm in the process of writing a cinder filter and weigher, I need to know whether I can use something like 'nova-api' inside filter/weigher to query the tags of a virtual machine running on a compute-node. I need to create the cinder volume on the same host as the VM (which was cre