Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-1376

DO374-60: lab grade review-cr3 might incorrectly report serverc as missing

XMLWordPrintable

    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)
      Workaround: Remove serverc.lab.example.com from any other inventories where it may be present.

      Description: In the third comprehensive review lab, the grade script might report that serverc.lab.example.com is missing from the demoinv inventory, even if it is present. I believe this occurs because the _grade_check_controller_host dynolabs Python method uses incomplete logic. Basically, it first queries the API for the host, then checks to see if the host received from the API is in an inventory called "demoinv". This logic fails if serverc.lab.example.com is present in some other inventory (possibly created earlier), so the API returns multiple instances of serverc, and the lab script appears to check only the first one.

              rht-miphilli Michael Phillips
              timothyalvin Timothy Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: