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

[skip ci] cephadm: use public_network when adding hosts #6975

Merged
merged 3 commits into from Oct 28, 2021
Merged

Conversation

guits
Copy link
Collaborator

@guits guits commented Oct 28, 2021

When adding host, using ansible_facts['default_ipv4']['address'] might
not be the desired network, we shouldn't enforce the subnet with the
default route.
Let's use the public_network instead.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2006415

Signed-off-by: Guillaume Abrioux gabrioux@redhat.com

This reverts commit 7a12b85.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
When adding host, using ansible_facts['default_ipv4']['address'] might
not be the desired network, we shouldn't enforce the subnet with the
default route.
Let's use the public_network instead.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2006415

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
The current implementation doesn't support adding hosts when using ipv6
addresses.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
@guits guits changed the title [skip ci] cephadm: use public_network when adding hosts cephadm: use public_network when adding hosts Oct 28, 2021
@guits
Copy link
Collaborator Author

guits commented Oct 28, 2021

jenkins test centos-container-cephadm_adopt

@guits
Copy link
Collaborator Author

guits commented Oct 28, 2021

jenkins test centos-container-cephadm

@guits guits changed the title cephadm: use public_network when adding hosts [skip ci] cephadm: use public_network when adding hosts Oct 28, 2021
@guits
Copy link
Collaborator Author

guits commented Oct 28, 2021

failure is unrelated

@guits guits merged commit 4f2c2af into master Oct 28, 2021
1 of 2 checks passed
@guits guits deleted the fix-adoption branch October 28, 2021 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant