You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Mohammad Arafat Khan (Jira)" <ji...@apache.org> on 2023/10/13 05:56:00 UTC
[jira] [Updated] (HDDS-9444) S3SecretManager fails to revoke secret due to inconsistency between S3Cache and S3SecretTable.
[ https://issues.apache.org/jira/browse/HDDS-9444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohammad Arafat Khan updated HDDS-9444:
---------------------------------------
Summary: S3SecretManager fails to revoke secret due to inconsistency between S3Cache and S3SecretTable. (was: Resolve Inconsistency Between S3SecretCache and S3SecretTable during DB Updates Delay.)
> S3SecretManager fails to revoke secret due to inconsistency between S3Cache and S3SecretTable.
> ----------------------------------------------------------------------------------------------
>
> Key: HDDS-9444
> URL: https://issues.apache.org/jira/browse/HDDS-9444
> Project: Apache Ozone
> Issue Type: Bug
> Components: S3
> Reporter: Mohammad Arafat Khan
> Assignee: Mohammad Arafat Khan
> Priority: Major
>
> During a recent CI run, the *{{TestSecureOzoneCluster}}* test, specifically {*}{{testGetSetRevokeS3Secret}}{*}, failed. The issue encountered was that the S3 secret was not being revoked as expected. Upon examining the logs, it was determined that the discrepancy arose due to a mismatch between the value in the cache and the corresponding value in the database.
> *CI Run :- https://github.com/ArafatKhan2198/ozone/actions/runs/6468031778/job/17559261272*#step:5:3776
> *Error Output :-*
> {code:java}
> Error: Tests run: 13, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 120.823 s <<< FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
> Error: org.apache.hadoop.ozone.TestSecureOzoneCluster.testGetSetRevokeS3Secret Time elapsed: 10.03 s <<< ERROR!
> S3_SECRET_ALREADY_EXISTS org.apache.hadoop.ozone.om.exceptions.OMException: Secret for 'om/fv-az484-290.bfj14xst0uxejdsadjltsbuuog.phxx.internal.cloudapp.net@EXAMPLE.COM' already exists
> at org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.handleError(OzoneManagerProtocolClientSideTranslatorPB.java:729)
> at org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.getS3Secret(OzoneManagerProtocolClientSideTranslatorPB.java:1017)
> at org.apache.hadoop.ozone.TestSecureOzoneCluster.testGetSetRevokeS3Secret(TestSecureOzoneCluster.java:740)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
> at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
> at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
> at org.junit.jupiter.engine.extension.TimeoutInvocation.proceed(TimeoutInvocation.java:46)
> at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
> at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org