Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-2469

ControlPlaneMachineSets are not included in must-gathers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • 4.12.0
    • None
    • CLOUD Sprint 226
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A

    Description

      Description of problem:

      When running `oc adm must-gather` we do not download controlplanemachineset resourecs.
      
      Must gather uses `oc adm inspect` under the hood which looks at cluster operator related resources to identify what it should download. In must-gather, it does this across all namespaces.
      
      When gathering across all namespaces, you cannot set a name for the related object else an error is produced:
      
      error: errors occurred while gathering data:
          skipping gathering controlplanemachinesets.machine.openshift.io/cluster due to error: a resource cannot be retrieved by name across all namespaces
      
      We currently set the name of the CPMS in our related objects so we do not get it included in the gather.

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      100%

      Steps to Reproduce:

      1. oc adm must-gather
      2. Look in the openshift-machine-api folder for a controlplanemachineset
      3.
      

      Actual results:

      It's not there

      Expected results:

      It's there

      Additional info:

       

      Attachments

        Activity

          People

            joelspeed Joel Speed
            joelspeed Joel Speed
            Milind Yadav Milind Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: