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

2015-01-28 Thread Philipp Marek
Hello Vishvananda, Initialize connection passes that data to cinder in the call. The connector dictionary in the call should contain the info from nova: https://github.com/openstack/cinder/blob/master/cinder/volume/driver.py#L1051 Ah yes, I see. Thank you very much! Regards, Phil -- :

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

2015-01-27 Thread Vishvananda Ishaya
On Jan 26, 2015, at 10:16 PM, Philipp Marek philipp.ma...@linbit.com wrote: Hello Vish, Nova passes ip, iqn, and hostname into initialize_connection. That should give you the info you need. thank you, but that is on the _Nova_ side. I need to know that on the Cinder node already:

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

2015-01-26 Thread Vishvananda Ishaya
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.ma...@linbit.com wrote: Hello everybody, I'm currently working on providing DRBD as a block storage protocol. For that the cinder

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

2015-01-26 Thread Philipp Marek
Hello Vish, Nova passes ip, iqn, and hostname into initialize_connection. That should give you the info you need. thank you, but that is on the _Nova_ side. I need to know that on the Cinder node already: For that the cinder volume driver needs to know at ... time which Nova host will be

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

2015-01-26 Thread Philipp Marek
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;