incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <bhais...@apache.org>
Subject Re: [ACS41][QA]Issues observed with 4.1
Date Tue, 05 Feb 2013 07:17:16 GMT
On Tue, Feb 5, 2013 at 10:55 AM, Rohit Yadav <bhaisaab@apache.org> wrote:
> On Mon, Feb 4, 2013 at 10:02 PM, Sailaja Mada <sailaja.mada@citrix.com> wrote:
>> Hi,
>> These are the observations with 4.1 master branch dev environment today .
>>
>> 1. Null pointer exception during deploy DB:
>> Note: Suggested to create db.propeties.override  to ignore this error ,
>> ========> WARNING: Provided file does not exist: /sailaja/asf/incubator-cloudstack/utils/conf/db.properties.override
>> 2013-02-04 21:13:30,574 WARN  [db.Transaction.Transaction] (com.cloud.upgrade.DatabaseCreator.main():)
Unable to load db configuration, using defaults with 5 connections. Falling back on assumed
datasource on localhost:3306 using username:password=cloud:cloud. Please check your configuration
>> java.lang.NullPointerException
>>         at java.io.FileInputStream.<init>(FileInputStream.java:133)
>>         at com.cloud.utils.db.Transaction.initDataSource(Transaction.java:1021)
>>         at com.cloud.utils.db.Transaction.<clinit>(Transaction.java:1004)
>>         at com.cloud.upgrade.DatabaseCreator.main(DatabaseCreator.java:159)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:616)
>>         at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
>>         at java.lang.Thread.run(Thread.java:679)
>

Okay I found and fixed the issue. The problem is Transaction object
initializes with db.properties file by default and fails as it's not
in its classpath, but in Database creator we call init db source
before we call any other operation, so it succeeds. I fixed the issue
on 4.1 and master, it may still complain, but you should ignore the
message only for DatabaseCreator, if you get it during runtime it's a
fatal error.

Regards.

>
>>
>> 2. Permissions denied error while starting jetty process
>>
>> INFO  [cloud.server.ConfigurationServerImpl] (main:) Going to update systemvm iso
with generated keypairs if needed
>> WARN  [cloud.server.ConfigurationServerImpl] (main:) Exception: /sailaja/asf/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
/root/.ssh/id_rsa.pub /root/.ssh/id_rsa /sailaja/asf/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/vms/systemvm.iso
>> java.io.IOException: Cannot run program "/sailaja/asf/incubator-cloudstack/client/target/cloud-client-ui-4.1.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh":
java.io.IOException: error=13, Permission denied
>>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
>>         at com.cloud.utils.script.Script.execute(Script.java:183)
>>         at com.cloud.utils.script.Script.execute(Script.java:161)
>>         at com.cloud.server.ConfigurationServerImpl.injectSshKeysIntoSystemVmIsoPatch(ConfigurationServerImpl.java:733)
>>         at com.cloud.server.ConfigurationServerImpl.updateKeyPairs(ConfigurationServerImpl.java:671)
>>         at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:273)
>>         at com.cloud.server.ConfigurationServerImpl.configure(ConfigurationServerImpl.java:144)
>>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>>         at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
>>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
>>         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
>>
>> 3. I was able to access Management server with no  issues.  But version from Cloudstack
UI shows :  " 4.1.0-SNAPSHOT"
>>
>> 4.  My host failed to add as it was not reachable. But when I tried to create persistent
network with persistent set to true network offering it failed with error:
>>
>> ERROR [cloud.api.ApiServer] (11617090@qtp-6622806-8:) unhandled exception executing
api command: createNetwork
>> com.cloud.utils.exception.CloudRuntimeException: Template SystemVM Template (XenServer)
has not been completely downloaded to zone 1
>>         at com.cloud.storage.StorageManagerImpl.allocateTemplatedVolume(StorageManagerImpl.java:3099)
>>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>>         at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
>>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
>>         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:616)
>>
>> 5.  But in UI, Network got created with implementing state .  When I tried to create
Firewall rule it failed with Null pointer exception:
>> ERROR [cloud.api.ApiServer] (30505434@qtp-6622806-11:) unhandled exception executing
api command: createFirewallRule
>> java.lang.NullPointerException
>>         at com.cloud.network.firewall.FirewallManagerImpl.validateFirewallRule(FirewallManagerImpl.java:484)
>>         at com.cloud.network.firewall.FirewallManagerImpl.createFirewallRule(FirewallManagerImpl.java:187)
>>         at com.cloud.network.firewall.FirewallManagerImpl.createIngressFirewallRule(FirewallManagerImpl.java:163)
>>         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>>         at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
>>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>>         at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
>>         at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:43)
>>         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:616)
>>
>> 6. Persistent network is not allowing to delete/restart.
>>
>> Thanks and Regards,
>> Sailaja.M

Mime
View raw message