Help text not displayed without a running glance server

Bug #1536430 reported by wangxiyuan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Medium
wangxiyuan

Bug Description

the help commands about "md-namespace" and "md-resource-type-associate" don't work now.

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
                 schema for generating help for this command

we will get a <unavailable> message. The reason is that the schema files doesn't work.
See https://bugs.launchpad.net/python-glanceclient/+bug/1481729 to get detail information.

That bug fixed image schema, but the namespace and resource_type still have the problem.

wangxiyuan (wangxiyuan)
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/269496
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=d3de9ed16a16403598d1962b37bb79577be23270
Submitter: Jenkins
Branch: master

commit d3de9ed16a16403598d1962b37bb79577be23270
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,
    we could see a <unavailable> error when try to get the help
    information, such as "glance help md-namespace-create".

    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: I2ab94d8768114a7e5c475310ba094af653627658
    Closes-Bug: #1536430

Changed in python-glanceclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-glanceclient 2.1.0

This issue was fixed in the openstack/python-glanceclient 2.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.