Discussion:
Issues with zenoss 4.2.4 gui after login
Ryan Rowe
2013-10-23 22:54:34 UTC
Permalink
Ryan Rowe [http://community.zenoss.org/people/Rowelax] created the discussion

"Issues with zenoss 4.2.4 gui after login"

To view the discussion, visit: http://community.zenoss.org/message/75049#75049

--------------------------------------------------------------
I keep getting a traceback in my zenhub.log and on the screen right after I login.  I have tried restarting the services, killing all zenoss processes, restarting rabbitmq, and restarting mysql.  It seems like nothing I have tried is working.  Here is my traceback that happens after I login:

Type: <class 'zenoss.protocols.services.ServiceResponseError'>
Value: Service Unavailable
Traceback (most recent call last): File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish request, bind=1) File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply if debug is not None: return debug(object,args,context) File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object result=apply(object,args) # Type s<cr> to step into published object. File "/opt/zenoss/lib/python/Products/Five/browser/metaconfigure.py", line 476, in __call__ return self.index(*args, **kw) File "/opt/zenoss/lib/python/Products/Five/browser/pagetemplatefile.py", line 125, in __call__ return self.im_func(im_self, *args, **kw) File "/opt/zenoss/Products/ZenWidgets/FileGzipper.py", line 82, in __call__ return original(self, __instance, *args, **keywords) File "/opt/zenoss/lib/python/Products/Five/browser/pagetemplatefile.py", line 59, in __call__ sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0), File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 132, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 240, in __call__ interpreter() File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 266, in __call__ self.interpret(self.program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal structure = self.engine.evaluateStructure(expr) File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure text = super(ZopeContext, self).evaluateStructure(expr) File "/opt/zenoss/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/opt/zenoss/lib/python/zope/contentprovider/tales.py", line 80, in __call__ return provider.render() File "/opt/zenoss/Products/ZenUI3/utils/javascript.py", line 28, in render raw_js = '\n'.join(v.render() for v in self.viewlets) File "/opt/zenoss/Products/ZenUI3/utils/javascript.py", line 28, in <genexpr> raw_js = '\n'.join(v.render() for v in self.viewlets) File "/opt/zenoss/Products/ZenUI3/utils/javascript.py", line 40, in render return self.snippet() File "/opt/zenoss/Products/ZenUI3/browser/eventconsole/grid.py", line 221, in snippet defs = column_config(self.request, archive=archive) File "/opt/zenoss/Products/ZenUI3/browser/eventconsole/grid.py", line 176, in column_config columns = _find_column_definitions(archive) File "/opt/zenoss/Products/ZenUI3/browser/eventconsole/grid.py", line 132, in _find_column_definitions details = getFacade('zep').getUnmappedDetails() File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 683, in getUnmappedDetails return getDetailsInfo().getUnmappedDetails() File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 838, in getUnmappedDetails self._initDetails() File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 796, in _initDetails response, content = self._configClient.getDetails() File "/opt/zenoss/lib/python/zenoss/protocols/services/zep.py", line 257, in getDetails return self.client.get('index_details') File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 181, in get return self._request(path, method='GET', params=params, headers=headers) File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 160, in _request response, content = self._executeRequest(request) File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 154, in _executeRequest raise ServiceResponseError(response.reason, response.status, request, response, content) ServiceResponseError: Service Unavailable
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75049#75049]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ryan Rowe
2013-10-24 05:27:33 UTC
Permalink
Ryan Rowe [http://community.zenoss.org/people/Rowelax] created the discussion

"Re: Issues with zenoss 4.2.4 gui after login"

To view the discussion, visit: http://community.zenoss.org/message/75050#75050

--------------------------------------------------------------
Here is the error that is is my zenhub.log:

Products.ZenHub.PBDaemon.RemoteException: Remote exception: <class 'zenoss.protocols.services.ServiceResponseErr
or'>: Service Unavailable: Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
    return callable(*args, **kw)
  File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 95, in remote_getDeviceConfig
    result.append(self.createDeviceProxy(device, skipModelMsg))
  File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 61, in createDeviceProxy
    plugin.copyDataToProxy(dev, result)
  File "/opt/zenoss/Products/DataCollector/plugins/CollectorPlugin.py", line 131, in copyDataToProxy
    proxy._snmpStatus = device.getSnmpStatus()
  File "/opt/zenoss/Products/ZenModel/DeviceResultInt.py", line 108, in getSnmpStatus
    return dev.getStatus(Status_Snmp)
  File "/opt/zenoss/Products/ZenModel/Device.py", line 2250, in getStatus
    return super(Device, self).getStatus(statusclass, **kwargs)
  File "<string>", line 2, in getStatus
  File "/opt/zenoss/Products/ZenModel/EventView.py", line 38, in inner
    return func(self, *args, **kwargs)
  File "/opt/zenoss/Products/ZenModel/EventView.py", line 190, in getStatus
    result = zep.getEventSummaries(0, filter=event_filter, limit=0)
  File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 370, in getEventSummaries
    offset=offset, limit=limit
  File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 318, in _getEventSummaries
    response, content = source(offset=offset, limit=limit)
  File "/opt/zenoss/lib/python/zenoss/protocols/services/zep.py", line 60, in getEventSummaries
    return self.client.post('', body=request)
  File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 175, in post
    return self._request_with_body(path, method='POST', body=body, params=params, headers=headers)
  File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 170, in _request_with_body
    response, content = self._executeRequest(request)
  File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 154, in _executeRequest
    raise ServiceResponseError(response.reason, response.status, request, response, content)
ServiceResponseError: Service Unavailable
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75050#75050]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jcurry
2013-10-25 14:02:19 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: Issues with zenoss 4.2.4 gui after login"

To view the discussion, visit: http://community.zenoss.org/message/75082#75082

--------------------------------------------------------------
I think the issue is with the events subsystem.  You say you have restarted rabbit - have you checked that the queues are good?  As the root user, try:

rabbitmqctl -p /zenoss list_queues

You should see about 10 queues and they should probably all be empty.  If you don't get these then reset your rabbit queues.  See http://community.zenoss.org/message/71139#71139 http://community.zenoss.org/message/71139#71139  .

Is this a new install?  Has it ever worked?

I would also look at the zeneventd.log as that should be doing the initial event processing.  In desperation, try zeneventserver.log but this is a Java daemon (the only non-Python daemon) and I rarely find anything useful in there among the Java crud - but maybe you do better with Java.

Cheers,
Jane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75082#75082]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...