Openstack-ansible aio fails on centos8 for deprecated support of python

Bug #1856305 reported by Kalpit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Undecided
Unassigned

Bug Description

I'm trying to install OpenStack using OpenStack-ansible (AIO) all in one installation on centos 8. The issue I'm facing is that python is no longer supported in centos 8, instead, python2 and python3 are recommended. I'm asking for help and reporting a bug that Is there any way so that I can install OpenStack using OpenStack aio on centos 8. Please help me out! Thanks in advance fellow members.

python2-dnf is not being installed in centos 8 and I'm stuck at that point.

Error appearing on the console:

fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dnf install -y python2-dnf", "msg": "Could not import the dnf python module using /usr/bin/python (2.7.15 (default, Oct 8 2019, 21:08:29) [GCC 8.2.1 20180905 (Red Hat 8.2.1-3)]). Please install `python2-dnf` package or ensure you have specified the correct ansible_python_interpreter.", "rc": 1, "results": [], "stderr": "Error: Unable to find a match\n", "stderr_lines": ["Error: Unable to find a match"], "stdout": "Last metadata expiration check: 2:29:06 ago on Friday 13 December 2019 03:01:31 AM CST.\nNo match for argument: python2-dnf\n", "stdout_lines": ["Last metadata expiration check: 2:29:06 ago on Friday 13 December 2019 03:01:31 AM CST.", "No match for argument: python2-dnf"]}

Kalpit (kalpit-shah7)
summary: - I'm trying to install openstack using openstack-ansible (AIO) all in one
- installation on centos 8. The issue I'm facing is that python is no
- longer supported in centos 8, instead python2 and python3 are supported.
- I'm asking for help and reporting a bug that Is there any way so that i
- can install openstack using openstack aio on centos 8. Please help me
- out! Thanks in advance fellow members.
+ Openstack-ansible aio fails on centos8 for deprecated support of python
Kalpit (kalpit-shah7)
description: updated
Kalpit (kalpit-shah7)
description: updated
Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Unfortunatelly we don't support centos 8 at this point. You can see supported operating system on this page https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/targethosts-prepare.html#installing-the-operating-system

We have plans to implement centos 8 support for Ussuri.

Changed in openstack-ansible:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.