Damans227 opened a new pull request, #14361:
URL: https://github.com/apache/cloudstack/pull/14361

   Fixes #13079
   
   Adding a fresh KVM host fails when `/etc/cloudstack/agent/agent.properties` 
does not exist yet. `keystore-setup` only saves the keystore passphrase when 
that file is already there, so on a new host the passphrase is never written. 
The next step, `keystore-cert-import`, reads the passphrase from that file, 
finds nothing and exits, and after three tries the add fails with "Failed to 
setup certificate in the KVM agent's keystore file". This creates the file when 
it is missing, so the passphrase is saved and the host adds on the first try. 
When the file already has a passphrase it is reused as before.


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

Reply via email to