#All docker containers on a EC2 Harvest host are in "restarting" state
1 messages · Page 1 of 1 (latest)
received
Hi @hallow cargo , so carrying on our conversation here - rather than copying the /opt/harvest/conf from a container which was needless because there isn't a running container yet. I just removed the 2 lines referring to the volume mounts from the manage_harvest. Will that not solve the problem ? I ask because the docker-inspect still shows references to the volume mount and the containers are still failing
that's the correct change to make but the container needs to be stopped like so ansible-playbook manage_harvest.yml --tags stop then restart with ansible-playbook manage_harvest.yml --tags upgrade
yes of course I have rerun the manage_harvest to re-create the containers
yes
if you do that, and a stop and upgrade, you should be all set
Thnaks @hallow cargo that worked. We usually prefer to run the "manage_harvest" as an ansible pipeline from an external source, but I had to break my rules to run it locally with the tags as you said to get this sorted. All ok now 🙂
Another thing that I wanted to ask, Chris, was if there is any way for us to retain old data aftre renaming the cluster in the Harvest.yml file. I have just tested that and found that a new docker instance gets created and any old data on the systems gets lost