Closed jertel closed 2 months ago
Executing command with retry support: curl --fail --retry 5 --retry-delay 15 -L 'https://repo.securityonion.net/file/so-repo/prod/2.4/elasticagent/elastic-agent_SO-8.14.3.tar.gz' --output '/nsm/elastic-fleet/artifacts/elastic-agent_SO-8.14.3.tar.gz'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:09 --:--:-- 0
curl: (28) Failed to connect to repo.securityonion.net port 443: Connection timed out
Warning: Problem : timeout. Will retry in 15 seconds. 5 retries left.
0 0 0 0 0 0 0 0 --:--:-- 0:02:08 --:--:-- 0
curl: (28) Failed to connect to repo.securityonion.net port 443: Connection timed out
Warning: Problem : timeout. Will retry in 15 seconds. 4 retries left.
100 851M 100 851M 0 0 38.2M 0 0:00:22 0:00:22 --:--:-- 43.6M
Results: (0)
Executing command with retry support: curl --fail --retry 5 --retry-delay 15 -L 'https://repo.securityonion.net/file/so-repo/prod/2.4/elasticagent/elastic-agent_SO-8.14.3.md5' --output '/nsm/elastic-fleet/artifacts/elastic-agent_SO-8.14.3.md5'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 33 100 33 0 0 78 0 --:--:-- --:--:-- --:--:-- 78
Results: (0)
Source file and checksum are good.
When shutting down salt-master, if it exits before the
tail --pid ...
command starts then the tail will error out and a message is echo'd to console that the salt-master did not shutdown within 30 seconds. That's not correct and should not be printed out in that situation. Ex:Soup needs to
set +e
before upgrading the elastic agent and then reset back toset -e
after it returns. This will prevent soup from exiting if the first curl fails (it's in a retry loop). Ex:It's TBD where the parse error originated in this example.