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

opennebula inventory script #38779

Open
wants to merge 2 commits into
base: devel
from

Conversation

Projects
None yet
3 participants
@marcindulak

marcindulak commented Apr 14, 2018

SUMMARY

OpenNebula dynamic inventory script based on https://github.com/OpenNebula/addon-pyone API.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

contrib/inventory/opennebula.py

ANSIBLE VERSION

f2b65fc

ADDITIONAL INFORMATION

The inventory script uses https://github.com/OpenNebula/addon-pyone, but there exists also
an alternative https://github.com/python-oca/python-oca, which does not seem actively maintained.
On the other hand an opennebula module based on https://github.com/python-oca/python-oca (?) has been commited to ansible recently https://github.com/ansible/ansible/blob/01280226549b350da7f837d57067097a9b445d45/lib/ansible/modules/cloud/opennebula/one_vm.py. In case when https://github.com/python-oca/python-oca resumes activities, contrib/inventory/opennebula.py could be extended to work with both APIs.

@ansibot

This comment has been minimized.

Contributor

ansibot commented Apr 14, 2018

The test ansible-test sanity --test pylint [explain] failed with 2 errors:

contrib/inventory/opennebula.py:4:0: anomalous-backslash-in-string Anomalous backslash in string: '\('. String constant might be missing an r prefix.
contrib/inventory/opennebula.py:4:0: anomalous-backslash-in-string Anomalous backslash in string: '\)'. String constant might be missing an r prefix.

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

contrib/inventory/opennebula.py:406:161: E501 line too long (170 > 160 characters)

click here for bot help

@bcoca bcoca changed the title from opennebula dynamic inventory to opennebula inventory script Apr 16, 2018

@bcoca bcoca removed the needs_triage label Apr 16, 2018

@ansibot ansibot added the stale_ci label Apr 24, 2018

@ansibot ansibot added the affects_2.6 label May 18, 2018

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