Project

General

Profile

Actions

Bug #12131

closed

Agent script argument parsing failure when using non-default locale

Added by The Ranger about 6 years ago. Updated about 6 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
80
Name check:
Fix check:
Regression:

Description

In certain non-default locales (such as et_EE.UTF-8 for example), rudder script fails parsing command line arguments:

rudder agent
Unknown role 'agen'

Usage: rudder help
rudder agent <command> [parameters ...]
rudder remote <command> [parameters ...]
rudder server <command> [parameters ...]

Actions #1

Updated by The Ranger about 6 years ago

Added a proposed bug fix in this PR: https://github.com/Normation/rudder-agent/pull/155

Actions #2

Updated by Vincent MEMBRÉ about 6 years ago

  • Subject changed from Agent script argument parsing failure to Agent script argument parsing failure when using non-default locale
  • Target version set to 4.1.10
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Effort required set to Very Small
  • Priority changed from 0 to 80

Thank you the ranger for reporting!

We will try to include your fix in the next round of release (4.1.10 / 4.2.4 / 4.3.0)

Many thanks that you have already added the "Fixes #xxxx" prefix in the commit message!

Actions #3

Updated by Alexis Mousset about 6 years ago

  • Status changed from New to In progress
  • Assignee changed from The Ranger to Alexis Mousset
Actions #4

Updated by Alexis Mousset about 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to The Ranger
Actions #5

Updated by Alexis Mousset about 6 years ago

  • Status changed from Pending technical review to New
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/158
Actions #6

Updated by Alexis Mousset about 6 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from The Ranger to Vincent MEMBRÉ
Actions #7

Updated by The Ranger about 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #8

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.

Actions

Also available in: Atom PDF