I've run into this myself.

This is the result of using outdated WSGI startup scripts. As part of
your upgrade process, you must switch to the ones from the release
you're trying to deploy.

This is because keystone has refactored some responsibilities out of
those WSGI scripts, so your scripts are now redundant with what Keystone
is trying to do.

** Changed in: keystone
       Status: Incomplete => Invalid

-- 
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/1516946

Title:
  keystone WSGI fail: ArgsAlreadyParsedError: arguments already parsed:
  cannot register CLI option

Status in OpenStack Identity (keystone):
  Invalid
Status in puppet-keystone:
  Invalid

Bug description:
  Upgrade from Kilo to Liberty broke Keystone. Was running just fine as
  WSGI on Apache with Kilo. Provisioned a new test cluster using puppet-
  keystone master branch and getting the following error:

  mod_wsgi (pid=28386): Target WSGI script '/usr/lib/cgi-bin/keystone/main' 
cannot be loaded as Python module.
  mod_wsgi (pid=28386): Exception occurred processing WSGI script 
'/usr/lib/cgi-bin/keystone/main'.
  Traceback (most recent call last):
    File "/usr/lib/cgi-bin/keystone/main", line 25, in <module>
      application = wsgi_server.initialize_application(name)
    File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 51, 
in initialize_application
      common.configure()
    File "/usr/lib/python2.7/dist-packages/keystone/server/common.py", line 31, 
in configure
      config.configure()
    File "/usr/lib/python2.7/dist-packages/keystone/common/config.py", line 
1200, in configure
      help='Do not monkey-patch threading system modules.'))
    File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1824, in 
__inner
      result = f(self, *args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1999, in 
register_cli_opt
      raise ArgsAlreadyParsedError("cannot register CLI option")
  ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1516946/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to