Skip to content

[ECE] Clarify supported Ubuntu version #1621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 12, 2025

Conversation

kunisen
Copy link
Contributor

@kunisen kunisen commented Jun 5, 2025

(This is the 2nd try of previously wrongly raised PR - #1620)

Description

Previously we specify Ubuntu (Operating system / OS) version directly like 20.04 or 22.04.
However, we later also 24.04, and maybe in the future we will have even more versions.

All the compatible and supported version could be found in our support matrix - https://www.elastic.co/support/matrix#elastic-cloud-enterprise.

But writing the version directly to public doc page other than support matrix seems to be easily forgotten to update, and thus we are left behind in public doc page that it does not mention 24.04 now.
=> This causes confusion on users, because it's telling different in between public ECE docs and support matrix.

This was brought up by @rheppe in an internal discussion here.

The rationale is that support matrix is the source of truth, per what we have confirmed with @Kushmaro. So we would like to update the public docs based on support matrix.

Additional Notes

  • We removed note Docker 25 and higher are not compatible with ECE 3.7. because the current branch of docs is for ECE 4.0, and we can see from support matrix, it's supported.
  • We also explicitly mentioned that, the command mentioned in sudo apt install -y docker-ce=5:24.0.* docker-ce-cli=5:24.0.* containerd.io is just an example of install Docker 24.0 on Ubuntu. We added this because per support matrix, ECE 4.0 also supports other docker versions, and we can see from the screenshots below, it's hard to make an exclusive list in the public doc page, thus it makes more logical sense to say "it's a command example".
image

Before / After PR merge

Before

image

After

No 20.04 or 22.04 version number present

image

@kunisen kunisen self-assigned this Jun 5, 2025
@kunisen kunisen requested a review from a team as a code owner June 5, 2025 10:26
@kunisen kunisen added documentation Improvements or additions to documentation supportability ability enable self-service or support of product ece Elastic Cloud Enterprise labels Jun 5, 2025
@kunisen kunisen requested review from Kushmaro and rheppe June 5, 2025 10:27
@eedugon
Copy link
Contributor

eedugon commented Jun 5, 2025

@kunisen : thanks for proposing this. I'm totally ok with the new approach.

But taking a look at the Support Matrix for ECE 4.0.0 it looks we don't even support Docker 24.0 anymore, so better to add in the example Docker 26 or 27, which are actually supported for ECE 4.0.0 in Ubuntu 20 / 22 and 24.

Also, the title of this PR talks about main Ubuntu versions, but the changes are about being Docker versioning agnostic and telling users to go to the support matrix, which is perfect to me.

Regarding Ubuntu Version, shouldn't we update the parent doc (/deploy-manage/deploy/cloud-enterprise/configure-operating-system.md) also which links this doc as the doc for Ubuntu 20 & 22? We should say it's valid for Ubuntu 24 also or just mention Ubuntu in a generic way.

image

Copy link
Contributor

@eedugon eedugon left a comment

Choose a reason for hiding this comment

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

Some comments added.

@@ -55,7 +50,7 @@ Docker 25 and higher are not compatible with ECE 3.7.
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

4. Install the correct version of the `docker-ce` package, for Ubuntu 20.04 LTS (Focal Fossa) or Ubuntu 22.04 LTS (Jammy Jellyfish):
4. Install the correct version of the `docker-ce` package. Following is an example of installing Docker 24.0. If you decide to install a different Docker version, make sure to replace with the desired version in the commands below.
Copy link
Contributor

Choose a reason for hiding this comment

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

I wouldn't suggest in the example to install Docker 24, as it's not supported for ECE 4.0.0.
I'd suggest Docker 26 or 27 based on the support matrix.

@@ -55,7 +50,7 @@ Docker 25 and higher are not compatible with ECE 3.7.
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```

4. Install the correct version of the `docker-ce` package, for Ubuntu 20.04 LTS (Focal Fossa) or Ubuntu 22.04 LTS (Jammy Jellyfish):
4. Install the correct version of the `docker-ce` package. Following is an example of installing Docker 24.0. If you decide to install a different Docker version, make sure to replace with the desired version in the commands below.

```sh
sudo apt install -y docker-ce=5:24.0.* docker-ce-cli=5:24.0.* containerd.io
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as before, better to leave a supported example (like Docker 26 or 27).

@eedugon eedugon closed this Jun 5, 2025
@eedugon eedugon reopened this Jun 5, 2025
@elastic elastic deleted a comment from rheppe Jun 5, 2025
@eedugon
Copy link
Contributor

eedugon commented Jun 5, 2025

Sorry for closing and reopening! Completely by mistake 🤦‍♂️

@kunisen
Copy link
Contributor Author

kunisen commented Jun 6, 2025

Thanks @eedugon You are absolutely right!

[1]

I changed this page too to make all OS version agnostic.
https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/1621/deploy-manage/deploy/cloud-enterprise/configure-operating-system

I also combined RHEL and Rocky Linux section because they are referring to the same link.

[2]

I made a quick test in my lab

# check docker-ce and docker-ce-cli versions
root@sl-kuniyasusen-e1e1432f-host1:~# apt-cache madison docker-ce docker-ce-cli | grep 27.0
 docker-ce | 5:27.0.3-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
 docker-ce | 5:27.0.2-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
 docker-ce | 5:27.0.1-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
docker-ce-cli | 5:27.0.3-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
docker-ce-cli | 5:27.0.2-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
docker-ce-cli | 5:27.0.1-1~ubuntu.22.04~jammy | https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages

# install docker-ce and docker-ce-cli version 27.0
root@sl-kuniyasusen-e1e1432f-host1:~# sudo apt install -y docker-ce=5:27.0.* docker-ce-cli=5:27.0.* containerd.io
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '5:27.0.3-1~ubuntu.22.04~jammy' (Docker CE:jammy [amd64]) for 'docker-ce'
Selected version '5:27.0.3-1~ubuntu.22.04~jammy' (Docker CE:jammy [amd64]) for 'docker-ce-cli'
Suggested packages:
  aufs-tools cgroupfs-mount | cgroup-lite
The following held packages will be changed:
  containerd.io docker-ce docker-ce-cli
The following packages will be upgraded:
  containerd.io docker-ce docker-ce-cli
3 upgraded, 0 newly installed, 0 to remove and 84 not upgraded.
E: Held packages were changed and -y was used without --allow-change-held-packages.

So the same command sudo apt install -y docker-ce=5:27.0.* docker-ce-cli=5:27.0.* containerd.io but only with version replacement could be used to install docker v27.

The final line E: Held packages were changed and -y was used without --allow-change-held-packages. was I did pin / hold the docker version, so it's fine to see this and if a new install, we shouldn't see this one, so I believe we should be all good.
https://www.elastic.co/docs/deploy-manage/deploy/cloud-enterprise/configure-host-ubuntu
image

@eedugon
Copy link
Contributor

eedugon commented Jun 6, 2025

@kunisen , let me be a bit picky now, as I think we are doing a great progress... shouldn't we add the important banner also in the RHEL / Rocky Linux doc? Considering that the other 2 docs have the banner highly visible I'd do the same.

I mean this one:

image

Of course for RHEL we should mention Podman instead of Docker in the text.

Also the banner (or something similar) could also be added to the parent page (the one you have recently updated: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/1621/deploy-manage/deploy/cloud-enterprise/configure-operating-system).

Maybe not as an important admonition but linking to the support matrix to ensure the user chooses properly a fully supported version of OS and CRI (Docker or Podman).

@kunisen
Copy link
Contributor Author

kunisen commented Jun 7, 2025

Sure @eedugon added per the request and here we go :)

