Hardware sync state changes are logged as AUDIT
Bug #2062141 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
High
|
Christian Grabowski |
Bug Description
Using MAAS 3.5, and looking at at the event logs, I see a lot of these messages:
{
"node": "fnbpk6",
"id": 55553,
"type": "Node PCI Device hardware sync state change",
},
First of all, we shouldn't log these as AUDIT.
But furthermore, we seem to log a lot of these message, even though nothing has change. See bug 2051988.
Related branches
~cgrabowski/maas:fix_lp2051988_hardware_sync_updates_without_change
Merged
into
maas:master
- Jack Lloyd-Walters: Approve
- MAAS Lander: Approve
-
Diff: 408 lines (+286/-21)3 files modifiedsrc/metadataserver/builtin_scripts/hooks.py (+56/-14)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+223/-0)
src/provisioningserver/events.py (+7/-7)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 3.6.0 |
description: | updated |
no longer affects: | maas/3.5 |
Changed in maas: | |
assignee: | nobody → Christian Grabowski (cgrabowski) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.