Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Stale image #1758

Closed
derrickburns opened this issue Feb 23, 2019 · 8 comments
Closed

Stale image #1758

derrickburns opened this issue Feb 23, 2019 · 8 comments
Labels

Comments

@derrickburns
Copy link
Contributor

derrickburns commented Feb 23, 2019

It appears that the helm operator continues to look for updates to images after then have been removed from all existing helm releases.

I get:

ts=2019-02-23T01:49:53.028217228Z caller=warming.go:192 component=warmer canonical_name=index.docker.io/library/seagull auth={map[]} err="requesting tags: errors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n"

However, all references to index.docker.io/library/seagull have been removed from all releases.

@stefanprodan
Copy link
Member

The image scanning is being performed by Flux, the above are Flux logs not helm-op. Do you still see this error in Flux logs? The cache should be cleared after some time.

@derrickburns
Copy link
Contributor Author

Thanks for the clarification regarding responsibility.

I will check to see if the cache was cleared. How long do you expect before the sweep?

@2opremio
Copy link
Contributor

How long do you expect before the sweep?

It will take max(time_to_process_backlog), 1min), were time_to_process_backlog is the time it takes to go through all the repositories to sweep.

However, all references to index.docker.io/library/seagull have been removed from all releases.

Note that flux checks all the Kubernetes controllers existing in the cluster, not in your git repo.

@derrickburns my guess is that you have a controller in the cluster still using index.docker.io/library/seagull

@squaremo / @hiddeco why are we using the Cluster resources and not the Git repo manifest as the source of container image registries?

@stefanprodan
Copy link
Member

stefanprodan commented Feb 26, 2019

@2opremio Flux has a readonly mode for Weave Cloud where we display all workloads running in your cluster. Scanning all the images is a feature that Weave Cloud needs.

@derrickburns
Copy link
Contributor Author

derrickburns commented Feb 26, 2019 via email

@squaremo
Copy link
Member

@derrickburns fluxd doesn't garbage collect resources at present (though see the ever-ripening #1442), so perhaps what's happened is that the resource name changed, and there's an out of date HelmRelease floating around.

Would you be able to check if there's a HelmRelease anywhere that you don't expect to be there? Mainly so we can post a plausible explanation, before tying up this issue.

@derrickburns
Copy link
Contributor Author

derrickburns commented Feb 27, 2019 via email

@squaremo
Copy link
Member

Thanks for confirming that @derrickburns. Closing as we have an explanation and a remedy.

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

No branches or pull requests

4 participants