ds8k: Nova shows invalid error message when trying to attach deleted volume

Bug #1515101 reported by jiamin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Confirmed
Undecided
Unassigned

Bug Description

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:
    ERROR oslo_messaging.rpc.dispatcher ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-afa8e585-634a-445d-bf37-45945b9068db)

Expected Results:
    TRACE oslo_messaging.rpc.dispatcher ClientException: VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Request to storage API failed: addLunMappings Volume group operation failure: volume does not exist. Contact IBM technical support for assistance. (https://9.11.242.187:8452/api/v1/hosts%5Bid=H7%5D/mappings)). (HTTP 500) (Request-ID: req-294c0316-c5ce-47d6-83f3-52e4af3e0bda)

Reproducibility: Always

Tags: drivers ibm
jiamin (shljia)
Changed in cinder:
assignee: nobody → jiamin (shljia)
jiamin (shljia)
description: updated
jiamin (shljia)
description: updated
jiamin (shljia)
description: updated
jiamin (shljia)
description: updated
jiamin (shljia)
Changed in cinder:
status: New → Confirmed
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Owner Expired

Unassigning due to no activity.

Changed in cinder:
assignee: jiamin (shljia) → nobody
Michael Dovgal (mdovgal)
Changed in cinder:
assignee: nobody → Michael Dovgal (mdovgal)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/434816

Changed in cinder:
status: Confirmed → In Progress
Michael Dovgal (mdovgal)
Changed in cinder:
assignee: Michael Dovgal (mdovgal) → nobody
status: In Progress → Confirmed
tags: added: drivers ibm
summary: - Nova shows invalid error message when trying to attach deleted volume
+ ds8k: Nova shows invalid error message when trying to attach deleted
+ volume
Isaac Beckman (isaacb)
Changed in cinder:
assignee: nobody → IBM Storage (ibm-storage)
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: IBM Storage (ibm-storage) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.