Actions
Bug #6718
closedIf the agent schedule is not every 5 minutes, inventory may not be sent anymore
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
If we don't have a 5 minutes schedume, inventory may never get updated anymore. Indeed, we only rely on splayclass(hourly), that is valid for 5 minutes every hours; so it is probably not ok for most schedule
Updated by Nicolas CHARLES almost 10 years ago
hum, this is tricky, as it should work on 3.5
Idea: if schedule is standart, keep the splayclass, otherwise unconditionnaly execute the inventory ?
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.15 to 2.10.16
Updated by Nicolas CHARLES almost 10 years ago
Does anyone has an idea on how to nicely fix that?
Updated by Matthieu CERDA almost 10 years ago
I'd advise either to:
- Compute the classes that define when to send the inventory ourselves in Rudder and generate them in the policies in accordance with the current agent execution
- Let something else that CFEngine handle the inventories (but I dislike this approach)
I don't have any other idea atm
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.16 to 2.10.17
Updated by Nicolas CHARLES over 9 years ago
- Related to Bug #6121: Some nodes may have outdated inventories on the server added
Updated by Nicolas CHARLES over 9 years ago
Ok, an idea:
- use select_class to select between midnight and 6am
- compare run_interval:
if == 5, keep splayclass + select class
if between 5 and 60; keep only the select class
if more than 60, no condition
Updated by Nicolas CHARLES over 9 years ago
- Status changed from New to Pending technical review
- Assignee set to Matthieu CERDA
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/739/files
Updated by Nicolas CHARLES over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|14a70dbbab5533ffcb7f47dac665b92ee0e8c100.
Updated by Matthieu CERDA over 9 years ago
Applied in changeset rudder-techniques|fa9a082d42d4999bc208fca07f528bd760572299.
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
Updated by Nicolas CHARLES almost 6 years ago
- Related to Bug #7290: Inventory upload is not distributed uniformly added
Actions