Bug #12951
Updated by Nicolas CHARLES over 6 years ago
<pre> oot@agent1:/home/vagrant# rudder agent inventory -i Rudder agent 4.3.4~rc1~git201807120246-bionic0 Node uuid: 0ee41d32-baeb-4223-af61-43f432ef3653 2541051b-0fce-4b45-a640-d05937062a95 rudder info: Using command line specified bundlesequence rudder info: Executing 'no timeout' ... '/opt/rudder/bin/rudder-perl /var/rudder/cfengine-community/inputs/common/utilities/minicurl --no-verify --get --file "/var/rudder/cfengine-community/rudder-server-uuid.txt" --url http://relay/uuid' http://server/uuid' rudder info: Completed execution of '/opt/rudder/bin/rudder-perl /var/rudder/cfengine-community/inputs/common/utilities/minicurl --no-verify --get --file "/var/rudder/cfengine-community/rudder-server-uuid.txt" --url http://relay/uuid' http://server/uuid' rudder info: Executing 'no timeout' ... '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' --local=/var/rudder/tmp/inventory/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs' notice: Q: "...-inventory --lo": [info] FusionInventory instance: builtin - Perl instance: system Q: "...-inventory --lo": File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at /opt/rudder/share/fusioninventory/lib/FusionInventory/Agent.pm line 512. Q: "...-inventory --lo": [info] running task Inventory Q: "...-inventory --lo": [info] Inventory saved in /var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs /var/rudder/tmp/inventory/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs rudder info: Last 3 4 quoted lines were generated by promiser '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' --local=/var/rudder/tmp/inventory/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs' rudder info: Completed execution of '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' --local=/var/rudder/tmp/inventory/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs' Start execution with config [0] [20180712-122700-a552620e] rudder info: Automatically promoting context scope for 'heartbeat_sent' to namespace visibility, due to persistence M| State Technique Component Key Message info Inventory inventory Running inventory rudder info: Executing 'no timeout' ... '/var/rudder/tools/cpuid-linux-V1.0.sh > /var/rudder/tmp/cpuid.arc' rudder info: Completed execution of '/var/rudder/tools/cpuid-linux-V1.0.sh > /var/rudder/tmp/cpuid.arc' info Inventory inventory Generated the CPUID info Inventory inventory User list generation tool is not present yet. Skipping... rudder info: Edit file '/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' rudder info: Edit file '/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' rudder info: Copying from 'localhost:/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' 'localhost:/var/rudder/tmp/inventory/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs' rudder info: Transforming '/opt/rudder/bin/rudder-sign "/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs"' "/var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs"' rudder info: Transformer '/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' '/var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs' => '/opt/rudder/bin/rudder-sign "/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs"' "/var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs"' seemed to work ok rudder info: Transforming '/bin/gzip -fq /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' /var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs' rudder info: Transformer '/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' '/var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs' => '/bin/gzip -fq /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' /var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs' seemed to work ok rudder info: Transforming '/opt/rudder/bin/rudder-perl /var/rudder/cfengine-community/inputs/common/utilities/minicurl --no-verify --put --authentication '/usr/bin/curl -L -k -1 -f -s --proxy '' --user rudder:rudder --file /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.sign --url -T /var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs.gz ${download_endpoint}' error: Finished command related to promiser '/var/rudder/inventories' -- an error occurred, returned 1 rudder info: Automatically promoting context scope for 'cant_send_inventory' to namespace visibility, due to persistence Proposed executable file '/usr/bin/curl' doesn't exist error: Transformer '/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.sign' => '/opt/rudder/bin/rudder-perl /var/rudder/cfengine-community/inputs/common/utilities/minicurl --no-verify --put --authentication '/usr/bin/curl -L -k -1 -f -s --proxy '' --user rudder:rudder --file /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.sign --url -T ${this.promiser} ${download_endpoint}' returned error for file '/var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs.gz' failed rudder info: Transforming '/opt/rudder/bin/rudder-perl /var/rudder/cfengine-community/inputs/common/utilities/minicurl --no-verify --put --authentication '/usr/bin/curl -L -k -1 -f -s --proxy '' --user rudder:rudder --file /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.gz --url -T /var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs.sign ${download_endpoint}' error: Finished command related to promiser '/var/rudder/inventories' -- an error occurred, returned 1 rudder info: Automatically promoting context scope for 'cant_send_inventory' to namespace visibility, due to persistence Proposed executable file '/usr/bin/curl' doesn't exist error: Transformer '/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.gz' => '/opt/rudder/bin/rudder-perl /var/rudder/cfengine-community/inputs/common/utilities/minicurl --no-verify --put --authentication '/usr/bin/curl -L -k -1 -f -s --proxy '' --user rudder:rudder --file /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.gz --url -T ${this.promiser} ${download_endpoint}' returned error for file '/var/rudder/inventories/agent1-2541051b-0fce-4b45-a640-d05937062a95.ocs.sign' failed E| error Inventory inventory Could not send the inventory warning Inventory inventory Inventory sent via HTTP without TLS error: Method 'sendInventory' failed in some repairs error: Method 'doInventory_always' failed in some repairs </pre> ## Summary ##################################################################### Not all components were displayed because we never define the endpoint url when curl are not in not installed full compliance mode. Please run with -g to force full compliance mode. => 1 components in Enforce mode -> 1 error Execution time: 1.92s ################################################################################ </pre>