Bug 2022620

Summary: [RFE] adapt the current hosted_engine_setup role to work within ansible-core 2.12
Product: [oVirt] ovirt-ansible-collection Reporter: Sandro Bonazzola <sbonazzo>
Component: hosted-engine-setupAssignee: Asaf Rachmani <arachman>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.6.1CC: bugs, mperina, sbonazzo
Target Milestone: ovirt-4.5.0Keywords: FutureFeature, Triaged
Target Release: 2.0.0Flags: sbonazzo: ovirt-4.5+
pm-rhel: planning_ack?
sbonazzo: devel_ack+
pm-rhel: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-ansible-collection-2.0.0-0.6.BETA.el8 Doc Type: Enhancement
Doc Text:
Self Hosted Engine Setup role has been adapted to work with ansible-core 2.12
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-20 06:33:59 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:
Bug Depends On: 2069658    
Bug Blocks: 1986335, 2065052    

Description Sandro Bonazzola 2021-11-12 08:13:33 UTC
we need to adapt the current hosted_engine_setup role to work within ansible 2.11 container and somehow require ansible-core 2.11 and a bunch of other packages as ansible 2.9 has been split.

Comment 1 Sandro Bonazzola 2022-02-24 14:24:42 UTC
Also needed for 8.6 (bug #2052686 )

Comment 2 Sandro Bonazzola 2022-02-24 14:25:08 UTC
*** Bug 2052686 has been marked as a duplicate of this bug. ***

Comment 3 Nikolai Sednev 2022-03-28 14:38:42 UTC
At the moment latest ansible-core-2.12.2-3.1.el8.x86_64 installed with ovirt-hosted-engine-setup-2.6.2-1.el8ev.noarch on RHEL 8.6 Beta (Ootpa) Linux 4.18.0-372.3.1.el8.x86_64 and with ovirt-ansible-collection-2.0.0-0.6.BETA.el8ev.noarch.
Is this enough for the verification on RHEL8.6?

Comment 4 Asaf Rachmani 2022-03-28 15:19:30 UTC
(In reply to Nikolai Sednev from comment #3)
> At the moment latest ansible-core-2.12.2-3.1.el8.x86_64 installed with
> ovirt-hosted-engine-setup-2.6.2-1.el8ev.noarch on RHEL 8.6 Beta (Ootpa)
> Linux 4.18.0-372.3.1.el8.x86_64 and with
> ovirt-ansible-collection-2.0.0-0.6.BETA.el8ev.noarch.
> Is this enough for the verification on RHEL8.6?

No, need to check the HE deployment, using ansible-playbook (AFAIK your automation runs it) or using "hosted-engine --deploy" which depends on bug 2052686

Comment 5 Nikolai Sednev 2022-04-04 15:48:26 UTC
Works fine on:
ovirt-hosted-engine-setup-2.6.3-1.el8ev.noarch
ovirt-hosted-engine-ha-2.5.0-1.el8ev.noarch
ovirt-ansible-collection-2.0.0-0.9.BETA.el8ev.noarch
Red Hat Enterprise Linux release 8.6 Beta (Ootpa)
Linux 4.18.0-372.5.1.el8.x86_64 #1 SMP Mon Mar 28 11:03:39 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
Engine Software Version:4.5.0.1-605.90f87fe14688.14.el8ev

Comment 6 Nikolai Sednev 2022-04-04 15:49:35 UTC
ansible-core-2.12.2-3.1.el8.x86_64

Comment 7 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 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.