CRUD domains is not in help information

Bug #1365505 reported by Marcos Lobo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Low
Terry Howe

Bug Description

$ yum list python-openstackclient
python-openstackclient.noarch 0.3.1-2.el6 @openstack-icehouse

The information about CRUD domains is not in help information but you can execute commands like:
$ openstack --os-token ADMIN --os-url="http://localhost:5000/v3" --os-identity-api-version=3 domain set --disable mydomain
$ openstack --os-token ADMIN --os-url="http://localhost:5000/v3" --os-identity-api-version=3 domain delete mydomain

If you type:
$ openstack -h

You obtain all the information http://paste.openstack.org/show/105787/ but nothing about domains.

affects: openstack-ci → python-openstackclient
Revision history for this message
Terry Howe (thowe-g) wrote :

Most likely, you do not have v3 identity available or you have OS_IDENTITY_API_VERSION=2.0 set. Help is based off the available commands for your configuration.

Changed in python-openstackclient:
status: New → Invalid
assignee: nobody → Terry Howe (thowe-g)
Revision history for this message
Steve Martinelli (stevemar) wrote :

as Terry said, do the following:

  export OS_IDENTITY_API_VERSION=3

and you will see all the v3 related help information when you perform `$ openstack -h`

By default we still use v2.0 since that is what devstack defaults to, when that changes, then we will change over to v3 by default.

Revision history for this message
Marcos Lobo (marcos-fermin-lobo) wrote :

Thanks a lot but, how did you know that? I've check the help information several times and I didn't find nothing about that trick. Could be a good idea to put some of this information in help python-openstackclient command?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/119376

Changed in python-openstackclient:
status: Invalid → In Progress
Dean Troyer (dtroyer)
Changed in python-openstackclient:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-openstackclient (master)

Change abandoned by Terry Howe (<email address hidden>) on branch: master
Review: https://review.openstack.org/119376
Reason: leave this for the docs.

Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m5
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/119577
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=f7357b7fe78b7d7afe099a867d1dca14b19f8bc1
Submitter: Jenkins
Branch: master

commit f7357b7fe78b7d7afe099a867d1dca14b19f8bc1
Author: Dean Troyer <email address hidden>
Date: Sat Sep 6 14:32:47 2014 -0500

    Update docs and release notes for 0.4.1 release

    Closes-Bug: 1365505
    Change-Id: I027d263ba9980715454b034a37733c5ff23fd169

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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