novaデータベースのquota_usagesテーブルのin_useを-1にして
インスタンスの起動/削除で更新される。
(floating_ipsはFloating IPの割り当て/解除で更新)
I noticed the count was wrong in the nova table in database. The fix that helped was that I set it manually to '-1' to force nova to recount the cpus:
mysql -u nova -pnova select * from quota_usages; update quota_usages set in_use='-1' where project_id=' '; After I started a new instance, I was able to run it and quota numbers got updated!
How to reset incorrect quota count? - Ask OpenStack: Q&A Site for OpenStack Users and Developers