TECHZEN Zenoss User Community ARCHIVE  

Getting an error when select Devices under infrastructure menu

Subject: Getting an error when select Devices under infrastructure menu
Author: Nilesh Chavda
Posted: 2018-06-26 07:39

I have deployed Zenoss Core 6.2.0 and then after configured as per configuration guide. I am able to open Control Center and Zenoss Console without any issue and all the services are running fine.

But after login to Zenoss console, when select Devices under Infrastructure I am getting an error as shown in attachment. 

Below are error logs:

Type: <class 'urllib3.exceptions.ProtocolError'> 
Value: ('Connection aborted.', BadStatusLine("''",)) 

Traceback (most recent call last):
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/Publish.py", line 126, in publish
request, bind=1)
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/Publish.py", line 46, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/opt/zenoss/lib/python2.7/site-packages/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
return self.im_func(im_self, *args, **kw)
File "/opt/zenoss/lib/python2.7/site-packages/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/opt/zenoss/lib/python2.7/site-packages/zope/pagetemplate/pagetemplate.py", line 113, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 946, in do_defineSlot
self.interpret(slot)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tal/talinterpreter.py", line 620, in do_insertText_tal
text = self.engine.evaluateText(stuff[0])
File "/opt/zenoss/lib/python2.7/site-packages/Products/PageTemplates/Expressions.py", line 225, in evaluateText
text = self.evaluate(expr)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/opt/zenoss/lib/python2.7/site-packages/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/opt/zenoss/lib/python2.7/site-packages/Products/PageTemplates/Expressions.py", line 155, in _eval
return render(ob, econtext.vars)
File "/opt/zenoss/lib/python2.7/site-packages/Products/PageTemplates/Expressions.py", line 117, in render
ob = ob()
File "/opt/zenoss/Products/ZenUI3/browser/pages.py", line 74, in getTrees
deviceTree = method('/zport/dmd/Devices')
File "/opt/zenoss/Products/Zuul/routers/__init__.py", line 197, in asyncGetTree
severities = zep.getWorstSeverity(uuids)
File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 637, in getWorstSeverity
eventTagSeverities = self._getEventTagSeverities(tags=tagUuids)
File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 721, in _getEventTagSeverities
response, content = self.client.getEventTagSeverities(from_dict(EventFilter, eventFilter))
File "/opt/zenoss/lib/python2.7/site-packages/zenoss/protocols/services/zep.py", line 189, in getEventTagSeverities
return self.client.post('tag_severities', body=event_filter)
File "/opt/zenoss/lib/python2.7/site-packages/zenoss/protocols/services/__init__.py", line 177, in post
return self._request_with_body(path, method='POST', body=body, params=params, headers=headers)
File "/opt/zenoss/lib/python2.7/site-packages/zenoss/protocols/services/__init__.py", line 172, in _request_with_body
response, content = self._executeRequest(request)
File "/opt/zenoss/lib/python2.7/site-packages/zenoss/protocols/services/__init__.py", line 132, in _executeRequest
headers=request.headers, timeout=self._default_timeout, retries=0)
File "/opt/zenoss/lib/python2.7/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/opt/zenoss/lib/python2.7/site-packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/opt/zenoss/lib/python2.7/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/opt/zenoss/lib/python2.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse(buffering=True)
File "/usr/lib64/python2.7/httplib.py", line 1089, in getresponse
response.begin()
File "/usr/lib64/python2.7/httplib.py", line 444, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.7/httplib.py", line 408, in _read_status
raise BadStatusLine(line)
ProtocolError: ('Connection aborted.', BadStatusLine("''",))


------------------------------
Nilesh Chavda
Sr. Lead
Zensar Technologies Ltd.
------------------------------

Attachments:

zenoss-6.2.0-26062018.png



Subject: RE: Getting an error when select Devices under infrastructure menu
Author: Jane Curry
Posted: 2018-06-26 09:41

Can you open the events console.  There is stuff in that stack trace that suggests it has having trouble in getting worstSeverities from zep - zep being the events database.
Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Getting an error when select Devices under infrastructure menu
Author: Jay Stanley
Posted: 2018-06-29 20:33

Are any of the services in Control Center not started or failing health checks?

------------------------------
jstanley
------------------------------


< Previous
Performance graphs not rendering in Core 5.3.0
  Next
troubleshooting backup/restore problems by creating much smaller backups
>