Actions
Bug #14627
closedSometimes, root server shows up with "No machine inventory" after install
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
50
Name check:
Fix check:
Regression:
Description
This is because the agent does the following:
Apr 10 12:46:21 server cf-agent[25246]: CFEngine(agent) rudder Q: "...-inventory --lo": [info] FusionInventory instance: builtin - Perl instance: system Q: "...-inventory --lo": [info] running task Inventory Q: "...-inventory --lo": [info] Inventory saved in /var/rudder/tmp/inventory/server-root.ocs Apr 10 12:46:21 server cf-agent[25246]: CFEngine(agent) rudder R: @@Inventory@@log_debug@@inventory-all@@inventory-all@@0@@inventory@@None@@2019-04-10 10:46:19+00:00##root@# Apr 10 12:46:21 server cf-agent[25246]: CFEngine(agent) rudder R: @@Inventory@@result_success@@inventory-all@@inventory-all@@0@@inventory@@None@@2019-04-10 10:46:19+00:00##r Apr 10 12:46:21 server cf-agent[25246]: CFEngine(agent) rudder R: @@Inventory@@log_info@@inventory-all@@inventory-all@@0@@inventory@@None@@2019-04-10 10:46:19+00:00##root@#A Apr 10 12:46:21 server cf-agent[25246]: CFEngine(agent) rudder R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check logrotate configuration@@Non Apr 10 12:46:21 server systemd[1]: Stopping LSB: OpenLDAP... Apr 10 12:46:22 server rudder-slapd[25808]: [INFO] Using /etc/default/rudder-slapd for configuration Apr 10 12:46:22 server rudder-slapd[25796]: rudder-slapd: [INFO] Using /etc/default/rudder-slapd for configuration Apr 10 12:46:22 server rudder-slapd[25813]: [OK] virtual memory limit set to unlimited Apr 10 12:46:22 server rudder-slapd[25796]: rudder-slapd: [OK] virtual memory limit set to unlimited Apr 10 12:46:22 server rudder-slapd[25814]: [INFO] Halting OpenLDAP... Apr 10 12:46:22 server rudder-slapd[25796]: rudder-slapd: [INFO] Halting OpenLDAP... Apr 10 12:46:22 server rudder-slapd[7700]: daemon: shutdown requested and initiated. Apr 10 12:46:22 server rudder-slapd[7700]: slapd shutdown: waiting for 0 operations/tasks to finish Apr 10 12:46:22 server rudder-slapd[7700]: slapd stopped. Apr 10 12:46:22 server cf-serverd[24550]: CFEngine(server) rudder Rereading policy file '/var/rudder/cfengine-community/inputs/promises.cf'
It sends the inventory, then do the server role check (and thus stop slapd and webapp, during processing of inventory)
Inventory should be sent last
Updated by Nicolas CHARLES over 5 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/2184
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.9 to 5.0.10
Updated by Nicolas CHARLES over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|68f5a1fc0304b229f0e7694a3fab8a58632cff96.
Updated by Vincent MEMBRÉ over 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.10 which was released today.
Updated by François ARMAND over 3 years ago
- Related to Bug #17390: Root inventory is not processed after install added
Actions