Allow description to be set for service create/update

Bug #1404997 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Lin Hua Cheng

Bug Description

For keystone V3, the description field is not exposed for create and update service. It is available in the V2 API though.

Service still have Description available as part of its attribute, based on the spec: http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#services-v3-services

$ export OS_IDENTITY_API_VERSION=3
$ export OS_AUTH_URL=http://localhost:5000/v3

And adding:
$ export OS_PROJECT_DOMAIN_ID=default
$ export OS_USER_DOMAIN_ID=default

usage: service create [-h] [-f {html,json,shell,table,value,yaml}] [-c COLUMN]
                      [--max-width <integer>] [--prefix PREFIX]
                      [--name <service-name>] [--enable | --disable]
                      <service-type>

Description should be exposed for update as well

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

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

commit 36ab944d2ecac5227880a6b09b4184bff4c0aba8
Author: lin-hua-cheng <email address hidden>
Date: Mon Dec 22 15:09:09 2014 -0800

    Allow service description to be set for KS V3

    Change-Id: Ibf84882c9a9f408268c225190436fc1a534e1017
    Closes-Bug: #1404997

Changed in python-openstackclient:
status: New → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m7
Changed in python-openstackclient:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
importance: Undecided → Medium
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.