Automation Suite
2023.10
False
横幅背景图像
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日

Apps 服务升级失败

描述

Apps 的服务升级可能会失败,并显示以下日志:

Error: [failed to wait for application argocd/ba: timed out waiting for the condition, error waiting for components [] to be synced affecting their dependencies: [failed to wait for application argocd/ba: timed out waiting for the condition]]Error: [failed to wait for application argocd/ba: timed out waiting for the condition, error waiting for components [] to be synced affecting their dependencies: [failed to wait for application argocd/ba: timed out waiting for the condition]]

当 ArgoCD 无法使缓存失效时,会发生此问题,从而导致 MongoDB 保持在按比例缩小的状态。

解决方案

要解决此问题,请执行以下步骤:

  1. 扩展 MongoDB:

    kubectl scale deploy -n mongodb mongodb-kubernetes-operator --replicas=1
      kubectl rollout status deploy -n mongodb mongodb-kubernetes-operator
      kubectl rollout status sts -n mongodb mongodb-replica-set kubectl scale deploy -n mongodb mongodb-kubernetes-operator --replicas=1
      kubectl rollout status deploy -n mongodb mongodb-kubernetes-operator
      kubectl rollout status sts -n mongodb mongodb-replica-set
  2. 检查 MongoDB Pod 是否启动且运行正常:

    kubectl get pods -n mongodb -l app=mongodb-replica-set-svckubectl get pods -n mongodb -l app=mongodb-replica-set-svc
  3. MongoDB Pod 启动并运行后,您可以重新运行服务升级。

  • 描述
  • 解决方案

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.