Importing Cluster - Job Failed - Wrong node list

Comments

2 comments

  • Official comment
    Avatar
    Ashraf Sharif

    Hi Franscisco,

    Thanks for reporting this. The OS user must be configured with proper PATH environment variable, as expected by any root/sudo user. The below should be expected:

    PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/user/.local/bin:/home/user/bin

    Details at https://severalnines.com/docs/requirements.html#operating-system-user 

    Regards,

    Ashraf

    Comment actions Permalink
  • Avatar
    Deandradefj

    I've just had some help debugging the problem and discovered that the problem is that the process executes the motd.sh script, that is failing when cluster control runs it but does not fail when is manually run.

    It's failing because the ssh session doesn't have the user's environment variables.
    So it tries to run a shell command and fails when it doesn't find the command.

    When I add the full command path the problem is solved.

    Thanks,
    Francisco Andrade

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk