Closed SebastienGardoll closed 5 years ago
Hi @gardoll , thanks for the report. I had wrongly assumed it would get force overwritten as I set the force
parameter to true. I am now ensuring the directory is absent prior to cloning. This will be part of the next release.
Describe the bug
While upgrading an idp, an index and a data node from version 4.0.2 to 4.0.3 on machines that have never been rebooted since the last update (to version 4.0.2), esgf-ansible fails to upgrade because /tmp/esgf-config exists and is not empty. Full log of the upgrade is attached. Deleting this directory fixes the problem. upgrade.log
To Reproduce Steps to reproduce the behavior:
Run installer with options: INVENTORY var contains the informations for an idp, an index and a data node.
ansible-playbook -i ${INVENTORY} -u root --skip-tags gridftp install.yml
See error
Expected behavior
Delete temporary files and directories before installing/upgrading or generating unique directory names in /tmp.
ESGF Node (please complete the following information):