Project

General

Profile

Actions

Bug #14209

closed

Impossible to reset the status of a Node using rudder-keys cli

Added by Vincent MEMBRÉ almost 6 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
98
Name check:
Reviewed
Fix check:
Error - Fixed
Regression:

Description

If you want to invalidate a state of the key of a Node (from Certified to Unknown) to allow to change a key of a Node it's impossible.

The status is correctly unset but the algorithm on the server side still use the old key...

Something is fishy in that algorithm, I think we should not use the already saved key in that case but the inventory one (see https://github.com/Normation/ldap-inventory/blob/4.3.8/inventory-api/src/main/scala/com/normation/inventory/services/provisionning/CheckInventoryDigest.scala#L176)


Subtasks 2 (0 open2 closed)

Bug #14871: Rudder command to reset agent key/certificate RejectedBenoît PECCATTEActions
Bug #15900: /opt/rudder/bin/rudder-keys reset-status need a pubkey ReleasedBenoît PECCATTEActions

Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #14707: Impossible to recreate a node deletedRejectedFrançois ARMANDActions
Actions #1

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #2

Updated by François ARMAND almost 6 years ago

  • Target version changed from 4.1.20 to 4.1.21
Actions #3

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.21 to 4.1.22
Actions #4

Updated by François ARMAND over 5 years ago

  • Related to Bug #14707: Impossible to recreate a node deleted added
Actions #5

Updated by François ARMAND over 5 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Effort required set to Very Small
  • Priority changed from 0 to 77

I'm setting it to "major", because when it happens, it's really complicated for an user to know what to do next. It may be linked to: https://issues.rudder.io/issues/14707

Actions #7

Updated by François ARMAND over 5 years ago

  • Translation missing: en.field_tag_list set to Sponsored
  • Assignee set to François ARMAND
  • Target version changed from 4.1.22 to 5.0.10
  • Priority changed from 77 to 108

We need an API to reset the certificat for a given node.

Actions #8

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.10 to 5.0.11
Actions #9

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.11 to 5.0.12
Actions #10

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.12 to 5.0.13
  • Priority changed from 108 to 105
Actions #11

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 105 to 102
Actions #12

Updated by François ARMAND over 5 years ago

  • Status changed from New to In progress
  • Priority changed from 102 to 101
Actions #13

Updated by François ARMAND over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/2464
Actions #14

Updated by François ARMAND over 5 years ago

  • Related to deleted (Bug #14707: Impossible to recreate a node deleted)
Actions #15

Updated by François ARMAND over 5 years ago

  • Has duplicate Bug #14707: Impossible to recreate a node deleted added
Actions #16

Updated by François ARMAND over 5 years ago

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

Updated by Vincent MEMBRÉ about 5 years ago

  • Priority changed from 101 to 100
  • Fix check set to To do
Actions #18

Updated by Vincent MEMBRÉ about 5 years ago

  • Name check set to To do
Actions #19

Updated by Nicolas CHARLES about 5 years ago

  • Fix check changed from To do to Error - Fixed
Actions #20

Updated by Alexis Mousset about 5 years ago

  • Name check changed from To do to Reviewed
Actions #21

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.14 which was released today.

Actions #22

Updated by Alexis Mousset over 2 years ago

  • Priority changed from 100 to 98
Actions

Also available in: Atom PDF