Openstack : Hard Reboot fails after enabling multipath in Nova
Applies to
- OpenStack
- SolidFire
- ONTAP
Issue
Hard reboot of an instance that was created before enabling multiapth fails.
Example Exception Error Message in nova-compute.log
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/os_brick/initiator/connectors/iscsi.py", line 512, in connect_volume
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server return self._connect_multipath_volume(connection_properties)
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/os_brick/utils.py", line 61, in _wrapper
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server return r.call(f, *args, **kwargs)
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/retrying.py", line 223, in call
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server return attempt.get(self._wrap_exception)
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/retrying.py", line 261, in get
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server six.reraise(self.value[0], self.value[1], self.value[2])
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/os_brick/initiator/connectors/iscsi.py", line 706, in _connect_multipath_volume
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server ips_iqns_luns = self._get_ips_iqns_luns(connection_properties)
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/os_brick/initiator/connectors/iscsi.py", line 204, in _get_ips_iqns_luns
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server target_portal=connection_properties['target_portal'])
2023-05-09 05:11:32.693 10914 ERROR oslo_messaging.rpc.server TargetPortalNotFound: Unable to find target portal 10.63.121.160:3260