Now that we have stable branches for clients, it's easier to keep track
of the current default image's schema in Glance and update it
respectively. This patch adds the current image schema, including the
schema-properties.
One good reason to do this is to be able to react when a running Glance
instance is not around to be introspected. It's really unfortunate that
things like help text can't be rendered when there image schema is not
available in the system.
We could keep the schema in a json file but rather than shipping data
files with glanceclient we can just have it in the python modules.
Conflicts:
glanceclient/v2/shell.py
Change-Id: I9b8cc1d18d6717ccf991fb8149ab13c06d653ee4
Closes-bug: #1481729
(cherry picked from commit 3949e0e918e2501c4953a7d9beb58511688d84e1)
Reviewed: https:/ /review. openstack. org/212038 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=e7a801d54aa e4a5d9c85888816 5b431c5854132a
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit e7a801d54aae4a5 d9c858888165b43 1c5854132a
Author: Flavio Percoco <email address hidden>
Date: Thu Aug 6 00:19:48 2015 +1000
Ship the default image schema in the client
Now that we have stable branches for clients, it's easier to keep track properties.
of the current default image's schema in Glance and update it
respectively. This patch adds the current image schema, including the
schema-
One good reason to do this is to be able to react when a running Glance
instance is not around to be introspected. It's really unfortunate that
things like help text can't be rendered when there image schema is not
available in the system.
We could keep the schema in a json file but rather than shipping data
files with glanceclient we can just have it in the python modules.
Conflicts: nt/v2/shell. py
glanceclie
Change-Id: I9b8cc1d18d6717 ccf991fb8149ab1 3c06d653ee4 c4953a7d9beb585 11688d84e1)
Closes-bug: #1481729
(cherry picked from commit 3949e0e918e2501