Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ryanpetrello opened this issue Jun 21, 2019 · 2 comments
Closed

Comments

@ryanpetrello
Copy link
Contributor

ryanpetrello commented Jun 21, 2019

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:

@ryanpetrello ryanpetrello self-assigned this Jun 21, 2019
@ryanpetrello ryanpetrello 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 Jun 21, 2019
@rmkraus
Copy link
Contributor

rmkraus commented Jun 21, 2019

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

@ryanpetrello ryanpetrello 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 Jun 21, 2019
@kdelee
Copy link
Member

kdelee commented Jun 26, 2019

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
Projects
None yet
Development

No branches or pull requests

3 participants