tridentSnapMirrorの昇格により、Vserverが一時的に変更からロックされました
環境
- Trident for Kubernetes and OpenShift 25.06.2
- Trident Protect 25.06.2
- ONTAP 9.16.1P11
- MCC、SVM-DR
問題
Trident Protect のミラー設定では、最初にミラーをプロモートする際に問題はありません。しかし、再び元に戻そうとすると(反対方向にプロモートしようとすると)、ONTAP vserver のロックエラーが発生して失敗します。
trident-controller の Trident イベントで確認された完全なエラーは以下のとおりです:
time="2026-05-26T07:47:11Z" level=error msg="Could not promote mirror" TridentMirrorRelationship=<TMR_NAME> crdControllerEvent=update error="API State: failure, Message: This Vserver is temporarily locked from changes while recording the configuration baseline. Try again in a few minutes or manually stop configuration replication by running \"vserver config-replication pause\" and retry the command., Code: 2621573"logLayer=crd_frontend logSource=trident-crd-controller requestID=<REQUEST_UID> requestSource=CRD workflow="cr=reconcile"ONTAP 側では、このエラーはプロモーションを受ける Kubernetes/Openshift クラスターに新しいエクスポートを追加しようとした際に発生します。
このエラーは、
mlog/audit.log からの他の多くのエクスポートポリシー変更においても、REST API 呼び出しによるルールの追加または削除の際に確認されます:DELETE /api/protocols/nfs/export-policies/<POLICY-ID>/rules/<RULE-NUMBER>POST /api/protocols/nfs/export-policies/<POLICY-ID>/rules : {"clients":[{"match":"<IP-ADDRESS>"}],"ro_rule":["any"],"rw_rule":["any"],"superuser":["any"],"protocols":["nfs"]}