tripleo-heat-templates/releasenotes/notes/fix-odl-update-upgrade-cache-83004abe108971c1.yaml
Tim Rozet dc9c7315ae Fix update/upgrade or config change for ODL
OpenDaylight creates multiple files the first time it boots, which we do
not mount to the host. After the first boot, it creates a cache which we
do mount to the host. This means that on a config change or
update/upgrade of ODL the cache will not be removed, but the files will
be. This causes ODL to fail to start.

The solution is to stop the container in update/upgrade and then remove
the cache before the update happens. This will trigger the new ODL to
rebuild the cache with the new ODL version.  For config change, we also
need to remove the cache in the host_prep_tasks so that we do not end up
in a similar state.

Closes-Bug: 1775919

Change-Id: Ia457b90b765617822e9adbf07485c9ea1fe179e5
Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-08 15:10:30 -04:00

7 lines
172 B
YAML

---
fixes:
- |
Fixes update and upgrade along with modifying configuration for
OpenDaylight deployments. See
https://bugs.launchpad.net/tripleo/+bug/1775919