Skip to content

ovirt4 integration is broken in recent AWX versions with Ansible 2.8 #4138

Closed

Description

@ryanpetrello
ISSUE TYPE
  • Bug Report
SUMMARY

Two problems:

  • Up until very recently (like, moments ago), the ovirt4.py inventory script in Ansible (which we vendor in AWX) didn't work when run under python3 (meaning these inventory updates would fail in certain distributions that ship py3 by default, like RHEL8)

  • Due to a bug in the ovirt4.py inventory script, Inventory Syncs would fail if any VMs managed by the Ovirt/RHV manager were powered off.

  • In Ansible 2.8, the ovirt modules now require >= ovirtsdk4 version 4.3.0 (see Ovirt engine sdk in tower venv is too old for installed ansible in openshift image  #4030, ansible/ansible@bfc6a2a)

We should:

Activity

  1. self-assigned this
    on Jun 21, 2019
  2. changed the title [-]oVirt4 integration is broken with recent AWX versions with Ansible 2.8[/-] [+]ovirt4 integration is broken with recent AWX versions with Ansible 2.8[/+] on Jun 21, 2019
  3. rmkraus commented on Jun 21, 2019

    @rmkraus
    Contributor

    Also, inventory syncs would fail if any VMs managed by the Ovirt/RHV manager were powered off. Slightly different issue, but same resolution.

  4. changed the title [-]ovirt4 integration is broken with recent AWX versions with Ansible 2.8[/-] [+]ovirt4 integration is broken in recent AWX versions with Ansible 2.8[/+] on Jun 21, 2019
  5. kdelee commented on Jun 26, 2019

    @kdelee
    Member

    Works for me! :stamp:

    Synced against internal RHV...imported both disabled and enabled hosts.
    Screenshot from 2019-06-26 16-10-37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions