Delete a volume from the storage array, then try to attach it to a instance, nova-compute.log doesn't give a useful error message.
Steps to Reproduce:
1.cinder create --name <vol> 10
2. cinder show <vol> #get the ds8k volume id
3. rmfbvol <vol id> #remove the volume in ds8k
4. nova volume-attach instance <vol_id> auto
Actual Results:
ERROR oslo_messaging.rpc.dispatcher VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Request to storage API failed: HTTP 500
Expected Results:
TRACE oslo_messaging.rpc.dispatcher ClientException: VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Volume `1013` does not exist! (HTTP 500)
Overview Description:
Delete a volume from the storage array, then try to attach it to a instance, nova-compute.log doesn't give a useful error message.
Steps to Reproduce:
1.cinder create --name <vol> 10
2. cinder show <vol> #get the ds8k volume id
3. rmfbvol <vol id> #remove the volume in ds8k
4. nova volume-attach instance <vol_id> auto
Actual Results: rpc.dispatcher VolumeBackendAP IException: Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Request to storage API failed: HTTP 500
ERROR oslo_messaging.
Expected Results: rpc.dispatcher ClientException: VolumeBackendAP IException: Bad or unexpected response from the storage volume backend API: Volume `1013` does not exist! (HTTP 500)
TRACE oslo_messaging.
Is Regression? Yes
Reproducibility: Always