public URL should be required on endpoint-create

Bug #1246335 reported by Dolph Mathews
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Medium
huangtianhua

Bug Description

Originally reported in bug 1245342 by Zhang Yun--

From the "help" to get the parameter list as below:
[root@osee12-compute01 ˜]# keystone help endpoint-create
usage: keystone endpoint-create [--region <endpoint-region>] --service
                                <service> [--publicurl <public-url>]
                                [--adminurl <admin-url>]
                                [--internalurl <internal-url>]

From the help, the "--service" parameter is mandatory, but when only setting service name in command , it prompts this error:
[root@osee12-compute01 ˜]# keystone endpoint-create --region RegionOne --service 5680c529a8b049d086f4a39d2a0bff5b
publicurl field is required and cannot be empty (HTTP 400)

So the "-publicurl " also should set as mandatory, without the bracket.

Dolph Mathews (dolph)
Changed in python-keystoneclient:
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Triaged
Changed in python-keystoneclient:
assignee: nobody → huangtianhua (huangtianhua)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in python-keystoneclient:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/57113
Committed: http://github.com/openstack/python-keystoneclient/commit/f01a38ced8bd82f08f58fba171e12c7b344f0e38
Submitter: Jenkins
Branch: master

commit f01a38ced8bd82f08f58fba171e12c7b344f0e38
Author: huangtianhua <email address hidden>
Date: Tue Nov 19 16:03:11 2013 +0800

    "publicurl" should be required on endpoint-create

    publicurl field is required and cannot be empty when create a endpoint in
    keystone server.So the "--publicurl " also should set as mandatory in
    keystoneclient.

    Change-Id: Ia397c79a28dd3a6ddef141df0f7df30cc0bf7b6c
    Closes-Bug: #1246335

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.4.2
Dolph Mathews (dolph)
Changed in python-keystoneclient:
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.