From f4f456d38770ca9f048d426cf8c6921fc77415ef Mon Sep 17 00:00:00 2001 From: Jacob Anders Date: Thu, 9 Jul 2020 11:40:09 +1000 Subject: [PATCH] Removing libselinux-python package from Fedora dependencies In the past releasaes of Fedora, bifrost setup had a dependency on libselinux-python package. In Fedora 32 this package no longer exists due to transition to Python3 and the absence of this package in Fedora 32 repos this causes the playbook to fail. This change removes libselinux-python from Bifrost Fedora dependencies and resolves the issue. Change-Id: Id767e76bb0afb91f4176fd02ad1fa33f17325df2 --- .../defaults/required_defaults_Fedora.yml | 2 +- .../defaults/required_defaults_Fedora.yml | 1 - releasenotes/notes/releasenote-94bcb2b0da207f94.yaml | 7 +++++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/releasenote-94bcb2b0da207f94.yaml diff --git a/playbooks/roles/bifrost-create-vm-nodes/defaults/required_defaults_Fedora.yml b/playbooks/roles/bifrost-create-vm-nodes/defaults/required_defaults_Fedora.yml index 6a5ef12bb..6f7e8e831 100644 --- a/playbooks/roles/bifrost-create-vm-nodes/defaults/required_defaults_Fedora.yml +++ b/playbooks/roles/bifrost-create-vm-nodes/defaults/required_defaults_Fedora.yml @@ -11,4 +11,4 @@ required_packages: - libvirt-daemon - pkgconfig - libvirt-devel - - libselinux-python + - python3-libselinux diff --git a/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.yml b/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.yml index 21a7be4dd..9d8f5c6dc 100644 --- a/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.yml +++ b/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Fedora.yml @@ -14,7 +14,6 @@ required_packages: - ipxe-bootimgs - kpartx - libffi-devel - - libselinux-python - libxml2-devel - libxslt-devel - mariadb-server diff --git a/releasenotes/notes/releasenote-94bcb2b0da207f94.yaml b/releasenotes/notes/releasenote-94bcb2b0da207f94.yaml new file mode 100644 index 000000000..1264c5deb --- /dev/null +++ b/releasenotes/notes/releasenote-94bcb2b0da207f94.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Removing dependency on libselinux-python for Fedora OS family. + This package is no longer present in Fedora 32 and was causing + installation failures. It is safe to remove as it is used with + python2 only.