elastic / ansible-elasticsearch

Ansible playbook for Elasticsearch
Other
1.58k stars 854 forks source link

Support ubuntu-20 #745

Closed v1v closed 3 years ago

v1v commented 3 years ago

What

Enable Ubuntu 20 in test-kitchens

Expand to view some obsoleted details

✅ solved now ### Issues - Wait for https://github.com/ansible/ansible/pull/69161 - Causes https://github.com/test-kitchen/kitchen-docker/pull/375 ### Issues with the test-kitchen ``` make converge PATTERN=oss-ubuntu-2004 bundle exec kitchen converge oss-ubuntu-2004 + bundle exec kitchen converge oss-ubuntu-2004 -----> Starting Kitchen (v2.2.5) -----> Creating ... docker: invalid reference format: repository name must be lowercase. See 'docker run --help'. >>>>>> ------Exception------- >>>>>> Class: Kitchen::ActionFailed >>>>>> Message: 1 actions failed. >>>>>> Failed to complete #create action: [Expected process to exit with [0], but received '125' ---- Begin output of docker -H unix:///var/run/docker.sock run -d -p 22 -v /tmp/license.json -v /etc --name ossubuntu2004-vmartinez-myMaClocal-b90jxc1w --privileged PyYAML /sbin/init ---- STDOUT: STDERR: docker: invalid reference format: repository name must be lowercase. See 'docker run --help'. ---- End output of docker -H unix:///var/run/docker.sock run -d -p 22 -v /tmp/license.json -v /etc --name ossubuntu2004-vmartinez-myMaClocal-b90jxc1w --privileged PyYAML /sbin/init ---- Ran docker -H unix:///var/run/docker.sock run -d -p 22 -v /tmp/license.json -v /etc --name ossubuntu2004-vmartinez-myMaClocal-b90jxc1w --privileged PyYAML /sbin/init returned 125] on oss-ubuntu-2004 >>>>>> ---------------------- >>>>>> Please see .kitchen/logs/kitchen.log for more details >>>>>> Also try running `kitchen diagnose --all` for configuration make: *** [converge] Error 20 ``` I managed to bypass it locally by setting the hostname/computer-name to something else (lowercase)

botelastic[bot] commented 3 years ago

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. To track this PR (even if closed), please open a corresponding issue if one does not already exist.

jmlrt commented 3 years ago

👋 @v1v can you update this PR with the changes done in https://github.com/elastic/ansible-beats/pull/118 🙏