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

No validation check to verify the values are displayed in correct units or not

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      4.20 is having functionality to change the units in which the metrics are displayed, but the functionality is having an issue because it does not give any error or warning when a invalid unit is selected, For example when we run a query that is going to give value in Kb/MB  now when in the drop down we select Percentage or Seconds/MilliSeconds, it returns output by simply adding the suffix to the value Adidng screenshot in details

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

      4.20

      How reproducible:

      Easily reprpducible

      Steps to Reproduce:

          1.in 4.20 query any metrics 
          2. From the drop down select a unit that is unrelated to the actual value of the metrics , it still shows the output
          3.
          

      Actual results:

      Value displayed with incorrect unit

      Expected results:

      If the selected unit is not valid wrt metric it should give error

      Additional info:

      This is happening to all the type of query, so there needs to be a validation check for all the metrics that have a unit defined

        1. Correct Metrics.png
          78 kB
          Sonigra Saurab
        2. Incorrect metrics.png
          89 kB
          Sonigra Saurab

              gbernal@redhat.com Gabriel Bernal
              rhn-support-ssonigra Sonigra Saurab
              None
              None
              Evelyn Murasaki Evelyn Murasaki
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: