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

role: hosted_engine_setup: add_host: Use local_vm_ip #277

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

didib
Copy link
Member

@didib didib commented May 24, 2021

Do not rely on adding a line to /etc/hosts, as this seems to not be
enough sometimes. Instead, directly tell ansible to use the IP address.

Bug-Url: https://bugzilla.redhat.com/1953029

@didib
Copy link
Member Author

didib commented May 24, 2021

90f6a2b was actually pushed separately as #278 , and then current was rebased on top of it. I wonder if there is a better way to do this in github.

@mnecas mnecas requested a review from arachmani May 24, 2021 15:58
@arachmani
Copy link
Member

@didib LGTM, Can you please just add role: hosted_engine_setup: prefix to the commit message?

@didib
Copy link
Member Author

didib commented May 25, 2021

@didib LGTM, Can you please just add role: hosted_engine_setup: prefix to the commit message?

Done.

I didn't verify yet.

I don't expect problems, but please note that I didn't try to reproduce a complete deploy, and when I tried a trivial test [1], it didn't reproduce - it did work.

[1] https://gist.github.com/didib/2b728dcb35d444fd922b30dc4dad8883

@didib
Copy link
Member Author

didib commented May 26, 2021

@arachmani arachmani changed the title add_host: Use local_vm_ip role: hosted_engine_setup: add_host: Use local_vm_ip May 26, 2021
@didib
Copy link
Member Author

didib commented May 26, 2021

@didib didib added the WIP Work in progress, not ready to be merged label Jun 8, 2021
@didib
Copy link
Member Author

didib commented Jun 8, 2021

This fails in CI, still checking.

Do not rely on adding a line to /etc/hosts, as this seems to not be
enough sometimes. Instead, directly tell ansible to use the IP address.

Move the tasks adding the engine as a VM later, to where we already have
the IP address.

Bug-Url: https://bugzilla.redhat.com/1953029
@didib didib removed the WIP Work in progress, not ready to be merged label Jun 9, 2021
@didib
Copy link
Member Author

didib commented Jun 9, 2021

Verified with [1]. It failed, but rather late, for an unrelated reason - emailed infra about it [2].

I think this is ready for merging. Can't think of any concrete reason to be hesitant, although this is quite a significant change - to make it work, I had to move importing to later.

[1] https://jenkins.ovirt.org/job/ovirt-system-tests_he-basic-suite-master/2049/
[2] https://lists.ovirt.org/archives/list/infra@ovirt.org/thread/LIGS5WXGEKWACY5GCK7Z6Q2JYVWJ6JBF/

Copy link
Member

@arachmani arachmani left a comment

Choose a reason for hiding this comment

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

LGTM

@arachmani arachmani merged commit a450439 into oVirt:master Jun 9, 2021
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.

2 participants