I used Container Engine instead of Docker so that it could cover both Docker and Podman

::::{important}
Make sure to use a combination of Linux distribution and Container Engine version that is supported, following our official [Support matrix](https://www.elastic.co/support/matrix#elastic-cloud-enterprise). Using unsupported combinations can cause multiple issues with you ECE environment, such as failures to create system deployments, to upgrade workload deployments, proxy timeouts, and more.
::::

@kunisen
Copy link
Contributor Author

kunisen commented Jun 7, 2025

Maybe not as an important admonition but linking to the support matrix to ensure the user chooses properly a fully supported version of OS and CRI (Docker or Podman).

Could you help update this please?
I probably didn't get this correctly.
Thanks! 🙏

Copy link
Contributor

@eedugon eedugon left a comment

Choose a reason for hiding this comment

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

LGTM, I think we are ready.

@@ -22,18 +22,13 @@ The following instructions show you how to prepare your hosts on 20.04 LTS (Foca

## Install Docker [ece-install-docker-ubuntu]

Install Docker LTS version 24.0 for Ubuntu 20.04 or 22.04.
Install the compatible Docker version on Ubuntu.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Install the compatible Docker version on Ubuntu.
Install a compatible Docker version on Ubuntu.

@kunisen kunisen enabled auto-merge (squash) June 12, 2025 00:20
Copy link

🔍 Preview links for changed docs:

🔔 The preview site may take up to 3 minutes to finish building. These links will become live once it completes.

@kunisen kunisen merged commit fa92859 into main Jun 12, 2025
6 of 7 checks passed
@kunisen kunisen deleted the kunisen-docpr-ece-slack-20250605-2 branch June 12, 2025 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation ece Elastic Cloud Enterprise supportability ability enable self-service or support of product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants