← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: liberty-backport-potential

** Attachment added: "keystone.conf"
   https://bugs.launchpad.net/bugs/1516946/+attachment/4520499/+files/keystone.conf

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

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


Follow ups