Actions
Bug #17481
closedwhen running cf-promises, list-compatible-inputs is ran 8 times
Status:
Released
Priority:
N/A
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
Even thought the logs states that it is cached it is not
0.000170 rudder verbose: Caching result for function 'execresult("${compatible_inputs_cmd} local","${shell_type}")' 0.061626 rudder verbose: execresult ran 'NCF_CACHE_PATH=/var/rudder/cfengine-community/state /bin/sh /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs --capability-file /opt/rudder/etc/agent-capabilities --agent-version 3.15.1 --ncf-path '/var/rudder/ncf' common' successfully 0.000132 rudder verbose: Caching result for function 'execresult("${compatible_inputs_cmd} common","${shell_type}")' 0.046734 rudder verbose: execresult ran 'NCF_CACHE_PATH=/var/rudder/cfengine-community/state /bin/sh /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs --capability-file /opt/rudder/etc/agent-capabilities --agent-version 3.15.1 --ncf-path '/var/rudder/ncf' local' successfully
tested in 6.1 by adding a >> at the begining of the command
Updated by Nicolas CHARLES over 4 years ago
- Target version changed from 6.1.0~rc1 to 5.0.18
change is so minimal that it can go in 5.0
Updated by Nicolas CHARLES over 4 years ago
with this, a cf-promises during policy generetation goes from 1.3s to 0.8s (roughly)
Updated by Nicolas CHARLES over 4 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1600
Updated by Nicolas CHARLES over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|42d3cba4a4ef4d04ee1dc0b7f6d6bc8fb87ee801.
Updated by François ARMAND over 4 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.18 and 6.1.2 which were released today.
Actions