Hi all,

I did a bit of a device rename, using zendmd, this morning, using some 
information I grabbed from the forums, and it's resulted in a slight bit of 
corruption. I can't view anything that refers to the affected device, and when 
I try and get a listing of all devices, I get the error below. Has anyone got a 
suggestion on what I might be able to do to fix it?

Cheers,
andrew

$ zendmd
2009-08-05 09:58:49 WARNING OFS.Application Duplicate Product name
After loading Product 'Five' from '/opt/zenoss/Products',
I skipped the one in '/opt/zenoss/lib/python/Products'.

Welcome to the Zenoss dmd command shell!
'dmd' is bound to the DataRoot. 'zhelp()' to get a list of commands.
>>> for d in dmd.Devices.getSubDevices():
...    print "%s (%s)" % (d.id, d.manageIp)
... 
Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "/opt/zenoss/Products/ZenModel/DeviceOrganizer.py", line 116, in 
getSubDevices
    return list(devices)
  File "/opt/zenoss/Products/ZenModel/DeviceOrganizer.py", line 113, in <lambda>
    devices = ifilter(lambda dev:self.checkRemotePerm(ZEN_VIEW, dev),
  File "/opt/zenoss/Products/ZenModel/ZenModelBase.py", line 318, in 
checkRemotePerm
    return user.has_permission(permission, robject.primaryAq())
  File "/opt/zenoss/Products/ZenRelations/PrimaryPathObjectManager.py", line 
80, in primaryAq
    return getObjByPath(app, self.getPrimaryPath())
  File "/opt/zenoss/Products/ZenUtils/Utils.py", line 290, in getObjByPath
    raise NotFound( name )
NotFound: deathstar
>>>




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=37650#37650

-------------------- m2f --------------------



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

Reply via email to