Merge "[proxy-api] microversion 2.39 deprecates image-metadata proxy API"

This commit is contained in:
Jenkins
2016-12-07 21:17:03 +00:00
committed by Gerrit Code Review
21 changed files with 263 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ Response
- limits: limits
- absolute: limits_absolutes
- maxImageMeta: metadata_items
- maxImageMeta: image_metadata_items
- maxPersonality: injected_files
- maxPersonalitySize: injected_file_content_bytes
- maxSecurityGroupRules: security_group_rules

View File

@@ -2370,6 +2370,15 @@ image_id_body:
in: body
required: true
type: string
image_metadata_items:
description: |
The number of allowed metadata items for each image. Starting from
version 2.39 this field is dropped from 'os-limits' response, because
'image-metadata' proxy API was deprecated.
in: body
required: true
type: integer
max_version: 2.38
image_name:
description: |
The display name of an Image.

View File

@@ -219,6 +219,10 @@ If the operation succeeds, the created image has a status of ``active`` and
the server status returns to the original status. You can also see the new
image in the image back end that OpenStack Image service manages.
.. note::
Starting from version 2.39 the image quota enforcement with Nova `metadata`
is removed and quota checks should be performed using Glance API directly.
**Preconditions**
The server must exist.

View File

@@ -26,6 +26,10 @@ Policy defaults enable only users with the administrative role or the
owner of the server to perform this operation. Cloud providers can
change these permissions through the ``policy.json`` file.
.. note::
Starting from version 2.39 the image quota enforcement with Nova `metadata`
is removed and quota checks should be performed using Glance API directly.
Normal response codes: 202
Error response codes: badRequest(400), unauthorized(401), forbidden(403),