Merge ~vtqanh/cloud-init:UpdateReporterForAnalyze into cloud-init:master
Proposed by
Anh Vo (MSFT)
Status: | Work in progress |
---|---|
Proposed branch: | ~vtqanh/cloud-init:UpdateReporterForAnalyze |
Merge into: | cloud-init:master |
Diff against target: |
120 lines (+32/-14) 4 files modified
cloudinit/analyze/show.py (+24/-11) cloudinit/cmd/main.py (+1/-1) cloudinit/reporting/events.py (+6/-1) cloudinit/sources/helpers/azure.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Watkins | Needs Fixing | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+370156@code.launchpad.net |
Commit message
analyze: fix poor formatting due to additional datasource events
DataSourceAzure is emitting additional events into the cloud-init
log which causes analyze module to produce somewhat confusing output.
This is due to two issues: 1) DataSourceAzure does not emit the
stage (e.g., init-local) and analyze expects to see it in the event
output. 2) analyze did not correctly process nested stages.
This change saves the stage name into the reporting module so that
other reporter can use it to know which stage it is in and fixes the
analyze module to process multiple levels of nested events.
LP: #1833731
To post a comment you must log in.
PASSED: Continuous integration, rev:e48f66cd212 8b1c15472e96343 45418ae4fd8364 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 780/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 780/rebuild
https:/