image metadata is limited by server metadata quota

Bug #785228 reported by Mark Washenberger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Unassigned

Bug Description

If you look in nova/api/openstack/image_metadata

 44 def _check_quota_limit(self, context, metadata):
 45 if metadata is None:
 46 return
 47 num_metadata = len(metadata)
 48 quota_metadata = quota.allowed_metadata_items(context, num_metadata)
 49 if quota_metadata < num_metadata:
 50 expl = _("Image metadata limit exceeded")
 51 raise exc.HTTPBadRequest(explanation=expl)

The metadata_items quota was created for server metadata and not image metadata. We either need to create a new quota type for image metadata or depend on glance for this metadata limit.

This may not seem like a big deal but the current 1.1 spec plans involve reporting different limits for each type of metadata. Maybe we just need to adjust the plan here?

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sean Dague (sdague) wrote :

confirmed with markwash this is super old. closing.

Changed in nova:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.