Skip to content
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

Image with 'latest' tag corresponds to an older etcd version #15382

Open
nickbel7 opened this issue Mar 1, 2023 · 6 comments
Open

Image with 'latest' tag corresponds to an older etcd version #15382

nickbel7 opened this issue Mar 1, 2023 · 6 comments

Comments

@nickbel7
Copy link

nickbel7 commented Mar 1, 2023

What happened?

I tried to deploy an etcd cluster as a StatefulSet using the etcd image from the quay.io/coreos/etcd repository, using the 'latest' tag, as proposed in the following documentation (https://etcd.io/docs/v2.3/docker_guide/).
The etcd version that I get in each pod is the v3.3.8 (neither 3.4 or 3.5) which is a older version of etcd.

Is this something that has been done on purpose because of the parallel maintenance of the 3.4 and 3.5 versions ?
If so, I would expect that the default etcd documentation does not prompt to use the latest tag (or state that this is not a good practice).

What did you expect to happen?

I would expect that the newly created etcd pods would have the version tagged as 'latest' in the github releases page (https://github.com/etcd-io/etcd/releases).

How can we reproduce it (as minimally and precisely as possible)?

(Fast way) Docker
- Get the 'latest' etcd image
docker pull quay.io/coreos/etcd:latest
- Get the etcd image id from docker images
- Try to create a container
docker run <image_id>
- Observe the etcd version in the logs
(ex. 2023-03-01 11:31:18.023271 I | etcdmain: etcd Version: 3.3.8)

Anything else we need to know?

No response

Etcd version (please run commands below)

$ etcd --version
etcd Version: 3.3.8
Git SHA: 33245c6b5
Go Version: go1.9.7
Go OS/Arch: linux/amd64

$ etcdctl version
etcdctl version: 3.3.8
API version: 2

Etcd configuration (command line flags or environment variables)

paste your configuration here

Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)

$ etcdctl member list -w table
# paste output here

$ etcdctl --endpoints=<member list> endpoint status -w table
# paste output here

Relevant log output

$ kubectl exec -it etcd-0 -- etcd --version
etcd Version: 3.3.8
@serathius
Copy link
Member

Looks like it's a repeat of #13606 but for quey repo.

@tjungblu
Copy link
Contributor

tjungblu commented Mar 1, 2023

I'd be also +1 to just remove the latest tag, it's generally misused and clearly still pointing to some ancient release created 6 years ago. Do you guys still have access to the coreos quay repo? Otherwise I can go and find some people that can clean the tags up internally.

If so, I would expect that the default etcd documentation does not prompt to use the latest tag (or state that this is not a good practice).

@nickbel7 you're browsing the documentation from etcd 2.3. Not sure we need to go and amend older release docs, the message at the top seems pretty clear to me.

@nickbel7
Copy link
Author

nickbel7 commented Mar 1, 2023

you're browsing the documentation from etcd 2.3

@tjungblu You are right, I was aware of that. However, I didn't find the same page in earlier versions of the documentation.
In v3.5 for example, I noticed the installation process regarding Kubernetes is incomplete (https://etcd.io/docs/v3.5/install/).
As I understand, someone would have to go to the github releases page in order to see that gcr.io/etcd-development/etcd is the primary container registry

@ahrtr
Copy link
Member

ahrtr commented Mar 6, 2023

you're browsing the documentation from etcd 2.3

@tjungblu You are right, I was aware of that. However, I didn't find the same page in earlier versions of the documentation. In v3.5 for example, I noticed the installation process regarding Kubernetes is incomplete (https://etcd.io/docs/v3.5/install/). As I understand, someone would have to go to the github releases page in order to see that gcr.io/etcd-development/etcd is the primary container registry

There is a feature request to address this. #15185
It looks like we can update the guide https://etcd.io/docs/v3.5/install/.

@jmhbnz
Copy link
Member

jmhbnz commented Jun 26, 2023

Hey @ahrtr, @serathius do we have permissions to be able to remove latest from quay.io?

There was a comment on #13606, users are still running into confusion in relation to latest. My vote would also go to just removing it so we can close out this issue and hopefully prevent some confusion.

@serathius
Copy link
Member

serathius commented Apr 16, 2024

Hey @ahrtr, @serathius do we have permissions to be able to remove latest from quay.io?

Yes, feel free to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants