{
  "id": "kubernetes/helm-upgrade-failed-dependency",
  "signature": "Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress",
  "signature_zh": "错误：升级失败：另一个操作（安装/升级/回滚）正在进行中",
  "regex": "Error: UPGRADE FAILED: another operation \\(install/upgrade/rollback\\) is in progress",
  "domain": "kubernetes",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "Helm releases have a pending operation due to a previous incomplete install, upgrade, or rollback, often from a crash or timeout.",
  "root_cause_type": "generic",
  "root_cause_zh": "Helm 发布版本由于之前的安装、升级或回滚操作未完成（通常由于崩溃或超时）而处于待处理状态。",
  "versions": [],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Run the same upgrade command again with --atomic flag",
      "why_fails": "The pending lock isn't released by retrying; the operation still fails with the same error.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Delete the Helm release and reinstall",
      "why_fails": "Deleting the release loses all release history and secrets; it's destructive and may cause data loss.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Force unlock the release: 'helm rollback <release> <revision> --force' to rollback to a previous revision, which clears the pending state.",
      "success_rate": 0.8,
      "how": "Force unlock the release: 'helm rollback <release> <revision> --force' to rollback to a previous revision, which clears the pending state.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Manually delete the pending release secret: 'kubectl delete secret -n <namespace> sh.helm.release.v1.<release>.v<revision>' then retry the upgrade.",
      "success_rate": 0.85,
      "how": "Manually delete the pending release secret: 'kubectl delete secret -n <namespace> sh.helm.release.v1.<release>.v<revision>' then retry the upgrade.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Force unlock the release: 'helm rollback <release> <revision> --force' to rollback to a previous revision, which clears the pending state.",
    "Manually delete the pending release secret: 'kubectl delete secret -n <namespace> sh.helm.release.v1.<release>.v<revision>' then retry the upgrade."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://helm.sh/docs/helm/helm_upgrade/",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.82,
  "resolvable": "true",
  "first_seen": "2024-01-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}