tripleo-heat-templates/releasenotes/notes/fix-odl-missing-etc-config-87c33bc05f692f44.yaml
Tim Rozet 97173caf8f Fixes ODL container failing to start due to missing etc config
The ODL etc directory was being overridden with an empty mount directory
before kolla_start copied the puppet-generated config files.  The
puppet-generated config files only include modified configuration files
and not all of the default config files.  Therefore ODL was missing
config files when it started so the container was constantly crashing.

This patch removes the unwanted mount erasing the /opt/opendaylight/etc
directory and moves the upgrade file to be created in puppet-generated,
which will be copied at kolla start time for upgrade.  The
puppet-generated dir is read-only, so the REST call to disable upgrade
flag in ODL will only disable it for the running instance.  Therefore we
have to use ansible to write the file again to disable it incase ODL is
rebooted.

Closes-Bug: 1755916

Change-Id: Ie380cc41ca50a294a2647d673f339d02111bf6b3
Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-03-16 10:15:23 -04:00

6 lines
139 B
YAML

---
fixes:
- |
Fixes OpenDaylight container service not starting due to missing config
files in /opt/opendaylight/etc directory.