yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43475
[Bug 1527083] [NEW] quota-update with invalid string returns nothing
Public bug reported:
[Summary]
quota-update with invalid string returns nothing
[Topo]
devstack all-in-one node
[Description and expect result]
quota-update with tenant name, command doesn't work.
quota-update with invalid string, command return nothing.
[Reproduceable or not]
reproduceable
[Recreate Steps]
1)check tenants and their tenant id
stack@45-59:~/devstack$ openstack project list
+----------------------------------+--------------------+
| ID | Name |
+----------------------------------+--------------------+
| 4fe5daa4e5c544b58efdab002314f3e2 | demo |
| 6c15aacc1cfe4a9fac35a0c7f8c3e912 | admin |
| 9a919f125673463490ef35a4aa8b4c94 | service |
| bc7fb65adca14494805ea71f36d34711 | invisible_to_admin |
+----------------------------------+--------------------+
2)execute quota update with tenant name admin.
nova quota-update --instances 1000 admin
3)check quota, previous update command doesn't work.
stack@45-59:~/devstack$ nova quota-show
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 10 |
| cores | 20 |
| ram | 51200 |
| floating_ips | 10 |
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes | 255 |
| key_pairs | 100 |
| security_groups | 10 |
| security_group_rules | 20 |
| server_groups | 10 |
| server_group_members | 10 |
+-----------------------------+-------+
4)execute quota update with invalid string abcdefg. return nothing, I think here should raise execption.
stack@45-59:~/devstack$ nova quota-update --instances 1000 abcdefg
stack@45-59:~/devstack$
stack@45-59:~/devstack$
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1527083
Title:
quota-update with invalid string returns nothing
Status in OpenStack Compute (nova):
New
Bug description:
[Summary]
quota-update with invalid string returns nothing
[Topo]
devstack all-in-one node
[Description and expect result]
quota-update with tenant name, command doesn't work.
quota-update with invalid string, command return nothing.
[Reproduceable or not]
reproduceable
[Recreate Steps]
1)check tenants and their tenant id
stack@45-59:~/devstack$ openstack project list
+----------------------------------+--------------------+
| ID | Name |
+----------------------------------+--------------------+
| 4fe5daa4e5c544b58efdab002314f3e2 | demo |
| 6c15aacc1cfe4a9fac35a0c7f8c3e912 | admin |
| 9a919f125673463490ef35a4aa8b4c94 | service |
| bc7fb65adca14494805ea71f36d34711 | invisible_to_admin |
+----------------------------------+--------------------+
2)execute quota update with tenant name admin.
nova quota-update --instances 1000 admin
3)check quota, previous update command doesn't work.
stack@45-59:~/devstack$ nova quota-show
+-----------------------------+-------+
| Quota | Limit |
+-----------------------------+-------+
| instances | 10 |
| cores | 20 |
| ram | 51200 |
| floating_ips | 10 |
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes | 255 |
| key_pairs | 100 |
| security_groups | 10 |
| security_group_rules | 20 |
| server_groups | 10 |
| server_group_members | 10 |
+-----------------------------+-------+
4)execute quota update with invalid string abcdefg. return nothing, I think here should raise execption.
stack@45-59:~/devstack$ nova quota-update --instances 1000 abcdefg
stack@45-59:~/devstack$
stack@45-59:~/devstack$
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1527083/+subscriptions
Follow ups