Cannot create volume in volume group with the NetApp E-Series driver

Bug #1706777 reported by Goutham Pacha Ravi
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Michael Price

Bug Description

Steps to reproduce:

* Cinder is at master (Pike, HEAD: 0488aa7c226228e26ed0655733c19425bc9b2d68)
* Configure Eseries backend, and matching cinder volume type
* Create a volume group

$ cinder --os-volume-api-version 3.40 group-create --name testgroup eseries eseriesiSCSI
+--------------------+-------------------------------------------+
| Property | Value |
+--------------------+-------------------------------------------+
| availability_zone | nova |
| created_at | 2017-07-26T21:01:11.000000 |
| description | None |
| group_snapshot_id | None |
| group_type | 00d288f0-2b3f-45fd-956a-172270d16c1c |
| id | 68464dcb-4348-4cb0-944c-4ac474e556cb |
| name | testgroup |
| replication_status | disabled |
| source_group_id | None |
| status | creating |
| volume_types | [u'484f80bd-df6e-433d-8a4f-5ee112af6440'] |
+--------------------+-------------------------------------------+

* Create a volume in the volume group
$ cinder --os-volume-api-version 3.40 create 1 --name testvolingroup1 --volume-type eseriesiSCSI --group-id 850f8db6-7218-4525-bdf5-9c1f37fcea68
+--------------------------------+--------------------------------------+
| Property | Value |
+--------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2017-07-26T21:05:30.000000 |
| description | None |
| encrypted | False |
| group_id | 850f8db6-7218-4525-bdf5-9c1f37fcea68 |
| id | d0c3fe3c-c4fb-46e9-90cd-4637f99771c7 |
| metadata | {} |
| migration_status | None |
| multiattach | False |
| name | testvolingroup1 |
| os-vol-host-attr:host | None |
| os-vol-mig-status-attr:migstat | None |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | 3b25a7d886d841fa9df183e0d3b02efd |
| provider_id | None |
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| updated_at | None |
| user_id | 4f31c0d730e748e1801be42d6d081a78 |
| volume_type | eseriesiSCSI |
+--------------------------------+--------------------------------------+

* The volume never leaves the "creating" state

stack@openstack5:/opt/stack/python-cinderclient$ cinder list
+--------------------------------------+----------+-----------------+------+--------------+----------+-------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+----------+-----------------+------+--------------+----------+-------------+
| d0c3fe3c-c4fb-46e9-90cd-4637f99771c7 | creating | testvolingroup1 | 1 | eseriesiSCSI | false | |
+--------------------------------------+----------+-----------------+------+--------------+----------+-------------+

There is a traceback in c-volume log:

