This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
Cannot undo ignore annotation #1211
Closed
Description
I added an flux.weave.works/ignore: "true"
annotation to some of my kubernetes deployments. In a subsequent commit to my kubernetes repo, I removed the annotations. However, flux still seems to ignore my deployments. I've tried killing the flux and flux memcached pods but that still hasn't fixed the problem. I've also tried renaming my manifest file.
some more info from slack:
in the weave flux agent logs I see
```ts=2018-07-06T17:41:26.352552842Z caller=sync.go:70 component=sync-loop resource=default:deployment/pb-production-accounts-deployment ignore=apply```
so for some reason the ignore tag is stuck to the deployment
I have triple checked our manifest file
and there are no annotations at all
stefan [7:47 PM]
what version are you running?
tamir [7:47 PM]
how can I find that info?
stefan [7:47 PM]
`kubectl get deployment/flux -oyaml`
check the image tag in the output (edited)
tamir [7:54 PM]
I ran `kubectl get deployment/weave-flux-agent -o yaml --namespace=weave`
@stefan the image tag is `quay.io/weaveworks/flux:1.4.2`
stefan [7:56 PM]
that's the latest version, it should work... maybe @mbridgen has any idea how to diagnose this
tamir [8:06 PM]
I’ve tried reinstalling as well
doesn’t seem to do anything
stefan [8:07 PM]
try renaming the deployment file
tamir [8:07 PM]
ok
tamir [8:14 PM]
it didn’t work
`ts=2018-07-06T18:11:55.108793942Z caller=sync.go:70 component=sync-loop resource=default:deployment/pb-production-accounts-deployment ignore=apply`
still shows up in the logs (edited)
I guess I’ll have to do things manually
@mbridgen @stefan let me know if you require any more info from me to diagnose this issue
stefan [8:16 PM]
one more try, can you please delete the flux pod and the memcache one
tamir [8:17 PM]
ok
tamir [8:29 PM]
still didn’t work :disappointed:
is there some volume memcached is using to persist its state?
maybe I can delete that as well?
stefan [8:37 PM]
Nop, my guess is that the git pull that Flux does gets somehow an older version. Can you check in Weave Cloud that you have the right branch
tamir [8:41 PM]
i see this
`ts=2018-07-06T18:37:57.633720149Z caller=loop.go:102 component=sync-loop event=refreshed url=git@github.com:... branch=master HEAD=5126c700b0ea20a1aa3677f9bcf700ad4b4f6200`
the git commit hash is correct
everything looks correctly configured in weave cloud as well
stefan [9:02 PM]
Please make an issue on GitHub with these logs
Activity