How to delete instances and clean up quota database with SQL statements?

Solution Verified - Updated -

Issue

  • Instances won't delete with either nova delete or openstack server delete.
  • Instances have failed building and need to be forcefully deleted.
  • Instances have been manually deleted in the database but the quotas are still not updated.
  • Modify quota usage for instances, cores, and RAM for instances that have previously been deleted.

Environment

  • Red Hat OpenStack Platform 10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content