rex and ansible execution failed with
04:31:08 e[0;32m not ok 1 run 'uptime' via Remote Executione[0m
04:31:08 e[0;32m # (in test file fb-test-foreman-rex.bats, line 7)e[0m
04:31:08 e[0;32m # `hammer job-invocation create --job-template 'Run Command - SSH Default' --inputs 'command=uptime' --search-query "name = $HOSTNAME"' failed with status 70e[0m
04:31:08 e[0;32m # Task fb935b16-af31-429c-a576-3ae64b42de9e running: 0.0/1, 0%, elapsed: 00:00:00e[0m
04:31:08 e[0;32m # Task fb935b16-af31-429c-a576-3ae64b42de9e running: 0.0/1, 0%, 0.0/s, elapsed: 00:00:02e[0m
04:31:08 e[0;32m # Task fb935b16-af31-429c-a576-3ae64b42de9e running: 0.0/1, 0%, 0.0/s, elapsed: 00:00:04e[0m
04:31:08 e[0;32m # Task fb935b16-af31-429c-a576-3ae64b42de9e running: 0.0/1, 0%, 0.0/s, elapsed: 00:00:06e[0m
04:31:08 e[0;32m # Task fb935b16-af31-429c-a576-3ae64b42de9e running: 0.0/1, 0%, 0.0/s, elapsed: 00:00:09e[0m
04:31:08 e[0;32m # Task fb935b16-af31-429c-a576-3ae64b42de9e warning: 1.0/1, 100%, 0.1/s, elapsed: 00:00:11e[0m
04:31:08 e[0;32m # Task fb935b16-af31-429c-a576-3ae64b42de9e warning: 1.0/1, 100%, 0.1/s, elapsed: 00:00:11e[0m
04:31:08 e[0;32m # Error: A sub task failede[0m
04:31:08 e[0;32m # Job invocation 1 createde[0m
04:31:08 e[0;32m # 1 task(s), 0 success, 1 faile[0m
04:31:08 e[0;32m 1..1e[0m
04:31:08 e[0;32m not ok 1 run 'uptime' via Ansiblee[0m
04:31:08 e[0;32m # (in test file fb-test-foreman-ansible.bats, line 7)e[0m
04:31:08 e[0;32m # `hammer job-invocation create --job-template 'Run Command - Ansible Default' --inputs 'command=uptime' --search-query "name = $HOSTNAME"' failed with status 70e[0m
04:31:08 e[0;32m # Task c2c1fe92-9740-49e2-a4dd-9ee6379807c3 running: 0.0/1, 0%, elapsed: 00:00:00e[0m
04:31:08 e[0;32m # Task c2c1fe92-9740-49e2-a4dd-9ee6379807c3 running: 0.0/1, 0%, 0.0/s, elapsed: 00:00:02e[0m
04:31:08 e[0;32m # Task c2c1fe92-9740-49e2-a4dd-9ee6379807c3 running: 0.0/1, 0%, 0.0/s, elapsed: 00:00:04e[0m
04:31:08 e[0;32m # Task c2c1fe92-9740-49e2-a4dd-9ee6379807c3 running: 0.0/1, 0%, 0.0/s, elapsed: 00:00:06e[0m
04:31:08 e[0;32m # Task c2c1fe92-9740-49e2-a4dd-9ee6379807c3 running: 0.0/1, 0%, 0.0/s, elapsed: 00:00:09e[0m
04:31:08 e[0;32m # Task c2c1fe92-9740-49e2-a4dd-9ee6379807c3 warning: 1.0/1, 100%, 0.1/s, elapsed: 00:00:11e[0m
04:31:08 e[0;32m # Task c2c1fe92-9740-49e2-a4dd-9ee6379807c3 warning: 1.0/1, 100%, 0.1/s, elapsed: 00:00:11e[0m
04:31:08 e[0;32m # Error: A sub task failede[0m
04:31:08 e[0;32m # Job invocation 2 createde[0m
04:31:08 e[0;32m # 1 task(s), 0 success, 1 faile[0m
Looking at the sosreport, it seems dynflow is unhappy after the upgrade.
production.log:
2021-03-12T03:30:45 [E|bac|] The only applicable proxy pipe-up-plugins-2-4-centos7.n49.example.com is down (RuntimeError)
proxy.log:
2021-03-12 03:30:45 - Errno::ECONNREFUSED - Failed to open TCP connection to pipe-up-plugins-2-4-centos7.n49.example.com:8008 (Connection refused - connect(2) for "pipe-up-plugins-2-4-centos7.n49.example.com" port 8008):
restarting smart_proxy_dynflow_core before running the tests seems to fix it, but why?