Driver block_store call error

Bug #1756780 reported by chenyb4
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Invalid
Undecided
chenyb4

Bug Description

Senlin block_store driver call error when i was execute block_store volume_get.

Log message:

2018-03-19 03:11:29.805 31010 ERROR senlin.drivers.sdk [req-4b528e5c-2bc9-4f01-aca6-fc5339b35075 3914a2df5b7e49e3acbba86044e820ef e127900ee5d94ff5aff30173aa607765 - - -] 'Connection' object has no attribute 'block_store': AttributeError: 'Connection' object has no attribute 'block_store'
2018-03-19 03:11:29.805 31010 ERROR senlin.drivers.sdk Traceback (most recent call last):
2018-03-19 03:11:29.805 31010 ERROR senlin.drivers.sdk File "/usr/lib/python2.7/site-packages/senlin/senlin/drivers/sdk.py", line 99, in invoke_with_catch
2018-03-19 03:11:29.805 31010 ERROR senlin.drivers.sdk return func(driver, *args, **kwargs)
2018-03-19 03:11:29.805 31010 ERROR senlin.drivers.sdk File "/usr/lib/python2.7/site-packages/senlin/senlin/drivers/os/cinder_v2.py", line 27, in volume_get
2018-03-19 03:11:29.805 31010 ERROR senlin.drivers.sdk res = self.conn.block_store.get_volume(volume)
2018-03-19 03:11:29.805 31010 ERROR senlin.drivers.sdk AttributeError: 'Connection' object has no attribute 'block_store'
2018-03-19 03:11:29.805 31010 ERROR senlin.drivers.sdk
2018-03-19 03:11:29.806 31010 ERROR senlin.drivers.sdk [req-4b528e5c-2bc9-4f01-aca6-fc5339b35075 3914a2df5b7e49e3acbba86044e820ef e127900ee5d94ff5aff30173aa607765 - - -] 'Connection' object has no attribute 'block_store': AttributeError: 'Connection' object has no attribute 'block_store'
2018-03-19 03:11:29.806 31010 ERROR senlin.drivers.sdk Traceback (most recent call last):
2018-03-19 03:11:29.806 31010 ERROR senlin.drivers.sdk File "/usr/lib/python2.7/site-packages/senlin/senlin/drivers/sdk.py", line 99, in invoke_with_catch
2018-03-19 03:11:29.806 31010 ERROR senlin.drivers.sdk return func(driver, *args, **kwargs)
2018-03-19 03:11:29.806 31010 ERROR senlin.drivers.sdk File "/usr/lib/python2.7/site-packages/senlin/senlin/drivers/os/cinder_v2.py", line 27, in volume_get
2018-03-19 03:11:29.806 31010 ERROR senlin.drivers.sdk res = self.conn.block_store.get_volume(volume)
2018-03-19 03:11:29.806 31010 ERROR senlin.drivers.sdk AttributeError: 'Connection' object has no attribute 'block_store'
2018-03-19 03:11:29.806 31010 ERROR senlin.drivers.sdk

The error reason python-openstacksdk block_store was rename block_storage.
see block_store rename patch:
https://review.openstack.org/#/c/519029/

chenyb4 (chenyb4)
Changed in senlin:
assignee: nobody → chenyb4 (chenyb4)
Changed in senlin:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on senlin (master)

Change abandoned by chenyb4 (<email address hidden>) on branch: master
Review: https://review.openstack.org/554107
Reason: python-openstacksdk aliases error.
https://bugs.launchpad.net/python-openstacksdk/+bug/1757032

Revision history for this message
chenyb4 (chenyb4) wrote :

The bug has fix in python-openstacksdk master branch, The reason is python-openstacksdk aliases error.
See python-openstacksdk bug record:
https://bugs.launchpad.net/python-openstacksdk/+bug/1757032

Changed in senlin:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.