Project

General

Profile

User story #9898

User story #9698: Import node properties from external data sources

404 on request should empty the properties on Node

Added by Vincent MEMBRÉ over 1 year ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Target version (plugin):
Suggestion strength:
User visibility:
Effort required:

Description

Currently an error is raised when a 404 is met when updating a datasource for a Node, and data for this node are kept in properties

We should change to behavior to delete properties on that node.

Associated revisions

Revision a595fdcf (diff)
Added by Vincent MEMBRÉ over 1 year ago

Fixes #9898: 404 on request should empty the properties on Node

Revision fb115897 (diff)
Added by Vincent MEMBRÉ over 1 year ago

Fixes #9898: 404 on request should empty the properties on Node

History

#1 Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from New to In progress

#2 Updated by Vincent MEMBRÉ over 1 year ago

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

#3 Updated by Nicolas CHARLES over 1 year ago

Shouldn't it be configurable ? Like if for some reason the CMDB is in maintenance and doesn't answer, it will purge all properties and generate invalid policies.
Is it really what we want by default??

#4 Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

#5 Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF