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
New out of date image indicators feature in 2.14.0 BE may be confusing. #7148
Comments
We've just pushed an update to the documentation which is the first step towards clarifying how this works further, and I'm currently gathering some more technical background information on the functionality which I'll add as well once I have it. Essentially:
It is worth noting that image update notifications are currently not supported for private registries and private DockerHub accounts. This is due to be fixed in our next version. |
I've just been doing some testing and I'm not able to replicate what you've indicated with the In terms of how it all works:
I'll be bringing this detail over into the documentation soon, but I wanted to reply to you directly here as well. |
Curious...
and yet the running one shows red and portainer sees it as
Yes I stopped , removed, re-pulled and recreated (via docker-compose)... |
@jamescarppe
If you feel it worth pursuing why I'm still "seeing red" and want any more info from my end I'll gladly oblige if I can. If you prefer to close this as "can't repro" ("user/environmental anomaly" 🤔 ) I'd be fine with that too, though maybe leaving this open for a while in case it isn't "just me" would be best. |
If you do a We currently only compare the first local digest with the remote - if this happens to be an older digest compared to the remote repo then it might explain why you're receiving a false "out of date" notification. We're discussing internally as to how we should handle multiple digests in this feature. |
I do indeed have two. Afk at the moment, but I remember clearly noticing
two on inspection.
I'd guess not too difficult to match "any one", but no doubt it is more
tricky. Hope you find a neat solution.
update: I actually have 3 now for haproxy:latest
```
"RepoDigests": [
"haproxy@sha256:b9cf7aacc36beb88fe227792f1a914fad8e850b04c46f8793bf76068a98a0498",
"haproxy@sha256:bc68ce87bd98293aabcbc8148e5ca2fa87cf9034c8414e2ec221faf6597670cb",
"haproxy@sha256:c0c9ce3a829469382c4bc3f5e464e716f4362fb9df95ba7890f0de2d75e5e402"
],
```
|
A quick update here: I've opened an internal issue around the multiple digests issue, and we'll be working towards a fix for it. |
Have the same issue. Is this why I get false 'out-of-date' notifications?
|
Although issue #7371 is closed, I still have the problem mentioned here in version 2.16.2. Any updates? |
We made some changes around this in 2.17.0 - are you able to test and confirm whether this version resolved your issues? |
I'm no longer seeing red when up-to-date, but I don't have any images with multiple digests at the moment, thus I can't really test or confirm. Hopefully @veeroohre can. |
Hi
I can confirm it is fixed now (at least for me). No more red dots on my
alpine/arm containers. Thank you for fixing!
Am Fr., 17. Feb. 2023 um 04:40 Uhr schrieb Phil Clifford <
***@***.***>:
… We made some changes around this in 2.17.0 - are you able to test and
confirm whether this version resolved your issues?
I'm no longer seeing red when up-to-date, but I don't have any images with
multiple digests at the moment, thus I can't really test or confirm.
Hopefully @veeroohre <https://github.com/veeroohre> can.
—
Reply to this email directly, view it on GitHub
<#7148 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDMBOCFUJZ7JRYD5RACQNTWX3XJDANCNFSM52D6WC3A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks indeed! |
@jamescarppe it looks like it is not "completely fixed": Today I spotted
This is with EE 2.17.1 - just updating because portainer is also red, one moment ...
So removing and re-creating portainer has cleared the red indicator for both haproxy and portainer-ee (still 2.17.1) (Sorry I didn't grab |
Hi there, Today I noticed that a bunch of my containers were running an outdated version when indicator icon was green on all. I'm running Portainer 2.18.4 and I'm pretty sure this was running fine with 2.18.3. I don't think anything in my environnement could "mislead" the versioning but the only thing I remember changing is going from the anonymous Docker registry to a "signed-up" one (also Docker.io) Is there anything I can check on my end to see if it's related to the upgrade or the registry change? maybe something else? Thanks in advance & kind regards PS: I hope this is the right thread for it... just let me know if I need to move my post 😉 |
I like this new feature, but could not find documentation other than what is in the New Features section so had to guess the detailed intent and what it was trying to tell me (and what data it was using)
Bug description
Apparently shows red for any newer repository image regardless of tag. Some repositories may have "newer" (later, higher tag ... ) images that I would not regard as significant or appropriate to flag my running container as outdated. This might be beta/dev/test versions or it might be just a different tag (if I have pinned a version/tag for example)
Expected behaviour
I would expect to show red for only where a newer image existed for the running image's tag. For example if my container is running the locally-pulled
haproxy:latest
I would expect that to be green. If a newer image tagged latest exists on docker hub I'd expect a red flag, and if I've already pulled a local copy ofhaproxy:latest
but am running an outdated version (which the pull will have untagged and probably shows with an ID pseudo-tag in the dashboard) I would expect that to be flagged amber, indicating I need to re-create/update without needing to pull.I would expect the user documentation to explain (or link to a technical explanation of) the intended meaning of the new traffic lights/states, how they derive their state, what might be the recommended "path to green" in various scenarios (and maybe the UI could make the traffic light separately clickable (or carry it/the state through to the detail view when the column is clicked) leading to the appropriate step (e.g.
re-create
container with thepull
toggle appropriately pre-set).Of course this is all speculative guesswork tinged with my prejudices and habits so apologies if I'm completely misguided here.
Many thanks.
Steps to reproduce the issue:
pull and run
haproxy:latest
andhaproxy:2.7-dev
,haproxy:latest
will be marked red, the dev one green.Technical details:
docker run -d -p 8000:8000 -p 9000:9000 -p 9443:9443 --name=portainer --restart=always --pull=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee:latest
The text was updated successfully, but these errors were encountered: