• Quota exceeded for cores


    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

  • 相关阅读:
    iphone inline video fragments
    input text focus去掉默认光影
    ios html5 audio 不能自动播放
    跑马灯实现新闻滚动 鼠标放上去停 移开继续滚动
    转:理解WinCE bulid过程
    C语言sendto()函数:经socket传送数据
    WaitForSingleObject用法介绍
    CoInitializeEx()
    转:select()函数以及FD_ZERO、FD_SET、FD_CLR、FD_ISSET
    setsocketopt()
  • 原文地址:https://www.cnblogs.com/dream397/p/13207947.html
Copyright © 2020-2023  润新知