cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asmita Vagyani <Asmita.Vagy...@sigma-systems.com>
Subject RE: CS4 management server -mysql db issue
Date Mon, 21 Jan 2013 05:15:33 GMT
Hi Nik, thanks for your reply.

I found from Cloudstack sites that the DB parameters of category hidden are encrypted in DB.
And recently I had changed the value of router.ram.size a hidden parameter to non-encrypted
value 128, saw it somewhere on posts.
So, it was not able to decrypt it.

Then I deleted the row in DB for this non-encrypted value and the Management server started
fine.
I learnt a lesson from this, never change the hidden parameters value in DB.
I just wanted to avoid the DB re-istall, that would mean zone, POD, cluster setup again.
So, that solved the purpose, I dint have to reset the DB.

Thanks and Regards.

Asmita Patil Vagyani. 

-----Original Message-----
From: Nik Martin [mailto:nik.martin@nfinausa.com] 
Sent: 18 January 2013 PM 08:27
To: cloudstack-users@incubator.apache.org
Subject: Re: CS4 management server -mysql db issue

On 01/18/2013 05:41 AM, Asmita Vagyani wrote:
> yes I was updating some parameters in DB.
>
>
Tsk Tsk Tsk.  You will likely need to drop the cloud database and re-run the install script.
>
> Thanks and Regards.
>
> Asmita Patil Vagyani.
>
>
> -----Original Message-----
> From: Kishan Kavala [mailto:Kishan.Kavala@citrix.com]
> Sent: 18 January 2013 PM 05:09
> To: 'cloudstack-users@incubator.apache.org'
> Subject: RE: CS4 management server -mysql db issue
>
> Asmita,
>   Is this a previously functional Mgmt server that ran into this issue? Did you make
any changes in the DB directly?
>
> ~kishan
>
>> -----Original Message-----
>> From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com]
>> Sent: Friday, 18 January 2013 4:51 PM
>> To: 'cloudstack-users@incubator.apache.org'
>> Subject: CS4 management server -mysql db issue
>>
>> Hi all,
>>
>> I am not able to start the Cloud Management server on RHEL6.3.
>>
>> The exception I can get is :
>>
>> 2013-01-18 05:57:08,743 INFO  [utils.component.ComponentLocator]
>> (main:null) Instantiating Manager: NetappManager
>> 2013-01-18 05:57:08,746 INFO  [utils.component.ComponentLocator]
>> (main:null) Instantiating Manager: ElasticLoadBalancerManager
>> 2013-01-18 05:57:08,749 INFO  [utils.component.ComponentLocator]
>> (main:null) Instantiating Manager: VmwareManager
>> 2013-01-18 05:57:08,831 DEBUG [utils.crypt.DBEncryptionUtil]
>> (main:null) Error while decrypting: 128
>> 2013-01-18 05:57:08,832 ERROR [utils.component.ComponentLocator]
>> (main:null) Unable to load configuration for management-server from 
>> components.xml
>> net.sf.cglib.core.CodeGenerationException:
>> org.jasypt.exceptions.EncryptionOperationNotPossibleException-->null
>>          at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:235)
>>          at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:220)
>>          at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:216)
>>          at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:643)
>>          at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:538)
>>          at
>> net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerato
>> r
>> .java
>> :225)
>>          at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
>>          at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285)
>>          at
>> com.cloud.utils.component.ComponentLocator.createInstance(ComponentL
>> ocator.java:343)
>>          at
>> com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.ja
>> va:250)
>>          at
>> com.cloud.utils.component.ComponentLocator.getLocatorInternal(Compon
>> entLocator.java:836)
>>          at
>> com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocat
>> or.java:874)
>>          at
>> com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:48)
>>          at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>>          at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
>> j
>> a
>> va:1173)
>>          at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>>          at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
>> t
>> .j
>> ava:4187)
>>          at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
>>          at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.
>> java
>> :791)
>>          at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>>          at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
>>          at
>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
>> a
>> :104
>> 1)
>>          at
>> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
>> a
>> va:96
>> 4)
>>          at
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>>          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
>>          at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>>          at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.
>> java:119)
>>          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>>          at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>>          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>          at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>          at
>> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>>          at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
>>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>          at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> j
>> ava:57)
>>          at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:43)
>>          at java.lang.reflect.Method.invoke(Method.java:601)
>>          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>>          at
>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>> Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
>>          at
>> org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPB
>> E
>> B
>> yteEncryptor.java:918)
>>          at
>> org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(Standard
>> P
>> BE
>> StringEncryptor.java:725)
>>          at
>> com.cloud.utils.crypt.DBEncryptionUtil.decrypt(DBEncryptionUtil.java:65)
>>          at
>> com.cloud.configuration.ConfigurationVO.getValue(ConfigurationVO.java:92)
>>          at
>> com.cloud.configuration.dao.ConfigurationDaoImpl.getConfiguration(Con
>> f
>> ig
>> urationDaoImpl.java:74)
>>          at
>> com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>>          at
>> com.cloud.configuration.dao.ConfigurationDaoImpl.getConfiguration(Con
>> f
>> ig
>> urationDaoImpl.java:104)
>>          at
>> com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>>          at
>> com.cloud.server.ManagementServerImpl.<init>(ManagementServerImpl.ja
>> va:376)
>>          at
>> com.cloud.server.ManagementServerExtImpl.<init>(ManagementServerExtI
>> mpl.java:55)
>>          at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>          at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
>> o
>> r
>> AccessorImpl.java:57)
>>          at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
>> o
>> n
>> structorAccessorImpl.java:45)
>>          at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
>>          at net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:228)
>>          ... 39 more
>> 2013-01-18 05:57:08,836 DEBUG [utils.component.ComponentLocator]
>> (Thread-5:null) Skippng ClusterService because it has already stopped
>> 2013-01-18 05:57:08,837 DEBUG [utils.component.ComponentLocator]
>> (Thread-5:null) Skippng BasicAgentAuthorizer because it has already 
>> stopped
>> 2013-01-18 05:57:08,837 DEBUG [utils.component.ComponentLocator]
>> (Thread-5:null) Skippng XenServerGuru because it has already stopped
>> 2013-01-18 05:57:08,837 DEBUG [utils.component.ComponentLocator]
>> (Thread-5:null) Skippng KVMGuru because it has already stopped
>> 2013-01-18 05:57:08,837 DEBUG [utils.component.ComponentLocator]
>> (Thread-5:null) Skippng VMwareGuru because it has already stopped
>> 2013-01-18 05:57:08,837 DEBUG [utils.component.ComponentLocator]
>> (Thread-5:null) Skippng BareMetalGuru because it has already stopped
>>
>>
>> Thanks and Regards.
>>
>> Asmita Patil Vagyani.
>
>
>


-- 

Regards,

Nik

Nik Martin
nfina Technologies, Inc.
+1.251.243.0043 x1003
http://nfinausa.com
Relentless Reliability



Mime
View raw message