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

--deployer-input parameter does not take into consideration case sensitive parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • openstack-tempest
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • python-tempestconf-3.5.1-18.0.20240828120806.758a6ab.el9osttrunk
    • ?
    • ?
    • None
    • Moderate

      When you execute discover-tempest-config --deployer-input deployer_input.ini command where the content of deployer_input.ini file is:

      ... (omit) ...
      [load_balancer]
      RBAC_test_type = keystone_default_roles
      ... (omit) ...
      

      then the content of the generated tempest.conf is:

      ... (omit) ...
      [load_balancer]
      rbac_test_type = keystone_default_roles
      ... (omit) ...
      

      this is an issue for example for octavia-tempest-plugin tests as the default deployer_input.ini file contains default value for RBAC_test_type [1] but it is not recognized inside the tests because the parameters in the tempest.conf are case sensitive.

       

      DoD:

      • The --deployer-input parameter respects case sensitivity of the parameters in the deployer_input.ini file.

      Reviews:

       

      [1] https://github.com/openstack-k8s-operators/ci-framework/blob/00bdc9430c01230d6965015274d72af035991cb3/roles/test_operator/defaults/main.yml#L84

       

            kopecmartin Martin Kopec
            lpiwowar Lukáš Piwowarski
            rhos-tempest
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: