Project

General

Profile

Actions

Bug #16785

closed

Remote run does not work with root 6.0 / relay 5.0

Added by François ARMAND almost 5 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
-
Target version:
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 #1

Updated by François ARMAND over 4 years ago

  • Target version changed from 6.0.3 to 6.0.4
Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.4 to 6.0.5
Actions #3

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.5 to 6.0.6
  • Priority changed from 22 to 21
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.6 to 6.0.7
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.7 to 6.0.8
Actions #6

Updated by François ARMAND over 4 years ago

  • Status changed from New to Rejected
  • Priority changed from 21 to 20

I'm closing that one since 5.0 is EOL.

Actions

Also available in: Atom PDF