Comment 4 for bug 2070475

Revision history for this message
Rajat Dhasmana (whoami-rajat) wrote :

Hi Andrew,

you are right, we don't mention the read_deleted='yes'[1] field in the model query[2] hence we are not updating the use_quota field in the deleted records.
I think the only way to proceed would be to purge the deleted records to continue with the upgrade.
``cinder-manage db purge 0``

[1] https://github.com/openstack/cinder/blob/stable/2023.2/cinder/db/sqlalchemy/api.py#L317-L318
[2] https://github.com/openstack/cinder/blob/stable/2023.2/cinder/db/sqlalchemy/api.py#L8682-L8684