Bug 1759143 - [RFE] Use ansible-runner-service instead of ansible-playbook to execute Ansible playbooks from engine
Summary: [RFE] Use ansible-runner-service instead of ansible-playbook to execute Ansib...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Infra
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.0
: ---
Assignee: Ondra Machacek
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-07 13:23 UTC by Martin Perina
Modified: 2020-05-20 20:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-20 20:04:22 UTC
oVirt Team: Infra
Embargoed:
pm-rhel: ovirt-4.4+
pmatyas: testing_plan_complete+
pelauter: planning_ack+
mperina: devel_ack+
lleistne: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ansible ansible-runner-service pull 32 0 'None' closed Ignore charset when checking content type 2020-12-23 13:10:35 UTC
Github ansible ansible-runner-service pull 33 0 'None' closed Add check mode support 2020-12-23 13:10:02 UTC
Github ansible ansible-runner-service pull 36 0 'None' closed Set runner_cache as defaultdict of dict 2020-12-23 13:10:02 UTC
Github ansible ansible-runner-service pull 38 0 'None' closed Add ssh_private_key configuration option 2020-12-23 13:10:04 UTC
Github ansible ansible-runner-service pull 39 0 'None' closed Add support to specify host port 2020-12-23 13:10:02 UTC
Github ansible ansible-runner-service pull 40 0 'None' closed Add spec file with systemd unit file 2020-12-23 13:10:02 UTC
Github ansible ansible-runner-service pull 41 0 'None' closed Add spec file without systemd unit file 2020-12-23 13:10:05 UTC
Github ansible ansible-runner-service pull 42 0 'None' closed Define ConnectionRefusedError for Python2 2020-12-23 13:10:03 UTC
oVirt gerrit 103615 0 'None' MERGED ansible runner: Configure apache 2020-12-23 13:10:00 UTC
oVirt gerrit 103616 0 'None' MERGED ansible runner: Reorganize structure 2020-12-23 13:10:00 UTC
oVirt gerrit 103617 0 master ABANDONED ansible runner: packaging 2020-12-23 13:10:02 UTC
oVirt gerrit 103618 0 'None' MERGED ansible runner: Integrate engine with ansible runner 2020-12-23 13:10:02 UTC
oVirt gerrit 103737 0 'None' MERGED ansible runner: Add basic unit tests 2020-12-23 13:10:00 UTC
oVirt gerrit 103956 0 'None' MERGED ansible runner: Add logging 2020-12-23 13:10:34 UTC
oVirt gerrit 104325 0 'None' MERGED ansible-runner: selinux configuration 2020-12-23 13:10:35 UTC
oVirt gerrit 104713 0 'None' ABANDONED ansible runner: Configure apache 2020-12-23 13:10:03 UTC

Description Martin Perina 2019-10-07 13:23:44 UTC
At the moment we are using ansible-playbook command to execute Ansible playbooks from ovirt-engine, but this approach has several issues:

1. Lack of detailed progress report from running playbooks
2. Lack of detailed logs if playbook needs to return any data back to engine

We are going to use ansible-runner-service instead of ansible-playbook to fix all issues above.

Comment 4 Petr Matyáš 2020-01-20 15:38:37 UTC
Verified on ovirt-engine-4.4.0-0.14.master.el7.noarch

Comment 5 Sandro Bonazzola 2020-05-20 20:04:22 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

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


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