Bug #3353
Nodes class and group references are removed when reports are submitted using live reporting aggregation
| Status: | Closed | Start date: | 03/09/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 1.0 | |||
| Keywords: | Affected URL: | |||
| Branch: | Affected Dashboard version: | |||
| Votes: | 0 |
Description
Running: puppet-dashboard github pull today on WEBrick puppet-0.25.4 using passenger external_nodes from puppet-dashboard ubuntu-9.10
When puppet-dashboard inserts reports submitted from nodes it deletes all class and group references for that node. Parameters are left intact.
Log attached showing SQL DELETEs.
History
Updated by Rein Henrichs almost 2 years ago
- Status changed from Unreviewed to Accepted
Updated by Rein Henrichs almost 2 years ago
Thanks for reporting, should be easy to fix.
Updated by Karl Bowden almost 2 years ago
Actually this also happens when using @reports = store@ and then importing with @rake reports:import@ It goes through and deletes all class and group memberships on @report => create@.
Happens after SELECTing a node and before INSERTing a report.
Updated by Rein Henrichs almost 2 years ago
- Status changed from Accepted to In Topic Branch Pending Review
fixed in da48338cc8fe0fa4d016c8ff85379741b8d0a93f of master, please confirm
Updated by Karl Bowden almost 2 years ago
Working well now thank you. Tested with multiple groups, classes, and parameters, with both manual report importing and automatic reporting. No DELETES executed now.
Updated by Rein Henrichs almost 2 years ago
- Status changed from In Topic Branch Pending Review to Closed
Updated by Igal Koshevoy over 1 year ago
- Target version set to 1.0