redhat-performance/jetpack

OSP 17.1 deployment failing because of missing osp_rhel_mapping

sanjaychari opened this issue · 0 comments

There is currently no osp_rhel_mapping for OSP 17.1.

osp_rhel_mapping:
10: 7.7
13: 7.9
14: 7.7
15: 8.0
16: 8.1
16.1: 8.2
16.2: 8.4
17.0: 9.0

This causes the following error.

TASK [set os_search_string] **********************************************************************************************************************
task path: /home/sanjay/jetpack/tasks/install_os.yml:2
Thursday 24 November 2022  07:41:05 -0500 (0:00:00.246)       0:07:34.594 ***** 
fatal: [localhost]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The error was: RHEL {{ osp_rhel_mapping[osp_release|float] }}: dict object has
 no element 17.1\n\nThe error appears to be in '/home/sanjay/jetpack/tasks/install_os.yml': line 2, column 3, but may\nbe elsewhere in the file de
pending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: set os_search_string\n  ^ here\n"
}

OSP 17.1 GA will use RHEL 9.2. We should set osp_rhel_mapping to 9.1 for now for OSP 17.1, and later change it to 9.2.