Closed muryanto1 closed 6 years ago
This issue is a symptom of design. This particular error occurs because CoG can't find the esgf_security schema. But the esgf_security schema gets set up during the esg-security installation as part of an IDP node installation. I can write a somewhat hacky solution that checks the node type and sets up the schema appropriately. But as of now, there an Index node appears to be dependent on an IDP setup being present
The ordering also matters as the Index node depends on the esgf_security schema (which is setup as part of an IDP installation).
Resolved 11b17710cdaf0040ed95fd705f04fdac5611832a
python setup.py setup_cog --esgf=true process returncode: 1 DEBUG - esg_functions.py - 443 - stream_subprocess_output - 03/28/2018 04:01:12 PM - stderr None Traceback (most recent call last): File "esg_node.py", line 509, in
main(node_type_list)
File "esg_node.py", line 453, in main
system_component_installation(esg_dist_url, node_type_list)
File "esg_node.py", line 325, in system_component_installation
esg_cog.main()
File "/root/esgf-installer/index_node/esg_cog.py", line 156, in main
setup_cog()
File "/root/esgf-installer/index_node/esg_cog.py", line 120, in setup_cog
esg_functions.stream_subprocess_output("python setup.py setup_cog --esgf=true")
File "/root/esgf-installer/esgf_utilities/esg_functions.py", line 447, in stream_subprocess_output
raise SubprocessError({"stdout": process.stdout, "returncode": process.returncode})
esgf_utilities.esg_exceptions.SubprocessError: {'returncode': 1, 'stdout': <closed file '', mode 'rb' at 0x7f20447f0ed0>}