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

[v24.1.x] [CORE-7152] Admin: Introduce endpoint #23761

Conversation

oleiman
Copy link
Member

@oleiman oleiman commented Oct 11, 2024

Backport of PR #23314

Closes #23760

@oleiman oleiman added this to the v24.1.x-next milestone Oct 11, 2024
@oleiman oleiman added the kind/backport PRs targeting a stable branch label Oct 11, 2024
@oleiman oleiman marked this pull request as ready for review October 11, 2024 21:33
@oleiman oleiman self-assigned this Oct 11, 2024
@oleiman
Copy link
Member Author

oleiman commented Oct 11, 2024

Merge conflicts were all unrelated code (and bazel bits) missing from the release branch. No changes to the backported code. spoke to soon, missing a commit from upstream to preserve history, no fips mode or core balancing on this branch.

@oleiman oleiman force-pushed the vbotbuildovich/backport-23314-v24.1.x-583 branch 3 times, most recently from e0ebb47 to c03e172 Compare October 12, 2024 05:30
@oleiman oleiman requested review from a team, michael-redpanda and pgellert and removed request for a team October 13, 2024 23:32
@oleiman
Copy link
Member Author

oleiman commented Oct 13, 2024

@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.

Copy link
Contributor

@michael-redpanda michael-redpanda left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@pgellert pgellert left a comment

Choose a reason for hiding this comment

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

lgmt

@oleiman
Copy link
Member Author

oleiman commented Oct 16, 2024

/ci-repeat 1

michael-redpanda and others added 8 commits October 16, 2024 10:31
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
@oleiman oleiman force-pushed the vbotbuildovich/backport-23314-v24.1.x-583 branch from c03e172 to ef43c87 Compare October 16, 2024 17:31
@oleiman
Copy link
Member Author

oleiman commented Oct 16, 2024

force push rebase to fix CI

@vbotbuildovich
Copy link
Collaborator

vbotbuildovich commented Oct 16, 2024

non flaky failures in https://buildkite.com/redpanda/redpanda/builds/56642#0192968b-38cc-4c61-9def-d959c118c7e0:

"rptest.tests.data_transforms_test.DataTransformsLoggingMetricsTest.test_manager_metrics_values"

non flaky failures in https://buildkite.com/redpanda/redpanda/builds/56642#0192968d-7f25-46e1-ac4e-56e6eb76927b:

"rptest.tests.archive_retention_test.CloudArchiveRetentionTest.test_delete.cloud_storage_type=CloudStorageType.S3.retention_type=retention.ms"

@vbotbuildovich
Copy link
Collaborator

vbotbuildovich commented Oct 16, 2024

Retry command for Build#56642

please wait until all jobs are finished before running the slash command

/ci-repeat 1
tests/rptest/tests/data_transforms_test.py::DataTransformsLoggingMetricsTest.test_manager_metrics_values
tests/rptest/tests/archive_retention_test.py::CloudArchiveRetentionTest.test_delete@{"cloud_storage_type":1,"retention_type":"retention.ms"}

@oleiman
Copy link
Member Author

oleiman commented Oct 16, 2024

CI Failures:

  • build-debug - some consume timeout in a metrics test. unrelated
  • build-release - CloudArchiveRetentionTest.test_delete unrelated

@oleiman
Copy link
Member Author

oleiman commented Oct 16, 2024

/ci-repeat 1
skip-redpanda-build
skip-units
tests/rptest/tests/data_transforms_test.py::DataTransformsLoggingMetricsTest.test_manager_metrics_values
tests/rptest/tests/archive_retention_test.py::CloudArchiveRetentionTest.test_delete@{"cloud_storage_type":1,"retention_type":"retention.ms"}

@oleiman
Copy link
Member Author

oleiman commented Oct 17, 2024

More seemingly infra-related CI failures: build build

@oleiman
Copy link
Member Author

oleiman commented Oct 17, 2024

/ci-repeat 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants