Uploaded image for project: 'Zero Trust Workload Identity Manager'
  1. Zero Trust Workload Identity Manager
  2. SPIRE-339

Upgradeable condition in OperatorCondition never transitions to True even when all operands are ready

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Component: Operator Lifecycle Management, OperatorCondition
      Affects Version: v0.2.0 (with PR #64)
      Labels: operator-condition, upgradeable, olm, pr-64, lifecycle-management

      Description:

      PROBLEM:
      The Upgradeable condition in OperatorCondition remains False even when operator logs show allReady=true and all SPIRE operands are healthy. This defeats the entire purpose of PR #64 as OLM will always block upgrades.

      EXPECTED BEHAVIOR:
      When allReady=true, OperatorCondition should show:

      • status: "True"
      • reason: "OperatorReady"
      • message: "All operands are ready, safe to upgrade"

      ACTUAL BEHAVIOR:
      OperatorCondition shows:

      • status: "False"  
      • reason: "OperandsNotReady"
      • message: "Not safe to upgrade - operands exist but are not ready: [SpireAgent/cluster]"

      EVIDENCE:

      1. Operator logs show contradiction:
         allReady=true notCreated=0 failed=0
         BUT upgradeable="False"  ← BUG

      2. ZeroTrustWorkloadIdentityManager shows:
         Upgradeable: True
         All operands ready: true

      3. All SpireAgent conditions: Ready=True
      4. All pods: Running and healthy (3/3 agents, 2/2 server, etc.)

              rh-ee-aagnihot Anirudh Agnihotri
              rh-ee-sayadas SAYAK DAS
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: