Open MorrieAtElastic opened 4 years ago
Ubuntu 18.04/docker 19.03: docker19.03.conf is present in the "template" folder but there is no task to copy it on the remote system. I only see tasks related to docker 18.09 or docker 1.13:
@obierlaire I think we missed this with #98
https://github.com/elastic/ansible-elastic-cloud-enterprise/blob/db4ca75b84935955f740c36940ff37010a3016cb/tasks/base/general/configure_docker.yml#L13-L17
We probably want to remove the when
here?
Ubuntu 18.04/docker 19.03: docker_version 18.09 => assertion failure when running the playbook on Ubuntu 18.04 that requires docker 19.03.
@MorrieAtElastic Not sure about this, did they try to set 18.09
and got the error? Thats expected I think as per the support matrix
By Removing the -it parameters from the docker exec command, this seems to fix the issue.
Interesting, I'll try to reproduce, but this might need a change in the installer script.
By just skipping the base tag, the playbook still performs some destructive(volume-fs creation) or unwanted(system reboot) task from direct install.
This was missed in the docs when we changed the setup process, will be updated
I am pasting in a series of comments provided by a user which they encountered when "testing the latest version of the ansible playbook/install script". User requested I post these issues because they do not have access to github:
Install process:
Ubuntu 18.04/docker 19.03: docker_version 18.09 => assertion failure when running the playbook on Ubuntu 18.04 that requires docker 19.03.
Ubuntu 18.04/docker 19.03: docker19.03.conf is present in the "template" folder but there is no task to copy it on the remote system. I only see tasks related to docker 18.09 or docker 1.13:
Upgrade process:
1) The install script elastic-cloud-enterprise.sh fails when it tries to retrieve the HOST_STORAGE_PATH with ansible. By Removing the -it parameters from the docker exec command, this seems to fix the issue. This also works properly without -it when running the docker exec command in a ssh session.
Problematic lines of code (removed the /dev/null to be able to see the root cause of this error).
Error
The task below in ~/elastic-cloud-enterprise/tasks/ece-bootstrap/main.yml fails (permission issue) when I run the playbook with my own admin user. This command has to run as root or elastic user. So a sudo instruction has to be added to that task.
Error:
Documentation update (README.md)
https://github.com/elastic/ansible-elastic-cloud-enterprise#performing-an-upgrade
The upgrade section of the documentation indicates to use the following command:
By just skipping the base tag, the playbook still performs some destructive(volume-fs creation) or unwanted(system reboot) task from direct install.
To perform an upgrade of ece only, I had to use the following command: