Automation Suite
2022.10
バナーの背景画像
Automation Suite インストール ガイド
最終更新日 2024年4月24日

MongoDB ポッドを 4.4.4-ent から 5.0.7-ent にアップグレードできない

説明

Automation Suite を 2021.10 から 2022.10 にアップグレードすると、MongoDB ポッドがローリング更新中にスタックし、バージョン 4.4.4-ent から 5.0.7-ent に移行できません。利用可能なポッドは 1 つだけで、そのポッドが準備状況の確認に失敗します。

解決策

MongoDB Agent のログを確認するには、次のコマンドを実行します。

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]

この問題を修正するには、次の手順に従います。

  1. ArgoCD で自動同期を無効化します。[Applications] > [MongoDB] > [AppDetails] > [Summary] に移動し、[Disable Auto-Sync] をクリックします。
  2. MongoDB の sts 定義でまだ古い MongoDB localhost:30071/mongodb/mongodb-enterprise-appdb-database:4.4.4-ent イメージが使用されています。バージョン 5.0.7-ent を使用するように定義を編集します。定義を保存して同期します。
  3. 古い MongoDB ポッドを削除します。
  4. ポッドが MongoDB バージョン 5.0.7-ent で起動します。
  • 説明
  • 解決策

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.