Comment 1 for bug 2046810

Revision history for this message
Jean Pierre Roquesalane (jproque15130) wrote :

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.