The reason why it’s failing against v4 is because they changed the expected error_code that the code is looking for.
https://opendev.org/openstack/os-brick/src/commit/fb23a40a65f1a6e06b4580ca309469f9ae2cced6/os_brick/initiator/connectors/scaleio.py#L519
the code is looking for VOLUME_NOT_MAPPED_ERROR = 84 as show here: https://opendev.org/openstack/os-brick/src/commit/fb23a40a65f1a6e06b4580ca309469f9ae2cced6/os_brick/initiator/connectors/scaleio.py#L50
but the response given by the API is 4039.
The reason why it’s failing against v4 is because they changed the expected error_code that the code is looking for.
https:/ /opendev. org/openstack/ os-brick/ src/commit/ fb23a40a65f1a6e 06b4580ca309469 f9ae2cced6/ os_brick/ initiator/ connectors/ scaleio. py#L519
the code is looking for VOLUME_ NOT_MAPPED_ ERROR = 84 as show here: https:/ /opendev. org/openstack/ os-brick/ src/commit/ fb23a40a65f1a6e 06b4580ca309469 f9ae2cced6/ os_brick/ initiator/ connectors/ scaleio. py#L50
but the response given by the API is 4039.