Ticket #2960 (closed defect: Fixed)

Opened 8 months ago

Last modified 8 weeks ago

OS Process modeling/monitoring exhibiting strange behavior

Reported by: rak Owned by: ecn
Priority: 1 - Blocker Milestone: zenoss-2.3
Component: DataCollector Version: 2.2.0
Keywords: zenoss-2.2.2-verified Cc:
Community Patch Attached: Deployed @ Customer:
Installer: Maintenance Target:
Specific ZenPack: Maintenance Status:
Documentation Note?: Not required Regression:

Description

Modeling a device running monitored processes yields an alternating result each time the device is modeled. While the OSProcess RRD graphs are created, performance data is not collected on an ongoing basis.

To see this in action:

  • Go to raklap
  • Go to the OS tab on the raklap device
  • Note the OS Processes
  • Model raklap
  • Note the OS Processes
  • Model again and see the OS processes

rak

Change History

Changed 8 months ago by edahl

  • owner changed from edahl to ecn
  • component changed from ZenModel to DataCollector

we saw some issues like this in austin last week

Changed 5 months ago by ecn

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

(In [9565]) * fixes #2960

  • some objects don't have an id until *after* they are created
  • remove these created objects from the list of items that should be deleted

Changed 5 months ago by ecn

(In [9566]) * fixes #2960

  • some objects don't have an id until *after* they are created
  • remove these created objects from the list of items that should be deleted

Changed 5 months ago by cluther

  • keywords zenoss-2.2.2-proposed added; zenoss-2.2-proposed removed
  • status changed from closed to reopened
  • version changed from 2.1.3 to 2.2.0
  • resolution fixed deleted
  • severity changed from low to critical

I get the following stack trace coming back to zenmodeler from zenhub after applying changeset r9566. This happens whether or not the device currently has any processes.

INFO:zen.ZenModeler:processing zenoss.snmp.HRFileSystemMap for device localhost
ERROR:zen.ZenModeler:Client localhost finished: [Failure instance: Traceback (failure with no frames): Products.ZenHub.PBDaemon.RemoteException: Remote exception: exceptions.ValueError: list.remove(x): x not in listTraceback (most recent call last):
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 47, in inner
    return callable(*args, **kw)
  File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 83, in remote_applyDataMaps
    if adm._applyDataMap(device, map):
  File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 140, in _applyDataMap
    changed = self._updateRelationship(tobj, datamap)
  File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 176, in _updateRelationship
    if obj: relids.remove(obj.id)
ValueError: list.remove(x): x not in list

Changed 5 months ago by ecn

  • keywords zenoss-2.2.2-patched added; zenoss-2.2.2-proposed removed

reviewed w/marc

Changed 5 months ago by ecn

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

fixed with r9569 r9570

Changed 5 months ago by ecn

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

Changed 8 weeks ago by bbibeault

  • reviewed set to 1
Note: See TracTickets for help on using tickets.