[huawei] wrong hostname passed to os_brick
Bug #2017575 reported by
Rodrigo Barbieri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Incomplete
|
Low
|
Unassigned | ||
Ussuri |
New
|
Low
|
Unassigned |
Bug Description
When os-brick is invoked through get_connector_
I believe Cinder should pass the configured "host" value the same way Nova does.
Changed in cinder: | |
importance: | Undecided → Low |
tags: | added: drivers huawei |
summary: |
- wrong hostname passed to os_brick + [huawei] wrong hostname passed to os_brick |
To post a comment you must log in.
Stack trace:
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging. rpc.server [req-47821d5d- 88da-42fe- b57d-313e28d8e6 01 106fd23f1fbb4d9 6aca2c727bb20f6 fa c1524133a19945f c9f59708819277b c9 - 86de275b9fa1445 c8642cabcc1dd69 8b 86de275b9fa1445 c8642cabcc1dd69 8b] Exception during message handling: cinder. exception. ImageCopyFailur e: Failed to copy image to volume: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: Bad or unexpected response from the storage volume backend API: Initiator iqn.1993- 08.org. debian: 01:26abafb22f4 has been added to another host 7f7afc77863a34e 8e2803135be19e3 1. rpc.server Traceback (most recent call last): rpc.server File "/usr/lib/ python3/ dist-packages/ cinder/ volume/ driver. py", line 1045, in _attach_volume rpc.server conn = self.initialize _connection( volume, properties) rpc.server File "<decorator- gen-731> ", line 2, in initialize_ connection rpc.server File "/usr/lib/ python3/ dist-packages/ cinder/ coordination. py", line 151, in _synchronized rpc.server return f(*a, **k) rpc.server File "/usr/lib/ python3/ dist-packages/ cinder/ volume/ drivers/ huawei/ huawei_ driver. py", line 104, in initialize_ connection rpc.server self.client. ensure_ initiator_ added(initiator _name, rpc.server File "/usr/lib/ python3/ dist-packages/ cinder/ volume/ drivers/ huawei/ rest_client. py", line 504, in ensure_ initiator_ added rpc.server if not self.is_ initiator_ associated_ to_host( initiator_ name, host_id): rpc.server File "/usr/lib/ python3/ dist-packages/ cinder/ volume/ drivers/ huawei/ rest_client. py", line 783, in is_initiator_ associated_ to_host rpc.server raise exception. VolumeBackendAP IException( data=msg) rpc.server cinder. exception. VolumeBackendAP IException: Bad or unexpected response from the storage volume backend API: Initiator iqn.1993- 08.org. debian: 01:26abafb22f4 has been added to another host 7f7afc77863a34e 8e2803135be19e3 1. rpc.server rpc.server During handling of the above exception, another exception occurred: rpc.server rpc.server Traceback (most recent call last): rpc.server File "/usr/lib/ python3/ dist-packages/ cinder/ volume/ volume_ utils.py" , line 1152, in copy_image_ to_volume rpc.server ...
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.
2023-02-04 05:33:29.958 933946 ERROR oslo_messaging.