← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1163161] Re: nova quota-update can update quota for a non-exist tenant

 

*** This bug is a duplicate of bug 1118066 ***
    https://bugs.launchpad.net/bugs/1118066

** This bug is no longer a duplicate of bug 1037373
   any value for quota project id can be updated
** This bug has been marked a duplicate of bug 898820
   nova-manage project quota command confusing with keystone

-- 
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/1163161

Title:
  nova quota-update can update quota for a non-exist tenant

Status in OpenStack Compute (Nova):
  New

Bug description:
  Test procedure:

  1. check the tenant of your openstack

  [root@sco-svt opt]# keystone tenant-list
  +----------------------------------+---------+---------+
  |                id                |   name  | enabled |
  +----------------------------------+---------+---------+
  | 26df64cc1d2d4df4b04a8acd0f86cf15 | service |   true  |
  | 84ca1c4ffb8d4aa9918d41e5fce642a7 |  admin  |   true  |
  +----------------------------------+---------+---------+
  2. run nova quota-update to update a quota for a non-exist tenant.
  nova quota-update --instance 40 --cores 40 --ram 409600 --volumes 160 --floating-ips 100 diaojuan
  [root@sco-svt opt]# nova quota-show diaojuan
  +-----------------------------+--------+
  | Property                    | Value  |
  +-----------------------------+--------+
  | cores                       | 40     |
  | floating_ips                | 100    |
  | gigabytes                   | 1000   |
  | injected_file_content_bytes | 10240  |
  | injected_files              | 5      |
  | instances                   | 40     |
  | metadata_items              | 128    |
  | ram                         | 409600 |
  | volumes                     | 160    |
  +-----------------------------+--------+

  3.  Expected result: the update will failed Because diaojuan is not
  the exist tenant-id.

       Actual result: it can be successfully executed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1163161/+subscriptions