yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51238
[Bug 1520321] Re: keystone-manage token_flush command fails
I also added keystone to this bug report. Running token_flush shouldn't
fail like that, regardless if fernet is the token provider. At minimum,
I think we could make keystone-manage catch the NotImplemented exception
and log a warning message.
** Also affects: keystone
Importance: Undecided
Status: New
--
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/1520321
Title:
keystone-manage token_flush command fails
Status in Fuel for OpenStack:
Fix Released
Status in OpenStack Identity (keystone):
New
Bug description:
Description:
===========
The token flush command fails on MOS 8.0 build #207
(launch by the crontab /etc/cron.hourly/keystone)
To reproduce:
=============
run this command on a controller node:
su -c '/usr/bin/keystone-manage token_flush' keystone
No handlers could be found for logger "oslo_config.cfg"
Log: /var/log/keystone/keystone-manage.log
2015-11-26 17:13:39.145 670 WARNING oslo_log.versionutils [-] Deprecated: direct import of driver is deprecated as of Liberty in favor of entrypoints and may be removed in N.
2015-11-26 17:13:39.153 670 INFO keystone.common.kvs.core [-] Using default dogpile sha1_mangle_key as KVS region token-driver key_mangler
2015-11-26 17:13:39.156 670 CRITICAL keystone [-] NotImplemented: The action you have requested has not been implemented.
2015-11-26 17:13:39.156 670 ERROR keystone Traceback (most recent call last):
2015-11-26 17:13:39.156 670 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2015-11-26 17:13:39.156 670 ERROR keystone sys.exit(main())
2015-11-26 17:13:39.156 670 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/manage.py", line 47, in main
2015-11-26 17:13:39.156 670 ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
2015-11-26 17:13:39.156 670 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 685, in main
2015-11-26 17:13:39.156 670 ERROR keystone CONF.command.cmd_class.main()
2015-11-26 17:13:39.156 670 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 244, in main
2015-11-26 17:13:39.156 670 ERROR keystone token_manager.flush_expired_tokens()
2015-11-26 17:13:39.156 670 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/token/persistence/backends/kvs.py", line 356, in flush_expired_tokens
2015-11-26 17:13:39.156 670 ERROR keystone raise exception.NotImplemented()
2015-11-26 17:13:39.156 670 ERROR keystone NotImplemented: The action you have requested has not been implemented.
2015-11-26 17:13:39.156 670 ERROR keyston
Expected result:
no error
To manage notifications about this bug go to:
https://bugs.launchpad.net/fuel/+bug/1520321/+subscriptions