User enable status consider everything as false except specific word 'true'
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 | 2c0000e4b99547b
| name | xyz123 |
| username | xyz123 |
+------
Changed in keystone: | |
assignee: | nobody → Deliang Fan (vanderliang) |
Changed in keystone: | |
assignee: | Deliang Fan (vanderliang) → nobody |
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.