Invalid key 'device_path' used in wait_for_path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-brick |
Fix Released
|
Undecided
|
Peter Wang |
Bug Description
when FC device is not found: wait_for_path will throw VolumeDeviceNot
but set invalid key 'device_path' for VolumeDeviceNot
@utils.
def wait_for_path(self, volume_path):
"""Wait for a path to show up."""
if not os.path.
raise exception.
else:
The accepted key is 'device'.
see below exception:
2015-09-07 01:21:39.741 ERROR os_brick.exception [req-85e9e4e2-
2015-09-07 01:21:39.742 ERROR os_brick.exception [req-85e9e4e2-
2015-09-07 01:21:41.745 ERROR os_brick.exception [req-85e9e4e2-
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception Traceback (most recent call last):
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception File "/usr/local/
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception message = self.message % kwargs
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception File "/usr/local/
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception unicode_mod = self._safe_
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception File "/usr/local/
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception translated_message = self.msgid % translated_params
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception KeyError: 'device'
2015-09-07 01:21:41.745 19835 ERROR os_brick.exception
Thanks
Peter
Changed in os-brick: | |
assignee: | nobody → Peter Wang (peter.wang) |
Changed in os-brick: | |
milestone: | none → 0.5.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/220902
Review: https:/