Project

General

Profile

Actions

Bug #2745

closed

After a migration from 2.3.8 to 2.4.0~beta3, or an update, the root server doesn't send inventory

Added by Nicolas PERRON almost 12 years ago. Updated over 11 years ago.

Status:
Released
Priority:
1
Assignee:
Nicolas PERRON
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

No server's inventory has been sent to the endpoint application but CFEngine consider that it should be done the night:

root@server-1:~# /var/rudder/cfengine-community/bin/cf-agent -KI -b doInventory
 !! Duplicate selection of value for variable "execRun" in scope g
 !! Rule from /var/rudder/cfengine-community/inputs/common/1.0/site.cf at/before line 58
 !! Duplicate selection of value for variable "execRun" in scope g
 !! Rule from /var/rudder/cfengine-community/inputs/common/1.0/site.cf at/before line 58
 !! Duplicate selection of value for variable "execRun" in scope g
 !! Rule from /var/rudder/cfengine-community/inputs/common/1.0/site.cf at/before line 58
 >> Using command line specified bundlesequence
 -> Executing '/usr/bin/curl -s -f -o "/var/rudder/tmp/uuid.txt" http://server-1.labo.com/uuid' ...(timeout=-678,owner=-1,group=-1)
 -> Completed execution of /usr/bin/curl -s -f -o "/var/rudder/tmp/uuid.txt" http://server-1.labo.com/uuid
R: @@Inventory@@result_success@@inventory-all@@inventory-all@@8@@inventory@@None@@2012-07-31 17:27:14+02:00##root@#Next inventory scheduled between 00:00 and 06:00

The initial promises permit to send inventory if the uuid is valid but once the promises are updated by the webapp, the inventory is sent only during the night. If a migration or an upgrade is made, the initial promises are not set so the conditions to send inventory are not met.

Actions

Also available in: Atom PDF