Skip to content

Conversation

@smengcl
Copy link
Contributor

@smengcl smengcl commented May 12, 2021

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

Currently the CLI only support "ozone s3 getsecret", but has no user or admin command to revoke the secret, or to rotate the secret. Add a new command to do that.

@smengcl smengcl added the om label May 12, 2021
@smengcl smengcl requested a review from prashantpogde May 12, 2021 05:08
@smengcl smengcl self-assigned this May 12, 2021
Copy link
Contributor

@xiaoyuyao xiaoyuyao left a comment

Choose a reason for hiding this comment

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

Thanks @smengcl for adding this. The PR LGTM overall. I just have a few comments added inline.

Copy link
Contributor

@xiaoyuyao xiaoyuyao left a comment

Choose a reason for hiding this comment

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

Thanks @smengcl for adding this. The PR LGTM overall. I just have a few comments added inline.

Copy link
Contributor

@bharatviswa504 bharatviswa504 left a comment

Choose a reason for hiding this comment

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

Overall LGTM.

I have few comments/questions.

Invalid entry in table cache immediately (Thanks Aravindan);
Impl. isAdmin in OzoneManager.

Change-Id: Ia5c8d76be0845c5530d1e84abd82217be7797141
@smengcl smengcl changed the title HDDS-5206. Support revoking S3 secret in Ozone CLI HDDS-5206. Support revoking S3 secret May 17, 2021
smengcl added 3 commits May 17, 2021 12:56
Change-Id: Idb7ac40b974380a43946930bb4742d44696cfcea
Conflicts:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOMDbCheckpointServlet.java
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMDBCheckpointServlet.java

Change-Id: If923f83358898f3d084a38a70d40fa197e8b2103
Change-Id: I8fe03516379f9094769633b82a8a77e06e8a809b
@smengcl
Copy link
Contributor Author

smengcl commented May 17, 2021

@xiaoyuyao @bharatviswa504 I have addressed all comments. Please take another look. Thanks!

@swagle swagle requested a review from vivekratnavel May 18, 2021 18:27
Change-Id: I1d6e054010e7046299e65f8bef1d341eb60e5ea8
Copy link
Contributor

@vivekratnavel vivekratnavel left a comment

Choose a reason for hiding this comment

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

+1 LGTM

@smengcl
Copy link
Contributor Author

smengcl commented May 19, 2021

Thanks @xiaoyuyao @bharatviswa504 @vivekratnavel for reviewing this. Will merge shortly.

@smengcl smengcl merged commit 4fd8187 into apache:master May 19, 2021
@smengcl
Copy link
Contributor Author

smengcl commented May 20, 2021

Just realized I have a typo in the permission check, should be isAdmin(user.getUserName()) instead of kerberosID. Will post an addendum in a min.

bharatviswa504 pushed a commit to bharatviswa504/hadoop-ozone that referenced this pull request Jul 25, 2021
(cherry picked from commit 4fd8187)
Change-Id: I97158a39ed50614706a5615d1019b07501cf45ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants