-
Notifications
You must be signed in to change notification settings - Fork 592
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
[v24.1.x] [CORE-7152] Admin: Introduce endpoint #23761
[v24.1.x] [CORE-7152] Admin: Introduce endpoint #23761
Conversation
|
e0ebb47
to
c03e172
Compare
@michael-redpanda @pgellert - Context: Matt & Rogger were asking after this in service of the rpk nag. Pretty messy, but it is done. If I've screwed anything up, I'll probably vote to abandon the backport on general principle. |
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
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.
lgmt
/ci-repeat 1 |
Added a method that returns true if the state of the node/cluster requires the use of an enterprise license. Signed-off-by: Michael Boquard <michael@redpanda.com> (cherry picked from commit 9f4c46d)
- features::license_required_feature Enumeration of redpanda features that require an enterprise license. - features::enterprise_feature_report A thin wrapper around a couple of sets to account for the status of enterprise features (usually based on cluster configs). Signed-off-by: Oren Leiman <oren.leiman@redpanda.com> (cherry picked from commit bf972c0) Conflicts: enterprise_features.{h,cc} - nonexistent features (fips, shard balancing)
Also refactor feature_manager::license_required_feature_enabled to use the report rather than calculating feature status on its own. Signed-off-by: Oren Leiman <oren.leiman@redpanda.com> (cherry picked from commit 067df42) Conflicts: - feature_manager.cc - nonexistent features (fips, shard balancing) - feature_manager.cc - didn't need node config as a result
Signed-off-by: Oren Leiman <oren.leiman@redpanda.com> (cherry picked from commit 653d5a9)
Signed-off-by: Oren Leiman <oren.leiman@redpanda.com> (cherry picked from commit d6e33cd)
Useful for testing enterprise features, since a condition for "RBAC enabled" is the presence of one or more non-default roles. Signed-off-by: Oren Leiman <oren.leiman@redpanda.com> (cherry picked from commit 5fdc178)
Signed-off-by: Oren Leiman <oren.leiman@redpanda.com> (cherry picked from commit b5c06fa) Conflicts: admin.py - lots of nonexistent code
Includes scenarios both with and without a valid license loaded up. Signed-off-by: Oren Leiman <oren.leiman@redpanda.com> (cherry picked from commit ebfdd7f) Conflict: enterprise_features_license_test.py - nonexistent features
c03e172
to
ef43c87
Compare
force push rebase to fix CI |
non flaky failures in https://buildkite.com/redpanda/redpanda/builds/56642#0192968b-38cc-4c61-9def-d959c118c7e0:
non flaky failures in https://buildkite.com/redpanda/redpanda/builds/56642#0192968d-7f25-46e1-ac4e-56e6eb76927b:
|
Retry command for Build#56642please wait until all jobs are finished before running the slash command
|
CI Failures:
|
/ci-repeat 1 |
/ci-repeat 1 |
Backport of PR #23314
Closes #23760