exkev wrote:
>
> Code:
> >>> dmd.Devices.reIndex()
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/srv/zenoss/Products/ZenModel/DeviceClass.py", line 731, in reIndex
> dev.index_object()
> File "/srv/zenoss/Products/ZenModel/ZenModelRM.py", line 315, in
> index_object
> cat.catalog_object(self, self.getPrimaryId())
> File "usr/local/zenoss/lib/python/Products/ZCatalog/ZCatalog.py", line 567,
> in catalog_object
> File "usr/local/zenoss/lib/python/Products/ZCatalog/Catalog.py", line 360,
> in catalogObject
> File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 231, in
> index_object
> val= self._evaluate(obj)
> File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 574, in
> _evaluate
> return self._standardizeValue(v,object)
> File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 578, in
> _standardizeValue
> return self._standardizeTerm(value,object,1)
> File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 534, in
> _standardizeTerm
> value = self._prenormalizeTerm(value, object)
> File "/srv/zenoss/Products/ManagableIndex/ManagableIndex.py", line 557, in
> _prenormalizeTerm
> return normalizer._normalize(value, object)
> File "/srv/zenoss/Products/ManagableIndex/Evaluation.py", line 132, in
> _normalize
> return evaluator._evaluate(value,object)
> File "/srv/zenoss/Products/ManagableIndex/Evaluation.py", line 86, in
> _evaluate
> v= EvalAndCall.inheritedAttribute('_evaluate')(self,value,object)
> File "/srv/zenoss/Products/ManagableIndex/Evaluation.py", line 58, in
> _evaluate
> return expr(context)
> File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
> line 185, in __call__
> File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
> line 173, in _eval
> File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
> line 127, in _eval
> File "usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py",
> line 334, in restrictedTraverse
> AttributeError: 'int' object has no attribute 'lower'
>
>
>
> Buh?
>
>
And now something even more ugly. This device was in the db and collecting fine
for the last 4 months or so. Everything after it (tds16..32) are broken now
too.
Code:
Type: AttributeError
Value: 'NoneType' object has no attribute 'id'
Traceback (innermost last):
* Module ZPublisher.Publish, line 114, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Products.ZenModel.ZenModelBase, line 66, in __call__
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /zport/deviceStatus used for
/zport/dmd/Devices/Server/Linux/TDS/devices/tds17.ut2>
...snip...
# Module Products.PageTemplates.TALES, line 227, in evaluateText
# Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenModel/skins/zenmodel/deviceStatus.pt
Line 33, Column 20
Expression: standard:'here/availability'
Names:
{'container': <ZentinelPortal at /zport>,
..snip...
Code:
$ zenmodeler run --now -F -d tds15.ut2
INFO:zen.ZenModeler:starting collector loop
INFO:zen.ZenModeler:collecting for device tds15.ut2
Traceback (most recent call last):
File "/srv/zenoss/Products/DataCollector/zenmodeler.py", line 468, in ?
dc.main()
File "/srv/zenoss/Products/DataCollector/zenmodeler.py", line 455, in main
self.mainLoop()
File "/srv/zenoss/Products/DataCollector/zenmodeler.py", line 434, in mainLoop
self.devicegen = iter([self.resolveDevice(self.options.device)])
File "/srv/zenoss/Products/DataCollector/zenmodeler.py", line 130, in
resolveDevice
raise DataCollectorError("device %s not found" % dname)
Exceptions.DataCollectorError: device tds15.ut2 not found
If I look at /zport/dmd/Devices/Server/Linux/TDS/devices/tds15.ut2/manage,
there are properties etc.
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=18525#18525
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users