mNode のセットアップ - mnode スクリプトまたは管理サービスの更新が失敗します 12.2+ では、 configure_element_auth エラーが発生しています
環境
- Element 管理ノード( mNode )バージョン 12.2 以降
- NetApp Element ソフトウェア
問題
/sf/packages/mnode/setup-mnode
スクリプトを使用してmNodeを設定するか 、mNodeの管理サービスの更新が/var/log/sf-nde.info
次の場所で認証エラーで失敗します。
ERROR [auth_utilities.py:112] 400 Client Error: Bad Request for url: https://x.x.x.x/auth/api/1/configuration
ERROR:Uncaught Exception:
Traceback (most recent call last):
File "setup_scripts/config_util.py", line 1549, in configure_element_auth
File "docker/models/containers.py", line 814, in run
docker.errors.ContainerError: Command 'None' in image 'reconfigure-auth-sidecar:1.0.4' returned non-zero exit status 1: b'2021-01-22 21:37:04.105 INFO [logger.py:153] Log level for reconfigure-auth-sidecar has been set to INFO\n2021-01-22 21:37:04.107 INFO
- mNodeの設定中に次のエラーが表示されることがあります。
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url: https://<MVIP>/auth/api/2/configuration
2021-05-24 23:27:36.873 DEBUG [auth_utilities.py:207] Response: Reconfiguration failed with HTTP error: "503 Server Error: Service Unavailable for url: https://<MVIP>/auth/api/2/configuration". See log for traceback., RC: 503
2021-05-24 23:27:36.873 ERROR [auth_utilities.py:209] Reconfiguring auth failed. Aborting deployment. Got error: "Reconfiguration failed with HTTP error: "503 Server Error: Service Unavailable for url: https://<MVIP>/auth/api/2/configuration". See log for traceback."
sfprime.MnodeCfgError: Failed to update element-auth configuration
setup-mnode
クラスタがまだアップグレードモードのときに、スクリプトが上記と同じエラーで失敗しました(11.5から12.3など)。