Bug 2096523

Summary: Failed to run "Check for Upgrade"
Product: [oVirt] ovirt-engine Reporter: Noua Toukourou <noua.toukourou>
Component: ovirt-host-deploy-ansibleAssignee: Dana <delfassy>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5.0.8CC: bugs, dfodor, mperina
Target Milestone: ovirt-4.5.2Flags: mperina: ovirt-4.5+
gdeolive: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.2 Doc Type: Release Note
Doc Text:
It's now possible to install and upgrade hypervisors using non-standard SSH port
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-08 08:17:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Engine and Ansible Logs
none
Engine and Ansible Logs none

Description Noua Toukourou 2022-06-14 06:34:06 UTC
Description of problem:

After upgrading from 4.4 to 4.5, the Engine cannot run the Ansible playbook on the SSH port specified during the host installation. See the logs error messages. 

=============================
"stdout" : "fatal: [hyp01.example.com]: UNREACHABLE! => {\"changed\": false, \"msg\": \"Failed to connect to the host via ssh: ssh: connect to host hyp01.example.com port 22: Network is unreachable\", \"unreachable\": true}",
=============================

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Click on "Check for Upgrade"


Actual results:
Failed

Expected results:
Check for available updates on host hyp01.example.com was completed successfully

Additional info:
The SSH port is a custom one

Comment 1 RHEL Program Management 2022-06-14 09:07:40 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Dana 2022-06-15 10:02:33 UTC
Hi Noua,
Please attach the full engine.log and if exists an archive of /var/lib/ovirt-engine/ansible-runner/<UUID>

Comment 3 Noua Toukourou 2022-06-20 10:38:05 UTC
Created attachment 1891279 [details]
Engine and Ansible Logs

Hello,

Find attached the logs.

Best,
Noua

Comment 4 Noua Toukourou 2022-06-20 10:39:27 UTC
Created attachment 1891281 [details]
Engine and Ansible Logs

Hello,

Find attached the logs.

Best,
Noua

Comment 6 Sandro Bonazzola 2022-08-30 08:49:07 UTC
This bugzilla is included in oVirt 4.5.2 release, published on August 10th 2022.
Since the problem described in this bug report should be resolved in oVirt 4.5.2 release, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.