Bug 1836638 - [HE] Fail to deploy hosted-engine on IPv6 static host
Summary: [HE] Fail to deploy hosted-engine on IPv6 static host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.4.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.4.0
: 4.4.0
Assignee: Sandro Bonazzola
QA Contact: Roni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-17 15:04 UTC by Roni
Modified: 2020-08-04 13:28 UTC (History)
10 users (show)

Fixed In Version: rhv-4.4.0-35
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-04 13:28:34 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3246 0 None None None 2020-08-04 13:28:50 UTC

Description Roni 2020-05-17 15:04:31 UTC
Created attachment 1689393 [details]
HE deploy logs

Description of problem:
Deploy hosted-engine on IPv6 only host fails

Version-Release number of selected component (if applicable):
4.4.0.2-0.1.el8ev

How reproducible:
100%

Steps to Reproduce:
1. Reprovision host with RHVH OS
2. Install rhvm-appliance
3. Enable IPv6 address only (+ ipv6 DNS & Gateway), disable IPv4
4. Deploy hosted-engine as followed:
   hosted-engine --deploy --6 --config-append={answer_file}

Actual results:
Deploy failed
error at the log:
{"changed": false, "msg": "You must specify either 'url' or 'hostname'."}

Expected results:
Deploy should success

Additional info:
See attached logs that include the answer-file + deploy-output + full logs

Comment 37 Roni 2020-05-18 11:37:10 UTC
The installed appliance is rhvm-appliance-4.4-20200417.0.el8ev.x86_64

Comment 40 Michael Burman 2020-05-18 11:55:52 UTC
(In reply to Roni from comment #37)
> The installed appliance is rhvm-appliance-4.4-20200417.0.el8ev.x86_64

And it contains old ansible-runner-service-1.0.1-6.el8ev version. without the desired fix.

Comment 43 Michal Skrivanek 2020-05-18 13:39:52 UTC
you're supposed to let appliance be upgraded (or do it differently yourself), this was a recent behavior change that ansible deployment scripts update the packages before engine-setup starts. Please test once that works in your particular setup

Comment 46 Michael Burman 2020-05-18 14:22:25 UTC
(In reply to Michal Skrivanek from comment #43)
> you're supposed to let appliance be upgraded (or do it differently
> yourself), this was a recent behavior change that ansible deployment scripts
> update the packages before engine-setup starts. Please test once that works
> in your particular setup

This will take some time.
Didn't we agreed you will ship us new appliance anyhow? 
And you mean before hosted-engine --deploy, not engine-setup, this should be dome much earlier..

Comment 47 Michal Skrivanek 2020-05-18 14:34:37 UTC
We will eventually get a newer appliance, yes, but I just can't tell when exactly. 

The update is done as part of ovirt-ansible-hosted-engine-setup. If you're not using that and invoke hosted-engine --deploy manually on extracted appliance then you are the one responsible for updating it before you run it.

Comment 48 Michael Burman 2020-05-18 14:53:56 UTC
(In reply to Michal Skrivanek from comment #47)
> We will eventually get a newer appliance, yes, but I just can't tell when
> exactly. 
> 
> The update is done as part of ovirt-ansible-hosted-engine-setup. If you're
> not using that and invoke hosted-engine --deploy manually on extracted
> appliance then you are the one responsible for updating it before you run it.

I'm not sure i quite follow. Update what? the appliance or the desired package? will i be able to update on a rhv-h host? with yum update of with the ansible playbook? you wrote update it, but i don't understand what it means. and how the update should be done. 

After we installing the rhvm-appliance and before running hosted-engine --deploy --6 , what should we exactly do?

tnx

Comment 67 Roni 2020-05-26 07:12:20 UTC
Verified on: v4.4.1-0.1.el8ev
rhvm-appliance v4.4-20200521.0.el8ev 

ovirt-engine-4.4.1-0.1.el8ev.noarch
vdsm-4.40.17-1
ansible-runner-service-1.0.2-1.el8ev.noarch
NetworkManager-1.22.8-4.el8.x86_64
nmstate-0.2.6-13

Comment 70 errata-xmlrpc 2020-08-04 13:28:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RHV RHEL Host (ovirt-host) 4.4), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:3246


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