← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1516946] Re: keystone WSGI fail: ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option

 

Some more details on this:

Was running the keystone public and admin endpoints within the same
Apache Vhost (e.g. on the same port) with separate paths like this:

https://github.com/openstack/puppet-
keystone/blob/master/examples/apache_with_paths.pp

That's broken for Liberty :(

Running keystone endoints as WSGI scripts in Apache on different ports,
hence with separate vhosts does work.

** Also affects: puppet-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/1516946

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

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

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


References