2015-06-09 10:34:27 |
Stefan Andres |
bug |
|
|
added bug |
2015-06-09 10:35:07 |
Stefan Andres |
description |
When using https://github.com/stackforge/puppet-keystone/commit/c30afe5aef247cd35b110d9778bab91cd63b5f6a which was merged into stable/juno with apache+wsgi, apache won't be able to start the wsgi because of:
[Tue Jun 09 12:31:52.820680 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] mod_wsgi (pid=62367): Target WSGI script '/usr/lib/cgi-bin/keystone/main' cannot be loaded as Python module.
[Tue Jun 09 12:31:52.820701 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] mod_wsgi (pid=62367): Exception occurred processing WSGI script '/usr/lib/cgi-bin/keystone/main'.
[Tue Jun 09 12:31:52.820722 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] Traceback (most recent call last):
[Tue Jun 09 12:31:52.820742 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/cgi-bin/keystone/main", line 39, in <module>
[Tue Jun 09 12:31:52.820772 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] config.configure()
[Tue Jun 09 12:31:52.820781 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/keystone/common/config.py", line 973, in configure
[Tue Jun 09 12:31:52.820795 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] help='Do not monkey-patch threading system modules.'))
[Tue Jun 09 12:31:52.820803 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1625, in __inner
[Tue Jun 09 12:31:52.820815 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] result = f(self, *args, **kwargs)
[Tue Jun 09 12:31:52.820822 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1781, in register_cli_opt
[Tue Jun 09 12:31:52.820833 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] raise ArgsAlreadyParsedError("cannot register CLI option")
[Tue Jun 09 12:31:52.820855 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
The file /usr/share/keystone/keystone-dist-paste.ini does not exist, though /etc/keystone/keystone-paste.ini does. So when using keystone-paste.ini as default, it will work again. |
When using https://github.com/stackforge/puppet-keystone/commit/c30afe5aef247cd35b110d9778bab91cd63b5f6a which was merged into stable/juno with apache+wsgi, apache won't be able to start the wsgi because of:
[Tue Jun 09 12:31:52.820680 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] mod_wsgi (pid=62367): Target WSGI script '/usr/lib/cgi-bin/keystone/main' cannot be loaded as Python module.
[Tue Jun 09 12:31:52.820701 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] mod_wsgi (pid=62367): Exception occurred processing WSGI script '/usr/lib/cgi-bin/keystone/main'.
[Tue Jun 09 12:31:52.820722 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] Traceback (most recent call last):
[Tue Jun 09 12:31:52.820742 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/cgi-bin/keystone/main", line 39, in <module>
[Tue Jun 09 12:31:52.820772 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] config.configure()
[Tue Jun 09 12:31:52.820781 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/keystone/common/config.py", line 973, in configure
[Tue Jun 09 12:31:52.820795 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] help='Do not monkey-patch threading system modules.'))
[Tue Jun 09 12:31:52.820803 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1625, in __inner
[Tue Jun 09 12:31:52.820815 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] result = f(self, *args, **kwargs)
[Tue Jun 09 12:31:52.820822 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1781, in register_cli_opt
[Tue Jun 09 12:31:52.820833 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] raise ArgsAlreadyParsedError("cannot register CLI option")
[Tue Jun 09 12:31:52.820855 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
The file /usr/share/keystone/keystone-dist-paste.ini does not exist, though /etc/keystone/keystone-paste.ini does. So when using /etc/keystone/keystone-paste.ini as default, it will work again. |
|
2015-06-09 10:36:24 |
Stefan Andres |
description |
When using https://github.com/stackforge/puppet-keystone/commit/c30afe5aef247cd35b110d9778bab91cd63b5f6a which was merged into stable/juno with apache+wsgi, apache won't be able to start the wsgi because of:
[Tue Jun 09 12:31:52.820680 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] mod_wsgi (pid=62367): Target WSGI script '/usr/lib/cgi-bin/keystone/main' cannot be loaded as Python module.
[Tue Jun 09 12:31:52.820701 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] mod_wsgi (pid=62367): Exception occurred processing WSGI script '/usr/lib/cgi-bin/keystone/main'.
[Tue Jun 09 12:31:52.820722 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] Traceback (most recent call last):
[Tue Jun 09 12:31:52.820742 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/cgi-bin/keystone/main", line 39, in <module>
[Tue Jun 09 12:31:52.820772 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] config.configure()
[Tue Jun 09 12:31:52.820781 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/keystone/common/config.py", line 973, in configure
[Tue Jun 09 12:31:52.820795 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] help='Do not monkey-patch threading system modules.'))
[Tue Jun 09 12:31:52.820803 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1625, in __inner
[Tue Jun 09 12:31:52.820815 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] result = f(self, *args, **kwargs)
[Tue Jun 09 12:31:52.820822 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1781, in register_cli_opt
[Tue Jun 09 12:31:52.820833 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] raise ArgsAlreadyParsedError("cannot register CLI option")
[Tue Jun 09 12:31:52.820855 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
The file /usr/share/keystone/keystone-dist-paste.ini does not exist, though /etc/keystone/keystone-paste.ini does. So when using /etc/keystone/keystone-paste.ini as default, it will work again. |
When using https://github.com/stackforge/puppet-keystone/commit/c30afe5aef247cd35b110d9778bab91cd63b5f6a which was merged into stable/juno with apache+wsgi, apache won't be able to start the wsgi because of:
[Tue Jun 09 12:31:52.820680 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] mod_wsgi (pid=62367): Target WSGI script '/usr/lib/cgi-bin/keystone/main' cannot be loaded as Python module.
[Tue Jun 09 12:31:52.820701 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] mod_wsgi (pid=62367): Exception occurred processing WSGI script '/usr/lib/cgi-bin/keystone/main'.
[Tue Jun 09 12:31:52.820722 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] Traceback (most recent call last):
[Tue Jun 09 12:31:52.820742 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/cgi-bin/keystone/main", line 39, in <module>
[Tue Jun 09 12:31:52.820772 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] config.configure()
[Tue Jun 09 12:31:52.820781 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/keystone/common/config.py", line 973, in configure
[Tue Jun 09 12:31:52.820795 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] help='Do not monkey-patch threading system modules.'))
[Tue Jun 09 12:31:52.820803 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1625, in __inner
[Tue Jun 09 12:31:52.820815 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] result = f(self, *args, **kwargs)
[Tue Jun 09 12:31:52.820822 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1781, in register_cli_opt
[Tue Jun 09 12:31:52.820833 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] raise ArgsAlreadyParsedError("cannot register CLI option")
[Tue Jun 09 12:31:52.820855 2015] [:error] [pid 62367:tid 140460182050560] [remote 77.247.82.199:52085] ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
The file /usr/share/keystone/keystone-dist-paste.ini does not exist, though /etc/keystone/keystone-paste.ini does. So when using /etc/keystone/keystone-paste.ini as default, it will work again.
Also, the documentation in the puppet module says it's optional, but that it not true since it ships a default value (besides the value being broken) |
|
2015-06-09 14:26:20 |
Emilien Macchi |
puppet-keystone: importance |
Undecided |
High |
|
2015-06-09 14:26:20 |
Emilien Macchi |
puppet-keystone: status |
New |
Confirmed |
|
2015-06-09 16:25:24 |
OpenStack Infra |
tags |
|
in-stable-juno |
|
2015-07-09 01:33:17 |
Matt Fischer |
puppet-keystone: status |
Confirmed |
Fix Committed |
|
2015-07-09 01:34:30 |
Matt Fischer |
puppet-keystone: milestone |
|
5.2.0 |
|
2015-10-15 14:24:44 |
Emilien Macchi |
puppet-keystone: status |
Fix Committed |
Fix Released |
|