Roberto,

I've created a ticket for this issue (http://dev.zenoss.org/trac/ticket/1053).

--Ian

Roberto Parra wrote:
Ian,
i run it by error.
It give error on a Cisco Router.
I don't have modified code on it.
Roberto
------------------------------------------------------------------------
*Da:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *Per conto di *Ian McCracken
*Inviato:* mercoledì 7 marzo 2007 14.43
*A:* General discussion of using zenoss system
*Oggetto:* Re: [zenoss-users] CheckRelations.py

Roberto,

A few questions to help narrow it down:

* What makes you run CheckRelations?
* It's looking for a 'dependencies' relationship on Device, which doesn't exist. Have you perhaps added or changed code that could cause that?

--Ian

Roberto Parra wrote:
Hi,
running "python /usr/local/zenoss/Products/ZenUtils/CheckRelations.py --repair /zport/dmd/"
with the r4192 from trunk we have this error:
INFO:zen.Relations:checking relation: deviceClass
INFO:zen.Relations:checking relation: monitors
INFO:zen.Relations:checking relation: perfServer
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenUtils/CheckRelations.py", line 66, in ?
    tmbk.rebuild()
File "/usr/local/zenoss/Products/ZenUtils/CheckRelations.py", line 34, in rebuild
    object.checkRelations(repair=repair)
File "/usr/local/zenoss/Products/ZenRelations/RelationshipManager.py", line 240, in checkRelations
    rel.checkRelation(repair)
File "/usr/local/zenoss/Products/ZenRelations/ToManyRelationship.py", line 238, in checkRelation
    rname = self.remoteName()
File "/usr/local/zenoss/Products/ZenRelations/RelationshipBase.py", line 117, in remoteName
    schema = self.__primary_parent__.lookupSchema(self.id)
File "/usr/local/zenoss/Products/ZenRelations/RelationshipManager.py", line 221, in lookupSchema
    raise ZenSchemaError("Schema for relation %s not found on %s" %
Products.ZenRelations.Exceptions.ZenSchemaError: Schema for relation dependencies not found on Device Regards
Roberto
------------------------------------------------------------------------

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

------------------------------------------------------------------------

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to