Comment 10 for bug 1959731

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/829162
Committed: https://opendev.org/openstack/tripleo-ansible/commit/a6813adb567baea57146e90493cbf16c648692a8
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit a6813adb567baea57146e90493cbf16c648692a8
Author: Harald Jensås <email address hidden>
Date: Wed Feb 2 23:22:01 2022 +0100

    tuned - check packages before install

    When repository files are present, but the ctlplane is not on a
    routed network. (I.e the node cannot connect to repositories.)
    The ansible built in `package` will fail despite the fact that
    the packages is already installed.

    This change adds a task to check that the packages required are
    installed using `rpm --query --whatprovides <PGK_LIST>`. Pacage
    installation task is skipped if package already installed.

    Related: RHBZ#2048134
    Related-Bug: #1959731
    Change-Id: Ifcbde65af99039a261bc34a813bddfb29f63c1e1
    (cherry picked from commit 5c09c0ee0292be370455b79e4bd4991b513b8017)