Ticket #3388 (closed defect: Fixed)
ZenPack install/remove needs to reindex Events, Mibs and Manufacturers
| Reported by: | cluther | Owned by: | jstevens |
|---|---|---|---|
| Priority: | 1 - Blocker | Milestone: | zenoss-2.3 |
| Component: | ZenModel | Version: | 2.2.0 |
| Keywords: | zenoss-2.2.3-verified | Cc: | |
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Maintenance Target: | ||
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
If a ZenPack contains event class mappings or products a reindex of dmd.Events or dmd.Manufacturers needs to be called after they are added or removed.
One example of what goes wrong currently without this behavior is as follows:
- I add a few hardware models and OS versions to the NetApp Manufacturer for the NetAppMonitor ZenPack.
- I install NetAppMonitor onto another Zenoss system.
- I add a NetApp device to this new Zenoss system.
- Even if the productKey from this NetApp device matches the one I installed with the ZenPack a new one with the same productKey will be created in the Unknown manufacturer.
The reason for this is that the findProduct method of ManufacturerRoot is being called, which uses the productKey catalog.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.