Jul 26 17:05:31.627248 openstack5 cinder-volume[19320]: |__Atom 'cinder.volume.flows.manager.create_volume.ExtractVolumeRefTask;volume:create' {'intention': 'EXECUTE', 'state': 'SUCCESS', 'require
s': {'volume': Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zone='nova',bootable=False,cluster=<?>,cluster_name=None,consistencygroup=ConsistencyGroup(850f8db6-7218-4525-bd
f5-9c1f37fcea68),consistencygroup_id=850f8db6-7218-4525-bdf5-9c1f37fcea68,created_at=2017-07-26T21:05:30Z,deleted=False,deleted_at=None,display_description=None,display_name='testvolingroup1',ec2_id=None,
encryption_key_id=None,glance_metadata=<?>,group=Group(850f8db6-7218-4525-bdf5-9c1f37fcea68),group_id=850f8db6-7218-4525-bdf5-9c1f37fcea68,host='openstack5@eseriesiSCSI#DDP',id=d0c3fe3c-c4fb-46e9-90cd-463
7f99771c7,launched_at=None,metadata={},migration_status=None,multiattach=False,previous_status=None,project_id='3b25a7d886d841fa9df183e0d3b02efd',provider_auth=None,provider_geometry=None,provider_id=None
,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status=None,scheduled_at=2017-07-26T21:05:31Z,size=1,snapshot_id=None,snapshots=<?>,source_volid=None,stat
us='creating',terminated_at=None,updated_at=2017-07-26T21:05:31Z,user_id='4f31c0d730e748e1801be42d6d081a78',volume_attachment=<?>,volume_type=VolumeType(484f80bd-df6e-433d-8a4f-5ee112af6440),volume_type_i
d=484f80bd-df6e-433d-8a4f-5ee112af6440), 'context': <cinder.context.RequestContext object at 0x7fa8fd421ed0>}, 'provides': Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zone
='nova',bootable=False,cluster=<?>,cluster_name=None,consistencygroup=ConsistencyGroup(850f8db6-7218-4525-bdf5-9c1f37fcea68),consistencygroup_id=850f8db6-7218-4525-bdf5-9c1f37fcea68,created_at=2017-07-26T
21:05:30Z,deleted=False,deleted_at=None,display_description=None,display_name='testvolingroup1',ec2_id=None,encryption_key_id=None,glance_metadata=<?>,group=Group(850f8db6-7218-4525-bdf5-9c1f37fcea68),group_id=850f8db6-7218-4525-bdf5-9c1f37fcea68,host='openstack5@eser
Jul 26 17:05:31.628899 openstack5 cinder-volume[19320]: iesiSCSI#DDP',id=d0c3fe3c-c4fb-46e9-90cd-4637f99771c7,launched_at=None,metadata={},migration_status=None,multiattach=False,previous_status=None,project_id='3b25a7d886d841fa9df183e0d3b02efd',provider_auth=None,provider_geometry=None,provider_id=None,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status=None,scheduled_at=2017-07-26T21:05:31Z,size=1,snapshot_id=None,snapshots=<?>,source_volid=None,status='creating',terminated_at=None,updated_at=2017-07-26T21:05:31Z,user_id='4f31c0d730e748e1801be42d6d081a78',volume_attachment=<?>,volume_type=VolumeType(484f80bd-df6e-433d-8a4f-5ee112af6440),volume_type_id=484f80bd-df6e-433d-8a4f-5ee112af6440)}
Jul 26 17:05:31.629837 openstack5 cinder-volume[19320]: |__Flow 'volume_create_manager': ConsistencyGroupNotFound: ConsistencyGroup QUHY3NTSDBCSLPPVTQPTP7HKNA could not be found.
Jul 26 17:05:31.630223 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager Traceback (most recent call last):
Jul 26 17:05:31.630572 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task
Jul 26 17:05:31.630790 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager result = task.execute(**arguments)
Jul 26 17:05:31.630990 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 938, in execute
Jul 26 17:05:31.631188 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager model_update = self._create_raw_volume(volume, **volume_spec)
Jul 26 17:05:31.631386 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 906, in _create_raw_volume
Jul 26 17:05:31.631584 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager ret = self.driver.create_volume(volume)
Jul 26 17:05:31.631782 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/netapp/eseries/iscsi_driver.py", line 51, in create_volume
Jul 26 17:05:31.631977 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager self.library.create_volume(volume)
Jul 26 17:05:31.632177 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 829, in trace_method_logging_wrapper
Jul 26 17:05:31.632450 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager return trace(f)(*args, **kwargs)
Jul 26 17:05:31.632662 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 883, in trace_logging_wrapper
Jul 26 17:05:31.632859 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager result = f(*args, **kwargs)
Jul 26 17:05:31.633058 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/netapp/eseries/library.py", line 539, in create_volume
Jul 26 17:05:31.633254 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager self._add_volume_to_consistencygroup(volume)
Jul 26 17:05:31.633452 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 829, in trace_method_logging_wrapper
Jul 26 17:05:31.633648 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager return trace(f)(*args, **kwargs)
Jul 26 17:05:31.633844 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 883, in trace_logging_wrapper
Jul 26 17:05:31.634055 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager result = f(*args, **kwargs)
Jul 26 17:05:31.634254 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/netapp/eseries/library.py", line 514, in _add_volume_to_consistencygroup
Jul 26 17:05:31.634463 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager es_cg = self._get_consistencygroup(volume['consistencygroup'])
Jul 26 17:05:31.634662 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 829, in trace_method_logging_wrapper
Jul 26 17:05:31.634856 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager return trace(f)(*args, **kwargs)
Jul 26 17:05:31.635054 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 883, in trace_logging_wrapper
Jul 26 17:05:31.635251 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager result = f(*args, **kwargs)
Jul 26 17:05:31.635448 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/netapp/eseries/library.py", line 1958, in _get_consistencygroup
Jul 26 17:05:31.635644 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager return self._get_consistencygroup_by_name(name)
Jul 26 17:05:31.635841 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 829, in trace_method_logging_wrapper
Jul 26 17:05:31.636052 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager return trace(f)(*args, **kwargs)
Jul 26 17:05:31.636266 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/utils.py", line 883, in trace_logging_wrapper
Jul 26 17:05:31.636550 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager result = f(*args, **kwargs)
Jul 26 17:05:31.636746 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/netapp/eseries/library.py", line 1967, in _get_consistencygroup_by_name
Jul 26 17:05:31.636942 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager raise exception.ConsistencyGroupNotFound(consistencygroup_id=name)
Jul 26 17:05:31.637138 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager ConsistencyGroupNotFound: ConsistencyGroup QUHY3NTSDBCSLPPVTQPTP7HKNA could not be found.
Jul 26 17:05:31.637332 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager
Jul 26 17:05:31.637529 openstack5 cinder-volume[19320]: DEBUG cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Task 'cinder.volume.flows.manager.create_volume.CreateVolumeFromSpecTask;volume:create' (e08c921b-376c-4c48-adce-4d84ae212a1b) transitioned into state 'REVERTING' from state 'FAILURE' {{(pid=19348) _task_receiver /usr/local/lib/python2.7/dist-packages/taskflow/listeners/logging.py:194}}
Jul 26 17:05:31.637745 openstack5 cinder-volume[19320]: WARNING cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Task 'cinder.volume.flows.manager.create_volume.CreateVolumeFromSpecTask;volume:create' (e08c921b-376c-4c48-adce-4d84ae212a1b) transitioned into state 'REVERTED' from state 'REVERTING' with result 'None'
Jul 26 17:05:31.637946 openstack5 cinder-volume[19320]: DEBUG cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Task 'cinder.volume.flows.manager.create_volume.NotifyVolumeActionTask;volume:create, create.start' (0a6ff8cf-dc9d-439d-80c3-cee976489b95) transitioned into state 'REVERTING' from state 'SUCCESS' {{(pid=19348) _task_receiver /usr/local/lib/python2.7/dist-packages/taskflow/listeners/logging.py:194}}
Jul 26 17:05:31.638154 openstack5 cinder-volume[19320]: WARNING cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Task 'cinder.volume.flows.manager.create_volume.NotifyVolumeActionTask;volume:create, create.start' (0a6ff8cf-dc9d-439d-80c3-cee976489b95) transitioned into state 'REVERTED' from state 'REVERTING' with result 'None'
Jul 26 17:05:31.639200 openstack5 cinder-volume[19320]: DEBUG cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Task 'cinder.volume.flows.manager.create_volume.ExtractVolumeSpecTask;volume:create' (aeb60f50-9fa2-448f-8ad2-61f49cd13929) transitioned into state 'REVERTING' from state 'SUCCESS' {{(pid=19348) _task_receiver /usr/local/lib/python2.7/dist-packages/taskflow/listeners/logging.py:194}}
Jul 26 17:05:31.641494 openstack5 cinder-volume[19320]: WARNING cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Task 'cinder.volume.flows.manager.create_volume.ExtractVolumeSpecTask;volume:create' (aeb60f50-9fa2-448f-8ad2-61f49cd13929) transitioned into state 'REVERTED' from state 'REVERTING' with result 'None'
Jul 26 17:05:31.643732 openstack5 cinder-volume[19320]: DEBUG cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Task 'cinder.volume.flows.manager.create_volume.OnFailureRescheduleTask;volume:create' (7fc62fd0-3a1c-4158-b8f9-d32233b8a14f) transitioned into state 'REVERTING' from state 'SUCCESS' {{(pid=19348) _task_receiver /usr/local/lib/python2.7/dist-packages/taskflow/listeners/logging.py:194}}
Jul 26 17:05:31.645099 openstack5 cinder-volume[19320]: DEBUG cinder.volume.flows.manager.create_volume [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Updating volume d0c3fe3c-c4fb-46e9-90cd-4637f99771c7 with {'host': None, 'scheduled_at': datetime.datetime(2017, 7, 26, 21, 5, 31, 644273)}. {{(pid=19348) _pre_reschedule /opt/stack/cinder/cinder/volume/flows/manager/create_volume.py:121}}
Jul 26 17:05:31.649043 openstack5 cinder-volume[19320]: WARNING cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Task 'cinder.volume.flows.manager.create_volume.OnFailureRescheduleTask;volume:create' (7fc62fd0-3a1c-4158-b8f9-d32233b8a14f) transitioned into state 'REVERT_FAILURE' from state 'REVERTING': ObjectActionError: Object action save failed because: consistencygroup changed
Jul 26 17:05:31.649260 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager Traceback (most recent call last):
Jul 26 17:05:31.649465 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 72, in _revert_task
Jul 26 17:05:31.649665 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager result = task.revert(**arguments)
Jul 26 17:05:31.649894 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 198, in revert
Jul 26 17:05:31.650101 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager self._pre_reschedule(volume)
Jul 26 17:05:31.650301 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 123, in _pre_reschedule
Jul 26 17:05:31.650643 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager volume.save()
Jul 26 17:05:31.650994 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/objects/volume.py", line 354, in save
Jul 26 17:05:31.651602 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager action='save', reason=_('consistencygroup changed'))
Jul 26 17:05:31.651955 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager ObjectActionError: Object action save failed because: consistencygroup changed
Jul 26 17:05:31.652298 openstack5 cinder-volume[19320]: ERROR cinder.volume.manager
Jul 26 17:05:31.652854 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Engine execution has failed, something bad mus
t of happened (last 10 machine transitions were [('SCHEDULING', 'WAITING'), ('WAITING', 'ANALYZING'), ('ANALYZING', 'SCHEDULING'), ('SCHEDULING', 'WAITING'), ('WAITING', 'ANALYZING'), ('ANALYZING', 'SCHEDULING'), ('SCHEDULING', 'WAITING'), ('WAITING', 'ANALYZING'), ('ANALYZING', 'GAME_OVER'), ('GAME_OVER', 'FAILURE')]): ObjectActionError: Object action save failed because: consistencygroup changed
Jul 26 17:05:31.653713 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine Traceback (most recent call last):
Jul 26 17:05:31.654094 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine File "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 300, in run_iter
Jul 26 17:05:31.654474 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine failure.Failure.reraise_if_any(memory.failures)
Jul 26 17:05:31.654692 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine File "/usr/local/lib/python2.7/dist-packages/taskflow/types/failure.py", line 336, in reraise_if_any
Jul 26 17:05:31.654906 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine failures[0].reraise()
Jul 26 17:05:31.655105 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine File "/usr/local/lib/python2.7/dist-packages/taskflow/types/failure.py", line 343, in reraise
Jul 26 17:05:31.655321 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine six.reraise(*self._exc_info)
Jul 26 17:05:31.655520 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine File "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 72, in _revert_task
Jul 26 17:05:31.655719 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine result = task.revert(**arguments)
Jul 26 17:05:31.655918 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 198, in revert
Jul 26 17:05:31.656113 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine self._pre_reschedule(volume)
Jul 26 17:05:31.656371 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 123, in _pre_reschedule
Jul 26 17:05:31.656573 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine volume.save()
Jul 26 17:05:31.656788 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine File "/opt/stack/cinder/cinder/objects/volume.py", line 354, in save
Jul 26 17:05:31.656983 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine action='save', reason=_('consistencygroup changed'))
Jul 26 17:05:31.657181 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine ObjectActionError: Object action save failed because: consistencygroup changed
Jul 26 17:05:31.657377 openstack5 cinder-volume[19320]: ERROR taskflow.engines.action_engine.engine
Jul 26 17:05:31.657575 openstack5 cinder-volume[19320]: WARNING cinder.volume.manager [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Flow 'volume_create_manager' (19876738-62ab-4c0b-a6a0-2e71c3cd5959) transitioned into state 'FAILURE' from state 'RUNNING': ObjectActionError: Object action save failed because: consistencygroup changed
Jul 26 17:05:31.659776 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server [None req-a34317f8-7b5e-4791-b317-171848c324c3 demo None] Exception during message handling: InvalidVolume: Invalid volume: volume is not assigned to a host
Jul 26 17:05:31.660000 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server Traceback (most recent call last):
Jul 26 17:05:31.660243 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 153, in _process_incoming
Jul 26 17:05:31.660491 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
Jul 26 17:05:31.660696 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 213, in dispatch
Jul 26 17:05:31.660900 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
Jul 26 17:05:31.661115 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _do_dispatch
Jul 26 17:05:31.661329 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
Jul 26 17:05:31.661535 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server File "<decorator-gen-237>", line 2, in create_volume
Jul 26 17:05:31.661734 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server File "/opt/stack/cinder/cinder/objects/cleanable.py", line 207, in wrapper
Jul 26 17:05:31.661960 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server result = f(*args, **kwargs)
Jul 26 17:05:31.662158 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server File "/opt/stack/cinder/cinder/volume/manager.py", line 690, in create_volume
Jul 26 17:05:31.662354 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server self._update_allocated_capacity(volume)
Jul 26 17:05:31.662575 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server File "/opt/stack/cinder/cinder/volume/manager.py", line 3244, in _update_allocated_capacity
Jul 26 17:05:31.662800 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server pool = vol_utils.extract_host(vol['host'], 'pool')
Jul 26 17:05:31.663015 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server File "/opt/stack/cinder/cinder/volume/utils.py", line 723, in extract_host
Jul 26 17:05:31.663213 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server raise exception.InvalidVolume(reason=msg)
Jul 26 17:05:31.663421 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server InvalidVolume: Invalid volume: volume is not assigned to a host
Jul 26 17:05:31.663635 openstack5 cinder-volume[19320]: ERROR oslo_messaging.rpc.server

tags: added: netapp
tags: added: eseries
tags: added: driver vendor
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/528782

Changed in cinder:
assignee: nobody → Michael Price (michael-price-q)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/528782
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=443dfd9d8c464ba18d2fcd5c3b3fc10602923fde
Submitter: Zuul
Branch: master

commit 443dfd9d8c464ba18d2fcd5c3b3fc10602923fde
Author: Michael Price <email address hidden>
Date: Fri Sep 22 15:51:48 2017 -0500

    NetApp E-Series: Fix broken generic volume groups

    The Generic Volume Groups functionality is currently broken in the
    E-Series driver because it is not defining/removing a back-end
    consistency group when creating/deleting a generic group.

    This patch adds an implementation method in the respective E-Series
    drivers to utilize the underlying CG functionality.

    Closes-Bug: #1706777
    Change-Id: I55dc417060d9226c2f120a16b031a79839d483d3

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.0.0b3

This issue was fixed in the openstack/cinder 12.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/560451

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/pike)

Reviewed: https://review.openstack.org/560451
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=664974c0218519d2740ae4284a4b977269d76df9
Submitter: Zuul
Branch: stable/pike

commit 664974c0218519d2740ae4284a4b977269d76df9
Author: Michael Price <email address hidden>
Date: Fri Sep 22 15:51:48 2017 -0500

    NetApp E-Series: Fix broken generic volume groups

    The Generic Volume Groups functionality is currently broken in the
    E-Series driver because it is not defining/removing a back-end
    consistency group when creating/deleting a generic group.

    This patch adds an implementation method in the respective E-Series
    drivers to utilize the underlying CG functionality.

    Closes-Bug: #1706777
    Change-Id: I55dc417060d9226c2f120a16b031a79839d483d3
    (cherry picked from commit 443dfd9d8c464ba18d2fcd5c3b3fc10602923fde)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.1.1

This issue was fixed in the openstack/cinder 11.1.1 release.

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.