Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A28B10597 for ; Tue, 7 May 2013 11:30:41 +0000 (UTC) Received: (qmail 16107 invoked by uid 500); 7 May 2013 11:30:41 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 15851 invoked by uid 500); 7 May 2013 11:30:38 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 15707 invoked by uid 99); 7 May 2013 11:30:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 11:30:31 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sailaja.mada@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 11:30:27 +0000 X-IronPort-AV: E=Sophos;i="4.87,628,1363132800"; d="scan'208,217";a="2406290" Received: from sinpex01cl01.citrite.net ([10.151.46.32]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/AES128-SHA; 07 May 2013 11:30:02 +0000 Received: from SINPEX01CL02.citrite.net ([169.254.2.148]) by SINPEX01CL01.citrite.net ([169.254.1.252]) with mapi id 14.02.0342.003; Tue, 7 May 2013 19:30:01 +0800 From: Sailaja Mada To: "dev@cloudstack.apache.org" Subject: [ACS42[QA]Timeouts while updating the configuraion values using cloud.keystore Thread-Topic: [ACS42[QA]Timeouts while updating the configuraion values using cloud.keystore Thread-Index: Ac5LFcYu5arzGhpHTW6NsWNoQxDdyw== Date: Tue, 7 May 2013 11:30:00 +0000 Message-ID: <2AC317E9E0682749A5A8A3C9939AE00304CDB3@SINPEX01CL02.citrite.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.144.6.19] Content-Type: multipart/alternative; boundary="_000_2AC317E9E0682749A5A8A3C9939AE00304CDB3SINPEX01CL02citri_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_2AC317E9E0682749A5A8A3C9939AE00304CDB3SINPEX01CL02citri_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_EnhancerB= yCloudStack_f1d473b7 2013-05-07 13:28:28,666 WARN [utils.script.Script] (Script-2:null) Interru= pting script. 2013-05-07 13:28:28,678 WARN [utils.script.Script] (Timer-1:null) Timed ou= t: sudo keytool -genkey -keystore /etc/cloudstack/management/cloud.keystore= -storepass vmops.com -keypass vmops.com -keyalg RSA -validity 3650 -dname = cn=3D"Cloudstack User",ou=3D"asf41.cloud.com",o=3D"asf41.cloud.com",c=3D"Un= known" . 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(Confi= gurationServerImpl.java:510) at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(Co= nfigurationServerImpl.java:272) at com.cloud.utils.component.ComponentInstantiationPostProcessor$In= terceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at com.cloud.server.ConfigurationServerImpl.configure(Configuration= ServerImpl.java:148) at com.cloud.utils.component.ComponentContext.initComponentsLifeCyc= le(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) Executin= g: /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 /v= ar/cloudstack/management/.ssh/id_rsa -q 2013-05-07 13:28:30,355 DEBUG [utils.script.Script] (Timer-1:null) Executio= n is successful. 2) 2013-05-07 16:51:17,546 INFO [utils.component.ComponentContext] (Timer-1:n= ull) Configuring com.cloud.server.ConfigurationServerImpl_EnhancerByCloudSt= ack_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] (Tim= er-1:null) Unable to update Configuration Value com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for colu= mn '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(PreparedStateme= nt.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.executeUpdat= e(DelegatingPreparedStatement.java:105) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdat= e(DelegatingPreparedStatement.java:105) at com.cloud.configuration.dao.ConfigurationDaoImpl.update(Configur= ationDaoImpl.java:157) at com.cloud.utils.component.ComponentInstantiationPostProcessor$In= terceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(Confi= gurationServerImpl.java:521) at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(Co= nfigurationServerImpl.java:272) at com.cloud.utils.component.ComponentInstantiationPostProcessor$In= terceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at com.cloud.server.ConfigurationServerImpl.configure(Configuration= ServerImpl.java:148) at com.cloud.utils.component.ComponentContext.initComponentsLifeCyc= le(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 --_000_2AC317E9E0682749A5A8A3C9939AE00304CDB3SINPEX01CL02citri_--