Merge "Delete empty karaf directory on host"
This commit is contained in:
commit
760a081e60
@ -149,10 +149,13 @@ outputs:
|
||||
list_concat:
|
||||
- {get_attr: [OpenDaylightApiLogging, host_prep_tasks]}
|
||||
-
|
||||
- name: Delete cache folder
|
||||
- name: Delete cache and karaf folder
|
||||
file:
|
||||
path: /var/lib/opendaylight/data/cache
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
- /var/lib/opendaylight/data/cache
|
||||
- /var/lib/config-data/puppet-generated/opendaylight/opt/opendaylight/etc/opendaylight/karaf
|
||||
- name: create persistent directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
|
@ -0,0 +1,9 @@
|
||||
---
|
||||
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.
|
Loading…
Reference in New Issue
Block a user