automation-suite
2022.10
false
- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- ArgoCD 在首次安装后进入“进行中”状态
- 意外不一致;手动运行 fsck
- MongoDB Pod 处于 CrashLoopBackOff 状态或在删除后处于“等待 PVC 配置”状态
- MongoDB Pod 从 4.4.4-ent 升级到 5.0.7-ent 失败
- 集群还原或回滚后服务运行状况不佳
- Pod 在 Init:0/X 中卡住
- Prometheus 处于 CrashLoopBackoff 状态,并出现内存不足 (OOM) 错误
- 监控仪表板中缺少 Ceph-rook 指标
- Pod 无法在代理环境中与 FQDN 通信
- 使用 Automation Suite 诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
MongoDB Pod 从 4.4.4-ent 升级到 5.0.7-ent 失败
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Automation Suite 安装指南
上次更新日期 2025年4月2日
MongoDB Pod 从 4.4.4-ent 升级到 5.0.7-ent 失败
从 Automation Suite 2021.10 升级到 2022.10 时,MongoDB Pod 在滚动更新时卡住,无法从版本 4.4.4-ent 移动到 5.0.7-ent。只有一个 Pod 可用,且未通过就绪检查。
要检查 MongoDB 代理日志,请运行以下命令:
kubectl get pods -n mongodb
Use the pod name and get log for that pod
kubectl logs <pod-name> -n mongodb -c mongodb-agent
In the Agent logs if we are seeing below line then the upgrade hasn't been successful
['currentState.Version = 4.4.4-ent is equal to desiredState.Version = 5.0.7-ent' = false]
kubectl get pods -n mongodb
Use the pod name and get log for that pod
kubectl logs <pod-name> -n mongodb -c mongodb-agent
In the Agent logs if we are seeing below line then the upgrade hasn't been successful
['currentState.Version = 4.4.4-ent is equal to desiredState.Version = 5.0.7-ent' = false]
要解决此问题,请执行以下步骤:
- 在 ArgoCD 中禁用自动同步。转到“应用程序”>“MongoDB”>“应用程序详细信息”>“摘要”,然后单击“禁用自动同步”。
- MongoDB sts 定义仍在使用旧的 MongoDB
localhost:30071/mongodb/mongodb-enterprise-appdb-database:4.4.4-ent
映像。编辑定义以使用版本 5.0.7-ent。保存并同步。 - 删除旧的 MongoDB Pod。
- Pod 应提供 MongoDB 版本 5.0.7-ent。