Bug 1016113

Summary: Openstack-Cinder: Fails to create a volume snapshot with EMC driver
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED NOTABUG QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0CC: eharney, hateya, yeylon, yrabl
Target Milestone: ---   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-09 12:53:40 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:
Attachments:
Description Flags
the cinder's logs and conf files. none

Description Yogev Rabl 2013-10-07 14:32:31 UTC
Created attachment 808851 [details]
the cinder's logs and conf files.

Description of problem:
The creation of a snapshot from an available volume with the EMC driver. 
 

Version-Release number of selected component (if applicable):
openstack-cinder-2013.2-0.9.b3.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a volume.
2. Create a snapshot of that volume.
3.

Actual results:
The status of the snapshot is error, the log show: 

2013-10-07 17:20:07.478 5810 ERROR cinder.openstack.common.rpc.amqp [req-8f522c80-4071-4ada-a9b5-4c30a956a7ca 8918cd6117f44983b557cd2c87c24b28 c6a2aad534c943838844157748188aee] Exception during message handling
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/amqp.py", line 441, in _process_data
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     **args)
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/openstack/common/rpc/dispatcher.py", line 148, in dispatch
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 326, in create_snapshot
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     {'status': 'error'})
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     self.gen.next()
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/volume/manager.py", line 317, in create_snapshot
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     model_update = self.driver.create_snapshot(snapshot_ref)
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/emc/emc_smis_iscsi.py", line 65, in create_snapshot
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     self.common.create_snapshot(snapshot)
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/emc/emc_smis_common.py", line 514, in create_snapshot
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     SourceElement=vol_instance.path)
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/pywbem/cim_operations.py", line 801, in InvokeMethod
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     result = self.methodcall(MethodName, obj, **params)
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp   File "/usr/lib/python2.6/site-packages/pywbem/cim_operations.py", line 362, in methodcall
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp     raise CIMError(code, tt[0][1]['DESCRIPTION'])
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp CIMError: (7, u'The requested operation is not supported. (com.emc.cmp.osls.se.osl.Replica.StorRepGroupRelCapGet():1475 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_NOT_SUPPORTED R:1000002 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_NOT_SUPPORTED R:1000002 Requested feature is not supported by entity\'s software level : "This feature is not installed")')
2013-10-07 17:20:07.478 5810 TRACE cinder.openstack.common.rpc.amqp


Expected results:
The snapshot should be available. 

Additional info:
Attached: 
1. The cinder's log files.
2. The cinder's conf files.

Comment 2 Yogev Rabl 2013-10-08 07:33:52 UTC
The command was: cinder snapshot-create 91d590b7-5aba-432b-b424-660d4ffc071d

Comment 3 Eric Harney 2013-10-08 21:36:05 UTC
This appears to be an error coming from the agent or storage system itself --

CIMError: (7, u'The requested operation is not supported. (com.emc.cmp.osls.se.osl.Replica.StorRepGroupRelCapGet():1475 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_NOT_SUPPORTED R:1000002 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_NOT_SUPPORTED R:1000002 Requested feature is not supported by entity\'s software level : "This feature is not installed")')

Did this same hardware work w/ RHOS 3.0?

Comment 4 Yogev Rabl 2013-10-09 12:53:16 UTC
Eric, you're right. The problem is that our EMC storage lacks a component that manages snapshots.

Comment 5 Eric Harney 2013-10-09 15:52:19 UTC
You need to also go update https://bugs.launchpad.net/cinder/+bug/1236396 .