consistency/volume groups doesn't work with storing volume format info for fs drivers

Bug #1937368 reported by Rajat Dhasmana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Medium
Unassigned

Bug Description

This has been addressed in change I41ffedfa1abd0708c84494a0aaaa3815810102b8 [1] with a workaround and this bug is just to keep track of the error trace

Test Group/Test case Count Pass Fail Error Skip View
tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest 3 0 3 0 0 Detail
test_create_group_from_group_snapshot[id-eff52c70-efc7-45ed-b47a-4ad675d09b81]
fail
test_delete_group_snapshots_following_updated_volumes[id-7d7fc000-0b4c-4376-a372-544116d2e127]
fail
test_group_snapshot_create_show_list_delete[id-1298e537-f1f0-47a3-a1dd-8adec8168897]
fail
tempest.api.volume.admin.test_groups.GroupsTest 2 0 2 0 0 Detail
test_group_create_show_list_delete[id-4b111d28-b73d-4908-9bd2-03dc2992e4d4]
fail
test_group_update[id-4a8a6fd2-8b3b-4641-8f54-6a6f99320006]
fail
tempest.api.volume.admin.test_groups.GroupsV314Test 1 0 1 0 0 Detail
test_create_group_from_group[id-2424af8c-7851-4888-986a-794b10c3210e]
fail

TRACEBACK:

Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: |__Flow 'volume_create_manager': oslo_versionedobjects.exception.ObjectActionError: Object action save failed because: consistencygroup changed
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager Traceback (most recent call last):
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/usr/local/lib/python3.8/dist-packages/taskflow/engines/action_engine/executor.py", line 53, in _execute_task
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager result = task.execute(**arguments)
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 1123, in execute
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager model_update = self._create_raw_volume(
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 1085, in _create_raw_volume
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager self.message.create(
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/usr/local/lib/python3.8/dist-packages/oslo_utils/excutils.py", line 227, in __exit__
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager self.force_reraise()
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/usr/local/lib/python3.8/dist-packages/oslo_utils/excutils.py", line 200, in force_reraise
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager raise self.value
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 1082, in _create_raw_volume
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager ret = self.driver.create_volume(volume)
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "<decorator-gen-779>", line 2, in create_volume
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/coordination.py", line 151, in _synchronized
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager return f(*a, **k)
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/nfs.py", line 535, in create_volume
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager return super(NfsDriver, self).create_volume(volume)
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/volume_utils.py", line 1534, in trace_logging_wrapper
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager result = f(*args, **kwargs)
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/remotefs.py", line 291, in create_volume
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager self._do_create_volume(volume)
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/volume/drivers/remotefs.py", line 333, in _do_create_volume
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager volume.save()
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager File "/opt/stack/cinder/cinder/objects/volume.py", line 368, in save
Jul 23 09:38:10.118258 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager raise exception.ObjectActionError(
Jul 23 09:38:10.120832 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager oslo_versionedobjects.exception.ObjectActionError: Object action save failed because: consistencygroup changed
Jul 23 09:38:10.120832 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: ERROR cinder.volume.manager
Jul 23 09:38:10.125037 ubuntu-focal-rax-iad-0025612391 cinder-volume[111799]: DEBUG cinder.volume.manager [None req-5a2caf31-7f7a-44f5-ad70-8c4b5c1e5972 tempest-GroupsV314Test-189682847 None] Task 'cinder.volume.flows.manager.create_volume.CreateVolumeFromSpecTask;volume:create' (34645e90-82c8-4e8c-b4f4-077741036d4c) transitioned into state 'REVERTING' from state 'FAILURE' {{(pid=111799) _task_receiver /usr/local/lib/python3.8/dist-packages/taskflow/listeners/logging.py:190}}

[1] https://review.opendev.org/c/openstack/cinder/+/780700

Changed in cinder:
importance: Undecided → Medium
tags: added: consistency fs groups nfs storing test
tags: added: tests
removed: test
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.