frederic poirier
2012-05-09 18:07:19 UTC
frederic poirier [http://community.zenoss.org/people/EnderWiggins] created the discussion
"I dun broke my zenoss"
To view the discussion, visit: http://community.zenoss.org/message/66276#66276
--------------------------------------------------------------
I went and modified my production states and now zopectl throws error:
2012-05-09T13:59:04 ERROR extdirect (200, 'lower')
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenUtils/extdirect/router.py", line 128, in _processDirectRequest
   result = _targetfn(**data)
 File "/opt/zenoss/Products/Zuul/routers/device.py", line 181, in getDevices
   devices, details = facade.getDeviceList(uid, start, limit, sort, dir, params)
 File "/opt/zenoss/Products/Zuul/facades/devicefacade.py", line 147, in getDeviceList
   query=query, hashcheck=hashcheck)
 File "/opt/zenoss/Products/Zuul/tree.py", line 290, in search
   queryResults = self._queryCatalog(types, queryOrderby, reverse, paths, depth, query)
 File "/opt/zenoss/Products/Zuul/tree.py", line 382, in _queryCatalog
   result = self.catalog.evalAdvancedQuery(*args)
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/eval.py", line 40, in eval
   rs = _eval(query, cat)
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/eval.py", line 16, in _eval
   rs = query._eval(_QueryContext(cat))
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/AdvancedQuery.py", line 220, in _eval
   for q in nsq: r = intersection(r, q._eval(context))
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/AdvancedQuery.py", line 233, in _eval
   if len(sqs) >= 4: return multiunion([q._eval(context) for q in sqs])
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/AdvancedQuery.py", line 84, in _eval
   return context._applyIndex(self, term)
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/AdvancedQuery.py", line 279, in _applyIndex
   CatalogSearchArgumentsMap(None, {index:spec})
 File "/opt/zenoss/lib/python/Products/ManagableIndex/ManagableIndex.py", line 362, in _apply_index
   terms= [self._standardizeTerm(t, prenormalize=not match) for t in terms]
 File "/opt/zenoss/lib/python/Products/ManagableIndex/ManagableIndex.py", line 565, in _standardizeTerm
   value = self._prenormalizeTerm(value, object)
 File "/opt/zenoss/lib/python/Products/ManagableIndex/ManagableIndex.py", line 588, in _prenormalizeTerm
   return normalizer._normalize(value, object)
 File "/opt/zenoss/lib/python/Products/ManagableIndex/Evaluation.py", line 132, in _normalize
   return evaluator._evaluate(value,object)
 File "/opt/zenoss/lib/python/Products/ManagableIndex/Evaluation.py", line 86, in _evaluate
   v= EvalAndCall.inheritedAttribute('_evaluate')(self,value,object)
 File "/opt/zenoss/lib/python/Products/ManagableIndex/Evaluation.py", line 58, in _evaluate
   return expr(context)
 File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 217, in __call__
   return self._eval(econtext)
 File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 127, in _eval
   ob = self._subexprs[-1](econtext)
 File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 124, in _eval
   ob = self._traverser(ob, element, econtext)
 File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 79, in boboAwareZopeTraverse
   request=request)
 File "/opt/zenoss/lib/python/zope/traversing/adapters.py", line 138, in traversePathElement
   return traversable.traverse(nm, further_path)
 File "/opt/zenoss/lib/python/zope/traversing/adapters.py", line 52, in traverse
   raise LocationError(subject, name)
LocationError: (200, 'lower')
AND i cant load the infrastructure view anymore, it stays in the "Loading" state....
I searched around but no joy.. any ideas ?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66276#66276]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"I dun broke my zenoss"
To view the discussion, visit: http://community.zenoss.org/message/66276#66276
--------------------------------------------------------------
I went and modified my production states and now zopectl throws error:
2012-05-09T13:59:04 ERROR extdirect (200, 'lower')
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenUtils/extdirect/router.py", line 128, in _processDirectRequest
   result = _targetfn(**data)
 File "/opt/zenoss/Products/Zuul/routers/device.py", line 181, in getDevices
   devices, details = facade.getDeviceList(uid, start, limit, sort, dir, params)
 File "/opt/zenoss/Products/Zuul/facades/devicefacade.py", line 147, in getDeviceList
   query=query, hashcheck=hashcheck)
 File "/opt/zenoss/Products/Zuul/tree.py", line 290, in search
   queryResults = self._queryCatalog(types, queryOrderby, reverse, paths, depth, query)
 File "/opt/zenoss/Products/Zuul/tree.py", line 382, in _queryCatalog
   result = self.catalog.evalAdvancedQuery(*args)
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/eval.py", line 40, in eval
   rs = _eval(query, cat)
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/eval.py", line 16, in _eval
   rs = query._eval(_QueryContext(cat))
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/AdvancedQuery.py", line 220, in _eval
   for q in nsq: r = intersection(r, q._eval(context))
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/AdvancedQuery.py", line 233, in _eval
   if len(sqs) >= 4: return multiunion([q._eval(context) for q in sqs])
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/AdvancedQuery.py", line 84, in _eval
   return context._applyIndex(self, term)
 File "/opt/zenoss/lib/python/Products/AdvancedQuery/AdvancedQuery.py", line 279, in _applyIndex
   CatalogSearchArgumentsMap(None, {index:spec})
 File "/opt/zenoss/lib/python/Products/ManagableIndex/ManagableIndex.py", line 362, in _apply_index
   terms= [self._standardizeTerm(t, prenormalize=not match) for t in terms]
 File "/opt/zenoss/lib/python/Products/ManagableIndex/ManagableIndex.py", line 565, in _standardizeTerm
   value = self._prenormalizeTerm(value, object)
 File "/opt/zenoss/lib/python/Products/ManagableIndex/ManagableIndex.py", line 588, in _prenormalizeTerm
   return normalizer._normalize(value, object)
 File "/opt/zenoss/lib/python/Products/ManagableIndex/Evaluation.py", line 132, in _normalize
   return evaluator._evaluate(value,object)
 File "/opt/zenoss/lib/python/Products/ManagableIndex/Evaluation.py", line 86, in _evaluate
   v= EvalAndCall.inheritedAttribute('_evaluate')(self,value,object)
 File "/opt/zenoss/lib/python/Products/ManagableIndex/Evaluation.py", line 58, in _evaluate
   return expr(context)
 File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 217, in __call__
   return self._eval(econtext)
 File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 127, in _eval
   ob = self._subexprs[-1](econtext)
 File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 124, in _eval
   ob = self._traverser(ob, element, econtext)
 File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 79, in boboAwareZopeTraverse
   request=request)
 File "/opt/zenoss/lib/python/zope/traversing/adapters.py", line 138, in traversePathElement
   return traversable.traverse(nm, further_path)
 File "/opt/zenoss/lib/python/zope/traversing/adapters.py", line 52, in traverse
   raise LocationError(subject, name)
LocationError: (200, 'lower')
AND i cant load the infrastructure view anymore, it stays in the "Loading" state....
I searched around but no joy.. any ideas ?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66276#66276]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]