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
This commit is contained in:
mandreou 2018-03-26 16:22:48 +03:00 committed by Marios Andreou
parent 624fedb114
commit 55864c9e75
2 changed files with 4 additions and 0 deletions

View File

@ -11,5 +11,7 @@ parameter_defaults:
set -eu set -eu
# Pike to Queens, put any needed host-level workarounds here # Pike to Queens, put any needed host-level workarounds here
yum update -y ansible yum update -y ansible
# 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 MigrationSshPort: 22
UpgradeRemoveUnusedPackages: false UpgradeRemoveUnusedPackages: false

View File

@ -9,5 +9,7 @@ parameter_defaults:
yum install -y python-heat-agent-* yum install -y python-heat-agent-*
yum update -y ansible yum update -y ansible
yum install -y ansible-pacemaker 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 MigrationSshPort: 22
UpgradeRemoveUnusedPackages: false UpgradeRemoveUnusedPackages: false