Bug 1900551

Summary: [RFE] validate Engine VM domain if --restore-from-file
Product: Red Hat Enterprise Virtualization Manager Reporter: Nikolai Sednev <nsednev>
Component: ovirt-hosted-engine-setupAssignee: Yedidyah Bar David <didi>
Status: CLOSED ERRATA QA Contact: Nikolai Sednev <nsednev>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4.4CC: lsurette, mtessun
Target Milestone: ovirt-4.4.6Keywords: FutureFeature, Triaged
Target Release: 4.4.6   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-hosted-engine-setup-2.5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-01 13:21:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikolai Sednev 2020-11-23 11:29:46 UTC
Description of problem:
Validate Engine VM domain if --restore-from-file.
Opened forth to https://bugzilla.redhat.com/show_bug.cgi?id=1881250#c14.

"The FQDN is inherited properly from backup file, but then comes question:
[ INFO  ] Using Engine VM FQDN nsednev-he-2.qa.lab.tlv.redhat.com from backup file.
          Please provide the domain name you would like to use for the engine appliance.
          Engine VM domain: [qa.lab.tlv.redhat.com]
Why do I need to confirm an obvious "Engine VM domain" if it exists in backup file?

Please refine also "Engine VM domain".


Tested on:
ovirt-ansible-collection-1.2.2-1.el8ev.noarch
ansible-2.9.14-1.el8ae.noarch
ovirt-hosted-engine-setup-2.4.8-1.el8ev.noarch
ovirt-hosted-engine-ha-2.4.5-1.el8ev.noarch
rhvm-appliance-4.4-20201111.0.el8ev.x86_64
Linux 4.18.0-240.4.1.el8_3.x86_64 #1 SMP Wed Nov 11 08:19:41 EST 2020 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux release 8.3 (Ootpa)

How reproducible:
100%

Steps to Reproduce:
1.Deploy HE.
2.Backup and restore HE.
3.FQDN is taken out from the backup file, but not the "Engine VM domain".

Actual results:
"Engine VM domain" have to be filled in manually.

Expected results:
"Engine VM domain" should be filled in from the backup file just like FQDN is.

Additional info:
Please see https://bugzilla.redhat.com/show_bug.cgi?id=1881250#c14 for more data if required, including backup file.

Comment 3 Nikolai Sednev 2021-05-03 15:35:22 UTC
[ INFO  ] Using Engine VM FQDN xxxxxx.xxx.com from backup file.
[ INFO  ] Using domain name from backup file.
Works fine now on new bits:
ovirt-hosted-engine-ha-2.4.6-1.el8ev.noarch
ovirt-hosted-engine-setup-2.5.0-2.el8ev.noarch
Linux 4.18.0-304.el8.x86_64 #1 SMP Tue Apr 6 05:19:59 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux release 8.4 (Ootpa)

Comment 7 errata-xmlrpc 2021-06-01 13:21:11 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) [ovirt-4.4.6]), 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/RHBA-2021:2178