yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #71988
[Bug 1759289] [NEW] keystone-manage token_flush fails unexpectedly
Public bug reported:
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/bin/keystone-manage", line 10, in <module>
ERROR keystone sys.exit(main())
ERROR keystone File "/opt/stack/keystone/keystone/cmd/manage.py", line 45, in main
ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
ERROR keystone File "/opt/stack/keystone/keystone/cmd/cli.py", line 1412, in main
ERROR keystone CONF.command.cmd_class.main()
ERROR keystone File "/opt/stack/keystone/keystone/cmd/cli.py", line 889, in main
ERROR keystone token_manager = token.persistence.PersistenceManager()
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.
[0] https://review.openstack.org/#/c/543060/
** Affects: keystone
Importance: Low
Status: Triaged
** Changed in: keystone
Importance: Undecided => Low
** Changed in: keystone
Status: New => Triaged
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1759289
Title:
keystone-manage token_flush fails unexpectedly
Status in OpenStack Identity (keystone):
Triaged
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/bin/keystone-manage", line 10, in <module>
ERROR keystone sys.exit(main())
ERROR keystone File "/opt/stack/keystone/keystone/cmd/manage.py", line 45, in main
ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
ERROR keystone File "/opt/stack/keystone/keystone/cmd/cli.py", line 1412, in main
ERROR keystone CONF.command.cmd_class.main()
ERROR keystone File "/opt/stack/keystone/keystone/cmd/cli.py", line 889, in main
ERROR keystone token_manager = token.persistence.PersistenceManager()
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.
[0] https://review.openstack.org/#/c/543060/
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1759289/+subscriptions
Follow ups