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

Copy the actual inventory, rather than use the script [rocky] #359

Merged
merged 2 commits into from Oct 1, 2018

Conversation

odyssey4me
Copy link
Contributor

For all versions of RPC-O, the dynamic inventory script generates
a static json file in a fixed path. Rather than trying to run the
script (which has different paths depending on the OpenStack series)
we can just copy the json file.

We implement the logic to check for the presence of a local inventory
file before trying to copy it from the MNAIO infra1 source. We also
output some debug information to understand which was used when
reviewing the console output.

JIRA: RE-2030

Jesse Pretorius added 2 commits October 1, 2018 15:44
For all versions of RPC-O, the dynamic inventory script generates
a static json file in a fixed path. Rather than trying to run the
script (which has different paths depending on the OpenStack series)
we can just copy the json file.

We implement the logic to check for the presence of a local inventory
file before trying to copy it from the MNAIO infra1 source. We also
output some debug information to understand which was used when
reviewing the console output.

JIRA: RE-2030
(cherry picked from commit 1838208)
When doing the pip version check, the stderr output if
pip does not exist in the virtualenv is a bit confusing,
and not useful for the test. Rather than allowing it to
leak, we redirect it to /dev/null.

(cherry picked from commit 8bb597d)
@odyssey4me odyssey4me self-assigned this Oct 1, 2018
@johnduarte johnduarte merged commit 19a16ef into rcbops:rocky Oct 1, 2018
@odyssey4me odyssey4me deleted the RE-2030-rocky branch October 1, 2018 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants