[openstack-dev] [Cinder] Does cinder use novaclient?
michal.dulko at intel.com
Tue Dec 20 08:23:31 UTC 2016
On Tue, 2016-12-20 at 14:44 +0800, lijing at gohighsec.com wrote:
> Hi Cinder community,
> Does cinder use novaclient? What's the use of cinder/compute/nova.py?
> I find that there seems to have some problems when construct
> novaclient in the file cinder/compute/nova.py,
> but I think the file is not being used.
> Would you explain the use of this file or how does cinder communicate
> with nova?
> Looking forward to your comments. Thanks.
Quick check tells me that the module is used in
cinder.scheduler.filters.InstanceLocalityFilter . It's a cinder-
scheduler filter that tries to schedule volumes on nodes where the
instance that is being booted will be located.
It's likely we're not exercising this filter in the gate. Can you
elaborate on what's broken in the cinder.compute.nova module and file a
bug so we can track and fix it?
More information about the OpenStack-dev