Skip to content

cephadm: test rgw-ingress with virtual IP - #40888

Merged
liewegas merged 14 commits into
ceph:masterfrom
liewegas:cephadm-ha-test
Apr 16, 2021
Merged

liewegas merged 14 commits into
ceph:masterfrom
liewegas:cephadm-ha-test

Conversation

@liewegas

Copy link
Copy Markdown
Member
  • add a vip qa task
  • add rgw test that takes each piece down in turn and ensures that the endpoint remains available
  • cephadm.wait_for_service helper

(Useful for roleless when we want to go faster)

Signed-off-by: Sage Weil <[email protected]>
In 2f33c6e we made the keepalived task
set the necessary sysctls  to add a virtual_ip, so we don't need this
check anymore.

Signed-off-by: Sage Weil <[email protected]>
Test this properly by downing each rgw and haproxy in turn and ensuring
that things remain up.

Signed-off-by: Sage Weil <[email protected]>
We dont' always stop all services, because teuthology doesn't know about
things it didn't start.  Use rm-cluster to tear things down, but do not
remove the logs themselves.  After we get logs, we'll clean up completely.

Signed-off-by: Sage Weil <[email protected]>
Comment thread qa/tasks/vip.py
else:
cmd = cmd.replace(m[0], str(ctx.vip["vips"][n]))

if '{{VIPPREFIXLEN}}' in cmd:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

people will think that {{VIPPREFIXLEN}} etc is a real jinja2 template. But I think this is ok for now.

Comment thread qa/tasks/cephadm.py Resolved
@liewegas
liewegas merged commit 1a55d82 into ceph:master Apr 16, 2021
@liewegas
liewegas deleted the cephadm-ha-test branch April 19, 2021 13:16
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.

2 participants