-
Bug
-
Resolution: Unresolved
-
Major
-
rhos-16.2.z, rhos-18.0.0, rhos-17.1.z
-
None
-
False
-
-
False
-
?
-
None
-
-
-
Critical
Gance fails to create new images when configured with Cinder/NFS as backend. This results in Tempest failing in 80 tests when executed with such a configuration.
tempest run --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.api)' --exclude-list ./tools/tempest-extra-tests-list.txt --concurrency=4 | tee /opt/stack/devstack/tempest-run.out ... tempest.api.volume.test_volumes_get.VolumesGetTest.test_volume_create_get_update_delete_from_image[id-54a01030-c7fc-447c-86ee-c1182beae638,image,smoke] tempest.exceptions.VolumeResourceBuildErrorException: volume ff69f465-97c9-48be-8f79-91ff83431be7 failed to build and is in ERROR status ... ====== Totals ====== Ran: 602 tests in 709.1625 sec. - Passed: 435 - Skipped: 87 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 80 Sum of execute time for each test: 1661.8647 sec. ============== Worker Balance ============== - Worker 0 (198 tests) => 0:11:23.889657 - Worker 1 (90 tests) => 0:11:15.843021 - Worker 2 (189 tests) => 0:11:41.703182 - Worker 3 (125 tests) => 0:10:17.083925
cinde-volume.log
Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: INFO cinder.volume.flows.manager.create_volume [None req-1005cc41-a70e-4c87-9fa7-31ef4fd5fc82 tempest-VolumesGetTest-1450400376 None] Volume ff69f465-97c9-48be-8f79-91ff83431be7: being created as image with specification: {'status': 'creating', 'volume_name': 'volume-ff69f465-97c9-48be-8f79-91ff83431be7', 'volume_size': 1, 'image_id': '1e270887-3bf9-4439-a566-42dcb19f1a47', 'image_location': (None, None), 'image_meta': {'name': 'cirros-0.6.3-x86_64-disk', 'disk_format': 'qcow2', 'container_format': 'bare', 'visibility': 'public', 'size': 21692416, 'virtual_size': 117440512, 'status': 'active', 'checksum': '87617e24a5e30cb3b87fda8c0764838f', 'protected': False, 'min_ram': 0, 'min_disk': 0, 'owner': '99ae567ce78e45c2a38b8e7d76e06467', 'os_hidden': False, 'os_hash_algo': 'sha512', 'os_hash_value': '9a9bce0083a00939ec17c11febbfc767aa211aaa54f51e75c5a8b271a9b5637c77205a518b7a2007cb391d23cceb01e0e4e8d64832317151bc85b734b92a7be0', 'id': '1e270887-3bf9-4439-a566-42dcb19f1a47', 'created_at': datetime.datetime(2025, 2, 12, 12, 33, 20, tzinfo=datetime.timezone.utc), 'updated_at': datetime.datetime(2025, 2, 12, 12, 33, 28, tzinfo=datetime.timezone.utc), 'tags': [], 'file': '/v2/images/1e270887-3bf9-4439-a566-42dcb19f1a47/file', 'properties': {'hw_rng_model': 'virtio', 'owner_specified.openstack.md5': '', 'owner_specified.openstack.object': 'images/cirros-0.6.3-x86_64-disk', 'owner_specified.openstack.sha256': ''}}, 'image_service': <cinder.image.glance.GlanceImageService object at 0x7f8307c41300>} Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: DEBUG cinder.volume.flows.manager.create_volume [None req-1005cc41-a70e-4c87-9fa7-31ef4fd5fc82 tempest-VolumesGetTest-1450400376 None] Cloning ff69f465-97c9-48be-8f79-91ff83431be7 from image 1e270887-3bf9-4439-a566-42dcb19f1a47 at location (None, None). {{(pid=111390) _create_from_image /opt/stack/cinder/cinder/volume/flows/manager/create_volume.py:1074}} ... Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR cinder.volume.drivers.nfs [req-139953e5-f527-401a-8ae3-f4bd42342abe req-da3bd5eb-a706-44af-aef9-4f9621326191 service None] The volume virtual_size does not match the size in cinder, aborting as we suspect an exploit. Virtual Size is 117440512 and real size is 1 Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR cinder.volume.manager [req-139953e5-f527-401a-8ae3-f4bd42342abe req-da3bd5eb-a706-44af-aef9-4f9621326191 service None] Driver initialize connection failed (error: Invalid volume: The volume virtual_size does not match the size in cinder, aborting as we suspect an exploit.).: cinder.exception.InvalidVolume: Invalid volume: The volume virtual_size does not match the size in cinder, aborting as we suspect an exploit. Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR cinder.volume.manager Traceback (most recent call last): -- Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server File "/opt/stack/data/venv/lib/python3.10/site-packages/oslo_messaging/rpc/dispatcher.py", line 309, in dispatch Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server File "/opt/stack/data/venv/lib/python3.10/site-packages/oslo_messaging/rpc/dispatcher.py", line 229, in _do_dispatch Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server File "/opt/stack/cinder/cinder/volume/manager.py", line 4897, in attachment_update Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server connection_info = self._connection_create(context, Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server File "/opt/stack/cinder/cinder/volume/manager.py", line 4843, in _connection_create Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server raise exception.VolumeBackendAPIException(data=err_msg) Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Invalid volume: The volume virtual_size does not match the size in cinder, aborting as we suspect an exploit.). Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR oslo_messaging.rpc.server Feb 17 14:57:33 fesilva-devstack2 cinder-volume[111390]: ERROR cinder.image.image_utils [None req-1005cc41-a70e-4c87-9fa7-31ef4fd5fc82 tempest-VolumesGetTest-1450400376 None] IOError: 32 Corrupt image download. Hash was cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e expected 9a9bce0083a00939ec17c11febbfc767aa211aaa54f51e75c5a8b271a9b5637c77205a518b7a2007cb391d23cceb01e0e4e8d64832317151bc85b734b92a7be0: BrokenPipeError: [Errno 32] Corrupt image download. Hash was cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e expected 9a9bce0083a00939ec17c11febbfc767aa211aaa54f51e75c5a8b271a9b5637c77205a518b7a2007cb391d23cceb01e0e4e8d64832317151bc85b734b92a7be0