service-create allows null names and type

Bug #932296 reported by Anthony Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Unassigned

Bug Description

Steps to reproduce:

keystone --token secrete --endpoint http://127.0.0.1:35357/v2.0/ service-create

Expected:

Error, stating that name and type are required.

Actual:

+-------------+----------------------------------+
| Property | Value |
+-------------+----------------------------------+
| description | None |
| id | 4c76d9ff39eb4356946370b392505d7e |
| name | None |
| type | None |
+-------------+----------------------------------+

Tags: redux
Revision history for this message
Dolph Mathews (dolph) wrote :

Marking as invalid because this appears to have been fixed sometime prior to the cut of e4.

$ keystone service-create
usage: keystone service-create --name <name> --type <type>
                               [--description <service-description>]
keystone service-create: error: argument --name is required

$ keystone service-create --name=my_name
usage: keystone service-create --name <name> --type <type>
                               [--description <service-description>]
keystone service-create: error: argument --type is required

$ keystone service-create --name=my_name --type=my_type
+-------------+----------------------------------+
| Property | Value |
+-------------+----------------------------------+
| description | None |
| id | 80e44006f6b040aa98d0a3e90b05ee81 |
| name | my_name |
| type | my_type |
+-------------+----------------------------------+

Changed in keystone:
status: New → Invalid
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.