在 Element mNode 上更新 Setup-mnode 脚本或管理服务失败 12.2+ 存在 configure_element_auth 错误
适用场景
- Element Management Node ( mNode ) 12.2 及更高版本
- NetApp Element 软件
问题描述
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."
Failed to update element-auth configuration
setup-mnode
当集群仍处于升级模式(例如11.5到12.3)时、脚本失败、并显示与上述相同的错误