Create Consistency group from src with source volume failed

Bug #1866777 reported by Prabhuraj K
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Prabhuraj K

Bug Description

Create consistency group from src with source group is failing with error ILLEGAL_NAME

Error:
2020-03-02 09:21:28.989 48418 ERROR cinder.volume.manager [req-50754892-8455-4fd3-9e9d-03fdf5df463e 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 09c8e09112764b41a45eaf1193b5a4f9 - default default] Create group from source group-e1b9181d-8a7f-4d37-b778-5d060850050d failed.: CinderException: Fatal error in cg_create: Status: ''Group(availability_zone='nova',cluster_name=None,created_at=2020-03-02T14:03:31Z,deleted=False,deleted_at=None,description=None,group_snapshot_id=None,group_snapshots=<?>,group_type_id='4ae3314d-7966-4c5f-8cbe-07066d30ab29',host='c387F01_XIVmgt1#c387F01_XIVmgt1',id=63a4b046-4488-474a-bf5f-9914e60931b7,name='hi',project_id='09c8e09112764b41a45eaf1193b5a4f9',replication_status='disabled',source_group_id=e1b9181d-8a7f-4d37-b778-5d060850050d,status='creating',updated_at=None,user_id='0688b01e6439ca32d', Code: ILLEGAL_NAME
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server [req-50754892-8455-4fd3-9e9d-03fdf5df463e 0688b01e6439ca32d698d20789d52169126fb41fb1a4ddafcebb97d854e836c9 09c8e09112764b41a45eaf1193b5a4f9 - default default] Exception during message handling: CinderException: Fatal error in cg_create: Status: ''Group(availability_zone='nova',cluster_name=None,created_at=2020-03-02T14:03:31Z,deleted=False,deleted_at=None,description=None,group_snapshot_id=None,group_snapshots=<?>,group_type_id='4ae3314d-7966-4c5f-8cbe-07066d30ab29',host='c387F01_XIVmgt1#c387F01_XIVmgt1',id=63a4b046-4488-474a-bf5f-9914e60931b7,name='hi',project_id='09c8e09112764b41a45eaf1193b5a4f9',replication_status='disabled',source_group_id=e1b9181d-8a7f-4d37-b778-5d060850050d,status='creating',updated_at=None,user_id='0688b01e6439ca32d', Code: ILLEGAL_NAME

2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 166, in _process_incoming
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 3254, in create_group_from_src
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server vol.save()
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server self.force_reraise()
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 3206, in create_group_from_src
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server sorted_snapshots, source_group, sorted_source_vols))
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/ibm_storage/ibm_storage.py", line 279, in create_group_from_src
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server source_cg, source_vols)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/ibm_storage/proxy.py", line 68, in wrapper
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server result = fnc(self, *args, **kwargs)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/ibm_storage/xiv_proxy.py", line 2374, in create_group_from_src
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server sorted_source_vols)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/ibm_storage/xiv_proxy.py", line 2440, in _create_consistencygroup_from_src
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server self._create_consistencygroup(context, group)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/ibm_storage/xiv_proxy.py", line 2312, in _create_consistencygroup
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server raise self._get_exception()(error)
2020-03-02 09:21:29.002 48418 ERROR oslo_messaging.rpc.server CinderException: Fatal error in cg_create: Status: ''Group(availability_zone='nova',cluster_name=None,created_at=2020-03-02T14:03:31Z,deleted=False,deleted_at=None,description=None,group_snapshot_id=None,group_snapshots=<?>,group_type_id='4ae3314d-7966-4c5f-8cbe-07066d30ab29',host='c387F01_XIVmgt1#c387F01_XIVmgt1',id=63a4b046-4488-474a-bf5f-9914e60931b7,name='hi',project_id='09c8e09112764b41a45eaf1193b5a4f9',replication_status='disabled',source_group_id=e1b9181d-8a7f-4d37-b778-5d060850050d,status='creating',updated_at=None,user_id='0688b01e6439ca32d', Code: ILLEGAL_NAME

Prabhuraj K (prabhuraj)
Changed in cinder:
assignee: nobody → Prabhuraj K (prabhuraj)
Prabhuraj K (prabhuraj)
Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/716543

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.