Help text not displayed without a running glance server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Medium
|
wangxiyuan |
Bug Description
the help commands about "md-namespace" and "md-resource-
such as:
$ glance help md-namespace-create
usage: glance md-namespace-create <NAMESPACE> <unavailable>
Create a new metadata definitions namespace.
Positional arguments:
<NAMESPACE> Name of the namespace.
<unavailable> Please run with connection parameters set to retrieve the
we will get a <unavailable> message. The reason is that the schema files doesn't work.
See https:/
That bug fixed image schema, but the namespace and resource_type still have the problem.
Changed in python-glanceclient: | |
assignee: | nobody → wangxiyuan (wangxiyuan) |
description: | updated |
Changed in python-glanceclient: | |
status: | New → In Progress |
Changed in python-glanceclient: | |
importance: | Undecided → Medium |
Reviewed: https:/ /review. openstack. org/269496 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=d3de9ed16a1 6403598d1962b37 bb79577be23270
Committed: https:/
Submitter: Jenkins
Branch: master
commit d3de9ed16a16403 598d1962b37bb79 577be23270
Author: wangxiyuan <email address hidden>
Date: Tue Jan 19 16:31:36 2016 +0800
Ship the default metadata schema in the client
Now the help message of namespace and resource_type are wrong, create" .
we could see a <unavailable> error when try to get the help
information, such as "glance help md-namespace-
See the patch[1] to get more information. the patch[1] added
image schema, but the metadata schema are needed as well.
This patch adds the current metadata schema into client, so that
help text can't be rendered when there schema is not available in
the system.
[1]: https:/ /review. openstack. org/#/c/ 209536/ 3
Change-Id: I2ab94d8768114a 7e5c475310ba094 af653627658
Closes-Bug: #1536430