Hello Stackers,
It seems we're hitting a bug within the Cinder Volume service. The
problem presents itself when creating a Ceph RBD backed Volume using
an originating snapshot.
2025-07-31
19:02:54.896 3602390 WARNING cinder.volume.manager
[req-a476ac04-ee6c-4335-8fca-e606616a5959
eccdb27249254d9d9fb73570f5de8877
d678ba8e1dee4f7484555580d0a61562 - - -] Task
'cinder.volume.flows.manager.create_volume.CreateVolumeFromSpecTask;volume:create'
(03c06b47-7df3-4427-8ad0-61f9a97d0159) transitioned into state
'FAILURE' from state 'RUNNING'
5 predecessors (most recent first):
</snip (maybe the Atoms are needed and if so I could redact
those)>
|__Flow 'volume_create_manager': AttributeError:
'Volume' object has no attribute 'use_quota'
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
Traceback (most recent call last):
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
File
"/usr/lib/python3/dist-packages/taskflow/engines/action_engine/executor.py",
line 53, in _execute_task
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
result = task.execute(**arguments)
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
File
"/usr/lib/python3/dist-packages/cinder/volume/flows/manager/create_volume.py",
line 1158, in execute
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
model_update = self._create_from_snapshot(context, volume,
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
File
"/usr/lib/python3/dist-packages/cinder/volume/flows/manager/create_volume.py",
line 461, in _create_from_snapshot
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
model_update = self.driver.create_volume_from_snapshot(volume,
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
File
"/usr/lib/python3/dist-packages/cinder/volume/drivers/rbd.py",
line 1069, in create_volume_from_snapshot
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
if int(volume.size):
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
AttributeError: 'Volume' object has no attribute 'use_quota'
2025-07-31 19:02:54.896 3602390 ERROR cinder.volume.manager
Yes, this reflects a non-current version, to be precise Cinder 17.4.
However, does this look familiar to someone, maybe?
Thanks!
Cheers,
Kees