Project

General

Profile

Actions

Bug #11234

closed

Bug #10766: rudder agent factory-reset bugs

rudder agent factory-reset bugs

Added by Benoît PECCATTE over 6 years ago. Updated over 6 years ago.

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

Description

There was a bug in the resolution of #10766

Actions #1

Updated by Benoît PECCATTE over 6 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #2

Updated by Benoît PECCATTE over 6 years ago

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

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.6 to 4.1.7
Actions #4

Updated by Benoît PECCATTE over 6 years ago

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

Updated by Nigel Mundy over 6 years ago

The issue that this parent's bug report was for included the -f (force) switch not working. It was allegedly fixed in 4.1.6 but has not been, and the above changeset is still showing the issue.

It needs the addition of a valid selection for "f" to the getopts line in agent-factory-reset, ie:

+while getopts "iIvdqcf" opt; do
-while getopts "iIvdqc" opt; do
case $opt in
i|I|v|d)
VERBOSE=true
QUIET=false
;;
q)
VERBOSE=false
QUIET=true
;;
c)
clear_colors
;;
f)
FORCE=1
;;
esac

Actions #6

Updated by Vincent MEMBRÉ over 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.7 and 4.2.0~rc1 which were released today.

Actions

Also available in: Atom PDF