Ticket #3529 (closed defect: Fixed)

Opened 5 months ago

Last modified 4 weeks ago

Zendisc error when discovering device that already exists

Reported by: ian Owned by: ecn
Priority: 2 - High Milestone: Blue Crab
Component: ZenHub Version: 2.2.3
Keywords: zenoss-2.2.4-verified Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Any/All Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

Traceback (most recent call last): 
File "/Users/ian/zenoss/Products/DataCollector/zendisc.py", line 267, in inner 
result = driver.next() File "/Users/ian/zenoss/Products/ZenUtils/Driver.py", line 58, in next raise ex RemoteException: Remote exception: exceptions.AttributeError: 'str' object has no attribute 'getId'Traceback (most recent call last): File "/Users/ian/zenoss/Products/ZenHub/PBDaemon.py", line 47, in inner return callable(*args, **kw) File "/Users/ian/zenoss/Products/ZenHub/services/DiscoverService.py", line 145, in remote_createDevice return self.createDeviceProxy(e.dev), False File "/Users/ian/zenoss/Products/ZenHub/services/ModelerService.py", line 36, in createDeviceProxy result.id = dev.getId() AttributeError: 'str' object has no attribute 'getId' 

Not sure if the issue is restricted to already existing devices, but that's the only remotely notable thing about this discovery. The existing device's name was the IP address.

Attachments

Picture 6.png (242.0 kB) - added by ian 5 months ago.
Screenshot of network discovery

Change History

Changed 5 months ago by bbibeault

  • keywords zenoss-2.2.4-proposed removed
  • reviewed changed from 0 to 1

Ian, please confirm this is in 2.2, and, if it is, please mark the keyword field 2.2.

Changed 5 months ago by ian

  • keywords zenoss-2.2.4-proposed added

Changed 5 months ago by ian

Screenshot of network discovery

Changed 5 months ago by edahl

  • keywords zenoss-2.2.4-rejected added; zenoss-2.2.4-proposed removed

Changed 5 months ago by edahl

  • priority changed from blocker to high

Changed 5 months ago by ecn

  • status changed from new to closed
  • resolution set to fixed

(In [9843]) * fixes #3529: discover throws exception when device exists

reviewed by Erik

Changed 4 months ago by edahl

  • keywords zenoss-2.2.4-accepted added; zenoss-2.2.4-rejected removed

Changed 4 months ago by ian

(In [10038]) Refs #3529: Backported r9843 to the zenoss-2.2.x branch

Changed 4 months ago by ian

  • keywords zenoss-2.2.4-patched added; zenoss-2.2.4-accepted removed

Changed 4 months ago by ian

r9844 is needed as well

Changed 4 months ago by ian

(In [10042]) Refs #3529: Backporting r9844 to the zenoss-2.2.x branch

Changed 4 months ago by ian

  • keywords zenoss-2.2.4-verified added; zenoss-2.2.4-patched removed

Verified in build 61, el5.x86_64 RPM.

Changed 4 weeks ago by bbibeault

  • installer set to Any/All
  • milestone changed from zenoss-2.3 to Blue Crab
Note: See TracTickets for help on using tickets.