Bug 1900551 - [RFE] validate Engine VM domain if --restore-from-file
Summary: [RFE] validate Engine VM domain if --restore-from-file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.4.4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ovirt-4.4.6
: 4.4.6
Assignee: Yedidyah Bar David
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-23 11:29 UTC by Nikolai Sednev
Modified: 2021-06-01 13:21 UTC (History)
2 users (show)

Fixed In Version: ovirt-hosted-engine-setup-2.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-01 13:21:11 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:2178 0 None None None 2021-06-01 13:21:51 UTC
oVirt gerrit 113640 0 master MERGED Do not query for engine domain name on restore 2021-03-03 10:49:53 UTC

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


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