Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-5299

Find a way how to get baremetal info inside tempest image

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • test-operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?

      The nfv-tempest-plugin requires baremetal host data like:

      • username
      • address
      • password

      in order to be able to be able to execute the tests. Currently, we know only one way how to obtain these data via the oc command:

      oc get bmh tigon26 -n openshift-machine-api -o yaml | more
      

      Possible solutions:

      • Make discover-tempest-config find the data using the Show Node Details API call
      • Make oc binary part of the tempest image and add the possibility to mount kubeocnfig to tempest test pod the same way as we did with tobiko. We could then obtain the necessary information by using the oc CLI.
      • Extend the Tempest CR so that the user needs to pass the information to the test-operator. We would then need to modify the test-operator role so that it discovers the necessary information (username, address, password) and passes it to the test-operator.

              Unassigned Unassigned
              lpiwowar Lukáš Piwowarski
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: