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

Running crate:2.1.7 is starting 2.1.6 #3467

Closed
chaudum opened this issue Sep 19, 2017 · 3 comments
Closed

Running crate:2.1.7 is starting 2.1.6 #3467

chaudum opened this issue Sep 19, 2017 · 3 comments

Comments

@chaudum
Copy link
Contributor

chaudum commented Sep 19, 2017

Hi,

We encountered following issue:

After the last update of CrateDB (see ea08576), crate:latest, crate:2.1 and crate:2.1.7 should run CrateDB 2.1.7 - based on commit crate/docker-crate@21b3ccb

However, when running this tag, CrateDB version 2.1.6 is starting

$ docker run --rm -ti crate:2.1.7 crate -v
Version: 2.1.6, Build: ef717e0/2017-08-29T11:08:06Z, ES: 5.4.3, JVM: 1.8.0_121

So I checked if the tarball of CrateDB version 2.1.7 is corrupt or containing a wrong version, but it's correct:

$ bin/crate -v
Version: 2.1.7, Build: 1c334ef/2017-09-14T09:49:00Z, ES: 5.4.3, JVM: 1.8.0_144

Any ideas?

@tianon
Copy link
Member

tianon commented Sep 19, 2017

Doh, looks like the new Crate version is failing to build due to keyserver flakiness -- I've restarted the build again. The new tags being updated with the old bits is a side effect of #2289 -- we have some optimizations in place which assume the "most specific" tag is the first listed, which in crate's case is latest.

I'll send a PR in a moment to update library/crate to the newer file format and to adjust the order of the tags so we avoid doing pushing the wrong bits like this in the future (and I'll watch and restart the official build until it succeeds).

@tianon
Copy link
Member

tianon commented Sep 19, 2017

Confirmed fixed and new PR opened at #3469 to help ensure it doesn't happen again. 👍

$ docker run -it --rm crate:2.1.7 crate -v
Unable to find image 'crate:2.1.7' locally
2.1.7: Pulling from library/crate
019300c8a437: Already exists 
7016202d4a29: Pull complete 
96b9a6c17b1f: Pull complete 
75274f044a6f: Pull complete 
b0d87e933ea0: Pull complete 
801f25af85e8: Pull complete 
ce022563b10f: Pull complete 
690dc93ea6ab: Pull complete 
Digest: sha256:5594a1a1841ffc0c137a9534cd2b6d693e5ac1875cd0f5ab41f8ab3fadafc531
Status: Downloaded newer image for crate:2.1.7
Version: 2.1.7, Build: 1c334ef/2017-09-14T09:49:00Z, ES: 5.4.3, JVM: 1.8.0_121

@chaudum
Copy link
Contributor Author

chaudum commented Sep 21, 2017

@yosifkit @tianon thanks for your support!

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

No branches or pull requests

2 participants