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

reef: mgr/cephadm: support for nfs backed by VIP #51614

Merged
merged 6 commits into from
May 23, 2023

Conversation

adk3798
Copy link
Contributor

@adk3798 adk3798 commented May 20, 2023

backport tracker: https://tracker.ceph.com/issues/59631


backport of #47199
parent tracker: https://tracker.ceph.com/issues/55663

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

Fixes: https://tracker.ceph.com/issues/55663

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit bb0a0f9)
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 5de3312)
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit e104fdc)
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit e905830)
…g arbitrary hosts

For now, just for linking ingress services and
their backend services. The idea is if one, or both,
of the ingress service and backend service is using a
count, to try and get them to deploy their daemons
on the same host(s). If the placements have explicit
placements (not using count) we still stick to
those placements regardless.

This should enable something like specifying a host
for the backend service and leaving the ingress
placement as just "count: 1" and having the ingress
service get on the same host as the backend service
daemon. This is particularly useful for the keepalive-only
(VIP but no haproxy) over NFS setup where the keepalive
must share a host with the NFS to function, but will
also be useful for other VIP only setups we may do
in the future.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 088d2c4)
@adk3798
Copy link
Contributor Author

adk3798 commented May 20, 2023

This should not be merged without the addition of #51393

This was recently added in ceph@088d2c4
and seems to work fine, but logging these things at info
level spams the log as every single service every serve
loop iteration is reporting on whether it has related
daemons. This changes it to only log when it finds
related daemons or when it prefers a host due to those
related daemons, and do both of those at only debug level.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 3693544)
@adk3798
Copy link
Contributor Author

adk3798 commented May 21, 2023

This should not be merged without the addition of #51393

the commit from this PR has now been added

@adk3798 adk3798 removed the DNM label May 21, 2023
@adk3798
Copy link
Contributor Author

adk3798 commented May 22, 2023

jenkins test make check

@adk3798
Copy link
Contributor Author

adk3798 commented May 22, 2023

https://pulpito.ceph.com/adking-2023-05-22_01:46:07-orch:cephadm-wip-adk2-testing-2023-05-21-1627-reef-distro-default-smithi/

Reruns: https://pulpito.ceph.com/adking-2023-05-22_14:05:02-orch:cephadm-wip-adk2-testing-2023-05-21-1627-reef-distro-default-smithi/

Failures:

  • Failure in jaeger-tracing deployment test, known issue (https://tracker.ceph.com/issues/59704)
  • Failure in staggered upgrade test, known issue (https://tracker.ceph.com/issues/58535)
  • On the original run, some upgrade test timed out doing a workload after the upgrade. This is a known issue (although I don't have a tracker) and the tests were not rerun as they would likely just timeout again
  • smoke test in the reruns time out (as of me writing this it's still "running" but it will time out) on the teuthology ansible that runs before the test. Infra/teuthology issue, shouldn't block merging

Overall, nothing that should block merging any of the backports

@adk3798 adk3798 merged commit fe923a2 into ceph:reef May 23, 2023
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants