keystoneclient endpoint-create should require service_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Dolph Mathews |
Bug Description
It doesn't make sense to try to attempt to create an endpoint without referencing a service. Currently, this results in a server-side failure (a default value of None is assumed when it's not required).
$ keystone endpoint-create
Could not find service: None (HTTP 404)
It would make a bit *more* sense if service_id was the only *required* option, as region can be logically defaulted:
$ keystone endpoint-create
usage: keystone endpoint-create [--region <endpoint-region>] --service_id
keystone endpoint-create: error: argument --service_id is required
This successfully produces an endpoint (albeit without any URL's, but I think that's another issue being discussed on the mailing list (https:/
$ keystone endpoint-create --service_
+--
| Property | Value |
+--
| adminurl | None |
| id | fb6c1aab4ed04c9
| internalurl | None |
| publicurl | None |
| region | regionOne |
| service_id | 34d34a251eea431
+--
Changed in keystone: | |
importance: | Undecided → Low |
assignee: | nobody → Dolph Mathews (dolph) |
Changed in keystone: | |
milestone: | none → folsom-2 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | folsom-2 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/6729
Review: https:/