Actions
Bug #12951
closedBug #12155: Detection of minicurl and https is done in conflicting ways
Inventory is not sent if curl is not present
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
Node uuid: 0ee41d32-baeb-4223-af61-43f432ef3653 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' 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' rudder info: Executing 'no timeout' ... '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' notice: Q: "...-inventory --lo": [info] FusionInventory instance: builtin 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 rudder info: Last 3 quoted lines were generated by promiser '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' rudder info: Completed execution of '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' Start execution with config [0] 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' rudder info: Transforming '/opt/rudder/bin/rudder-sign "/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs"' rudder info: Transformer '/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' => '/opt/rudder/bin/rudder-sign "/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs"' seemed to work ok rudder info: Transforming '/bin/gzip -fq /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' rudder info: Transformer '/var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs' => '/bin/gzip -fq /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.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 rudder:rudder --file /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.sign --url ${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 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 rudder:rudder --file /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.sign --url ${download_endpoint}' returned error rudder info: Transforming '/opt/rudder/bin/rudder-perl /var/rudder/cfengine-community/inputs/common/utilities/minicurl --no-verify --put --authentication rudder:rudder --file /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.gz --url ${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 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 rudder:rudder --file /var/rudder/inventories/agent1-0ee41d32-baeb-4223-af61-43f432ef3653.ocs.gz --url ${download_endpoint}' returned error 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
we never define the endpoint url when curl in not installed
Updated by Nicolas CHARLES over 6 years ago
- Status changed from New to Rejected
the rudder server is a 4.3 server, so it's expected to fail
Updated by Nicolas CHARLES over 6 years ago
- Subject changed from Inventory is not correctly sent if curl is not present to Inventory is not sent if curl is not present
- Description updated (diff)
- Status changed from Rejected to New
Updated by Nicolas CHARLES over 6 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 6 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-techniques/pull/1331
Updated by Nicolas CHARLES over 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|5828b500ed56975761ef73ce8e4a55b64983b7c5.
Updated by François ARMAND over 6 years ago
- Target version changed from 4.1.14 to 4.1.13
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
Actions