luci fails to start with error "TypeError: serve() got an unexpected keyword argument" in RHEL 6
Issue
-
I unable to start luci on one of the cluster node in two node cluster and showing No PID file /var/run/luci/luci.pid
# service luci start Start luci... [ OK ] Point your web browser to https://node1.example.com:8084 (or equivalent) to access luci # service luci status No PID file /var/run/luci/luci.pid
-
There is an error in /var/log/luci/luci.log
/usr/lib/python2.6/site-packages/tw/core/view.py:223: DeprecationWarning: object.__new__() takes no parameters obj = object.__new__(cls, *args, **kw) Starting server in PID 37556. Traceback (most recent call last): File "/usr/bin/paster", line 9, in <module> load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')() File "/usr/lib/python2.6/site-packages/paste/script/command.py", line 84, in run invoke(command, command_name, options, args[1:]) File "/usr/lib/python2.6/site-packages/paste/script/command.py", line 123, in invoke exit_code = runner.run(args) File "/usr/lib/python2.6/site-packages/paste/script/command.py", line 218, in run result = self.command() File "/usr/lib/python2.6/site-packages/paste/script/serve.py", line 303, in command serve() File "/usr/lib/python2.6/site-packages/paste/script/serve.py", line 287, in serve server(app) File "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 151, in server_wrapper **context.local_conf) File "/usr/lib/python2.6/site-packages/paste/deploy/util/fixtypeerror.py", line 57, in fix_call val = callable(*args, **kw) File "/usr/lib/python2.6/site-packages/paste/httpserver.py", line 1342, in server_runner serve(wsgi_app, **kwargs) TypeError: serve() got an unexpected keyword argument 'node' Removing PID file /var/run/luci/luci.pid
Environment
- Red Hat Enterprise Linux (RHEL) 6
- luci-0.23.0-13.el6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.