-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
None
-
None
-
None
-
CLOUD Sprint 268, CLOUD Sprint 269, CLOUD Sprint 270, CLOUD Sprint 271
User Story
As anyone debugging machine issues in must-gather, I want all the relevant cluster API resources to be gathered so that can properly investigate cluster API issues.
The objects we want to gather are: Cluster, MachineSet, MachineDeployment, InfraCluster, InfraMachine, InfraMachineTemplate. (any others?)
Note: Infra Prefixed Objects are different for each cloud:
eg: for Azure it would be: AzureCluster, AzureMachine, AzureMachineTemplate.
Background
https://github.com/openshift/must-gather/blob/master/collection-scripts/gather
^ must-gather config
https://github.com/mgugino-upstream-stage/machine-api-operator/blob/0ef489307a35e0400ca3be10b78e30a13687ca04/pkg/operator/status.go#L161-L176
^ This relatedObjects used to have machinesets and machines, not sure how they are gathered now. Maybe doing something similar in cluster-capi-operator?
This was also discussed during one of the internal CAPI calls, notes for that call and recording are here: https://docs.google.com/document/d/18_l7J_0kGXqaaEnyW0Ju4n6yCy6mne5_f-Og2CX3YlE/edit?tab=t.0#heading=h.2bcw1yko5sot (MAY 23, 2024)
Steps
- Check that the list of objects is complete
- Investigate optimal way to configure the objects to gather
(Ideally, we would not have to add each platform objects individually) - Create PR and get it merged.
- Verify new CI tech preview jobs have the expected must gather.
Stakeholders
- <Who is interested in this/where did they request this>
Definition of Done
- <Add items that need to be completed for this card>
- Docs
- <Add docs requirements for this card>
- Testing
- <Explain testing that will be added>
- links to