tripleo-heat-templates/environments/major-upgrade-composable-steps-docker.yaml
mandreou c5f6f704ac Remove the os-net-config element config.json template
On upgrade from environments earlier than Pike we should remove
this file as it can cause problems with post-upgrade reboots
see bug for more info.

Change-Id: If7f4bef3a79a881f003ee42f62fe51c537004e2a
Related-Bug: 1758161
(cherry picked from commit 55864c9e75)
(cherry picked from commit 2113bf3ae9)
2018-03-30 17:50:41 +03:00

17 lines
621 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 update -y ansible
yum install -y ansible-pacemaker
# Remove the element os-net-config config.json https://bugs.launchpad.net/tripleo/+bug/1758161/
rm /usr/libexec/os-apply-config/templates/etc/os-net-config/config.json || true
MigrationSshPort: 22
UpgradeRemoveUnusedPackages: false