Browse Source

Merge "Make sure python3-novaclient is installed before creating fence_compute"

changes/15/744015/1
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
3859f23df3
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      manifests/profile/base/pacemaker.pp

+ 8
- 2
manifests/profile/base/pacemaker.pp View File

@@ -241,8 +241,14 @@ class tripleo::profile::base::pacemaker (
}
}

if $enable_instanceha and $pacemaker_master {
include tripleo::profile::base::pacemaker::instance_ha
if $enable_instanceha {
if $pacemaker_master {
include tripleo::profile::base::pacemaker::instance_ha
}
# Until https://bugzilla.redhat.com/show_bug.cgi?id=1857247 is fixed we
# need to make sure the package is installed on the host.
ensure_resource('package', 'python3-novaclient', { ensure => 'installed' })
Package<| name == 'python3-novaclient' |> -> Pcmk_stonith<| title == 'fence-nova' |>
}

if ($step >= 2 and $pacemaker_master) {


Loading…
Cancel
Save