nova quota update command doesn't complain when tenant name is given instead of tenant-id
Bug #1434317 reported by
Mohan Seri
This bug report is a duplicate of:
Bug #1118066: Nova should confirm quota requests against Keystone.
Edit
Remove
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Low
|
aishwarya |
Bug Description
nova quota-update --instances 8 <<Tenant ID>> - Updates Instances Quota on Horizon UI (Identity > Projects > Edit Project > Quota)
nova quota-update --instances 8 <<Tenant Name>> - DOES NOT Update Instances Quota on Horizon UI (Identity > Projects > Edit Project > Quota)
1. Update with Tenant ID in CLI and Show with Tenant ID from CLI : Pass
2. Update with Tenant Name in CLI and Show with Tenant Name from CLI: Pass
3. Update with Tenant ID in CLI and View from Horizon: Pass
4. Update with Tenant Name in CLI and View from Horizon: Fail
affects: | horizon → nova |
Changed in nova: | |
assignee: | nobody → Anand Shanmugam (anand1712) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: quotas |
Changed in nova: | |
assignee: | Anand Shanmugam (anand1712) → nobody |
Changed in nova: | |
assignee: | nobody → Tomofumi Nogami (tomofumi-nogami) |
Changed in nova: | |
assignee: | Tomofumi Nogami (tomofumi-nogami) → Abhishek Talwar (abhishek-talwar) |
Changed in nova: | |
assignee: | nobody → Varshini Katta (varshini) |
Changed in nova: | |
assignee: | Varshini Katta (varshini) → aishwarya (bkaishwarya) |
To post a comment you must log in.
The quota-update command doesn't take a tenant-name.It takes only a tenant-id as an argument
nova help quota-update
... ..
... ..
... ..
<tenant- id>
usage: nova quota-update [--user <user-id>] [--instances <instances>]
Positional arguments:
<tenant-id> ID of tenant to set the quotas for.
But there is a bug in this cli as the nova quota-update creates a new quota table with the tenant-id as the tenant name given along with the command.Normally it should say that it cannot find the tenant-id and throw an error.So not moving this bug to invalid state.