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

[QEMUKubeVirtLauncherLogs]The logs from error QEMU pod were not gathered

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          When a QEMU pod exits with error status ,but it still exists essome QEMU related logs,the IO won't gather these QEMU ralated logs from error pod.

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

          

      How reproducible:

      1. Install openshift-virtualization operator.
      2. Use the following yaml file to create the VMI with its pod exits as Error status.

         apiVersion: kubevirt.io/v1
      kind: VirtualMachineInstance
      metadata:
        name: vmi-error-example
        namespace: test-vm
      spec:
        terminationGracePeriodSeconds: 0
        domain:
          devices:
            disks:
              - name: containerdisk
                disk:
                  bus: virtio
          resources:
            requests:
              memory: 64Mi
        volumes:
          - name: containerdisk
            containerDisk:
              image: quay.io/openshifttest/busybox:latest
              command: ["/bin/sh", "-c", "kill -SIGSEGV 1"]

      3. Trigger IO gathering.

      4. Check if the Insights archive includes the QUME logs from above error pod.

      Steps to Reproduce:

      1. Install openshift-virtualization operator.
      2. Use the following yaml file to create the VMI with its pod exits as Error status.

         apiVersion: kubevirt.io/v1
      kind: VirtualMachineInstance
      metadata:
        name: vmi-error-example
        namespace: test-vm
      spec:
        terminationGracePeriodSeconds: 0
        domain:
          devices:
            disks:
              - name: containerdisk
                disk:
                  bus: virtio
          resources:
            requests:
              memory: 64Mi
        volumes:
          - name: containerdisk
            containerDisk:
              image: quay.io/openshifttest/busybox:latest
              command: ["/bin/sh", "-c", "kill -SIGSEGV 1"]

      3. Trigger IO gathering.

      4. Check if the Insights archive includes the QUME logs from above error pod.

      Actual results:

          4. The insights archive should include the QEMU info gathered from the error pod.

      Expected results:

      4. The insights archive didn't gather QEMU info from error pod.    

      Additional info:

          

              rh-ee-ijimeno Isaac Jimeno
              rh-ee-bazhou Baiyang Zhou
              None
              None
              Baiyang Zhou Baiyang Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: