← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1212195] Re: Flavor Extra Specs should check Metadata Items Quota

 

It's an admin api so I don't think we need to quota restrict it.

** Changed in: nova
       Status: Triaged => Won't Fix

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

Title:
  Flavor Extra Specs should check Metadata Items Quota

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  The flavor extra specs extension does not actually adhere to any quota restrictions during create.
  The API handles the MetadataLimitExceeded exception 
  (see https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/contrib/flavorextraspecs.py#L76)
  , but it looks like this exception would never get raised.

  By default the Metadata Items quota for a tenant is 128. With the current code, more than 128 flavor extra spec items can be created.
  Either of the two should be done:

  1. Enforce the metadata limit (use _check_metadata_properties_quota() just as used in instance metadata) , Or,
  2. If this limit should not be enforced, then the exception handling code should be removed.

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