-
Notifications
You must be signed in to change notification settings - Fork 553
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
rptest: add test_add_and_decommission()
#15701
Conversation
4b9f457
to
80613a4
Compare
/dt |
test run output coming soon (need to rebuild dev env), but in the meantime this PR is ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm on green build.
side note: I would move in the future the tests that related to day-2 operations to separate module to tidy up. Something like redpanda_cloud_tests/htt_operations_tests.py
and rename this file to htt_limits_test.py
. That would be more meaningful in scope what tests are actually doing.
new failures in https://buildkite.com/redpanda/redpanda/builds/43054#018c82d7-0744-40ec-9576-7f4bfa152f9c:
|
80613a4
to
df3ebd5
Compare
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/43077#018c844d-2794-47c8-8603-48d611186154 ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/43208#018c8c0d-8e0b-4be8-82c9-6e9de789feaa |
needs adjustment on the systemctl services. putting this back into draft mode for now while i'll get an update for that. |
ba310e2
to
2eaf6bf
Compare
2eaf6bf
to
615591f
Compare
fixed the systemctl service. the agent services have to be running when making the call to admin-api to scale nodes. i've also added a successful test output to the PR description. ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. One doubled code though
self._delete_cluster_pvc(cluster_name, orig_replicas) | ||
self._patch_deployment_args('--allow-downscaling=true', | ||
'--allow-downscaling=false') | ||
self._enable_agent_services() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a clean-good-looking test code!
def _patch_cluster_replicas(self, cluster_name, replicas): | ||
def cluster_ready_replicas(cluster_name): | ||
# kubectl get cluster rp-clkd0n22nfn1jf7vd9t0 -n=redpanda -o=jsonpath='{.status.readyReplicas}' | ||
return int( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the difference here with line 1119?
Fixes https://github.com/redpanda-data/cloudv2/issues/10807
Blocked by PR: https://github.com/redpanda-data/vtools/pull/2407
Example command to run new test:
output from test run:
Backports Required
Release Notes