Add 'deactivated' status to image schema.

New 'deactivated' status was introduced in Kilo release,
but it doesn't listed in available image statuses in the schema.

It leads to issues  on the client side, when it can't validate
the image with this status against the schema and returns the error.

Change-Id: I5ec264614ae7ecf54b846ad0600442a18c61d24c
Closes-bug: #1505218
Related-bug: #1505134
This commit is contained in:
Mike Fedosin 2015-10-12 15:34:54 +03:00
parent c5b6901527
commit 69516fad5f
1 changed files with 1 additions and 1 deletions

View File

@ -824,7 +824,7 @@ def get_base_properties():
'type': 'string',
'description': _('Status of the image (READ-ONLY)'),
'enum': ['queued', 'saving', 'active', 'killed',
'deleted', 'pending_delete'],
'deleted', 'pending_delete', 'deactivated'],
},
'visibility': {
'type': 'string',