User enable status consider everything as false except specific word 'true'

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

Bug Description

Issue:
While creating user using keystone command the optional parameter 'enable' consider every word as false except the word 'true'. Where as per the specification it should except either word 'false' or 'true' only, in other case it should give error.

steps:
1) use version V2 for authentication.
2) use following command to for creating user:
     #keystone user-create --name xyz123 --enable tru
3) list the user details
    #keystone user-get xyz123
    +----------+----------------------------------+
| Property | Value |
+----------+----------------------------------+
| email | |
| enabled | False |
| id | 2c0000e4b99547bd92921709730bf62e |
| name | xyz123 |
| username | xyz123 |
+----------+----------------------------------+

Changed in keystone:
assignee: nobody → Deliang Fan (vanderliang)
Revision history for this message
Steve Martinelli (stevemar) wrote :

use openstackclient for this, the use of `keystone' has been deprecated, i'm surprised you are not receiving error/deprecation warnings when using that command.

in openstackclient, it would be `openstack user create xyz123` with --enable and --disable being FLAGS and not options like in keystoneclient.

Changed in keystone:
status: New → Invalid
Changed in keystone:
assignee: Deliang Fan (vanderliang) → nobody
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.