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

[4.19] oc adm top pvc add "%" in the Usage value 0.00 => 0.00%

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Informational
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • End user message update, Not required any doc to update.
    • None
    • None
    • None
    • None

      Description of problem:

      Add "%" to usage value in oc adm top pvc output 0.00 => 0.00%

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

      4.19.0-0.nightly-2025-02-11-161912    

      How reproducible:

      Always    

      Steps to Reproduce:

      1. Create pvc using default sc, dep. 
      2. Check oc adm top pvc command
      
      oc adm top pvc --insecure-skip-tls-verify=true -n testropatil
      NAMESPACE   NAME                USAGE(%)
      testropatil mypvc-fs-managedcsi 0.00      

      Actual results:

      Usage value displays as 0.00

      Expected results:

      It should display as 0.00%

      Additional info:

      In other components it adds "%", CPU=13%, memory=39%
      
      oc adm top node
      NAME                                        CPU(cores)   CPU%   MEMORY(bytes)   MEMORY%
      ip-10-0-13-199.us-east-2.compute.internal   464m         13%    5771Mi          39%

              ropatil@redhat.com Rohit Patil
              ropatil@redhat.com Rohit Patil
              None
              None
              Rohit Patil Rohit Patil
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: