Update driver metadata definitions to Juno

vmware and libvirt support different hw_vif_model settings.
This patch updates them so that each namespace can specify
the models they support.

vmware api is updated with the vmware_disktype

Change-Id: Iec5901097c9621a052a930b99d5cbe7872d4f3ff
Closes-bug: 1370767
Fix missing space in user_storage_quota help message

Add a missing space in the help message for the user_storage_quota config
parameter.

Closes-Bug: #1373268
Change-Id: I5462b85047ec322f9c795778fccbe4fd41365a98
Add missing metadefs for shutdown behavior

The following Nova patch adds support for graceful shutdown
of a guest VM and allows setting timeout properties on images.
The properties should be updated in the Metadata Definitions catalog.

https://review.openstack.org/#/c/68942/

Change-Id: I58145d9d0114b3932b63263ea123c4662146d14b
Closes-bug: 1368036
Imported Translations from Transifex

Change-Id: Ia093b6e16db47fb18370ae5618dd6d837f39d23e
Switch to oslo.utils

Change-Id: I47dc734c6d6e2ab99c25701ae3492acd5e442212
Switch to oslo.serialization

Change-Id: I983bb5b6e2c7fbbd8556ff0f99212803cb0269e9
Use ID for namespace generated by DB

In current implementation ID that is used in namespace to
insert data to DB is generated by built-in function - enumerate.
This causes problems with loading the metadata when there are already
namespaces in DB.

This patch removes 'enumerate' and asks for namespace ID
generated by database.

Change-Id: I235c6310077526cafb898ac007c3601b4d66c9fe
Closes-Bug: #1367771
Co-Authored-By: Bartosz Fic <bartosz.fic@intel.com>
Co-Authored-By: Pawel Koniszewski <pawel.koniszewski@intel.com>
Merge "Update driver metadata definitions to Juno"
Updated from global requirements

Change-Id: Ib5943dac98089f4f1aae6bf5b0109595a2bb166f
Merge "Imported Translations from Transifex"
Metadef Property and Object schema columns should use JSONEncodedDict

The MetadefProperty and MetadefObject ORM classes currently specify the
JSON schema columns as type Text. It is preferred to use the
JSONEncodedDict Type Decorator instead. This fix also includes necessary
code changes to remove JSON encoding/decoding that was previously done
in other layers. Fixes for unit tests involving the schema columns are
also included.

Change-Id: I2c574210f8d62c77a438afab83ff80f3e5bd2fe7
Closes-Bug: 1368479
Minor style tidy up in metadata code

Replace an if/else that spans many lines with a 'continue' for
legibility.

Change-Id: I2510197b39b2df53720339ee950a46ef80cd5c6f
Merge "Add missing metadefs for shutdown behavior"
g-api raises 500 error while uploading image

If both filesystem_store_datadirs and filesystem_store_datadir parameters
specified in glance-api.conf file then while creating new image 500
internal server error is raised.

Caught StoreAddDisabled exception for v1 and v2 api while uploading
image and raised HTTPGone exception to return HTTP 410 response to
user.

Closes-Bug: #1372888
Change-Id: Iccbf5b88634d3c956d41e8d8a0126648c64b34eb
Merge "Fix missing space in user_storage_quota help message"
Incorrect parameters passed

Incorrect parameters sequence is passed to
delete_from_backend() method.

delete_from_backend(self.admin_context, uri) in this
method uri should be the first argument instead of
self.admin_context.

Closes-Bug:1378640
Change-Id: Iebc30bad4f201dde75f2e8fe9b56e20c007c772b
Merge "Updated from global requirements"
Merge "Use ID for namespace generated by DB"
Merge "Minor style tidy up in metadata code"
Fix for Adopt glance.store library in Glance

The store module is removed from glance project and new glance_store
module is created, but the glance project code was not updated
properly for the required changes.

The exception (UnknownScheme) was moved to glance_store, but in
glance image-create api (v1), it still refers to
exception.UnknownScheme in get_store_or_400 method.

Change-Id: I09e78b92d2d44a659412361b4f03b4a988714bf5
Closes-Bug: 1373454