[2.6, events] duplicate events for the same action for START/FINISH
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Newell Jensen |
Bug Description
Curtin and cloud-init send both START and FINISH events of the same name as we can see in the following log. However, it is really not necessary to store both, rather, we should just storage the START event, and the FAILURE event.
Wed, 08 May. 2019 23:38:11 Node installation - 'curtin' configuring installed system
Wed, 08 May. 2019 23:38:11 Node installation - 'curtin' running 'curtin curthooks' ***
Wed, 08 May. 2019 23:38:11 Node installation - 'curtin' curtin command curthooks
Wed, 08 May. 2019 23:38:10 Node installation - 'curtin' running 'curtin curthooks' ***
For eexample, instead of the above, we should see:
Wed, 08 May. 2019 23:38:11 Node installation - 'curtin' configuring installed system
Wed, 08 May. 2019 23:38:11 Node installation - 'curtin' curtin command curthooks
Wed, 08 May. 2019 23:38:10 Node installation - 'curtin' running 'curtin curthooks'
In the case of failure, we should see:
Wed, 08 May. 2019 23:38:11 Node installation - 'curtin' configuring installed system
***Wed, 08 May. 2019 23:38:11 Node installation - ********** Failed running 'curtin curthooks'
Wed, 08 May. 2019 23:38:11 Node installation - 'curtin' curtin command curthooks
Wed, 08 May. 2019 23:38:10 Node installation - 'curtin' running 'curtin curthooks'
Related branches
- Lee Trager (community): Approve
- Blake Rouse (community): Approve
-
Diff: 100 lines (+39/-11)2 files modifiedsrc/metadataserver/api_twisted.py (+5/-4)
src/metadataserver/tests/test_api_twisted.py (+34/-7)
Changed in maas: | |
milestone: | none → 2.6.0rc1 |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- [2.6] duplicate events for the same action for START/FINISH + [2.6, events] duplicate events for the same action for START/FINISH |
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |