Page MenuHomePhabricator

quota failure attempting to create trove db in codfw1dev
Closed, ResolvedPublic

Description

I'm getting the following when trying to create a trove DB in codfw1dev in horizon:

Failed to create volume for instance 722cdd73-3715-4fdc-b750-fdca3a3e980e VolumeLimitExceeded: Maximum number of volumes allowed (4) exceeded for quota 'volumes'. (HTTP 413) (Request-ID: req-6c525851-1e96-4c2d-8253-0254d7374bdb)

Volumes quota is currently at 15, using 6
The DB volumes quota was 10 I raised it to 20, though in any case it is using 3

# openstack database quota show paws-dev
+-----------+--------+----------+-------+
| Resource  | In Use | Reserved | Limit |
+-----------+--------+----------+-------+
| backups   |      0 |        0 |     2 |
| instances |      3 |        0 |    10 |
| ram       |   3072 |        0 |    -1 |
| volumes   |      3 |        0 |    20 |
+-----------+--------+----------+-------+

Some searching suggests it could be the cinder volumes, though that seems linked to the project volume allocation, as it changes when I change the volume quota:

# cinder quota-usage paws-dev
+----------------------------+--------+----------+-------+-----------+
| Type                       | In_use | Reserved | Limit | Allocated |
+----------------------------+--------+----------+-------+-----------+
...
| volumes                    | 6      | 0        | 15    |           |

Snapshots was showing 4 for a quota, so I updated it, though the error still shows a maximum of 4. I'm not sure where openstack got this value.

Event Timeline

Maybe the quota limit is being reached on the trove project?

Maybe the quota limit is being reached on the trove project?

As I posted in the ticket openstack database quota show paws-dev doesn't read to me as any quota being exceed. Are there other quotas for trove?

In testing, the same is not occurring in eqiad1

Maybe the quota limit is being reached on the trove project?

As I posted in the ticket openstack database quota show paws-dev doesn't read to me as any quota being exceed. Are there other quotas for trove?

Afaik trove is an openstack project by itself, with it's own regular quotas (vms, volumes, cpu, ram, ...) besides the ones it imposes on other projects (openstack database quota). When you request a database, a VM gets created in that special "shared" trove project, maybe that's where the quota is being reached.

A new thing! A thing I did not know before! That was the quota it was getting caught on. Thanks!