Re: [openstack-dev] [cinder][python-client-api] Retrieve host-name attribute of Cinder Volume

2016-01-06 Thread Yuriy Nesenenko
Sorry, of course this
https://github.com/openstack/cinder/blob/master/cinder/volume/utils.py#L575

On Wed, Jan 6, 2016 at 5:57 PM, Yuriy Nesenenko <ynesene...@mirantis.com>
wrote:

> You can use this function
> https://github.com/openstack/cinder/blob/master/cinder/volume/utils.py#L5
>
> On Wed, Jan 6, 2016 at 5:44 PM, Pradip Mukhopadhyay <
> pradip.inte...@gmail.com> wrote:
>
>> Hello,
>>
>>
>> From CLI, I can see the host-name in the cinder show command as follows:
>>
>> | os-vol-host-attr:host |  openstack4@mySCSIBackend#pool1
>> |
>>
>> How this info can be accessed from the cinder python client?
>>
>> I can access other information (id, size, name etc.) as follows:
>>
>> >>> volumes = cinder.volumes.list()
>>
>> >>> volumes
>>
>> []
>>
>> >>> volumes[0].id
>>
>> u'e8be1df5-64fb-43fa-aacd-9bebba17fba5'
>>
>> >>> volumes[0].volume_type
>>
>> u'iscsi_1'
>>
>>
>>
>> Thanks,
>> Pradip
>>
>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [cinder][nova] gate-cinder-python34 failing test_nova_timeout after novaclient 2.33 release

2015-10-28 Thread Yuriy Nesenenko
Hi. Look at https://review.openstack.org/#/c/239837/

On Wed, Oct 28, 2015 at 3:52 PM, Matt Riedemann 
wrote:

> That job is failing at a decent rate, tracking with bug:
>
> https://bugs.launchpad.net/cinder/+bug/1510656
>
> It lines up with the novaclient 2.33 release on 10/27, I'm checking out
> what the change was that caused the regression.
>
> This is a heads up that rechecks on this failure probably won't help.
>
> So far I haven't seen any related patches up to fix it although there were
> already 2 bugs reported when I got in this morning.
>
> --
>
> Thanks,
>
> Matt Riedemann
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev