An MRS Cluster Fails Authentication When Accessing OBS Because the NTP Time of Cluster Nodes Is Not Synchronized
Symptom
A 403 error is reported when the cluster accesses OBS.
Cause Analysis
The NTP time of the master node in the cluster is not synchronized with the NTP server time of the nodes outside the cluster. The time difference exceeds 15 minutes. As a result, the authentication fails when the cluster accesses OBS and error 403 is reported.
Procedure
- Log in to the active Master node of the cluster as user root.
- Modify the ${BIGDATA_HOME}/om-server/om/inst/conf/oms-config.ini and ${BIGDATA_HOME}/om-server/OMS/workspace0/conf/oms-config.ini configuration files, add ntp.myhuaweicloud.com before the value of ntp_server_ip.
... ntp_server_ip=ntp.myhuaweicloud.com,10.127.1.0 ...
- Log in to the standby master node of the cluster as user root and go to 2.
- Wait about 2 minutes and run the following command on the active master node to check whether the IP address is successfully synchronized:
ntpq -np
The command output is as follows.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot