Actions
Bug #16785
closedRemote run does not work with root 6.0 / relay 5.0
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
20
Name check:
To do
Fix check:
To do
Regression:
Description
I get a that python error when trying to trigger a remote run from UI with a 6.0 server, and 5.0 relay:
Internal error! Cause: [Errno 2] No such file or directory: '/opt/rudder/etc/nodeslist.json' Traceback (most recent call last): File "/opt/rudder/share/relay-api/relay_api/views.py", line 114, in remote_run_nodes nodes = get_nodes_list(NODESLIST_FILE) File "/opt/rudder/share/relay-api/relay_api/common.py", line 56, in get_nodes_list fd = open(nodeslist_file, 'r') IOError: [Errno 2] No such file or directory: '/opt/rudder/etc/nodeslist.json'
It's likely because '/opt/rudder/etc/nodeslist.json' was moved between 5.0 and 6.0.
I'm not sure that cae should be supported, but the error should be handle cleanly.
Actions