Project

General

Profile

Bug #11234

Bug #10766: rudder agent factory-reset bugs

rudder agent factory-reset bugs

Added by Benoît PECCATTE about 3 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

There was a bug in the resolution of #10766

#1

Updated by Benoît PECCATTE about 3 years ago

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

Updated by Benoît PECCATTE about 3 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
#3

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 4.1.6 to 4.1.7
#4

Updated by Benoît PECCATTE about 3 years ago

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

Updated by Nigel Mundy almost 3 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

#6

Updated by Vincent MEMBRÉ almost 3 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.

Also available in: Atom PDF