v0.9 keystone-manage user delete not working
Bug #877504 reported by
Jason Hedden
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Dolph Mathews |
Bug Description
Is this a known issue, or do I have something wrong in my environment?
# keystone-manage --version
keystone-manage 0.9
# keystone-manage user help
add, disable, delete, and list are the only supported commands (right now)
# keystone-manage user delete demo
ERROR: unrecognized command user delete
Changed in keystone: | |
assignee: | nobody → Dolph Mathews (dolph) |
Changed in keystone: | |
status: | In Progress → Fix Committed |
tags: | added: diablo-backport |
Changed in keystone: | |
milestone: | none → essex-1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
This is both an issue with command-line feedback and possibly a gap with the keystone-manage feature set.
- We don't support deleting users.
- We *do* support disabling users.
- We also don't support enabling users.
As a first pass at this, I've slightly improved the messages as follows:
$ ./keystone-manage user help
Supported commands: add, list, disable, delete, grant, revoke
$ ./keystone-manage user delete demo
Action not supported for users
The problem here is that 'help' isn't a supported command at all, and it's just responding with the entire supported list of verbs, regardless of what type of object you're operating on (so you'd get the same response from 'keystone-manage user asdf').
This might be a good excuse to refactor the management API to be a little more OO... which would be a step towards... dun dun dun... making it EXTENSIBLE!