wzhallright opened a new pull request #2599:
URL: https://github.com/apache/ozone/pull/2599


   ## What changes were proposed in this pull request?
   
   I recently upgraded the scm, after upgrade I found the dn can not register 
to scm.
   So, I checked the audit log and want to know why it failed,the audit log 
like this
   `2021-08-31 14:47:07,920 | INFO  | SCMAudit | user=ozone | ip=localhost | 
op=REGISTER {datanodeDetails=161de39c-0ffe-4d39-8f81-f66fbd8148a7{ip: 
localhost, host: , ports: [REPLICATION=9886, RATIS=9858, RATIS_ADMIN=9857, 
RATIS_SERVER=9856, STANDALONE=9859], networkLocation: /default-rack, 
certSerialId: null, persistedOpState: null, persistedOpStateExpiryEpochSec: 0}} 
| ret=SUCCESS |`
   the audit log is still register success, but the real thing is that the dn 
registration failed.
   The register dn layout version lower than scm version, it may be that we 
need to log the failure in the audit.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5701


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