← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1520321] Re: keystone-manage token_flush command fails

 

Reviewed:  https://review.openstack.org/341165
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=21d868618139872454a1ca63485297a8b42d1cca
Submitter: Jenkins
Branch:    master

commit 21d868618139872454a1ca63485297a8b42d1cca
Author: “Richard <csravelar@xxxxxxxxx>
Date:   Tue Jul 12 19:51:55 2016 +0000

    Improve user experience involving token flush
    
    Currently with the use of memcache it is no longer necessary to use
    the token_flush command. Running this command with KVS driver enabled
    fails and throws a Traceback and NotImplemented errors. For a better
    UX, we allow the implementation to pass and log a warning message
    
    Change-Id: I95addc8df3a39135fb3fe3c63b6b21c1c279ace8
    Closes-Bug: #1520321


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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