ERROR (Forbidden): Quota exceeded for cores: Requested 72, but already used 130 of 200 cores (HTTP 403) (Request-ID: req-2cba7dd5-3148-47a1-a1f6-d2ddebace847)
[root@bogon ~]# openstack quota show --default
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| cores | 20 |
| fixed-ips | -1 |
| floating-ips | 50 |
| health_monitors | None |
| injected-file-size | 10240 |
| injected-files | 5 |
| injected-path-size | 255 |
| instances | 10 |
| key-pairs | 100 |
| l7_policies | None |
| listeners | None |
| load_balancers | None |
| location | Munch({'project': Munch({'domain_name': 'Default', 'domain_id': None, 'name': 'admin', 'id': u'46cc02c6fab04f7095c4bc687d397610'}), 'cloud': '', 'region_name': '', 'zone': None}) |
| name | None |
| networks | 100 |
| pools | None |
| ports | 500 |
| project | None |
| project_name | admin |
| properties | 128 |
| ram | 51200 |
| rbac_policies | 10 |
| routers | 10 |
| secgroup-rules | 100 |
| secgroups | 10 |
| server-group-members | 10 |
| server-groups | 10 |
| subnet_pools | -1 |
| subnets | 100 |
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[root@bogon ~]# cat admin-openrc.sh
export OS_USERNAME=admin
export OS_PASSWORD=Passwd
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_AUTH_URL=http://10.10. 66.89:35357/v3
export OS_IDENTITY_API_VERSION=3
#mysql pc
[root@bogon ~]# openstack quota show admin
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| cores | 200 |
| fixed-ips | -1 |
| floating-ips | 50 |
| health_monitors | None |
| injected-file-size | 10240 |
| injected-files | 5 |
| injected-path-size | 255 |
| instances | 50 |
| key-pairs | 100 |
| l7_policies | None |
| listeners | None |
| load_balancers | None |
| location | Munch({'project': Munch({'domain_name': 'Default', 'domain_id': None, 'name': 'admin', 'id': u'46cc02c6fab04f7095c4bc687d397610'}), 'cloud': '', 'region_name': '', 'zone': None}) |
| name | None |
| networks | 100 |
| pools | None |
| ports | 500 |
| project | 46cc02c6fab04f7095c4bc687d397610 |
| project_name | admin |
| properties | 128 |
| ram | 51200000 |
| rbac_policies | 10 |
| routers | 10 |
| secgroup-rules | 100 |
| secgroups | 10 |
| server-group-members | 10 |
| server-groups | 10 |
| subnet_pools | -1 |
| subnets | 100 |
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[root@bogon ~]#
[root@bogon ~]# openstack quota set --cores 1000 admin
[root@bogon ~]# openstack quota show admin
https://docs.openstack.org/nova/pike/admin/quotas.html