Project

General

Profile

Bug #15323

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

Added by Félix DALLIDET 4 months ago. Updated 16 days ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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.

Associated revisions

Revision 9db9f398 (diff)
Added by Félix DALLIDET 4 months ago

Fixes #15323: Initial promises are failing to execute since some bundles are not included

History

#1

Updated by Félix DALLIDET 4 months ago

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

Updated by Félix DALLIDET 4 months 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
#3

Updated by Félix DALLIDET 4 months ago

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

Updated by Vincent MEMBRÉ 16 days ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF