初始化 OMS 资源标签和资源组
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
python -m omsflow.scripts.units.oms_cluster_manager add_resource
/root/omsflow
Will add cm_nodes ['10.x']
Add host by ip 10.x
2024-05-14 15:14:41,087-urllib3.connectionpool-DEBUG connectionpool._new_conn.250 :Starting new HTTP connection (1): xxxxx:8088
2024-05-14 15:14:41,092-urllib3.connectionpool-DEBUG connectionpool._make_request.483 :http://xxxxx:8088 "POST /resource/host/add HTTP/1.1" 503 305
Error 503
HTTP ERROR: 503
Problem accessing /resource/host/add. Reason:
Service Unavailable
Powered by Jetty://
0 post url : http://xxxxx:8088/resource/host/add, data : {'status': 'ONLINE', 'ip': '10.x', 'storeLimit': 32, 'jdbcWriterLimit': 40, 'groupName': '1'} error,retry later ......
2024-05-14 15:15:01,114-urllib3.connectionpool-DEBUG connectionpool._new_conn.250 :Starting new HTTP connection (1): xxxxx:8088
2024-05-14 15:15:01,120-urllib3.connectionpool-DEBUG connectionpool._make_request.483 :http://xxxxx:8088 "POST /resource/host/add HTTP/1.1" 503 305
Error 503
HTTP ERROR: 503
Problem accessing /resource/host/add. Reason:
Service Unavailable
Powered by Jetty://
1 post url : http://xxxxx:8088/resource/host/add, data : {'status': 'ONLINE', 'ip': '10.xxxxx', 'storeLimit': 32, 'jdbcWriterLimit': 40, 'groupName': '1'} error,retry later ......
2024-05-14 15:15:21,142-urllib3.connectionpool-DEBUG connectionpool._new_conn.250 :Starting new HTTP connection (1): xxxxx:8088
2024-05-14 15:15:21,146-urllib3.connectionpool-DEBUG connectionpool._make_request.483 :http://xxxxx:8088 "POST /resource/host/add HTTP/1.1" 503 305
Error 503
HTTP ERROR: 503
Problem accessing /resource/host/add. Reason:
Service Unavailable
Powered by Jetty://
2 post url : http://xxxxx:8088/resource/host/add, data : {'status': 'ONLINE', 'ip': '10.xxxxx', 'storeLimit': 32, 'jdbcWriterLimit': 40, 'groupName': '1'} error,retry later ......
2024-05-14 15:15:41,169-urllib3.connectionpool-DEBUG connectionpool._new_conn.250 :Starting new HTTP connection (1): xxxxx:8088
2024-05-14 15:15:41,173-urllib3.connectionpool-DEBUG connectionpool._make_request.483 :http://xxxxx:8088 "POST /resource/host/add HTTP/1.1" 503 305
Error 503
HTTP ERROR: 503
Problem accessing /resource/host/add. Reason:
Service Unavailable
Powered by Jetty://
3 post url : http://xxxxx:8088/resource/host/add, data : {'status': 'ONLINE', 'ip': '10.xxxxx', 'storeLimit': 32, 'jdbcWriterLimit': 40, 'groupName': '1'} error,retry later ......