----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7824/ -----------------------------------------------------------
Review request for cloudstack. Description ------- The reason which failed in generation of the certificate is not displayed now. At that time, IOException which does not include the reason is raised. In order to solve the problem quickly, the reason should be included in the message. (Now) WARN [cloud.server.ConfigurationServerImpl] (main:) Would use fail-safe keystore to continue. java.io.IOException: Fail to generate certificate! at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:490) (Fix) WARN [cloud.server.ConfigurationServerImpl] (main:) Would use fail-safe keystore to continue. java.io.IOException: Fail to generate certificate!: sudo: sorry, you must have a tty to run sudo at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:490) Diffs ----- server/src/com/cloud/server/ConfigurationServerImpl.java 3368c9ba1163d73fd7b012f164fde291b522f8e0 Diff: https://reviews.apache.org/r/7824/diff/ Testing ------- mvn clean install mvn -pl :cloud-client-ui jetty:run And generation of the certificate was made to fail, checked it. Thanks, Satoshi Kobayashi