Automation Suite
2022.4
偽
- 概要
- 要件
- インストール
- インストール後
- クラスターの管理
- 監視とアラート機能
- 移行とアップグレード
- 製品固有の設定
- ベストプラクティスとメンテナンス
- トラブルシューティング
- インストール時にサービスをトラブルシューティングする方法
- クラスターをアンインストールする方法
- オフライン成果物をクリーンアップしてディスク領域を改善する方法
- Redis データをクリアする方法
- Istio ログを有効化する方法
- ログを手動でクリーンアップする方法
- sf-logs バンドルに保存されている古いログをクリーンアップする方法
- AI Center のストリーミング ログを無効化する方法
- 失敗した Automation Suite インストールをデバッグする方法
- アップグレード後に古いインストーラーからイメージを削除する方法
- Longhorn スナップショットを自動的にクリーンアップする方法
- NIC チェックサムオフロードを無効にする方法
- RHEL 8.4 OS でオフライン インストールを実行できない
- バンドルのダウンロード中のエラー
- バイナリがないため、オフライン インストールが失敗する
- オフライン インストールでの証明書の問題
- Longhorn のセットアップ中に最初のインストールが失敗する
- SQL 接続文字列の検証エラー
- selinux iscsid モジュールの前提条件の確認が失敗する
- Azure ディスクが SSD としてマークされない
- 証明書の更新後のエラー
- OS のアップグレード後に Automation Suite が動作しない
- Automation Suite で Backlog_wait_time を 1 に設定する必要がある
- ワークロードの準備ができていないためボリュームをマウントできない
- インストールおよびアップグレード中に RKE2 が失敗する
- 管理ポータルのタイムアウト期間を設定する
- 基になるディレクトリ接続を更新する
- 移行後にログインできない
- Kinit: Cannot Find KDC for Realm <AD Domain> While Getting Initial Credentials
- kinit: Keytab contains no suitable keys for *** while getting initial credentials
- GSSAPI operation failed with error: An invalid status code was supplied (Client's credentials have been revoked).
- Alarm received for failed kerberos-tgt-update job
- SSPI Provider: Server not found in Kerberos database
- Login Failed for User <ADDOMAIN><aduser>.Reason: The Account Is Disabled.
- ArgoCD へのログインに失敗した
- サンドボックス イメージを取得できない
- ポッドが ArgoCD UI に表示されない
- Redis プローブの障害
- RKE2 サーバーの起動に失敗する
- UiPath 名前空間でシークレットが見つからない
- 初期インストール後、ArgoCD アプリが Progressing ステートになる
- MongoDB ポッドが CrashLoopBackOff になるか、削除後に PVC プロビジョニングの保留中になる
- Unexpected inconsistency; run fsck manually
- クラスターの復元後に MongoDB またはビジネス アプリケーションの機能が低下する
- self-heal-operator および sf-k8-utils リポジトリが見つからない
- クラスターの復元またはロールバック後にサービスが異常になる
- RabbitMQ ポッドが CrashLoopBackOff でスタックする
- Prometheus が CrashloopBackoff ステートでメモリ不足 (OOM) エラーを伴う
- 監視ダッシュボードに Ceph-rook メトリックが表示されない
- Automation Suite 診断ツールを使用する
- Automation Suite サポート バンドル ツールを使用する
- ログを確認する
アップグレード後に古いインストーラーからイメージを削除する方法
Automation Suite インストール ガイド
最終更新日 2024年4月24日
アップグレード後に古いインストーラーからイメージを削除する方法
アップグレードの実行後にイメージの脆弱性やストレージの消費に関する問題が発生した場合は、古いインストーラーからイメージを削除できます。
このオプションのアップグレード後の操作を実行するには、次の手順を実行します。
-
次のスクリプトのクラスター構成に従って、
IMG
、TAG
、USER
、PASS
、registry
、latest_image_json
を更新し、実行します。#!/bin/bash ### Please change below variables as required IMG=<E.g. dataservice/dataservice-designer> TAG=<E.g. v20231116-tag> USER=<E.g. "admin"> PASS=<E.g. "password"> registry=<E.g. "registry.mycluster.com"> latest_image_json=<E.g. "/opt/UiPathAutomationSuite/UiPath_Installer/versions/docker-images.json"> #### [[ -f "${latest_image_json}" ]] || { echo "File "$latest_image_json" doesn't exist" exit 1 } cat "${latest_image_json}" | tr -d '",' | grep -w "${IMG}:${TAG}" >> /dev/null && { echo "Image ${IMG}:${TAG} is being used in cluster. Will skip the deletion." exit 0 } echo "Deleting image ${IMG}:${TAG}" cred="-u ${USER}:${PASS}" for i in `curl -k -H 'Accept: application/vnd.docker.distribution.manifest.v2+json' $cred "https://$registry/v2/$IMG/manifests/$TAG" | jq -r '.layers | .[] | .digest'`; do curl -k -H "Accept: application/vnd.docker.distribution.manifest.v2+json" $cred -X DELETE "https://$registry/v2/$IMG/manifests/$i" done for i in `curl -k -H 'Accept: application/vnd.docker.distribution.manifest.v2+json' $cred "https://$registry/v2/$IMG/manifests/$TAG" | jq -r '.config.digest'`; do curl -k -H "Accept: application/vnd.docker.distribution.manifest.v2+json" $cred -X DELETE "https://$registry/v2/$IMG/manifests/$i" done
#!/bin/bash ### Please change below variables as required IMG=<E.g. dataservice/dataservice-designer> TAG=<E.g. v20231116-tag> USER=<E.g. "admin"> PASS=<E.g. "password"> registry=<E.g. "registry.mycluster.com"> latest_image_json=<E.g. "/opt/UiPathAutomationSuite/UiPath_Installer/versions/docker-images.json"> #### [[ -f "${latest_image_json}" ]] || { echo "File "$latest_image_json" doesn't exist" exit 1 } cat "${latest_image_json}" | tr -d '",' | grep -w "${IMG}:${TAG}" >> /dev/null && { echo "Image ${IMG}:${TAG} is being used in cluster. Will skip the deletion." exit 0 } echo "Deleting image ${IMG}:${TAG}" cred="-u ${USER}:${PASS}" for i in `curl -k -H 'Accept: application/vnd.docker.distribution.manifest.v2+json' $cred "https://$registry/v2/$IMG/manifests/$TAG" | jq -r '.layers | .[] | .digest'`; do curl -k -H "Accept: application/vnd.docker.distribution.manifest.v2+json" $cred -X DELETE "https://$registry/v2/$IMG/manifests/$i" done for i in `curl -k -H 'Accept: application/vnd.docker.distribution.manifest.v2+json' $cred "https://$registry/v2/$IMG/manifests/$TAG" | jq -r '.config.digest'`; do curl -k -H "Accept: application/vnd.docker.distribution.manifest.v2+json" $cred -X DELETE "https://$registry/v2/$IMG/manifests/$i" done -
ガベージ コレクションを実行するためにレジストリ ポッドを再起動するか、レジストリ ポッドを実行し、次のコマンドを使用してガベージ コレクションを実行します。
registry garbage-collect /etc/docker/registry/config.yml
registry garbage-collect /etc/docker/registry/config.yml