Bug 1462811 - [RFE] Execute Ansible role ovirt-host-deploy as a part of host installation/reinstallation to allow customization of this flow
Summary: [RFE] Execute Ansible role ovirt-host-deploy as a part of host installation/r...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Infra
Version: 4.1.3.3
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Ondra Machacek
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On: 1462821
Blocks: ovirt_firewalld_support
TreeView+ depends on / blocked
 
Reported: 2017-06-19 15:24 UTC by Martin Perina
Modified: 2017-12-20 11:45 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:45:59 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+
pbrilla: testing_plan_complete-
mgoldboi: planning_ack+
mperina: devel_ack+
pbrilla: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 78504 0 master MERGED core: Execute ansible-playbook after otopi host-deploy 2021-02-02 09:53:55 UTC
oVirt gerrit 79845 0 master MERGED Add firewall type to cluster type 2021-02-02 09:53:55 UTC
oVirt gerrit 79846 0 master MERGED core: Add firewall type field to cluster 2021-02-02 09:53:55 UTC
oVirt gerrit 79847 0 master MERGED webadmin: Add firewall type field to cluster 2021-02-02 09:53:54 UTC
oVirt gerrit 79848 0 master MERGED restapi: Add mapper support for firewall type of cluster 2021-02-02 09:53:55 UTC
oVirt gerrit 80664 0 master MERGED packaging: setup: Allow ovirt user to access engine_id_rsa 2021-02-02 09:53:55 UTC
oVirt gerrit 81009 0 master MERGED core: Remove no longer needed host_deploy_firewalld_supported 2021-02-02 09:54:40 UTC
oVirt gerrit 82597 0 master MERGED core: Enable firewalld on Default cluster for new installations 2021-02-02 09:54:40 UTC

Description Martin Perina 2017-06-19 15:24:32 UTC
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 12:07:32 UTC
Testing has indicated this request is declined. You may appeal this decision by reopening this request.

Comment 2 Pavol Brilla 2017-11-29 13:54:14 UTC
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 11:45:59 UTC
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.