keystone-manage token_flush fails unexpectedly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Lance Bragstad |
Bug Description
The UUID token provider and SQL token storage driver were removed when Rocky opened for development [0]. The keystone-manage token_flush command was not removed with the rest of the code. As a result, if you run keystone-manage token_flush, you'll get an unexpected error:
> keystone-manage token_flush
CRITICAL keystone [-] Unhandled error: AttributeError: 'module' object has no attribute 'persistence'
ERROR keystone Traceback (most recent call last):
ERROR keystone File "/usr/local/
ERROR keystone sys.exit(main())
ERROR keystone File "/opt/stack/
ERROR keystone cli.main(
ERROR keystone File "/opt/stack/
ERROR keystone CONF.command.
ERROR keystone File "/opt/stack/
ERROR keystone token_manager = token.persisten
ERROR keystone AttributeError: 'module' object has no attribute 'persistence'
ERROR keystone
Even though we've advertised the removal of UUID and SQL token storage for a long time, and people shouldn't be relying on this anymore, we should either fix this or remove the token_flush command.
Changed in keystone: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in keystone: | |
milestone: | none → rocky-1 |
Fix proposed to branch: master /review. openstack. org/556889
Review: https:/