Skip to content

Conversation

@rmkraus
Copy link
Contributor

@rmkraus rmkraus commented Jun 14, 2019

SUMMARY

Python 3 only allows strings through the config parser. This is fine for
the URL, Username, and Password since these values are required. The CA
File is optional so an empty string is used in lieu of None in the
config dictionary.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ovirt4

ADDITIONAL INFORMATION

Python 3 only allows strings through the config parser. This is fine for 
the URL, Username, and Password since these values are required. The CA 
File is optional so an empty string is used in leiu of None in the 
config dictionary.
@ansibot
Copy link
Contributor

ansibot commented Jun 14, 2019

@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. c:inventory/contrib_script cloud community_review In order to be merged, this PR must follow the community review workflow. inventory Inventory category needs_triage Needs a first human triage before being processed. new_contributor This PR is the first contribution by a new community member. ovirt oVirt and RHV community python3 small_patch support:community This issue/PR relates to code supported by the Ansible community. labels Jun 14, 2019
@machacekondra
Copy link
Contributor

+1

@ansibot ansibot removed the needs_triage Needs a first human triage before being processed. label Jun 14, 2019
Copy link
Contributor

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shipit

@ansibot ansibot added shipit This PR is ready to be merged by Core and removed community_review In order to be merged, this PR must follow the community review workflow. labels Jun 14, 2019
@resmo
Copy link
Contributor

resmo commented Jun 15, 2019

@rmkraus
Copy link
Contributor Author

rmkraus commented Jun 16, 2019

@resmo

I have added the changelog fragment. Thanks!

@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. and removed shipit This PR is ready to be merged by Core small_patch labels Jun 16, 2019
rmkraus added a commit to rmkraus/awx that referenced this pull request Jun 16, 2019
Pulling in the new ovirt4 dynamic inventory script that will be pulled in ansible/ansible#57824

Signed-off-by: Ryan Kraus <rmkraus@gmail.com>
@@ -0,0 +1,2 @@
minor_changes:
- ovirt3 inventory - Updated the dynamic inventory script for Python 3 support
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ovirt3 inventory - Updated the dynamic inventory script for Python 3 support
- ovirt4 inventory - Updated the dynamic inventory script for Python 3 support

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, should be fixed now. 👍

@ansibot ansibot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed community_review In order to be merged, this PR must follow the community review workflow. labels Jun 19, 2019
@rmkraus
Copy link
Contributor Author

rmkraus commented Jun 20, 2019

Looks like the Shippable tests ran before the commit was made available. Is there a way to re-run it? It should check out fine.

@samdoran
Copy link
Contributor

@rmkraus That happens sometimes. The GitHub CDN can be a bit slow to show new commits. We can rerun the tests or you can close/reopen the PR to trigger a new test run.

@samdoran samdoran merged commit 7d4e3af into ansible:devel Jun 21, 2019
agowa pushed a commit to agowa/ansible-1 that referenced this pull request Jun 30, 2019
Python 3 only allows strings through the config parser. This is fine for 
the URL, Username, and Password since these values are required. The CA 
File is optional so an empty string is used in leiu of None in the 
config dictionary.
@ansible ansible locked and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. c:inventory/contrib_script cloud inventory Inventory category needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. new_contributor This PR is the first contribution by a new community member. ovirt oVirt and RHV community python3 support:community This issue/PR relates to code supported by the Ansible community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants