[Ansible] [Yoga] Not recognising Rocky Linux as supported
Hello everyone! I am trying to deploy Openstack Ansible with Rocky Linux 8.6 on my target hosts. The documentation here (https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/tar...) says " • Centos 8 Stream 64-bit * Derivitives: Rocky Linux” under the list of supported operation systems. Ansible does not seem to check for the existence of RHEL 8 systems. :( But when I run “openstack-ansible setup-hosts.yml” I get the error: TASK [Check for a supported Operating System] ***************************************************************************************** fatal: [infra1]: FAILED! => { "assertion": "(ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'focal') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'jammy') or (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '9')", "changed": false, "evaluated_to": false, "msg": "The only supported platforms for this release are Debian 11 (Bullseye), Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Jammy) and CentOS 9 Stream.\n” What should I do? Thank you!
On Fri, Aug 12, 2022, at 2:35 PM, Father Vlasie wrote:
Hello everyone!
I am trying to deploy Openstack Ansible with Rocky Linux 8.6 on my target hosts. The documentation here (https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/tar...) says " • Centos 8 Stream 64-bit * Derivitives: Rocky Linux” under the list of supported operation systems.
Ansible does not seem to check for the existence of RHEL 8 systems. :(
But when I run “openstack-ansible setup-hosts.yml” I get the error:
TASK [Check for a supported Operating System] ***************************************************************************************** fatal: [infra1]: FAILED! => { "assertion": "(ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'focal') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'jammy') or (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '9')", "changed": false, "evaluated_to": false, "msg": "The only supported platforms for this release are Debian 11 (Bullseye), Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Jammy) and CentOS 9 Stream.\n”
Comparing https://opendev.org/openstack/openstack-ansible/src/branch/stable/yoga/playb... to https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/... it appears that OpenStack Ansible has removed CentOS Stream/RHEL/Rocky 8 support on master, but the assertion allows it under Yoga. Based on the failure above you must be running master OSA? I would try running the Yoga branch instead. The master branch documentation likely needs to be updated as well.
What should I do?
Thank you!
Yes, we have dropped Rocky 8 support as well as CentOS 8 Stream for master. Neil Hanlon was working on adding Rocky 9 support instead and we hopefully will backport it to Yoga as well. Documentation should be fixed indeed. сб, 13 авг. 2022 г., 00:01 Clark Boylan <cboylan@sapwetik.org>:
On Fri, Aug 12, 2022, at 2:35 PM, Father Vlasie wrote:
Hello everyone!
I am trying to deploy Openstack Ansible with Rocky Linux 8.6 on my target hosts. The documentation here ( https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/tar...)
says " • Centos 8 Stream 64-bit * Derivitives: Rocky Linux” under the list of supported operation systems.
Ansible does not seem to check for the existence of RHEL 8 systems. :(
But when I run “openstack-ansible setup-hosts.yml” I get the error:
TASK [Check for a supported Operating System]
*****************************************************************************************
fatal: [infra1]: FAILED! => { "assertion": "(ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'focal') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'jammy') or (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '9')", "changed": false, "evaluated_to": false, "msg": "The only supported platforms for this release are Debian 11 (Bullseye), Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Jammy) and CentOS 9 Stream.\n”
Comparing https://opendev.org/openstack/openstack-ansible/src/branch/stable/yoga/playb... to https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/... it appears that OpenStack Ansible has removed CentOS Stream/RHEL/Rocky 8 support on master, but the assertion allows it under Yoga. Based on the failure above you must be running master OSA? I would try running the Yoga branch instead.
The master branch documentation likely needs to be updated as well.
What should I do?
Thank you!
participants (3)
-
Clark Boylan
-
Dmitriy Rabotyagov
-
Father Vlasie