[openstack-dev] [cinder] [nova] [scheduler] Nova node name passed to Cinder

Vishvananda Ishaya vishvananda at gmail.com
Mon Jan 26 17:12:56 UTC 2015


Nova passes ip, iqn, and hostname into initialize_connection. That should give you the info you need.

Vish

On Jan 26, 2015, at 3:21 AM, Philipp Marek <philipp.marek at linbit.com> wrote:

> Hello everybody,
> 
> I'm currently working on providing DRBD as a block storage protocol.
> For that the cinder volume driver needs to know at
> 
>    initialize_connection,
>    create_export, and
>    ensure_export
> 
> time which Nova host will be used to access the data.
> 
> I'd like to ask for a bit of help; can somebody tell me which part of
> the code decides that, and where the data flows?
> Is it already known at that time which node will receive the VM?
> 
> The arguments passed to this functions already include an
> "attached_host" value, sadly it's currently given as "None"...
> 
> 
> Thank you for any tips, ideas, and pointers into the code - and,
> of course, even more so for full-blown patches on review.openstack.org ;)
> 
> 
> Regards,
> 
> Phil
> 
> 
> -- 
> : Ing. Philipp Marek
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting                 http://www.linbit.com :
> 
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list