码迷,mamicode.com
首页 > 其他好文 > 详细

Quota exceeded for cores

时间:2020-06-29 15:45:29      阅读:83      评论:0      收藏:0      [点我收藏+]

标签:word   quota   openstac   monit   mic   auth   stack   fixed   doc   

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: u46cc02c6fab04f7095c4bc687d397610}), 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: u46cc02c6fab04f7095c4bc687d397610}), 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

Quota exceeded for cores

标签:word   quota   openstac   monit   mic   auth   stack   fixed   doc   

原文地址:https://www.cnblogs.com/dream397/p/13207947.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!