Bug 1299706

Summary: Volume detach fails with 'ERROR: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP 500)'
Product: Red Hat OpenStack Reporter: Jaison Raju <jraju>
Component: openstack-novaAssignee: Lee Yarwood <lyarwood>
Status: CLOSED DUPLICATE QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: berrange, dasmith, eglynn, jraju, kchamart, lyarwood, mschuppe, sbauza, sferdjao, sgordon, srevivo, vromanso, wlehman
Target Milestone: ---Keywords: Unconfirmed, ZStream
Target Release: 8.0 (Liberty)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 13:27:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jaison Raju 2016-01-19 04:42:02 UTC
Description of problem:
volume detach on nova always fails for a specific instance.

# nova volume-detach 858d9a84-c7d3-4316-ba3e-97b3fd65c2b7 83574e7f-35ce-493a-8405-d09dc663421f
ERROR: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP 500)

Also cinder shows wrong device name for attached volume .
libvirt driver has allowed access to this volume on the instance .

Version-Release number of selected component (if applicable):
python-novaclient-2.17.0-2.el7ost.noarch
openstack-nova-api-2014.1.5-1.el7ost.noarch
openstack-nova-common-2014.1.5-1.el7ost.noarch
openstack-nova-compute-2014.1.5-1.el7ost.noarch
python-cinderclient-1.0.9-1.el7ost.noarch

How reproducible:
Always on customer environment 

Steps to Reproduce:
1.
2.
3.

Actual results:
volume detach fails

Expected results:
volume is detached successfully 

Additional info:
Suspected bug but of centos6 .
https://bugs.launchpad.net/nova/+bug/1217874

Comment 19 Lee Yarwood 2016-02-11 15:20:51 UTC
*** Bug 1305032 has been marked as a duplicate of this bug. ***