Hi @KingMax , From the description I can understand that when you are adding host_components (KERBEROS_CLIENT, DATANODE) via AMBARI rest api it is ABORTING and not creating any keytabs and later you have to manually regenerate it. Please correct me if I am wrong.
If you are not seeing any error in the logs , please check the browser network tab to see what is happening with the API and the operation.