Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22292

Zabbix Operator for OpenShift - agent update fails to version 6.0.12

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Commercial support required
    • Icon: Trivial Trivial
    • None
    • 6.0.12
    • None
    • None
    • OpenShift Operator

      When the Operator tries to update the agent to version 6.0.12, it looks like it can't create the needed service account zabbix-agent.

      $ oc get events
      LAST SEEN   TYPE      REASON         OBJECT                         MESSAGE
      2m14s       Warning   FailedMount    pod/zabbix-agent-agent-4wk8g   MountVolume.SetUp failed for volume "kube-api-access-zgwfs" : failed to fetch token: serviceaccounts "zabbix-agent" not found
      2m14s       Warning   FailedMount    pod/zabbix-agent-agent-96flw   MountVolume.SetUp failed for volume "kube-api-access-8k4gd" : failed to fetch token: serviceaccounts "zabbix-agent" not found
      3m9s        Warning   FailedMount    pod/zabbix-agent-agent-9bvft   MountVolume.SetUp failed for volume "kube-api-access-krvzb" : failed to fetch token: serviceaccounts "zabbix-agent" not found
      35s         Warning   FailedMount    pod/zabbix-agent-agent-bbnwt   MountVolume.SetUp failed for volume "kube-api-access-zvzpc" : failed to fetch token: serviceaccounts "zabbix-agent" not found
      2m14s       Warning   FailedMount    pod/zabbix-agent-agent-klkbf   MountVolume.SetUp failed for volume "kube-api-access-vbgkx" : failed to fetch token: serviceaccounts "zabbix-agent" not found
      105s        Warning   FailedMount    pod/zabbix-agent-agent-qsbg5   MountVolume.SetUp failed for volume "kube-api-access-cznpq" : failed to fetch token: serviceaccounts "zabbix-agent" not found
      4m1s        Warning   FailedMount    pod/zabbix-agent-agent-xljhm   MountVolume.SetUp failed for volume "kube-api-access-dnhrb" : failed to fetch token: serviceaccounts "zabbix-agent" not found
      4m38s       Warning   FailedCreate   daemonset/zabbix-agent         Error creating: pods "zabbix-agent-" is forbidden: error looking up service account zabbix/zabbix-agent: serviceaccount "zabbix-agent" not found 

      According to the install plan, the service account is present.

      But when I click that link, it's not found.

      Relates to this ticket: https://support.zabbix.com/browse/ZBX-21924

        1. image-2023-02-02-16-16-06-362.png
          132 kB
          Tuomas Tielinen
        2. image-2023-02-02-16-16-53-035.png
          12 kB
          Tuomas Tielinen

            zabbix.support Zabbix Support Team
            Iguana6948 Tuomas Tielinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: