I deployed a fresh openstack noble-epoxy

* Created 10 volumes with 5G
* Total usage was given as 100G usage
* Then amended the DB

mysql> update cinder.quota_usages set in_use=50 where
project_id='aae4f369d31c43c59493661552b0fa1b' and
(resource="gigabytes___DEFAULT__" or resource="gigabytes");

* then we check and try the sync, and the sync now works with the new
package

ubuntu@juju-1fffd6-zaza-b875d68e053c-10:~$ sudo cinder-manage quota check 
--project-id aae4f369d31c43c59493661552b0fa1b
Processing quota usage for project aae4f369d31c43c59493661552b0fa1b
        gigabytes: invalid usage saved=50 actual=100
        gigabytes___DEFAULT__: invalid usage saved=50 actual=100
Action successfully completed
ubuntu@juju-1fffd6-zaza-b875d68e053c-10:~$ sudo cinder-manage quota sync 
--project-id aae4f369d31c43c59493661552b0fa1b
Processing quota usage for project aae4f369d31c43c59493661552b0fa1b
        gigabytes: invalid usage saved=50 actual=100 - fixed
        gigabytes___DEFAULT__: invalid usage saved=50 actual=100 - fixed
Action successfully completed
ubuntu@juju-1fffd6-zaza-b875d68e053c-10:~$ sudo cinder-manage quota check 
--project-id aae4f369d31c43c59493661552b0fa1b
Processing quota usage for project aae4f369d31c43c59493661552b0fa1b
Action successfully completed


** Tags removed: verification-epoxy-needed
** Tags added: verification-epoxy-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2104322

Title:
  cinder-manage quota sync is not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/2104322/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to