-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Add Python 3 support to ovirt4 inventory script. #57824
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
Conversation
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.
|
+1 |
mwperina
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shipit
|
Please add a changelog fragment https://docs.ansible.com/ansible/latest/community/development_process.html?#creating-a-changelog-fragment, thanks. |
|
I have added the changelog fragment. Thanks! |
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 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - ovirt3 inventory - Updated the dynamic inventory script for Python 3 support | |
| - ovirt4 inventory - Updated the dynamic inventory script for Python 3 support |
There was a problem hiding this comment.
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. 👍
|
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. |
|
@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. |
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.
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
COMPONENT NAME
ovirt4
ADDITIONAL INFORMATION