Bug 2096523 - Failed to run "Check for Upgrade"
Summary: Failed to run "Check for Upgrade"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: ovirt-host-deploy-ansible
Version: 4.5.0.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.5.2
: ---
Assignee: Dana
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-14 06:34 UTC by Noua Toukourou
Modified: 2022-08-30 08:49 UTC (History)
3 users (show)

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
Clone Of:
Environment:
Last Closed: 2022-08-08 08:17:16 UTC
oVirt Team: Infra
Embargoed:
mperina: ovirt-4.5+
gdeolive: testing_ack+


Attachments (Terms of Use)
Engine and Ansible Logs (30.00 KB, application/x-tar)
2022-06-20 10:38 UTC, Noua Toukourou
no flags Details
Engine and Ansible Logs (4.27 KB, text/plain)
2022-06-20 10:39 UTC, Noua Toukourou
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 483 0 None open add ssh port to ansible command config vars on check for upgrade 2022-06-22 09:54:15 UTC
Red Hat Issue Tracker RHV-46410 0 None None None 2022-06-14 06:38:14 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.