cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sailaja Mada <sailaja.m...@citrix.com>
Subject [ACS42[QA]Timeouts while updating the configuraion values using cloud.keystore
Date Tue, 07 May 2013 11:30:00 GMT
Hi,

I am using latest master build. These are the observations while restarting the management
server. I have not observed these timeouts before. Is there anything changed recently ?

1)

2013-05-07 13:28:25,556 INFO  [utils.component.ComponentContext] (main:null) Starting com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_f1d473b7
2013-05-07 13:28:28,666 WARN  [utils.script.Script] (Script-2:null) Interrupting script.
2013-05-07 13:28:28,678 WARN  [utils.script.Script] (Timer-1:null) Timed out: sudo keytool
-genkey -keystore /etc/cloudstack/management/cloud.keystore -storepass vmops.com -keypass
vmops.com -keyalg RSA -validity 3650 -dname cn="Cloudstack User",ou="asf41.cloud.com",o="asf41.cloud.com",c="Unknown"
.  Output is:
2013-05-07 13:28:28,691 WARN  [cloud.server.ConfigurationServerImpl] (Timer-1:null) Would
use fail-safe keystore to continue.
java.io.IOException: Fail to generate certificate!: timeout
        at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:489)
        at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:510)
        at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:272)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:148)
        at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
        at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
        at java.util.TimerThread.mainLoop(Timer.java:534)
        at java.util.TimerThread.run(Timer.java:484)
2013-05-07 13:28:28,711 INFO  [cloud.server.ConfigurationServerImpl] (Timer-1:null) Processing
updateKeyPairs
2013-05-07 13:28:28,721 INFO  [cloud.server.ConfigurationServerImpl] (Timer-1:null) Systemvm
keypairs not found in database. Need to store them in the database
2013-05-07 13:28:28,722 DEBUG [utils.script.Script] (Timer-1:null) Executing: /bin/bash -c
if [ -f /var/cloudstack/management/.ssh/id_rsa ]; then rm -f /var/cloudstack/management/.ssh/id_rsa;
fi; ssh-keygen -t rsa -N '' -f /var/cloudstack/management/.ssh/id_rsa -q
2013-05-07 13:28:30,355 DEBUG [utils.script.Script] (Timer-1:null) Execution is successful.

2)

2013-05-07 16:51:17,546 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring
com.cloud.server.ConfigurationServerImpl_EnhancerByCloudStack_11126ab
2013-05-07 16:51:17,761 INFO  [cloud.server.ConfigurationServerImpl] (Timer-1:null) Processing
updateSSLKeyStore
2013-05-07 16:51:17,812 INFO  [cloud.server.ConfigurationServerImpl] (Timer-1:null) SSL keystore
located at /etc/cloudstack/management/cloud.keystore
2013-05-07 16:51:17,938 WARN  [configuration.dao.ConfigurationDaoImpl] (Timer-1:null) Unable
to update Configuration Value
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'value' at row
1
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4072)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2450)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2355)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
        at com.cloud.configuration.dao.ConfigurationDaoImpl.update(ConfigurationDaoImpl.java:157)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:521)
        at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:272)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:148)
        at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:111)
        at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
        at java.util.TimerThread.mainLoop(Timer.java:534)
        at java.util.TimerThread.run(Timer.java:484)
2013-05-07 16:51:17,946 INFO  [cloud.server.ConfigurationServerImpl] (Timer-1:null) Updated
database keystore with local one.
2013-05-07 16:51:18,023 INFO  [cloud.server.ConfigurationServerImpl] (Timer-1:null) Processing
updateKeyPairs
2013-05-07 16:51:18,023 INFO  [cloud.server.ConfigurationServerImpl] (Timer-1:null) Keypairs
already in database, updating local copy

Thanks,
Sailaja.M

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