Conga shows all services as stopped even though they are running in RHEL 5
Issue
- When conecting to the luci web page it shows all of the services as stopped, but clustat shows the services as started.
- Starting, stopping, migrating, or otherwise managing services in Conga fails
- The luci event log shows multiple tracebacks
2010-04-14T16:15:23 ERROR Zope.SiteErrorLog https://conga.example.com:8084/luci/cluster/index_html
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.PageTemplates.ZopePageTemplate, line 255, in _exec
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <ZopePageTemplate at /luci/cluster/index_html>
Module TAL.TALInterpreter, line 238, in __call__
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 728, in do_defineMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 780, in do_defineSlot
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 728, in do_defineMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 749, in do_useMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 728, in do_defineMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 749, in do_useMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 715, in do_condition
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 715, in do_condition
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 749, in do_useMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 511, in do_setGlobal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: /luci/cluster/cluster_svc-macros
- Line 30, Column 1
- Expression: <PythonExpr here.getServicesInfo(svcstatus,modelb,request)>
- Names:
{'container': <Folder at /luci/cluster>,
'context': <Folder at /luci/cluster>,
'default': <Products.PageTemplates.TALES.Default instance at 0x2b655179d638>,
'here': <Folder at /luci/cluster>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x2aaaace10200>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x2b655179da70>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x2aaaace10200>,
'request': <HTTPRequest, URL=https://usorl03p305.ww007.siemens.net:8084/luci/cluster/index_html>,
'root': <Application at >,
'template': <ZopePageTemplate at /luci/cluster/index_html>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: here.getServicesInfo(svcstatus,modelb,request)
Module Python expression "here.getServicesInfo(svcstatus,modelb,request)", line 1, in <expression>
Module Products.ExternalMethod.ExternalMethod, line 232, in __call__
- __traceback_info__: (([{'votes': '[unknown]', 'name': 'CPDXEN1', 'minQuorum': '[unknown]', 'alias': 'CPDXEN1', 'error': True, 'quorate': '[unknown]', 'type': 'cluster'}, {'clustered': '[unknown]', 'error': True, 'type': 'node', 'name': 'node1.example.com', 'online': '[unknown]'}, {'clustered': '[unknown]', 'error': True, 'type': 'node', 'name': 'node2.example.com', 'online': '[unknown]'}, {'clustered': '[unknown]', 'error': True, 'type': 'node', 'name': 'node3.example.com', 'online': '[unknown]'}, {'clustered': '[unknown]', 'error': True, 'type': 'node', 'name': 'node4.example.com', 'online': '[unknown]'}, {'clustered': '[unknown]', 'error': True, 'type': 'node', 'name': 'node5.example.com', 'online': '[unknown]'}], None, <HTTPRequest, URL=https://conga.example.com:8084/luci/cluster/index_html>), {}, None)
Module LuciClusterInfo, line 222, in getServicesInfo
AttributeError: 'NoneType' object has no attribute 'getNodes'
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: /luci/cluster/cluster_svc-macros
- Line 486, Column 1
- Expression: <PythonExpr here.serviceStop(ricci_agent, request)>
- Names:
{'container': <Folder at /luci/cluster>,
'context': <Folder at /luci/cluster>,
'default': <Products.PageTemplates.TALES.Default instance at 0x2ab3aa21f638>,
'here': <Folder at /luci/cluster>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x142b45f0>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x2ab3aa21fa70>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x142b45f0>,
'request': <HTTPRequest, URL=https://usorl03p305.ww007.siemens.net:8084/luci/cluster/index_html>,
'root': <Application at >,
'template': <ZopePageTemplate at /luci/cluster/index_html>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: here.serviceStop(ricci_agent, request)
Module Python expression "here.serviceStop(ricci_agent, request)", line 1, in <expression>
Module Products.ExternalMethod.ExternalMethod, line 232, in __call__
- __traceback_info__: ((None, <HTTPRequest, URL=https://conga.example.com:8084/luci/cluster/index_html>), {}, None)
Module cluster_adapters, line 1437, in serviceStop
Module LuciClusterActions, line 106, in StopCluSvc
Module RicciQueries, line 520, in stopService
AttributeError: 'NoneType' object has no attribute 'batch_run'
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: /luci/cluster/cluster_svc-macros
- Line 450, Column 1
- Expression: <PythonExpr here.serviceStart(ricci_agent, request)>
- Names:
{'container': <Folder at /luci/cluster>,
'context': <Folder at /luci/cluster>,
'default': <Products.PageTemplates.TALES.Default instance at 0x2ab3aa21f638>,
'here': <Folder at /luci/cluster>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x14106b90>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x2ab3aa21fa70>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x14106b90>,
'request': <HTTPRequest, URL=https://conga.exmaple.com:8084/luci/cluster/index_html>,
'root': <Application at >,
'template': <ZopePageTemplate at /luci/cluster/index_html>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: here.serviceStart(ricci_agent, request)
Module Python expression "here.serviceStart(ricci_agent, request)", line 1, in <expression>
Module Products.ExternalMethod.ExternalMethod, line 232, in __call__
- __traceback_info__: ((None, <HTTPRequest, URL=https://conga.example.com:8084/luci/cluster/index_html>), {}, None)
Module cluster_adapters, line 1452, in serviceStart
Module LuciClusterActions, line 76, in StartCluSvc
Module RicciQueries, line 482, in startService
AttributeError: 'NoneType' object has no attribute 'batch_run'
Environment
- Red Hat Enterprise Linux (RHEL) 5 with the High Availability Add On
- Conga (luci/ricci) 0.12.2-32.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.