Project

General

Profile

Actions

Bug #9990

closed

User story #9707: Add a Relay API: share files between nodes, launch run on remote run behind relay

Broken remote run in 4.1

Added by Alexis Mousset almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

CFEngine 3.9 changelog: - cfruncommand is not executed under shell. (Redmine #7409)

    !windows::
      "$(def.cf_runagent_shell)" 
      handle => "server_access_grant_access_shell_cmd",
      comment => "Grant access to shell for cfruncommand",
      admit => { @(def.policy_servers) };

    solaris::
      "cf_runagent_shell" 
        string  => "/usr/bin/sh",
        comment => "Define path to shell used by cf-runagent",
        handle  => "common_def_vars_solaris_cf_runagent_shell";

    !(windows|solaris)::
      "cf_runagent_shell" 
        string  => "/bin/sh",
        comment => "Define path to shell used by cf-runagent",
        handle  => "common_def_vars_cf_runagent_shell";

    windows::
      cfruncommand => "$(sys.cf_agent) -I -D cfruncommand -f \"$(sys.update_policy_path)\"  &
                       $(sys.cf_agent) -I -D cfruncommand";

    !windows::
      # last single quote in cfruncommand is left open, so that
      # arguments (like -K and --remote-bundles) are properly appended.
      cfruncommand => "$(def.cf_runagent_shell) -c \'
                           $(sys.cf_agent) -I -D cfruncommand -f $(sys.update_policy_path)  ;
                           $(sys.cf_agent) -I -D cfruncommand";


Subtasks 1 (0 open1 closed)

Bug #9991: Syntax error in parent ticketReleasedBenoît PECCATTEActions
Actions #1

Updated by Alexis Mousset almost 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Alexis Mousset almost 8 years ago

  • Status changed from In progress to New
  • Target version changed from 4.1.0~beta1 to 3.1.18
Actions #3

Updated by Alexis Mousset almost 8 years ago

  • Status changed from New to In progress
Actions #4

Updated by Alexis Mousset almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1107
Actions #5

Updated by Alexis Mousset almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #6

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.18, 3.2.11, 4.0.3 and 4.1.0~beta3 which were released today.

Actions

Also available in: Atom PDF