-
Bug
-
Resolution: Done
-
Minor
-
DO374 - RHAAP2.0-en-1-20220126
-
None
-
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.