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

Images up-to-date dots do not update on the stack view for docker swarm #8480

Open
ednxzu opened this issue Feb 11, 2023 · 12 comments
Open

Images up-to-date dots do not update on the stack view for docker swarm #8480

ednxzu opened this issue Feb 11, 2023 · 12 comments

Comments

@ednxzu
Copy link

ednxzu commented Feb 11, 2023

Bug description
Images up-to-date dots do not update on the stack view for docker swarm. The dots update fine for individual containers, but the stack dot does not.
image
image

Expected behavior
The stack dot should revert back to green in case the stack images are all up to date.

Portainer Logs
Provide the logs of your Portainer container or Service.
You can see how here

Steps to reproduce the issue:

  1. Go to swarm stack view, with stack that have container s out of date
  2. Restart a stack and pull new images
  3. Stack dashboard does not update, tho the container tab will show all of the images up to date

Technical details:

  • Portainer version: 2.17 EE
  • Docker version 20.10.12, build 20.10.12-0ubuntu4
@tamarahenson
Copy link

@ednxzu

Thank you for the information. I am going to further investigate. I will update you as I learn more.

Thanks!

@ben-j-herbertz
Copy link

ben-j-herbertz commented Feb 13, 2023

For me its the other way around:

In "Stacks" and "Containers" everything is green, but in Services they are displayed as red (even though no update is there).

Technical details:

Portainer version: 2.17 EE
Docker version 23.0.0, build e92dd87
CentOS Stream release 9

image

image

image

@ednxzu
Copy link
Author

ednxzu commented Feb 13, 2023

I think what is happening (althought I didnt read the code or anything, just based on manual testing) is that, at least for the stack dots, they are only rendered once (when first opening the tab). Whatever happens after that (updating the stack), they are not refreshed again. Their color will always be what they were the first time you opened the tab.

Hope this helps :)

@tamarahenson
Copy link

Update:

An internal request has been logged and reviewed by Product. I do not yet have a timeline or release.

Thanks!

@ednxzu
Copy link
Author

ednxzu commented Mar 4, 2023

Nice, thank you !

@jdmartin
Copy link

jdmartin commented May 8, 2023

I know this is an older issue, but I wanted to say that I'm using 2.18.2 (EE), and my dots stay green regardless of available updates. This behavior began after my initial upgrade to 2.17.0. (I downgraded after this and updated to 2.18.2 when it became available.) (Issue at the time: #8461)

I was wondering if a fix is planned? Thanks, and do let me know if you need any more info. :)

@lubikx
Copy link

lubikx commented Aug 7, 2023

In version 2.18.4 (EE) issue persists. Stop/start portainer container updates the status, so that's a workaround.

@IzaacJ
Copy link

IzaacJ commented Aug 8, 2023

I have this issue in local. Updating a stack through webhooks keeps the dot red, and it is reflected in the api as well. If I update the stack in the GUI and select to pull images, it turns green again, even if all images are up to date.
Version 2.18.4 (BE)

@jamescarppe
Copy link
Member

This is on the board for a fix in a future release, no ETA at this stage.

Internal Ref: EE-5055

@sammyke007
Copy link

I have this issue in local. Updating a stack through webhooks keeps the dot red, and it is reflected in the api as well. If I update the stack in the GUI and select to pull images, it turns green again, even if all images are up to date. Version 2.18.4 (BE)

I can confirm this. Webhook updates won't update the icons.

@IetIesAai
Copy link

I have this issue in local. Updating a stack through webhooks keeps the dot red, and it is reflected in the api as well. If I update the stack in the GUI and select to pull images, it turns green again, even if all images are up to date. Version 2.18.4 (BE)

I can confirm this. Webhook updates won't update the icons.

exactly the same here Portainer Business Edition 2.19.1

@Sclafus
Copy link

Sclafus commented Apr 22, 2024

Hello, this is still an issue in Portainer Business Edition 2.19.5
I see that the issue is mentioning Docker swarm. It seems like it's applicable to "Vanilla" Docker + Compose as well.
image
image

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

No branches or pull requests

10 participants