tripleo-upgrade may need the patch command installed.

Bug #1961103 reported by Sofer Athlan-Guyot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Sofer Athlan-Guyot

Bug Description

Hi,

inside the tripleo-upgrade role we depends on the patch command to be available on the undercloud.

While it has been most of the time true, it's not allways:

We can get this in our logs:

Patch 829393 fails to apply - either already applied or you need to fix it.

because:

cat /tmp/tmp.0lwvP45qq4/patch.txt| sudo patch --dry-run --force -d /usr/share/openstack-tripleo-heat-templates -p1
sudo: patch: command not found

dnf install -y patch solves it.

Tags: upgrade
Revision history for this message
Mikolaj Ciecierski (mciecierski) wrote :
Revision history for this message
Mikolaj Ciecierski (mciecierski) wrote :

Fix cherry-picked to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-upgrade/+/840165

Changed in tripleo:
status: Confirmed → Fix Released
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.