Uploaded image for project: 'Openshift sandboxed containers'
  1. Openshift sandboxed containers
  2. KATA-2622

QE Automation: failing OCP 4.15 43620-validate podmetrics for pod running kata

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • OSC 1.5.0
    • automated tests, Operator
    • None
    • False
    • None
    • False
    • 0
    • 0

      Description

      To validate that a kata pod has metrics, the test runs

       

      oc describe podmetrics PODNAME

       

       

      On OCP 4.15 the test fails with

       

      error: the server doesn't have a resource type "podmetrics"

       

       

      Steps to reproduce

      1. Create a 4.15 cluster
      2. install OSC w/ kata runtime
      3. create a pod
      4. run oc describe podmetrics PODNAME

       

      Expected result

      To get output that includes CPU, Memory and Events

      Actual result

       

      oc describe podmetrics tpb-exapod4 
      error: the server doesn't have a resource type "podmetrics" 
      

      Impact

      Operator might need to expose metrics differently

      Test needs to be rewritten

      Env

      OCP 4.15

       oc version
      Client Version: 4.15.0-202312012309.p0.g4b1a57e.assembly.stream-4b1a57e
      Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
      Server Version: 4.15.0-0.nightly-2023-12-04-223539
      Kubernetes Version: v1.28.4+9698040

      OSC 1.5.0

      kata, not peerpods

       

              cmeadors@redhat.com Cameron Meadors
              tbuskey-rh Tom Buskey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: