Project

General

Profile

Actions

Bug #4491

closed

Rudder considers an inventory as "failed" if the endpoint is unavailable

Added by Jonathan CLARKE almost 11 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Inventories processed on the Rudder root server are stored in a WebDAV directory (/var/rudder/inventories/incoming) then periodically sent to the endpoint on the server.

The endpoint runs a pre-check, and if the file is invalid, returns a 412 HTTP error code. We use that to move the invalid inventory to /var/rudder/inventories/failed. This was introduced in #3139.

However, if the endpoint is not available (eg, jetty has not yet started), then we also, naively, move the files (that may be correct) to /var/rudder/inventories/failed. This means that we can lose incoming inventories.

This should not be the case.

Actions #1

Updated by Jonathan CLARKE almost 11 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/296

PR available: https://github.com/Normation/rudder-techniques/pull/296

Note, this was not introduced yet in 2.6, so doesn't need fixing there.

Actions #2

Updated by Jonathan CLARKE almost 11 years ago

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

Applied in changeset policy-templates:commit:2c197f7373a39b01c689390fefff26ff4c6e441f.

Actions #3

Updated by Nicolas CHARLES almost 11 years ago

Applied in changeset policy-templates:commit:e0475c3162bdcde7e5f68aea0fb7c8fb64236c4f.

Actions #4

Updated by Vincent MEMBRÉ almost 11 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.8.3, which was released today.
Check out:

Actions #5

Updated by Benoît PECCATTE almost 10 years ago

  • Category changed from 26 to Web - Nodes & inventories
Actions

Also available in: Atom PDF