cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastien Goasguen" <run...@gmail.com>
Subject Re: Review Request 16856: Fix for CLOUDSTACK-5864
Date Tue, 14 Jan 2014 15:19:48 GMT


> On Jan. 14, 2014, 2:02 p.m., Sebastien Goasguen wrote:
> > it seems to work but it never exits, is that expected with the new arguments ?
> 
> Santhosh Edukulla wrote:
>     Please paste the logs collected for the below command run. I can see why it is not
exiting.
>     mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/basic.cfg -pl :cloud-marvin
integration-test
>

I have to ctrl-C to exit:


$ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/basic.cfg -pl :cloud-marvin integration-test
Listening for transport dt_socket at address: 61596
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack marvin 4.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin ---
[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ cloud-marvin ---
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ cloud-marvin ---
^C
Step1 :Parsing Options And Check Went Fine

Step2: Marvin Initialization Went Fine

Step3: TC Path Check Went Fine
Traceback (most recent call last):
  File "deployAndRun.py", line 166, in <module>
sebimac:cloudstack sebgoa$ 


the mgt server log shows:

INFO  [c.c.c.ConfigurationManagerImpl] (1683513057@qtp-402797011-0:ctx-28a662f1 ctx-98208a94
ctx-0ee9766b) adding a new subnet to the network 204
INFO  [c.c.r.ResourceManagerImpl] (1683513057@qtp-402797011-0:ctx-b48b315a ctx-be0e736e ctx-27d2418d)
Trying to add a new host at http://sim/c0/h0 in data center 1
INFO  [c.c.r.SimulatorDiscoverer] (1683513057@qtp-402797011-0:ctx-b48b315a ctx-be0e736e ctx-27d2418d)
Creating Simulator Resources
INFO  [c.c.a.m.DirectAgentAttache] (1683513057@qtp-402797011-0:ctx-b48b315a ctx-be0e736e ctx-27d2418d)
StartupAnswer received 1 Interval = 60
INFO  [c.c.n.s.SecurityGroupListener] (1683513057@qtp-402797011-0:ctx-b48b315a ctx-be0e736e
ctx-27d2418d) Received a host startup notification
INFO  [c.c.n.s.SecurityGroupListener] (1683513057@qtp-402797011-0:ctx-b48b315a ctx-be0e736e
ctx-27d2418d) Scheduled network rules cleanup, interval=2474
INFO  [c.c.n.s.SecurityGroupListener] (1683513057@qtp-402797011-0:ctx-b48b315a ctx-be0e736e
ctx-27d2418d) Received a host startup notification
INFO  [c.c.r.ResourceManagerImpl] (1683513057@qtp-402797011-0:ctx-b48b315a ctx-be0e736e ctx-27d2418d)
server resources successfully discovered by Simulator Agent
INFO  [o.a.c.s.d.p.DefaultHostListener] (1683513057@qtp-402797011-0:ctx-2aacf734 ctx-1276481d
ctx-20930c48) Connection established between org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@25218b80
host + 1
INFO  [o.a.c.s.d.l.SimulatorImageStoreLifeCycleImpl] (1683513057@qtp-402797011-0:ctx-ed03b9d8
ctx-a791e353 ctx-650ecf0e) Trying to add a new data store at nfs://nfsstor:/export/home/sandbox/secondary
to data center 1
INFO  [c.c.c.ConfigurationManagerImpl] (1683513057@qtp-402797011-0:ctx-ed2e07bf ctx-f8243ddb
ctx-efd81590) No storage traffic type was specified by admin, create default storage traffic
on physical network 200 with same configure of management traffic type
INFO  [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-0435122e) No running secondary
storage vms found in datacenter id=1, starting one
INFO  [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-0435122e) No stopped secondary
storage vm is available, need to allocate a new secondary storage vm
INFO  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-0d28f28a) No stopped console proxy
is available, need to allocate a new console proxy
INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-0d28f28a) lock is acquired for VMTemplateStoragePool
1
INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-0d28f28a) releasing lock for VMTemplateStoragePool
1
WARN  [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-0d28f28a) Was unable to find lock for the
key template_spool_ref1 and thread id 35164743
WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-0d28f28a) Console proxy is not in
correct state to be started: Running
INFO  [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-0435122e) lock is acquired for VMTemplateStoragePool
1
INFO  [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-0435122e) Template simulator-domR is
already copied to primary storage, skip copying
INFO  [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-0435122e) releasing lock for VMTemplateStoragePool
1
Exception in thread "Simulator-Agent-Mgr-1" java.lang.NullPointerException
	at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:595)
	at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:582)
	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:606)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at com.sun.proxy.$Proxy149.discoverHosts(Unknown Source)
	at com.cloud.agent.manager.MockAgentManagerImpl$SystemVMHandler.run(MockAgentManagerImpl.java:363)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)
INFO  [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-0435122e) Secondary storage
vm s-1-VM is started
INFO  [c.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-0435122e) Primary secondary
storage is not even started, wait until next turn


The warning seems to be a new issue.

But we need to figure out why it's not exiting properly. 


- Sebastien


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16856/#review31718
-----------------------------------------------------------


On Jan. 14, 2014, 1:43 p.m., Santhosh Edukulla wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16856/
> -----------------------------------------------------------
> 
> (Updated Jan. 14, 2014, 1:43 p.m.)
> 
> 
> Review request for cloudstack and Girish Shilamkar.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Fixed the profile mentioned under CLOUDSTACK-5864
> 
> 
> Diffs
> -----
> 
>   tools/marvin/pom.xml 0869248 
> 
> Diff: https://reviews.apache.org/r/16856/diff/
> 
> 
> Testing
> -------
> 
> Tested by running mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/basic.cfg -pl
:cloud-marvin integration-test. It proceeded fine with deploy Stage\step.
> 
> Note : There were other issues with simulator but i believe is independent of this profile
change.
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>


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