Hi again,
Answering to my own question, since it might help someone else:
After looking for a (very) long time for the 'use_quota' attribute
within all installed Python packages residing on the given
installation, I wasn't able to find it at all.
So, I peeked in newer versions in Git and saw the attribute is of
importance regarding RBD volume flattening (which makes sense.)
Not understanding the attribute not being there in code but
apparently somewhere else it hit me: compiled Python cache. I
decided to remove relevant .pyc files and restart the problematic
Cinder Volume daemon.
From here on creating a Ceph RBD backed Volume using an originating
snapshot was working again as expected.
No clue why, but apparently there was old code running still on this
specific node.
And indeed, the changelog shows patches in between the last and
"current" version feeling very relevant:
[ Thomas Goirand ]
* Add bugfix patches:
- RBD_Dont_flatten_temporary_resources.patch
-
RBD_Fix_snapshot_delete_when_the_source_volume_doesnt_exist.patch
- Set_backup_status_to_error_on_VolumeNotFound.patch
- Ceph_Catch_more_failure_conditions_on_volume_backup.patch
So long story short: restarting seemed quite helpful.
Lastly: thank you zigo for packaging OpenStack for Debian!
Cheers,
Kees
On 31-07-2025 19:27, Kees Meijs | Nefos
wrote:
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?