Created attachment 846681 [details] cinder_emc_volume_from_image_trace.txt Description of problem: When Cinder is configured to use the EMC driver(*), creation of volumes from images fails. Attached to the bug is the trace appearing in volume.log * cinder.volume.drivers.emc.emc_smis_iscsi.EMCSMISISCSIDriver Version-Release number of selected component (if applicable): openstack-cinder-2014.1-0.2.b1.el6.noarch Steps to Reproduce: 1. configure Cinder with the EMC driver 2. try to create a volume using the "--image-id" option
I attempted to troubleshoot this and "fixed" the initial issue by installing the iscsi-initiator-utils package. Yet, the operation is still failing with a wierd error from the CMI (SMI-S): 2014-01-07 16:21:59.463 1213 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/cinder/volume/drivers/emc/emc_smis_common.py", line 1380, in find_device_number 2014-01-07 16:21:59.463 1213 TRACE cinder.openstack.common.rpc.amqp ResultClass='CIM_ProtocolControllerForUnit') 2014-01-07 16:21:59.463 1213 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/pywbem/cim_operations.py", line 775, in ReferenceNames 2014-01-07 16:21:59.463 1213 TRACE cinder.openstack.common.rpc.amqp **params) 2014-01-07 16:21:59.463 1213 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/pywbem/cim_operations.py", line 219, in imethodcall 2014-01-07 16:21:59.463 1213 TRACE cinder.openstack.common.rpc.amqp raise CIMError(code, tt[1]['DESCRIPTION']) 2014-01-07 16:21:59.463 1213 TRACE cinder.openstack.common.rpc.amqp CIMError: (1, u'A general error occurred that is not covered by a more specific error code. (com.emc.cmp.osls.se.osl.Maskin g.StorMaskGroupShow():138 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_FAILED R:1200019 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_FAILED R:1200019 The internal database is in an inconsistent state, and must be fully synchronized before performing this operation.)') While at first look that looks like an issue with the EMC CIM software itself, the software is instead working fine when Cinder attempts to create a new empty volume.
Upstream bug has been marked invalid, and Giulio reported upstream that he was no longer experiencing this problem.