-
Notifications
You must be signed in to change notification settings - Fork 3
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
NEVER use lastest tag #179
Comments
I don't find the two linked articles that convincing in our use case, since we build and push images on the CI, and the
Could you please describe exactly what happened? What was the bug? To me, this is more of an issue that we need to test more the official released versions (and perhaps release them less often).
I am not sure I understand your proposal here. The What would make more sense to me is to use the postgres version tag as the default, since supposedly, since updating PSQL is something that the user would typically want to avoid. What I think is the bigger underlying issue is that in |
Hmm, looks like the above is not quite true, the last release of So I am not sure where for example issue from aiidalab/aiidalab-home#149 came from. |
I was wrong about this, I thought But I still think using |
It does not come from the docker stack image but installing |
I got the error ( |
Thanks @superstar54. Yes, that is exactly the issue as reported aiidalab/aiidalab-docker-stack#379. Do you know why you have |
The original version is v2.2.2. I didn't upgrade it manually. Other packages should update it. |
Aiida-core cannot be updated, it is pinned in the image. So I would think
you were not using the latest tag.
Dne pá 19. 5. 2023 16:28 uživatel Xing Wang ***@***.***>
napsal:
… The original version is v2.2.2. I didn't upgrade it manually. Other
packages should update it.
—
Reply to this email directly, view it on GitHub
<#179 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIY64NYYJY6E4EXSTWSUKDXG6GS3ANCNFSM6AAAAAAYFXIOJM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I used a customized image, which uses |
How exactly did you get this error? (i.e. which commands exactly and where do you see the error?) Daemon cannot be reached is a very general error, it could have been something else.
In that case I really don't understand how you could get to aiida-core 2.3.0. We don't have anything imo that would require this version, so unless you went to great lengths to reinstall it, I am puzzled as you could get it to you image. |
Not fully true, I just check the constrain set in docker stack and it is pinned to a range https://github.com/aiidalab/aiidalab-docker-stack/blob/5a1de2efdf86aab6ab2153eebf9cc728f31d9e68/stack/base/requirements.txt#L1 As for the version constrain set in I don't know the better solution for it, the dilemma happened to this case is app and package break the container which we didn't consider. Maybe we need to pinning aiida-core version in https://github.com/aiidalab/aiidalab-docker-stack/blob/5a1de2efdf86aab6ab2153eebf9cc728f31d9e68/stack/base/requirements.txt#L1? |
I just tested, I use |
I see, you are correct, apologies.
How exactly did you install it? Also, what is the pip version? It is still weird that the version got updated, because qeapp requires In other words, we should find out what triggered the aiida-core reinstallation, and how to possibly avoid it. |
Nope,
I installed it from app store, just tick the include pre-release box. |
Ah, I see, in that case there's really nothing we could do in the docker stack (except if we exactly pin aiida-core version, but that seems problematic). |
fixes #179 The pull option was set as the default that will cause to download the latest version when it is available, which is not desired as discussed in #179. In most cases, users want to keep on using the image they pulled in the first place. The new version of image download has better happened when explicitly triggered by setting pull. This commit first makes --no-pull the default of --pull/no-pull option. The pull logic tweaks a bit so that when the image does not exist, it will anyway trigger the pull. If the image exists, the --pull needs to be set to trigger the pull.
This is one thing I got from JupyterCon23 from the talk of https://github.com/yuvipanda who is one of core developers for jupyter docker-stack. "Never use latest" is one take-home message.
I can also find some relevant articles about it:
We actually encounter the issue when using it as the default image in
aiidalab-launch
, when there is a new release of aiida-core, it uses the new image automatically. This brings the issue that in @superstar54's live demo, not only when starting the container takes time to pull the new image, but also a critical bug happened.I propose to use latest aiida-core version tag as the default tag of aiidalab-launch profile.
@yakutovicha @superstar54 @danielhollas comments?
The text was updated successfully, but these errors were encountered: