Created
December 17, 2014 18:38
-
-
Save hkumarmk/193a1609e12ebb4e546e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Keystone erroring out on an off with below exception. I see that /usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1782 expect self._args None and if not, it just throws this exception, when this happens, I see self._args value is set to empty list. I was working with Rohit to fix this and adding empty list to the condition actually fixing this error. | |
>>> The following change is fixing this issue | |
1780c1780 | |
+ if self._args is not None and self._args != []: | |
- if self._args is not None: | |
>>>> Here is the exceptions I get (first line is something I print the value of self._args) | |
[Wed Dec 17 13:44:41.892956 2014] [:error] [pid 21093:tid 140338682623744] SELF._ARGS:= [] | |
[Wed Dec 17 13:45:18.289993 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] mod_wsgi (pid=21093): Target WSGI script '/usr/lib/cgi-bin/keystone/ma | |
in' cannot be loaded as Python module. | |
[Wed Dec 17 13:45:18.290003 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] mod_wsgi (pid=21093): Exception occurred processing WSGI script '/usr/ | |
lib/cgi-bin/keystone/main'. | |
[Wed Dec 17 13:45:18.290027 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] Traceback (most recent call last): | |
[Wed Dec 17 13:45:18.290051 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] File "/usr/lib/cgi-bin/keystone/main", line 37, in <module> | |
[Wed Dec 17 13:45:18.290092 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] config.configure() | |
[Wed Dec 17 13:45:18.290105 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] File "/usr/lib/python2.7/dist-packages/keystone/common/config.py", line 694, in configure | |
[Wed Dec 17 13:45:18.290140 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] help='Do not monkey-patch threading system modules.')) | |
[Wed Dec 17 13:45:18.290153 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1625, in __inner | |
[Wed Dec 17 13:45:18.290171 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] result = f(self, *args, **kwargs) | |
[Wed Dec 17 13:45:18.290181 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1782, in register_cli_opt | |
[Wed Dec 17 13:45:18.290197 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] raise ArgsAlreadyParsedError("cannot register CLI option") | |
[Wed Dec 17 13:45:18.290224 2014] [:error] [pid 21093:tid 140338682623744] [remote 10.0.0.207:44] ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue only comes when the keystone run with mod_wsgi