image-automation-controller icon indicating copy to clipboard operation
image-automation-controller copied to clipboard

image-automation-controller not working after upgrade

Open uderik opened this issue 1 year ago • 4 comments

image-automation-controller v0.24.1 crash loop after update to latest version log attached

image-automation-controller.log

uderik avatar Aug 11 '22 18:08 uderik

@uderik do you mind confirming what version were you running before the update?

Is this happening intermittently or at every reconciliation?

pjbgf avatar Aug 11 '22 18:08 pjbgf

@pjbgf 0.23.5 works fine 0.24.1/0.24.0 versions does not work, crashing after start

uderik avatar Aug 11 '22 20:08 uderik

Hi, can you provide some more information about your setup? The git provider, self-hosted or managed and parts of ImageUpdateAutomation and GitRepository spec that can be shared. Maybe also the architecture amd64, arm or arm64, as this version includes changes to how we build libgit2, there is a possibility of issues in some architectures. I've been trying to reproduce it but seems to work fine for me.

darkowlzz avatar Aug 11 '22 20:08 darkowlzz

Also, can you please enable debug logs by setting --log-level=debug in the container arguments.

You can use this patch in your flux kustomization if your image-automation-controller is managed by flux itself:

patches:
  - target:
      version: v1
      group: apps
      kind: Deployment
      name: image-automation-controller
      namespace: flux-system
    patch: |-
      - op: add
        path: /spec/template/spec/containers/0/args/-
        value: --log-level=debug

please adjust any names according to your setup.

Debug logs may provide some more information about the issue.

darkowlzz avatar Aug 11 '22 20:08 darkowlzz

We can reopen this issue if it is still affecting you, but for now I am closing it as there has been no response.

kingdonb avatar Aug 25 '22 15:08 kingdonb