nova quota update command doesn't complain when tenant name is given instead of tenant-id

Bug #1434317 reported by Mohan Seri on 2015-03-19
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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

Mohan Seri (mohan-seri) wrote :
affects: django-openstack-auth → horizon
Mohan Seri (mohan-seri) on 2015-03-20
affects: horizon → nova
Changed in nova:
assignee: nobody → Anand Shanmugam (anand1712)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Anand Shanmugam (anand1712) wrote :

The quota-update command doesn't take a tenant-name.It takes only a tenant-id as an argument

nova help quota-update
usage: nova quota-update [--user <user-id>] [--instances <instances>]
                         .....
                         .....
                         .....
                         <tenant-id>
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.

summary: - nova quota update command does not work with tenant name
+ nova quota update command doesn't complain when tenant name is given
+ instead of tenant-id
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)
Maciej Szankin (mszankin) wrote :

Removing assignee due to lack of visible progress. Feel free to reassign if it is not the case.

Changed in nova:
assignee: Abhishek Talwar (abhishek-talwar) → nobody
Changed in nova:
assignee: nobody → Varshini Katta (varshini)
aishwarya (bkaishwarya) on 2017-03-27
Changed in nova:
assignee: Varshini Katta (varshini) → aishwarya (bkaishwarya)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints

Bug attachments