Project

General

Profile

Actions

Bug #15323

closed

Initial promises are failing to execute since some bundles are not included

Added by Félix DALLIDET over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

On an agent with initial promises, cf promises fails because root_component_check is not included.
Indeed, we are splitting cases between server and agent when executing initial promises and so, the differentiation is only done at exec time, which comes after cfpromises.

Problem is: if we include the files needed at exec time, cf-promises can not check the promises since some files are not included.
If we include everything before exec time, cf-promises will fail on checking some things on agent that are only designed for server, like reading server files etc...

Our best hope here, is to change all bundle calls to a "usebundle => ${mybundle_called}" since it will prevents cfpromises to check for the include before exec.
This is quite hackish though.

Actions #1

Updated by Félix DALLIDET over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1479
Actions #3

Updated by Félix DALLIDET over 4 years ago

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

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF