Make sure python3-novaclient is installed before creating fence_compute
This has been observed during an IHA FFU process. Namely
after the OS upgrade by LEAPP the fence_compute resource will
fail starting because python3-novaclient is not installed.
Normally this is taken care of by rpm dependencies, but
fence_compute is buggy and does not explicitely have that
dep (https://bugzilla.redhat.com/show_bug.cgi?id=1857247)
So we need to make sure the package is installed before
creating the resource.
Tested this on four consecutive successful IHA FFU runs
and it worked okay.
NB: Cherry-pick not 100% due to relative class names
Related-Bug: #1888398
Change-Id: I6816d414409da3748b2e341ec05ebcad86ad8fd1
(cherry picked from commit c1e9447998c635a825529cff99b99ed13a4e89d7)
(cherry picked from commit c3e86ea6dc0b2f57af12a088c2086e6fc70a95b0)
Reviewed: https:/ /review. opendev. org/746654 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=f28b6907c79 9731549ece3011e 5e2920201b457d
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit f28b6907c799731 549ece3011e5e29 20201b457d
Author: Michele Baldessari <email address hidden>
Date: Wed Jul 15 16:45:35 2020 +0200
Make sure python3-novaclient is installed before creating fence_compute
This has been observed during an IHA FFU process. Namely /bugzilla. redhat. com/show_ bug.cgi? id=1857247)
after the OS upgrade by LEAPP the fence_compute resource will
fail starting because python3-novaclient is not installed.
Normally this is taken care of by rpm dependencies, but
fence_compute is buggy and does not explicitely have that
dep (https:/
So we need to make sure the package is installed before
creating the resource.
Tested this on four consecutive successful IHA FFU runs
and it worked okay.
NB: Cherry-pick not 100% due to relative class names
Related-Bug: #1888398
Change-Id: I6816d414409da3 748b2e341ec05eb cad86ad8fd1 825529cff99b99e d13a4e89d7) 7af12a088c2086e 6fc70a95b0)
(cherry picked from commit c1e9447998c635a
(cherry picked from commit c3e86ea6dc0b2f5