Bug #15323
closedInitial promises are failing to execute since some bundles are not included
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.
Updated by Félix DALLIDET over 5 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET over 5 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
Updated by Félix DALLIDET over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|9db9f398ac752dddd81061996e89b07544f8c52a.
Updated by Vincent MEMBRÉ about 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.0~beta1 which was released today.