【产品名称】
【产品版本】
【问题描述】
2022-06-01 19:22:22,322-urllib3.connectionpool-DEBUG connectionpool._new_conn.232 :Starting new HTTP connection (1): localhost:8090
2022-06-01 19:22:22,325-urllib3.connectionpool-DEBUG connectionpool._make_request.465 :http://localhost:8090 “POST /api/auth HTTP/1.1” 302 0
2022-06-01 19:22:22,329-urllib3.connectionpool-DEBUG connectionpool._make_request.465 :http://localhost:8090 “GET /login HTTP/1.1” 200 None
<Response [200]>
Traceback (most recent call last):
File “/usr/lib64/python2.7/runpy.py”, line 162, in _run_module_as_main
“__main__”, fname, loader, pkg_name)
File “/usr/lib64/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/root/omsflow/scripts/units/oms_cluster_manager.py”, line 196, in
main()
File “/root/omsflow/scripts/units/oms_cluster_manager.py”, line 192, in main
o.add_resource()
File “/root/omsflow/scripts/units/oms_cluster_manager.py”, line 175, in add_resource
self.add_resource_nodes(self.role)
File “/root/omsflow/scripts/units/oms_cluster_manager.py”, line 168, in add_resource_nodes
self.add_rm_cluster(cm_endpoint)
File “/root/omsflow/scripts/units/oms_cluster_manager.py”, line 108, in add_rm_cluster
token = self._auth(rm_endpoint)
File “/root/omsflow/scripts/units/oms_cluster_manager.py”, line 86, in _auth
auth_ret = loads(auth_ret.content)
File “/usr/lib64/python2.7/json/__init__.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib64/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib64/python2.7/json/decoder.py”, line 384, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
------------------------------------------------------------------------------------------------------------------------------------------------------------------
【结束】初始化失败,当前命令: python -m omsflow.scripts.units.oms_cluster_manager add_resource
-----------------------------------------------------------------------------------------------------