On 17 July 2014 08:36, Abbass MAROUNI <abbass.maro...@virtualscale.fr> 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 the biggest problem is to be able to identify the host, as you said > the host_id is of little use here. Unless I try to query the nova api as > admin and get a list of hypervisors and their vms. But then I'll have to > match the nova host name with the cinder host name. > > Any thoughts on this ? Is there any blueprint for attaching local volumes in > cinder ?
You're far from the only person trying to achieve that result, there's plenty of interest in it, and a few approaches being suggested. I can't see a current cinder spec open for this, so it might be worth you starting one, you're more likely to get detailed feedback about the pitfalls there. _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev