Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Support ubuntu-20 #745

Merged
merged 10 commits into from
May 10, 2021
Merged

Support ubuntu-20 #745

merged 10 commits into from
May 10, 2021

Conversation

v1v
Copy link
Member

@v1v v1v commented Nov 18, 2020

What

Enable Ubuntu 20 in test-kitchens

Expand to view some obsoleted details

✅ solved now

Issues

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 <oss-ubuntu-2004>...
       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
Copy link

botelastic bot commented Mar 3, 2021

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
Copy link
Member

jmlrt commented Mar 9, 2021

👋 @v1v can you update this PR with the changes done in elastic/ansible-beats#118 🙏

@botelastic botelastic bot removed the triage/stale label Mar 9, 2021
v1v added 2 commits March 9, 2021 13:56
…buntu-20

* upstream/master:
  Cleanup remove keystore entries (elastic#771)
  Fix README.md Multi Node Server Installations (elastic#782)
  Update ssl-tls-setup.md (elastic#777)
  7.11.1 release (elastic#780)
  Fix "list native roles" task (elastic#779)
  Remove OSS support for version >= 7.11.0 (elastic#770)
  [meta] refactor kitchen tests (elastic#765)
  Ad support for elasticsearch-keystore entries (elastic#769)
  Update elasticsearch-Debian.yml (elastic#761)
  [meta] fix again jjbb template for jenkins jobs (elastic#763)
  [meta] fix jobs template following elastic#760 (elastic#762)
  [meta] add dedicated ci jobs for 6.x (elastic#760)
  Update 7.10.2 changelog (elastic#755)
  7.10.2 release (elastic#754)
  Fix java install path when system has multiple java (elastic#753)
  [meta] fix ansible galaxy install command (elastic#751)
  7.10.1 release (elastic#749)
@v1v v1v marked this pull request as ready for review March 9, 2021 13:57
@v1v v1v requested a review from jmlrt March 9, 2021 13:59
@v1v v1v changed the title 🚧 Support ubuntu-20 Support ubuntu-20 Mar 9, 2021
.kitchen.yml Outdated Show resolved Hide resolved
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
.kitchen.yml Outdated Show resolved Hide resolved
test/matrix.yml Show resolved Hide resolved
.kitchen.yml Outdated Show resolved Hide resolved
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
.kitchen.yml Outdated Show resolved Hide resolved
v1v added 2 commits April 27, 2021 21:10
…buntu-20

* upstream/master:
  [meta] update ubuntu-1804 during kitchen provisioning (elastic#793)
  Stop plugin install to fail in check mode (elastic#787)
  7.12.0 release (elastic#790)
  Use ES_JAVA_HOME instead of JAVA_HOME (elastic#789)
  Fix deb and rpm url (elastic#788)
  [meta] fix changelog after 7.11.2 release (elastic#784)
  7.11.2 release (elastic#783)
@v1v v1v requested a review from jmlrt April 27, 2021 20:11
Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM⛴

@jmlrt jmlrt merged commit e4920b0 into elastic:master May 10, 2021
@elasticmachine elasticmachine mentioned this pull request May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants