tripleo-heat-templates/releasenotes/notes/odl_delete_karaf_folder_on_host-b81465f62fe422d6.yaml
Janki Chhatbar 9cc52fae4c Delete empty karaf directory on host
Mounting empty /var/lib/config-data/puppet-generated/
opendaylight/opt/opendaylight/etc/opendaylight/karaf
from host to /opt/opendaylight/etc/opendaylight/karaf
on container empties the folder on container itself.
Hence on restart/redeploy, ODL can't find files inside
that folder and can't start leading to deployment failure.

So delete the empty karaf folder on host so that the contents
of karaf folder inside the container is intact durin redeploy.

Change-Id: I75aabaa2abc0fc9ba789c53f27fc37cfb7769a8b
Closes-Bug: #1799395
2018-10-23 16:23:44 +05:30

10 lines
360 B
YAML

---
fixes:
- |
Empty /var/lib/config-data/puppet-generated/opendaylight/opt/
opendaylight/etc/opendaylight/karaf directory on host empties
/opt/opendaylight/etc/opendaylight/karaf inside the ODL container
because of the mount. This leads to deployment failure on
redeploy. Delete the empty karaf directory on host before
redeploying.