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

2016-03-08 Thread Dolph Mathews
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 
  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


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

2016-01-25 Thread Matt Fischer
Marking invalid for Puppet due to lack of information per Emilien's
request.

** Changed in: puppet-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):
  New
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 
  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


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

2015-12-10 Thread Tom Verdaat
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 
  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