analyze return multiple bootRecords for single real boot
Bug #1930956 reported by
Haitao Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
cloud-init analyze show return me multiple boot records, while I just have 1.
- CloudProvider is Azure
- default (I didn't tune anything)
- attached
Changed in cloud-init: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
/cloudinit/ analyze/ show.py
```
if event_type(event) == 'start':
if event.get('name') in stages_seen:
```
if a event name is repeated (start and finish multiple times).
and it's not finished right away(child event will break this condition), finish the event right away won't push the event to stages_seen.
then its considered as new boot record.