Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-23345

[2152627] CNV must-gather should collect virt-launcher logs

XMLWordPrintable

    • CNV I/U Operators Sprint 231
    • High
    • None

      Description of problem:

      Currently, virt-launcher logs are not being collected as part of the CNV must-gather image.

      In order to collect these, users must run a generic OCP must-gather on the namespace where Virtual Machines are run.

      virt-launcher(s) logs are needed to troubleshoot any VM-related issue and should be collected with the already collected controller logs.

      We should preserve the path structure and the content when collecting these logs.
      These logs should be collected in an expected path, similar to the path an OCP must-gather would use to store the files together with the yaml of the pod.
      Such as :
      [must-gather]/namespaces/[namespace]/pods/virt-launcher-[name]/compute/compute/logs/current.log

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

      How reproducible:
      always

      Steps to Reproduce:
      1. run oc adm must-gather --image=registry.redhat.io/container-native-virtualization/cnv-must-gather-rhel8:v4.11.0 ( – gather_vms_details)

      Actual results:
      No virt-launcher logs are collected

      Expected results:
      virt-launcher logs should be collected in an expected path (similar to OCP must-gather) together with the virt-launcher pod yaml.

      Additional info:

              stirabos Simone Tiraboschi
              vromanso@redhat.com Vladik Romanovsky
              Ahmad Hafi Ahmad Hafi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: