Skip to content

support bundle ereport directories must be namespaced by part #8765

@hawkw

Description

@hawkw

In #8739, the code for collecting ereports into support bundles stores the ereports in directories for each serial number from which an ereport was received. Unfortunately, @rmustacc reminds me that I had failed to consider that 0XV1 serial numbers are only unique within the namespace of a particular part, and not globally --- so (for example) a switch and a compute sled may have colliding serials. This means that the current code could incorrectly group ereports reported by two totally different devices. While the ereport JSON files do contain additional information that includes the part number and other identifying information, and restart IDs are additionally capable of distinguishing between reporters, putting ereports from two different systems within the same directory still has the potential to be quite misleading.

Thus, we should probably change this to namespace the ereport directory by which part generated an ereport in addition to the serial number, so that two different devices with colliding serials go in different directories.

Metadata

Metadata

Assignees

Labels

bugSomething that isn't working.support-bundlesSupport bundles

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions