Skip to content

HDDS-8677. Ozone admin OM CLI command for block tokens - #4760

Merged
kerneltime merged 12 commits into
apache:HDDS-7733-Symmetric-Tokensfrom
tanvipenumudy:HDDS-8677
Jun 8, 2023
Merged

HDDS-8677. Ozone admin OM CLI command for block tokens#4760
kerneltime merged 12 commits into
apache:HDDS-7733-Symmetric-Tokensfrom
tanvipenumudy:HDDS-8677

Conversation

@tanvipenumudy

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Introduce an Ozone admin OM CLI command to fetch the current secret key.

Format: ozone admin om fetch-current-key -id=omServiceId

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-8677

How was this patch tested?

Added integration test cases.

@tanvipenumudy

Copy link
Copy Markdown
ContributorAuthor

@duongkame, @kerneltime, @sadanand48 could you please take a look? Thanks

@duongkame
duongkame self-requested a review May 24, 2023 05:50
Comment threadhadoop-hdds/framework/pom.xml Outdated
adoroszlai
adoroszlai previously requested changes May 24, 2023

@adoroszlaiadoroszlai left a comment

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.

Thanks @tanvipenumudy for working on this. (Note: I haven't checked the whole patch, only POM and CLI.)

Comment threadhadoop-hdds/framework/pom.xml Outdated
Comment threadhadoop-ozone/common/pom.xml Outdated

@ashishkumar50ashishkumar50 left a comment

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.

Hi @tanvipenumudy, Thanks for working on this.
Left a small suggestion.

@adoroszlai
adoroszlai dismissed their stale reviewMay 30, 2023 09:13

comments have been addressed

@adoroszlai

Copy link
Copy Markdown
Contributor

Thanks @tanvipenumudy for addressing my comments.

Comment threadhadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto Outdated
Comment threadhadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto Outdated
@tanvipenumudy

tanvipenumudy commented Jun 1, 2023

Copy link
Copy Markdown
ContributorAuthor

Thank you for the reviews, I have addressed the comments on the PR.

The Git CI: integration (ozone) seems to fail at org.apache.hadoop.ozone.TestSecretKeysApi - but the test cases have been passing locally, re-triggering the checks.

@duongkameduongkame left a comment

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.

Thanks for the patch @tanvipenumudy, LGTM.

@kerneltime
kerneltime merged this pull request into apache:HDDS-7733-Symmetric-TokensJun 8, 2023
duongkame pushed a commit to duongkame/ozone that referenced this pull request Jun 8, 2023
errose28 added a commit to errose28/ozone that referenced this pull request Jun 10, 2023
* master: (73 commits)
HDDS-8587. Test that CertificateClient can store multiple rootCA certificates (apache#4852)
HDDS-8801. ReplicationManager: Add metric to count how often replication is throttled (apache#4864)
HDDS-8477. Unit test for Snapdiff using tombstone entries (apache#4678)
HDDS-7507. [Snapshot] Implement List Snapshot API Pagination (apache#4065) (apache#4861)
HDDS-8373. Document that setquota doesn't accept decimals (apache#4856)
HDDS-8779. Recon - Expose flag for enable/disable of heatmap. (apache#4845)
HDDS-8677. Ozone admin OM CLI command for block tokens (apache#4760)
HDDS-8164. Authorize secret key APIs (apache#4597)
HDDS-7945. Integrate secret keys to SCM snapshot (apache#4549)
HDDS-8003. E2E integration test cases for block tokens (apache#4547)
HDDS-7831. Use symmetric secret key to sign and verify token (apache#4417)
HDDS-7830. SCM API for OM and Datanode to get secret keys (apache#4345)
HDDS-7734. Implement symmetric SecretKeys lifescycle management in SCM (apache#4194)
HDDS-8679. Add dedicated, configurable thread pool for OM gRPC server (apache#4771)
HDDS-8790. Split EC acceptance tests (apache#4855)
HDDS-8714. TestScmHAFinalization: mark testFinalizationWithRestart as flaky, enable other test cases
HDDS-8787. Reduce ozone sh calls in robot tests (apache#4854)
HDDS-8774. Log allocation stack trace for leaked CodecBuffer (apache#4840)
HDDS-8729. Add metric for count of blocks pending deletion on datanode (apache#4800)
HDDS-8780. Leak of ManagedChannel in HASecurityUtils (apache#4850)
...
errose28 added a commit to errose28/ozone that referenced this pull request Jun 10, 2023
* tmp-dir-refactor: (73 commits)
HDDS-8587. Test that CertificateClient can store multiple rootCA certificates (apache#4852)
HDDS-8801. ReplicationManager: Add metric to count how often replication is throttled (apache#4864)
HDDS-8477. Unit test for Snapdiff using tombstone entries (apache#4678)
HDDS-7507. [Snapshot] Implement List Snapshot API Pagination (apache#4065) (apache#4861)
HDDS-8373. Document that setquota doesn't accept decimals (apache#4856)
HDDS-8779. Recon - Expose flag for enable/disable of heatmap. (apache#4845)
HDDS-8677. Ozone admin OM CLI command for block tokens (apache#4760)
HDDS-8164. Authorize secret key APIs (apache#4597)
HDDS-7945. Integrate secret keys to SCM snapshot (apache#4549)
HDDS-8003. E2E integration test cases for block tokens (apache#4547)
HDDS-7831. Use symmetric secret key to sign and verify token (apache#4417)
HDDS-7830. SCM API for OM and Datanode to get secret keys (apache#4345)
HDDS-7734. Implement symmetric SecretKeys lifescycle management in SCM (apache#4194)
HDDS-8679. Add dedicated, configurable thread pool for OM gRPC server (apache#4771)
HDDS-8790. Split EC acceptance tests (apache#4855)
HDDS-8714. TestScmHAFinalization: mark testFinalizationWithRestart as flaky, enable other test cases
HDDS-8787. Reduce ozone sh calls in robot tests (apache#4854)
HDDS-8774. Log allocation stack trace for leaked CodecBuffer (apache#4840)
HDDS-8729. Add metric for count of blocks pending deletion on datanode (apache#4800)
HDDS-8780. Leak of ManagedChannel in HASecurityUtils (apache#4850)
...
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@tanvipenumudy@adoroszlai@duongkame@ashishkumar50@kerneltime