Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1462811 - [RFE] Execute Ansible role ovirt-host-deploy as a part of host installation/reinstallation to allow customization of this flow
[RFE] Execute Ansible role ovirt-host-deploy as a part of host installation/r...
Status: CLOSED CURRENTRELEASE
Product: ovirt-engine
Classification: oVirt
Component: BLL.Infra (Show other bugs)
4.1.3.3
Unspecified Unspecified
medium Severity high (vote)
: ovirt-4.2.0
: 4.2.0
Assigned To: Ondra Machacek
Pavol Brilla
: FutureFeature, Reopened
Depends On: 1462821
Blocks: ovirt_firewalld_support
  Show dependency treegraph
 
Reported: 2017-06-19 11:24 EDT by Martin Perina
Modified: 2017-12-20 06:45 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
The Ansible role ovirt-host-deploy[1] is now executed as part of the host installation/reinstallation flow. This role is included in ovirt-ansible-roles package and is installed on the Red Hat Virtualization Manager by default. [1] /usr/share/doc/ansible/rols/ovirt-host-deploy/README.md
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-20 06:45:59 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Infra
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
rule-engine: ovirt‑4.2+
pbrilla: testing_plan_complete-
mgoldboi: planning_ack+
mperina: devel_ack+
pbrilla: testing_ack+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 78504 master MERGED core: Execute ansible-playbook after otopi host-deploy 2017-08-22 13:16 EDT
oVirt gerrit 79845 master MERGED Add firewall type to cluster type 2017-08-14 01:58 EDT
oVirt gerrit 79846 master MERGED core: Add firewall type field to cluster 2017-08-22 13:16 EDT
oVirt gerrit 79847 master MERGED webadmin: Add firewall type field to cluster 2017-08-22 13:16 EDT
oVirt gerrit 79848 master MERGED restapi: Add mapper support for firewall type of cluster 2017-08-22 13:16 EDT
oVirt gerrit 80664 master MERGED packaging: setup: Allow ovirt user to access engine_id_rsa 2017-08-22 13:16 EDT
oVirt gerrit 81009 master MERGED core: Remove no longer needed host_deploy_firewalld_supported 2017-08-29 16:30 EDT
oVirt gerrit 82597 master MERGED core: Enable firewalld on Default cluster for new installations 2017-10-10 07:17 EDT

  None (edit)
Description Martin Perina 2017-06-19 11:24:32 EDT
Description of problem:

Up to oVirt 4.1 we have been using ovirt-host-deploy exclusively to perform installation or configuration tasks on the host. Going forward, we'd like to use Ansible as we see it as a more common, flexible and powerful tool for configuration management.
So we propose to execute Ansible role during host installation process like that:
 
Execute ovirt-host-deploy flow
If 1. is successful, execute ovirt-host-deploy Ansible role
If 2. is successful, continue either with reboot or setup networks flow depending on host type


ovirt-host-deploy Ansible role will also provide an infrastructure to attach user's playbooks, so user's can execute additional host configuration as needed in a standard way.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Red Hat Bugzilla Rules Engine 2017-10-11 08:07:32 EDT
Testing has indicated this request is declined. You may appeal this decision by reopening this request.
Comment 2 Pavol Brilla 2017-11-29 08:54:14 EST
Ansible host-deploy playbook execution has successfully finished on host slot6c.

ovirt-engine.noarch    4.2.0-0.5.master.el7        @rhv-4.2.0-latest
Comment 3 Sandro Bonazzola 2017-12-20 06:45:59 EST
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, 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.