Adds a UpgradeRemoveUnusedPackages param to use
in the ansible when conditional for the removal
Adds package removal to step2 right after a service
is stopped and disabled on step2. Package updates
happen in step3 so ideally remove before that.
The package removal task has ignore_errors true
so dependencies or other issue removing packages will
not fail the upgrade workflow.
Also adds this to the upgrade environment files
for visibility and defaulting false
Change-Id: Ie4e4a2d41f7752c5a13507a7c15c6f68e203cfca
Related-Bug: 1701501
(cherry picked from commit ce0ef2fa20)
13 lines
410 B
YAML
13 lines
410 B
YAML
resource_registry:
|
|
OS::TripleO::PostDeploySteps: ../common/major_upgrade_steps.yaml
|
|
parameter_defaults:
|
|
EnableConfigPurge: false
|
|
StackUpdateType: UPGRADE
|
|
UpgradeLevelNovaCompute: auto
|
|
UpgradeInitCommonCommand: |
|
|
#!/bin/bash
|
|
set -eu
|
|
# Ocata to Pike, put any needed host-level workarounds here
|
|
yum install -y ansible-pacemaker
|
|
MigrationSshPort: 22
|
|
UpgradeRemoveUnusedPackages: false |