[cinder]cannot lauch instance with cinder volume

Nguyễn Hữu Khôi nguyenhuukhoinw at gmail.com
Thu Apr 6 03:02:48 UTC 2023


Hello guys.
I update this error happened because when I destroy and redeploy I
don't remove hosts and its initiator. just remove them, it will be ok.
Nguyen Huu Khoi


On Wed, Apr 5, 2023 at 9:48 PM Nguyễn Hữu Khôi <nguyenhuukhoinw at gmail.com>
wrote:

> Hello guys.
> I am using kolla-ansible yoga to deploy an openstack cluster, but when I
> launch an instance with volume, it has errors.
> but I can create volume first and boot from it. I am using Powerstore
> 5000Tb. Is it a bug?
>
>
> 672 ERROR oslo_messaging.rpc.server
> [req-1a822ccd-1d3a-4f9a-a453-22d04f07f816 47cefefdadbe4bb584d8cf983de71eb5
> 708d7af8178143aab263d3942a124ec8 - - -] Exception during message handling:
> cinder.exception.ImageCopyFailure: 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: Failed to create PowerStore host .
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server Traceback
> (most recent call last):
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/cinder/volume/driver.py",
> line 1045, in _attach_volume
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server     conn =
> self.initialize_connection(volume, properties)
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/cinder/volume/drivers/dell_emc/powerstore/driver.py",
> line 153, in initialize_connection
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server     return
> self.adapter.initialize_connection(volume, connector, **kwargs)
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/cinder/volume/drivers/dell_emc/powerstore/adapter.py",
> line 272, in initialize_connection
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server
> connection_properties = self._connect_volume(volume, connector)
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/cinder/volume/drivers/dell_emc/powerstore/adapter.py",
> line 613, in _connect_volume
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server
> chap_credentials, volume_lun = self._create_host_and_attach(
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/cinder/volume/drivers/dell_emc/powerstore/adapter.py",
> line 602, in _create_host_and_attach
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server     host,
> chap_credentials = self._create_host_if_not_exist(connector)
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/decorator.py", line 232,
> in fun
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server     return
> caller(func, *(extras + args), **kw)
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/cinder/coordination.py",
> line 195, in _synchronized
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server     return
> f(*a, **k)
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/cinder/volume/drivers/dell_emc/powerstore/adapter.py",
> line 446, in _create_host_if_not_exist
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server     host =
> self.client.create_host(host_name, ports)
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server   File
> "/var/lib/kolla/venv/lib/python3.8/site-packages/cinder/volume/drivers/dell_emc/powerstore/client.py",
> line 302, in create_host
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server     raise
> exception.VolumeBackendAPIException(data=msg)
> 2023-04-05 21:24:30.886 672 ERROR oslo_messaging.rpc.server
> cinder.exception.VolumeBackendAPIException: Bad or unexpected response from
> the storage volume backend API: Failed to create PowerStore host .
>
>
>
> Nguyen Huu Khoi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230406/cd068257/attachment.htm>


More information about the openstack-discuss mailing list