XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      We'd like to utilize a new feature for gathering must-gather info.
      Instead of adding each image to the `oc adm must-gather` cli we'd like to use the new `--all-images` flag.
      In order for that flag to work an annotation needs to be added to each of our operators.

      *For more context I'm attaching the content of the mail we received about that below:
      *

      Hello Dragonfly team,

      I'm reaching out on this address since it's mentioned as maintainer for these
      must-gather images [0]. I work on the OpenShift Virtualization team and we
      recently added a feature to `oc` CLI tool's `oc adm must-gather` command.

      Currently, `oc adm must-gather --image <image-1> --image <image-2>` helps
      collect must-gather using the plugin images passed as CLI arguments. In the
      last quarter we proposed [1] and added [2] the `--all-images` flag to this
      command that checks the OCP cluster for Operators annotated with
      `operators.openshift.io/must-gather-image`. E.g. the CNV Operator would be
      annotated as below:

      ```
      operators.openshift.io/must-gather-image: registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel9:<image-digest>
      ```

      When Operators are annotated this way, using `oc adm must-gather --all-images`
      will collect a must-gather for all plugin images using their default command.
      Benefits of using this command:

      1. Single `-all-images` flag instead of multiple `-image` flags.
      2. If more Operators deployed on OCP use this annotation, it could help reduce
      back and forth between the technical support & customers.
      3. It could help in scenario where customers can't collect multiple
      must-gathers, e.g., disconnected/remote OCP clusters.

      More info on this epic [3].

      Would you be willing to opt-in to this mechanism so our support folks have it
      easier to work on customer cases? We'd be more than happy to help in any way
      needed.

      [0] https://catalog.redhat.com/software/containers/search?gs&q=workload-availability%20must-gather
      [1] https://github.com/openshift/enhancements/pull/1487
      [2] https://github.com/openshift/oc/pull/1633
      [3] https://issues.redhat.com/browse/CNV-29411

      Regards,
      Dharmit

              Unassigned Unassigned
              mshitrit@redhat.com Michael Shitrit
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: