Actions
Bug #10641
closedUnecessary call to inventory code to check its version during policy validation
Status:
Released
Priority:
N/A
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
17
Name check:
Fix check:
Regression:
Description
During policy validation, we see pleinty of
root 9907 0.0 0.0 11628 1336 ? S 12:38 0:00 | \_ sh -c /opt/rudder/bin/run-inventory --version | /bin/grep '[0-9]\.[0-9]' | /bin/s root 9911 0.0 0.0 115248 1700 ? S 12:38 0:00 | \_ /bin/sh /opt/rudder/bin/run-inventory --version root 9981 0.0 0.0 156584 14988 ? R 12:38 0:00 | | \_ /opt/rudder/bin/perl -I /opt/rudder/lib/perl5 /opt/rudder/bin/fusioninven root 9912 0.0 0.0 9032 656 ? S 12:38 0:00 | \_ /bin/grep [0-9]\.[0-9] root 9913 0.0 0.0 13260 700 ? S 12:38 0:00 | \_ /bin/sed s%.*(\([0-9]\+\)\.\([0-9]\+\).*).*%\1\2%
this is completly unuseful, and removing this part in case of cf-promises saves 90s for generation of 2000 nodes (420s instead of 513 s)
Updated by Nicolas CHARLES over 7 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES over 7 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/1135
Updated by Jonathan CLARKE over 7 years ago
- Status changed from Pending technical review to New
Updated by Jonathan CLARKE over 7 years ago
- Category changed from System techniques to Performance and scalability
- Status changed from New to Pending technical review
- Assignee set to Alexis Mousset
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Priority changed from 0 to 17
Updated by Nicolas CHARLES over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|c6053c5803abaab50559b7d1574c69cac42d7d85.
Updated by Nicolas CHARLES over 7 years ago
- Related to Bug #10752: Invalid generation of inventory at install added
Updated by Vincent MEMBRÉ over 7 years ago
- Status changed from Pending release to Released
Actions