cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satoshi Kobayashi" <satosh...@stratosphere.co.jp>
Subject Review Request: Display the reason which failed in generation of certificate
Date Thu, 01 Nov 2012 02:30:00 GMT

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message