adoroszlai commented on code in PR #4681:
URL: https://github.com/apache/ozone/pull/4681#discussion_r1189015358


##########
hadoop-ozone/dist/src/main/compose/ozonesecure/docker-config:
##########
@@ -41,6 +41,12 @@ OZONE-SITE.XML_ozone.scm.client.address=scm
 OZONE-SITE.XML_hdds.block.token.enabled=true
 OZONE-SITE.XML_hdds.container.token.enabled=true
 OZONE-SITE.XML_hdds.grpc.tls.enabled=true
+
+OZONE-SITE.XML_hdds.x509.default.duration=PT40s
+OZONE-SITE.XML_hdds.x509.renew.grace.duration=PT30s
+OZONE-SITE.XML_hdds.block.token.expiry.time=15s
+OZONE-SITE.XML_ozone.manager.delegation.token.max-lifetime=15s

Review Comment:
   15 seconds may be too short for the token tests to pass:
   
   ```
   TOKEN_EXPIRED testuser tried to renew an expired token (OzoneToken 
owner=testuser/[email protected], renewer=testuser, realUser=, 
issueDate=2023-05-09T14:28:19.801Z, maxDate=2023-05-09T14:28:34.801Z, 
sequenceNumber=1, masterKeyId=131, strToSign=null, signature=null, 
awsAccessKeyId=null, omServiceId=omServiceIdDefault, 
omCertSerialId=2513321810675) max expiration date: 2023-05-09 14:28:34,801+0000 
currentTime: 2023-05-09 14:28:36,793+0000 |  
   ```
   
   
https://github.com/apache/ozone/actions/runs/4923738644/jobs/8802170708?pr=4681#step:5:623
   
   Does token expiry matter for the cert rotation tests, anyway?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to