Project

General

Profile

Actions

Bug #27369

closed

Nodes API payload for agentKey has the wrong JSON format

Bug #27369: Nodes API payload for agentKey has the wrong JSON format

Added by Clark ANDRIANASOLO 6 months ago. Updated 4 months ago.

Status:
Released
Priority:
2
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
It bothers me each time
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
90
Name check:
To do
Fix check:
Checked
Regression:
No

Description

In 8.3, since #25884, the POST /api/nodes/<nodeid> endpoint only supports to update the agent key value with a wrapping JSON object, however a string is expected :

{"agentKey":{"status":"certified", "value": { "value": "-----BEGIN CERTIFICATE---[..] "}}}

instead of

{"agentKey":{"status":"certified", "value": "-----BEGIN CERTIFICATE---[..] "}}


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #25884: Migrate SecurityToken ldap json serialisation to ZIOReleasedClark ANDRIANASOLOActions

Updated by Clark ANDRIANASOLO 6 months ago Actions #1

Updated by François ARMAND 6 months ago Actions #2

  • Assignee set to François ARMAND

Updated by François ARMAND 6 months ago Actions #3

  • Priority changed from To review to 2

Updated by François ARMAND 6 months ago Actions #4

  • Status changed from New to In progress

Updated by François ARMAND 6 months ago Actions #5

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder/pull/6549

Updated by Anonymous 6 months ago Actions #6

  • Status changed from Pending technical review to Pending release

Updated by Vincent MEMBRÉ 4 months ago Actions #7

  • Fix check changed from To do to Checked

Updated by Vincent MEMBRÉ 4 months ago Actions #8

  • Status changed from Pending release to Released
  • Priority changed from 91 to 90

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

Actions

Also available in: PDF Atom