首页 > 代码库 > nova-quota 及cinder-quota修改
nova-quota 及cinder-quota修改
客户资源不足 需要客户租户ID或者projectID
HostCtrol1:~ # nova quota-show --tenant dad226af4d77a9663b72c0c438a5 ------>租户ID
+-----------------------------+---------+
| Quota | Limit |
+-----------------------------+---------+
| instances | 600 |----->可创建虚拟实例数
| cores | 1200 |----->可使用CPU数
| ram | 4096000 |----->可使用内存大小
| floating_ips | 1000 |----->可使用floating_ip数
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes | 255 |
| key_pairs | -1 |
| security_groups | 10 |
| security_group_rules | 20 |
| server_groups | 10 |
| server_group_members | 16 |
+-----------------------------+---------+
HostCtrol1:~ #nova quota-update dad226af4d77a9663b72c0c438a5 --instances=数值 --ram =数值
HostCtrol1:~ # cinder quota-show dad226af4d77a9663b72c0c438a5 ------>租户ID
+----------------+-------+
| Property | Value |
+----------------+-------+
| gigabytes | 32768 |
| gigabytes_SAS | -1 |
| gigabytes_SATA | -1 |
| gigabytes_SSD | -1 |
| snapshots | -1 |
| snapshots_SAS | -1 |
| snapshots_SATA | -1 |
| snapshots_SSD | -1 |
| volumes | 10000 | ----->可创建volume数量
| volumes_SAS | -1 |
| volumes_SATA | -1 |
| volumes_SSD | -1 |
+----------------+-------+
HostCtrol1:~ # cinder quota-update dad226af4d77a9663b72c0c438a5 --volumes=数值 --volumes_SATA=数值
nova-quota 及cinder-quota修改