Wrong instance count in openstack limits show

Solution Verified - Updated -

Issue

Instance count in "openstack limits show" doesn't matched the actual number of instances.
OpenStack limits shows the used instance as 15 but actually there are only 2 instance.

[root@controller-0 ~]# openstack limits show --project proj01 --absolute
+--------------------------+--------+
| Name                     |  Value |
+--------------------------+--------+
..
| totalInstancesUsed       |     15 |
..

[root@controller-0 ~]# openstack server list --project proj01
+--------------------------------------+----------------+--------+----------------------------------+------------+
| ID                                   | Name           | Status | Networks                         | Image Name |
+--------------------------------------+----------------+--------+----------------------------------+------------+
| f26b38db-a7b4-479f-8e25-130b454def0a | VM01           | ACTIVE | internal=192.168.2.10            | Cirros     |
| 3e28def7-cb1d-4697-aa1c-bc833be3af27 | VM02           | ACTIVE | internal=192.168.2.11            | Cirros     |
+--------------------------------------+----------------+--------+----------------------------------+------------+

Environment

Red Hat OpenStack Platform 11.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.