Re: The SSVM cannot run succesfully in the development environment

2014-10-31 Thread Hugo Trippaers
Hello XQ,

We need a little bit more info before we can help you. For example the error 
message in the log file and a short description of how your environment is 
build up.

Cheers,

Hugo

Sent from my iPhone

> On 31 Oct 2014, at 06:56, 徐书敏  wrote:
> 
> Hi
> 
>I have done the dev-environment building.when I configure the host,the 
> Error :Monitor DownloaderListener says there is a error in the connect 
> process for 1 due to failed to update state.before it there is a warn there 
> is no seondnary storage vm for downloading template to image store .
>In the secondnary storage host ,there are a  template file of vhd and a 
> properties file of template.
> 
> 
> Thanks,
> XQ


[DISCUSS] merging vs. cherry-picking

2014-10-31 Thread Rajani Karuturi
I am one of those who hate cherry-picking. Though both have same conflicts
and the same number of commits, merging has many advantages over
cherry-picking.
git cherry-pick creates two physically distinct commits and its very
difficult to track it over time [1].

git branch --contains commit-id can give you what all branches(or releases)
the commit is in. I personally feel this is very useful information to
have.

With merging in proper direction("tofu scale" [2]) there wont be situations
where a fix is in past release but doesn't exist in the current or future
one.

Please share your opinion on this. If everybody agrees, we can start using
this from 4.5 (ie. merge from 4.5 to master for any fixes on 4.5).

[1] http://www.draconianoverlord.com/2013/09/07/no-cherry-picking.html
[2] page 4 @
http://www.perforce.com/sites/default/files/flow-change-wingerd.pdf

~Rajani


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0

2014-10-31 Thread Erik Weber
This might already be possible without me figuring out why, but is there an
easy way to list my profiles?
If not, that'd be a nice feature request for a future version

-- 
Erik

On Fri, Oct 31, 2014 at 1:57 AM, Rohit Yadav 
wrote:

> Thanks everyone for voting so far.
>
> I found some issues in my testing which I’ve fixed, so I need to call off
> this voting round. I’ll start another round today.
>
> The new changes are;
> - Double url encoding removed and requests bugfixes
> - Autocompletion fixes, autocompletions for filter options and boolean api
> arguments
> - CloudMonkey becomes unicode friendly (this would need some testing)
>
> Regards.
>
> > On 31-Oct-2014, at 12:56 am, Erik Weber  wrote:
> >
> > On Thu, Oct 30, 2014 at 11:55 AM, Rohit Yadav  >
> > wrote:
> >
> >> Hi All,
> >>
> >> I've created a 5.3.0 release of CloudMonkey, with the following
> artifacts
> >> up for a vote:
> >>
> >> Git Branch and Commit SH:
> >>
> >>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/X.X
> >> Commit: 715630aebdcf18fbb2094893569a0c20fe7b65ab
> >>
> >> List of changes:
> >>
> >>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=X.X
> >>
> >> Source release (checksums and signatures are available at the same
> >> location):
> >> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
> >
> >
> >
> > +1
> >
> > - Successfully upgraded from earlier pip install
> > - Worked with previous profile
> > - Added new profile
> > - param completion tested ok after enabling it (sweet feature by the
> way!)
> > - tested various calls, list zones/serviceofferings/templates, deploy
> > virtualmachine
> >
> > --
> > Erik
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>


RE: [USAGE][MASTER] java.sql.SQLException: No suitable driver found for jdbc:mysql

2014-10-31 Thread Ilia Shakitko
Yeah, I am running jetty run on the server for tests, there is no IDE, hehe.

Can I solve it w/o an IDE?


Kind regards,

Ilia Shakitko
Innovation Engineer
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: i.shaki...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands


-Original Message-
From: Rajani Karuturi [mailto:raj...@apache.org]
Sent: donderdag, 30 oktober, 2014 13:47
To: dev@cloudstack.apache.org
Subject: Re: [USAGE][MASTER] java.sql.SQLException: No suitable driver found 
for jdbc:mysql

The only way I could run in a dev environment was to run 
com.cloud.usage.UsageServer as a plain java process and explicitly set mysql 
connector in the classpath

for example in intellij, add mysql connector to the classpath by editing the 
project structure and adding mysql connector jar to the dependencies of 
cloud-usage module and right click run as java process.


~Rajani

On Thu, Oct 30, 2014 at 4:01 PM, Ilia Shakitko  wrote:

> Hello,
>
> I know this was a known issue and fixed in 4.4 and master (as
> Sebastian mentioned), but it appears again in master.
>
> I am running mgt with jetty-run. Works OK.
> I am running usage then (mvn -pl usage -Drun -Dpid=$$). Getting an
> exception:
>
> com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null
> at
> com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:425)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$searchIncludingRemoved$36()
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.searchIncludingRemoved()
> at
> com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:361)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$searchIncludingRemoved$35()
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.searchIncludingRemoved()
> at
> com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:931)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$listIncludingRemovedBy$60()
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.listIncludingRemovedBy()
> at
> com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:936)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$listIncludingRemovedBy$62()
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.listIncludingRemovedBy()
>at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl.getConfiguration(ConfigurationDaoImpl.java:82)
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$getConfiguration$7()
> at
> org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
>  

Re: [USAGE][MASTER] java.sql.SQLException: No suitable driver found for jdbc:mysql

2014-10-31 Thread Rajani Karuturi
You could change the dependency of mysql connector in usage pom to compile
and run the mvn command.


On Fri, Oct 31, 2014 at 13:11 PM, Ilia Shakitko <
i.shaki...@tech.leaseweb.com> wrote:

Yeah, I am running jetty run on the server for tests, there is no IDE, hehe.

Can I solve it w/o an IDE?


Kind regards,

Ilia Shakitko
Innovation Engineer
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: i.shaki...@tech.leaseweb.com 
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands


-Original Message-
From: Rajani Karuturi [mailto:raj...@apache.org ]
Sent: donderdag, 30 oktober, 2014 13:47
To: dev@cloudstack.apache.org 
Subject: Re: [USAGE][MASTER] java.sql.SQLException: No suitable driver
found for jdbc:mysql

The only way I could run in a dev environment was to run
com.cloud.usage.UsageServer as a plain java process and explicitly set
mysql connector in the classpath

for example in intellij, add mysql connector to the classpath by editing
the project structure and adding mysql connector jar to the dependencies of
cloud-usage module and right click run as java process.


~Rajani

On Thu, Oct 30, 2014 at 4:01 PM, Ilia Shakitko 
> wrote:

> Hello,
>
> I know this was a known issue and fixed in 4.4 and master (as
> Sebastian mentioned), but it appears again in master.
>
> I am running mgt with jetty-run. Works OK.
> I am running usage then (mvn -pl usage -Drun -Dpid=$$). Getting an
> exception:
>
> com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null
> at
>
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:425)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$searchIncludingRemoved$36()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
>
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.searchIncludingRemoved()
> at
>
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:361)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$searchIncludingRemoved$35()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
>
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.searchIncludingRemoved()
> at
>
com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:931)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$listIncludingRemovedBy$60()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
>
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.listIncludingRemovedBy()
> at
>
com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:936)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$listIncludingRemovedBy$62()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
>
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.listIncludingRemovedBy()
>at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl.getConfiguration(ConfigurationDaoImpl.java:82)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$getConfiguration$7()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.in

Re:Re: The SSVM cannot run succesfully in the development environment

2014-10-31 Thread XQ
Hello Hugo
I run the cmd "mvn -pl :cloud-client-ui jetty:run ",To start the 
management server.
I hava add the zone suceesfully,but the two vm can not start up.
the vmops.log:


DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl] (AgentTaskPool-1:ctx-6b61f408) 
Downloading template to data store 1
WARN  [c.c.s.d.DownloadMonitorImpl] (AgentTaskPool-1:ctx-6b61f408) There is no 
secondary storage VM for downloading template to image store CCF
 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (AgentTaskPool-1:ctx-6b61f408) 
template 5 is already in store:1, type:Image

DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-34387474) Seq 
1-8395835605325447178: Received:  { Ans: , MgmtId: 52236036618, via: 1, Ver: 
v1, Flags: 10, { UnsupportedAnswer } }
 WARN  [c.c.a.m.AgentManagerImpl] (StatsCollector-1:ctx-34387474) Unsupported 
Command: Unsupported command issued:com.cloud.agent.api.GetGPUStatsCommand.  
Are you sure you got the right type of server?
 DEBUG [c.c.a.m.AgentManagerImpl] (StatsCollector-1:ctx-34387474) Details from 
executing class com.cloud.agent.api.GetGPUStatsCommand: Unsupported command 
issued:com.cloud.agent.api.GetGPUStatsCommand.  Are you sure you got the right 
type of server?
 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2:ctx-b63b21f4) Seq 
1-8395835605325447177: Response Received:
 DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-7e978663) Seq 
1-8395835605325447177: Received:  { Ans: , MgmtId: 52236036618, via: 1, Ver: 
v1, Flags: 10, { GetStorageStatsAnswer } }
DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-8:ctx-dd3df651) Seq 
1-8395835605325447179: Executing request
300 WARN  [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-8:ctx-dd3df651) 
destoryVDIbyNameLabel failed due to there are 0 VDIs with name 
cloud-a3a84a3a-d970-4175-a1b8-216250a8f53a2014-10-31 15:43:58,304 WARN  
[c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-8:ctx-dd3df651) can not 
create vdi in sr cc3f752d-9b31-235e-73ae-50537461b849
305 WARN  [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-8:ctx-dd3df651) 
Catch Exception com.cloud.utils.exception.CloudRuntimeException for template +  
due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi in 
sr cc3f752d-9b31-235e-73ae-50537461b849
com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 
cc3f752d-9b31-235e-73ae-50537461b849
INFO  [o.a.c.s.v.VolumeServiceImpl] (Work-Job-Executor-2:ctx-864a1711 
job-580/job-582 ctx-d21a5eaa) releasing lock for VMTemplateStoragePool 224
323 WARN  [c.c.u.d.Merovingian2] (Work-Job-Executor-2:ctx-864a1711 
job-580/job-582 ctx-d21a5eaa) Was unable to find lock for the key 
template_spool_ref224 and thread id 276030255
323 DEBUG [o.a.c.e.o.VolumeOrchestrator] (Work-Job-Executor-2:ctx-864a1711 
job-580/job-582 ctx-d21a5eaa) Unable to create Vol[1|vm=1|ROOT]:Catch Exception 
com.cloud.utils.exception.CloudRuntimeException for template +  due to 
com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 
cc3f752d-9b31-235e-73ae-50537461b849
323 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-2:ctx-864a1711 
job-580/job-582 ctx-d21a5eaa) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create Vol[1|vm=1|ROOT]:Catch Exception 
com.cloud.utils.exception.CloudRuntimeException for template +  due to 
com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr 
cc3f752d-9b31-235e-73ae-50537461b849











At 2014-10-31 15:01:37, "Hugo Trippaers"  wrote:
>Hello XQ,
>
>We need a little bit more info before we can help you. For example the error 
>message in the log file and a short description of how your environment is 
>build up.
>
>Cheers,
>
>Hugo
>
>Sent from my iPhone
>
>> On 31 Oct 2014, at 06:56, 徐书敏  wrote:
>> 
>> Hi
>> 
>>I have done the dev-environment building.when I configure the host,the 
>> Error :Monitor DownloaderListener says there is a error in the connect 
>> process for 1 due to failed to update state.before it there is a warn there 
>> is no seondnary storage vm for downloading template to image store .
>>In the secondnary storage host ,there are a  template file of vhd and a 
>> properties file of template.
>> 
>> 
>> Thanks,
>> XQ


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0

2014-10-31 Thread Rohit Yadav
Hi,

> On 31-Oct-2014, at 12:33 pm, Erik Weber  wrote:
>
> This might already be possible without me figuring out why, but is there an
> easy way to list my profiles?
> If not, that'd be a nice feature request for a future version

Available in the present one;

set profile   lists different server profiles you have.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Re: The SSVM cannot run succesfully in the development environment

2014-10-31 Thread Yitao Jiang
Hi,XQ

Have you imported system vm template successfully?
Maybe, Something wrong with your primary stroage (NFS ?) ,you can just
verify whether can launch instance directly from hypervisor(xenserver? )

Hopes can help


---
Thanks,
Yitao(依涛 姜)
jiangyt.github.io

On Fri, Oct 31, 2014 at 4:20 PM, XQ  wrote:

> Hello Hugo
> I run the cmd "mvn -pl :cloud-client-ui jetty:run ",To start the
> management server.
> I hava add the zone suceesfully,but the two vm can not start up.
> the vmops.log:
>
>
> DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl] (AgentTaskPool-1:ctx-6b61f408)
> Downloading template to data store 1
> WARN  [c.c.s.d.DownloadMonitorImpl] (AgentTaskPool-1:ctx-6b61f408) There
> is no secondary storage VM for downloading template to image store CCF
>  DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (AgentTaskPool-1:ctx-6b61f408)
> template 5 is already in store:1, type:Image
>
> DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-34387474) Seq
> 1-8395835605325447178: Received:  { Ans: , MgmtId: 52236036618, via: 1,
> Ver: v1, Flags: 10, { UnsupportedAnswer } }
>  WARN  [c.c.a.m.AgentManagerImpl] (StatsCollector-1:ctx-34387474)
> Unsupported Command: Unsupported command
> issued:com.cloud.agent.api.GetGPUStatsCommand.  Are you sure you got the
> right type of server?
>  DEBUG [c.c.a.m.AgentManagerImpl] (StatsCollector-1:ctx-34387474) Details
> from executing class com.cloud.agent.api.GetGPUStatsCommand: Unsupported
> command issued:com.cloud.agent.api.GetGPUStatsCommand.  Are you sure you
> got the right type of server?
>  DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2:ctx-b63b21f4) Seq
> 1-8395835605325447177: Response Received:
>  DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-7e978663) Seq
> 1-8395835605325447177: Received:  { Ans: , MgmtId: 52236036618, via: 1,
> Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-8:ctx-dd3df651) Seq
> 1-8395835605325447179: Executing request
> 300 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-8:ctx-dd3df651) destoryVDIbyNameLabel failed due to there are
> 0 VDIs with name cloud-a3a84a3a-d970-4175-a1b8-216250a8f53a2014-10-31
> 15:43:58,304 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-8:ctx-dd3df651) can not create vdi in sr
> cc3f752d-9b31-235e-73ae-50537461b849
> 305 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-8:ctx-dd3df651) Catch Exception
> com.cloud.utils.exception.CloudRuntimeException for template +  due to
> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
> cc3f752d-9b31-235e-73ae-50537461b849
> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
> cc3f752d-9b31-235e-73ae-50537461b849
> INFO  [o.a.c.s.v.VolumeServiceImpl] (Work-Job-Executor-2:ctx-864a1711
> job-580/job-582 ctx-d21a5eaa) releasing lock for VMTemplateStoragePool 224
> 323 WARN  [c.c.u.d.Merovingian2] (Work-Job-Executor-2:ctx-864a1711
> job-580/job-582 ctx-d21a5eaa) Was unable to find lock for the key
> template_spool_ref224 and thread id 276030255
> 323 DEBUG [o.a.c.e.o.VolumeOrchestrator] (Work-Job-Executor-2:ctx-864a1711
> job-580/job-582 ctx-d21a5eaa) Unable to create Vol[1|vm=1|ROOT]:Catch
> Exception com.cloud.utils.exception.CloudRuntimeException for template +
> due to com.cloud.utils.exception.CloudRuntimeException: can not create vdi
> in sr cc3f752d-9b31-235e-73ae-50537461b849
> 323 INFO  [c.c.v.VirtualMachineManagerImpl]
> (Work-Job-Executor-2:ctx-864a1711 job-580/job-582 ctx-d21a5eaa) Unable to
> contact resource.
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1]
> is unreachable: Unable to create Vol[1|vm=1|ROOT]:Catch Exception
> com.cloud.utils.exception.CloudRuntimeException for template +  due to
> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
> cc3f752d-9b31-235e-73ae-50537461b849
>
>
>
>
>
>
>
>
>
>
>
> At 2014-10-31 15:01:37, "Hugo Trippaers"  wrote:
> >Hello XQ,
> >
> >We need a little bit more info before we can help you. For example the
> error message in the log file and a short description of how your
> environment is build up.
> >
> >Cheers,
> >
> >Hugo
> >
> >Sent from my iPhone
> >
> >> On 31 Oct 2014, at 06:56, 徐书敏  wrote:
> >>
> >> Hi
> >>
> >>I have done the dev-environment building.when I configure the
> host,the Error :Monitor DownloaderListener says there is a error in the
> connect process for 1 due to failed to update state.before it there is a
> warn there is no seondnary storage vm for downloading template to image
> store .
> >>In the secondnary storage host ,there are a  template file of vhd
> and a properties file of template.
> >>
> >>
> >> Thanks,
> >> XQ
>


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0

2014-10-31 Thread Erik Weber
On Fri, Oct 31, 2014 at 9:23 AM, Rohit Yadav 
wrote:

> Hi,
>
> > On 31-Oct-2014, at 12:33 pm, Erik Weber  wrote:
> >
> > This might already be possible without me figuring out why, but is there
> an
> > easy way to list my profiles?
> > If not, that'd be a nice feature request for a future version
>
> Available in the present one;
>
> set profile   lists different server profiles you have.
>
>
Ah, didn't try it after enabling paramcompletion.

-- 
Erik


RE: [DISCUSS] merging vs. cherry-picking

2014-10-31 Thread Vaibhav Gupta
+1

+1,  also for the assembly of subscribers of the thought -"one of those who 
hate cherry-picking".

To voters of "Cherry-pick" -

Merge and Cherry-pick are not even comparable when it comes to managing and 
fixing the issues in multiple branches.

"git branch --contains" or "git tag --contains" give the right information 
about to which all branches/tags a particular fix is ported  (unless someone 
deviated from default merging strategy of git). No other model would be that 
viable.

 "cherry-pick" should not be intended, rather should not be hacked to address 
this.

Thanks,
Vaibhav


-Original Message-
From: Rajani Karuturi [mailto:raj...@apache.org]
Sent: 31 October 2014 12:35
To: dev@cloudstack.apache.org
Subject: [DISCUSS] merging vs. cherry-picking

I am one of those who hate cherry-picking. Though both have same conflicts and 
the same number of commits, merging has many advantages over cherry-picking.
git cherry-pick creates two physically distinct commits and its very difficult 
to track it over time [1].

git branch --contains commit-id can give you what all branches(or releases) the 
commit is in. I personally feel this is very useful information to have.

With merging in proper direction("tofu scale" [2]) there wont be situations 
where a fix is in past release but doesn't exist in the current or future one.

Please share your opinion on this. If everybody agrees, we can start using this 
from 4.5 (ie. merge from 4.5 to master for any fixes on 4.5).

[1] http://www.draconianoverlord.com/2013/09/07/no-cherry-picking.html
[2] page 4 @
http://www.perforce.com/sites/default/files/flow-change-wingerd.pdf

~Rajani



RE: [USAGE][MASTER] - RESOLVED java.sql.SQLException: No suitable driver found for jdbc:mysql

2014-10-31 Thread Ilia Shakitko
Good! I'll re-post the solution, in case someone will be interested.

# add mysql-connector dependency to run Usage in Jetty
# usage/pom.xml

mysql
mysql-connector-java
${cs.mysql.version}
runtime



Kind regards,

Ilia Shakitko
Innovation Engineer
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: i.shaki...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands


-Original Message-
From: Rajani Karuturi [mailto:raj...@apache.org]
Sent: vrijdag, 31 oktober, 2014 08:56
To: dev@cloudstack.apache.org
Subject: Re: [USAGE][MASTER] java.sql.SQLException: No suitable driver found 
for jdbc:mysql

You could change the dependency of mysql connector in usage pom to compile and 
run the mvn command.


On Fri, Oct 31, 2014 at 13:11 PM, Ilia Shakitko < i.shaki...@tech.leaseweb.com> 
wrote:

Yeah, I am running jetty run on the server for tests, there is no IDE, hehe.

Can I solve it w/o an IDE?


Kind regards,

Ilia Shakitko
Innovation Engineer
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: i.shaki...@tech.leaseweb.com 
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands


-Original Message-
From: Rajani Karuturi [mailto:raj...@apache.org ]
Sent: donderdag, 30 oktober, 2014 13:47
To: dev@cloudstack.apache.org 
Subject: Re: [USAGE][MASTER] java.sql.SQLException: No suitable driver found 
for jdbc:mysql

The only way I could run in a dev environment was to run 
com.cloud.usage.UsageServer as a plain java process and explicitly set mysql 
connector in the classpath

for example in intellij, add mysql connector to the classpath by editing the 
project structure and adding mysql connector jar to the dependencies of 
cloud-usage module and right click run as java process.


~Rajani

On Thu, Oct 30, 2014 at 4:01 PM, Ilia Shakitko 
> wrote:

> Hello,
>
> I know this was a known issue and fixed in 4.4 and master (as
> Sebastian mentioned), but it appears again in master.
>
> I am running mgt with jetty-run. Works OK.
> I am running usage then (mvn -pl usage -Drun -Dpid=$$). Getting an
> exception:
>
> com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null
> at
>
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:425)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$searchIncludingRemoved$36()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
>
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.searchIncludingRemoved()
> at
>
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:361)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$searchIncludingRemoved$35()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
>
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.searchIncludingRemoved()
> at
>
com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:931)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$listIncludingRemovedBy$60()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
>
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:122)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.listIncludingRemovedBy()
> at
>
com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:936)
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2.CGLIB$listIncludingRemovedBy$62()
> at
>
org.apache.cloudstack.framework.config.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c3a6ca2_FastClassByCloudStack_ce5b857a.invoke()
> at
net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at
>
com.cloud.utils.component.ComponentInstantiationPostProcesso

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0

2014-10-31 Thread Rohit Yadav

> On 31-Oct-2014, at 2:42 pm, Erik Weber  wrote:
>
> Ah, didn't try it after enabling paramcompletion.

Param completion is only for api parameter completion. This works by default, 
many set  options have autocompletion now.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


[VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #2)

2014-10-31 Thread Rohit Yadav
Hi All,

I've created a 5.3.0 release of CloudMonkey, with the following artifacts up 
for a vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/X.X
Commit: 088001e7acabb2e2c16a18f2ade84b500c8b5bb6

List of changes:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=X.X

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/

PGP release keys (signed using 0EE3D884):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

The CHANGES file notes changes since 5.2.0, major changes in this version:
- Unicode output is supported now for all display types (default, json, table)
- Better parameter completion: API args, API filter options, set  etc.
- Current server profile displayed on prompt
- New command line arg: -d for display (json, table or default)
- Non-interactive commands from command line are outputted without colors
- CloudMonkey returns non-zero exit code when run on shell and a error is return
 from managment server, the error message is written to stderr

Since the next 72 hour window intersects with the weekend, the vote will be 
open till Wednesday (120 hours). Please test this release and give your vote. 
Thanks.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #2)

2014-10-31 Thread Rohit Yadav
Hi,

I forgot to fix the URLs in previous email (copied the voting email from the 
template);

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
Commit: 088001e7acabb2e2c16a18f2ade84b500c8b5bb6

List of changes:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/

PGP release keys (signed using 0EE3D884):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


[USAGE] Still having hard times to have it starting

2014-10-31 Thread Ilia Shakitko
Hello again,

I’ve managed to run the Usage server within Jetty from the source. Deployed a 
VM. Waited for more than 10min  (my aggr. range) , but I can’t see any data in 
cloud_usage DB …
Could you assist me to tackle that?

root@mgt111-11:~/cloudstack# mvn -pl usage -Drun -Dpid=$$
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building Apache CloudStack Usage Server 4.4.2-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-usage ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-usage ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-usage ---
[INFO] Executing tasks

main:
 [copy] Copying 2 files to /root/cloudstack/usage/target/transformed
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-usage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-usage 
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-usage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-usage ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage <<<
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage ---
log4j:WARN No appenders could be found for logger 
(org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
SLF4J: The requested version 1.6.99 by your slf4j binding is not compatible 
with [1.5.5, 1.5.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.

[cid:image001.png@01CFF4FD.000C67F0]


Kind regards,

Ilia Shakitko
Innovation Engineer
LeaseWeb Technologies B.V.

T: +31 20 316 0235

E: i.shaki...@tech.leaseweb.com
W: www.leaseweb.com

Luttenbergweg 8,1101 EC Amsterdam,  Netherlands





Re: cloudmonkey 5.3.0 autocompletion

2014-10-31 Thread Nux!
One more question, when doing "list templates id=" it lists all the 
templates as well as their names, this is very useful (for me). Would it be 
possible to also list the virtualmachines in the same manner, ie id AND name?

Cheers,
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Nux!" 
> To: dev@cloudstack.apache.org
> Sent: Thursday, 30 October, 2014 13:56:59
> Subject: Re: cloudmonkey 5.3.0 autocompletion

> Thanks, that makes sense.
> 
> The fact "account" is string instead of UUID is one of my pet peeves with ACS.
> it's not consistent with the rest of the stuff and caused some devs I work for
> to scratch their heads.
> Hope it gets fixed in the future versions.
> 
> Regards,
> Lucian
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> - Original Message -
>> From: "Rohit Yadav" 
>> To: dev@cloudstack.apache.org
>> Sent: Thursday, 30 October, 2014 13:47:05
>> Subject: Re: cloudmonkey 5.3.0 autocompletion
> 
>> Hi,
>> 
>> Thanks, glad you find it useful.
>> 
>>> On 30-Oct-2014, at 6:43 pm, Nux!  wrote:
>>>
>>> Second, should I expect cloudmonkey to also be able to fill in stuff like
>>> list templates templatefilter= ?
>> 
>> At present, it only autocompletes API arguments which are of UUID type. This 
>> can
>> be seen by doing the api -h command: list templates -h;
>> 
>> CloudMonkey is able to autocomplete all arguments which are of UUID type, if
>> you’re seeing any issue it’s probably a bug; so please share if you find any 
>> of
>> those.
>> 
>> In future versions we can try to address autocompletion for strings, ints, 
>> maps,
>> types, filters etc. Also, there are many inconsistencies; for example in some
>> APIs the “account” argument is string and in some it’s UUID; so it can
>> autocomplete for ones which are UUIDs but not for others (which are string,
>> ints etc).
>> 
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>> 
>> Find out more about ShapeBlue and our range of CloudStack related services
>> 
>> IaaS Cloud Design & Build
>> CSForge – rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Infrastructure
>> Support
>> CloudStack Bootcamp Training 
>> Courses
>> 
>> This email and any attachments to it may be confidential and are intended 
>> solely
>> for the use of the individual to whom it is addressed. Any views or opinions
>> expressed are solely those of the author and do not necessarily represent 
>> those
>> of Shape Blue Ltd or related companies. If you are not the intended recipient
>> of this email, you must neither take any action based upon its contents, nor
>> copy or show it to anyone. Please contact the sender if you believe you have
>> received this email in error. Shape Blue Ltd is a company incorporated in
>> England & Wales. ShapeBlue Services India LLP is a company incorporated in
>> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
>> Consultoria Ltda is a company incorporated in Brasil and is operated under
>> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
>> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> > ShapeBlue is a registered trademark.


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #2)

2014-10-31 Thread Rajani Karuturi
+1 (binding)

tested against cloudstack 4.5
- upgraded smoothly from 5.2
- profile name in prompt works
- auto complete of filters and ids works (useful. Thanks for adding this.)
- tested few api calls and worked fine


~Rajani

On Fri, Oct 31, 2014 at 3:36 PM, Rohit Yadav 
wrote:

> Hi,
>
> I forgot to fix the URLs in previous email (copied the voting email from
> the template);
>
> Git Branch and Commit SH:
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
> Commit: 088001e7acabb2e2c16a18f2ade84b500c8b5bb6
>
> List of changes:
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
>
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
>
> PGP release keys (signed using 0EE3D884):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>


Re: cloudmonkey 5.3.0 autocompletion

2014-10-31 Thread Rohit Yadav
Hi,

> On 31-Oct-2014, at 4:02 pm, Nux!  wrote:
>
> One more question, when doing "list templates id=" it lists all the 
> templates as well as their names, this is very useful (for me). Would it be 
> possible to also list the virtualmachines in the same manner, ie id AND name?

list virtualmachines id=, this prints list of vms with id,name for me.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: cloudmonkey 5.3.0 autocompletion

2014-10-31 Thread Nux!
Now it does for me as well, odd ... Not sure why it did not previously. Could 
be the upgrade to your latest release.

Thanks! :)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: dev@cloudstack.apache.org
> Sent: Friday, 31 October, 2014 10:43:43
> Subject: Re: cloudmonkey 5.3.0 autocompletion

> Hi,
> 
>> On 31-Oct-2014, at 4:02 pm, Nux!  wrote:
>>
>> One more question, when doing "list templates id=" it lists all the
>> templates as well as their names, this is very useful (for me). Would it be
>> possible to also list the virtualmachines in the same manner, ie id AND name?
> 
> list virtualmachines id=, this prints list of vms with id,name for 
> me.
> 
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> 
> 
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure
> Support
> CloudStack Bootcamp Training 
> Courses
> 
> This email and any attachments to it may be confidential and are intended 
> solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent 
> those
> of Shape Blue Ltd or related companies. If you are not the intended recipient
> of this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated in
> England & Wales. ShapeBlue Services India LLP is a company incorporated in
> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
> Consultoria Ltda is a company incorporated in Brasil and is operated under
> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #2)

2014-10-31 Thread Nux!
+1 from me again

Thanks

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rajani Karuturi" 
> To: dev@cloudstack.apache.org
> Sent: Friday, 31 October, 2014 10:42:39
> Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #2)

> +1 (binding)
> 
> tested against cloudstack 4.5
> - upgraded smoothly from 5.2
> - profile name in prompt works
> - auto complete of filters and ids works (useful. Thanks for adding this.)
> - tested few api calls and worked fine
> 
> 
> ~Rajani
> 
> On Fri, Oct 31, 2014 at 3:36 PM, Rohit Yadav 
> wrote:
> 
>> Hi,
>>
>> I forgot to fix the URLs in previous email (copied the voting email from
>> the template);
>>
>> Git Branch and Commit SH:
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
>> Commit: 088001e7acabb2e2c16a18f2ade84b500c8b5bb6
>>
>> List of changes:
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
>>
>> Source release (checksums and signatures are available at the same
>> location):
>> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
>>
>> PGP release keys (signed using 0EE3D884):
>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the author and do not necessarily
>> represent those of Shape Blue Ltd or related companies. If you are not the
>> intended recipient of this email, you must neither take any action based
>> upon its contents, nor copy or show it to anyone. Please contact the sender
>> if you believe you have received this email in error. Shape Blue Ltd is a
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>> a company registered by The Republic of South Africa and is traded under
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #2)

2014-10-31 Thread Erik Weber
+1 from me again

-- 
Erik

On Fri, Oct 31, 2014 at 12:07 PM, Nux!  wrote:

> +1 from me again
>
> Thanks
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Rajani Karuturi" 
> > To: dev@cloudstack.apache.org
> > Sent: Friday, 31 October, 2014 10:42:39
> > Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round
> #2)
>
> > +1 (binding)
> >
> > tested against cloudstack 4.5
> > - upgraded smoothly from 5.2
> > - profile name in prompt works
> > - auto complete of filters and ids works (useful. Thanks for adding
> this.)
> > - tested few api calls and worked fine
> >
> >
> > ~Rajani
> >
> > On Fri, Oct 31, 2014 at 3:36 PM, Rohit Yadav 
> > wrote:
> >
> >> Hi,
> >>
> >> I forgot to fix the URLs in previous email (copied the voting email from
> >> the template);
> >>
> >> Git Branch and Commit SH:
> >>
> >>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
> >> Commit: 088001e7acabb2e2c16a18f2ade84b500c8b5bb6
> >>
> >> List of changes:
> >>
> >>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
> >>
> >> Source release (checksums and signatures are available at the same
> >> location):
> >> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
> >>
> >> PGP release keys (signed using 0EE3D884):
> >> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> >>
> >> Regards,
> >> Rohit Yadav
> >> Software Architect, ShapeBlue
> >> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> >> Blog: bhaisaab.org | Twitter: @_bhaisaab
> >>
> >>
> >>
> >> Find out more about ShapeBlue and our range of CloudStack related
> services
> >>
> >> IaaS Cloud Design & Build<
> >> http://shapeblue.com/iaas-cloud-design-and-build//>
> >> CSForge – rapid IaaS deployment framework >
> >> CloudStack Consulting
> >> CloudStack Infrastructure Support<
> >> http://shapeblue.com/cloudstack-infrastructure-support/>
> >> CloudStack Bootcamp Training Courses<
> >> http://shapeblue.com/cloudstack-training/>
> >>
> >> This email and any attachments to it may be confidential and are
> intended
> >> solely for the use of the individual to whom it is addressed. Any views
> or
> >> opinions expressed are solely those of the author and do not necessarily
> >> represent those of Shape Blue Ltd or related companies. If you are not
> the
> >> intended recipient of this email, you must neither take any action based
> >> upon its contents, nor copy or show it to anyone. Please contact the
> sender
> >> if you believe you have received this email in error. Shape Blue Ltd is
> a
> >> company incorporated in England & Wales. ShapeBlue Services India LLP
> is a
> >> company incorporated in India and is operated under license from Shape
> Blue
> >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
> Brasil
> >> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd
> is
> >> a company registered by The Republic of South Africa and is traded under
> >> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>


Re: Review Request 27017: CLOUDSTACK-6282: Added newly automated tests and also modified some existing tests to remove dependency

2014-10-31 Thread Alex Brett

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



test/integration/component/test_escalations_instances.py


Is this supposed to be commented out (in which case it should probably just 
be removed), or is this leftover from debugging?



test/integration/component/test_escalations_instances.py


It might be better to put this function in Marvin as a library function for 
other tests?



test/integration/component/test_escalations_snapshots.py


This looks almost identical to the previous one (other than obviously 
grabbing memory), would it be worth having these methods call a shared method 
with just a parameter as to whether to include memory or not, to avoid code 
duplication?

(The risk is someone fixes a bug in one, but not the other or whatever)


- Alex Brett


On Oct. 31, 2014, 4:37 a.m., Vinay Varma wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27017/
> ---
> 
> (Updated Oct. 31, 2014, 4:37 a.m.)
> 
> 
> Review request for cloudstack, Alex Brett and Santhosh Edukulla.
> 
> 
> Bugs: CLOUDSTACK-6282
> https://issues.apache.org/jira/browse/CLOUDSTACK-6282
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-6282: Added newly automated tests and also modified some existing 
> tests to remove dependency
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_escalations_instances.py 1aaa688 
>   test/integration/component/test_escalations_snapshots.py 4b6b7f5 
>   test/integration/component/test_escalations_templates.py 78028bc 
>   test/integration/component/test_escalations_volumes.py 7290325 
>   test/integration/component/test_escalations_vpncustomergateways.py b09930a 
>   tools/marvin/marvin/cloudstackTestClient.py ce7ffc9 
>   tools/marvin/marvin/lib/base.py 77faeeb 
> 
> Diff: https://reviews.apache.org/r/27017/diff/
> 
> 
> Testing
> ---
> 
> Attached are the results files for each of the file modified and the results 
> shows everything is fine
> 
> 
> File Attachments
> 
> 
> Instancesresults.txt
>   
> https://reviews.apache.org/media/uploaded/files/2014/10/22/6ea95260-f31e-4fdd-a9f3-f30bac872df5__Instancesresults.txt
> Snapshotsresults.txt
>   
> https://reviews.apache.org/media/uploaded/files/2014/10/22/a91e862c-dc2e-403e-85e4-6479eefcd9d1__Snapshotsresults.txt
> Templatesresults.txt
>   
> https://reviews.apache.org/media/uploaded/files/2014/10/22/545fd06e-4975-4330-8390-3723d944ec2b__Templatesresults.txt
> Voumesresults.txt
>   
> https://reviews.apache.org/media/uploaded/files/2014/10/22/9932b16c-684f-41ce-b6f9-192fe887c2b8__Voumesresults.txt
> VPNCustomerGatewaysresults.txt
>   
> https://reviews.apache.org/media/uploaded/files/2014/10/22/58c5f08e-cac7-4873-a922-8c874a9a8e3a__VPNCustomerGatewaysresults.txt
> 
> 
> Thanks,
> 
> Vinay Varma
> 
>



Re: [USAGE] Still having hard times to have it starting

2014-10-31 Thread Rajani Karuturi
Can you check the values of these three configs?
usage.stats.job.exec.time (start time in 24 hr format)
usage.stats.job.aggregation.range (the aggregation which you already
specified)
usage.execution.timezone (execution timezone)

make sure you restart the usage server after changing those values.

The easiest way to debug would be to attach the debugger and see why it is
skipping the run in UsageManagerImpl.parse().


~Rajani

On Fri, Oct 31, 2014 at 3:52 PM, Ilia Shakitko  wrote:

>  Hello again,
>
>
>
> I’ve managed to run the Usage server within Jetty from the source.
> Deployed a VM. Waited for more than 10min  (my aggr. range) , but I can’t
> see any data in *cloud_usage* DB …
>
> Could you assist me to tackle that?
>
>
>
> root@mgt111-11:~/cloudstack# mvn -pl usage -Drun -Dpid=$$
>
> [INFO] Scanning for projects...
>
> [INFO]
>
> [INFO]
> 
>
> [INFO] Building Apache CloudStack Usage Server 4.4.2-SNAPSHOT
>
> [INFO]
> 
>
> [INFO]
>
> [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
> cloud-usage ---
>
> [INFO] Starting audit...
>
> Audit done.
>
>
>
> [INFO]
>
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @
> cloud-usage ---
>
> [INFO]
>
> [INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-usage
> ---
>
> [INFO] Executing tasks
>
>
>
> main:
>
>  [copy] Copying 2 files to /root/cloudstack/usage/target/transformed
>
> [INFO] Executed tasks
>
> [INFO]
>
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> cloud-usage ---
>
> [debug] execute contextualize
>
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>
> [INFO] Copying 1 resource
>
> [INFO] Copying 3 resources
>
> [INFO]
>
> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
> cloud-usage ---
>
> [INFO] Nothing to compile - all classes are up to date
>
> [INFO]
>
> [INFO] --- maven-resources-plugin:2.5:testResources
> (default-testResources) @ cloud-usage ---
>
> [debug] execute contextualize
>
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>
> [INFO] Copying 8 resources
>
> [INFO] Copying 3 resources
>
> [INFO]
>
> [INFO] >>> exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage >>>
>
> [INFO]
>
> [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
> cloud-usage ---
>
> [INFO] Starting audit...
>
> Audit done.
>
>
>
> [INFO]
>
> [INFO] <<< exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage <<<
>
> [INFO]
>
> [INFO] --- exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage ---
>
> log4j:WARN No appenders could be found for logger
> (org.springframework.core.env.StandardEnvironment).
>
> log4j:WARN Please initialize the log4j system properly.
>
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
>
> SLF4J: The requested version 1.6.99 by your slf4j binding is not
> compatible with [1.5.5, 1.5.6]
>
> SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further
> details.
>
>
>
>
>
> Kind regards,
>
>   Ilia Shakitko
> Innovation Engineer
> LeaseWeb Technologies B.V.
>
> T: +31 20 316 0235
>
> E: i.shaki...@tech.leaseweb.com
> W: www.leaseweb.com
>   Luttenbergweg 8,  1101 EC Amsterdam,  Netherlands
>
>
>
>
>


RE: CLOUDSTACK-5583: vmopsSnapshot plug-in (XenServer) does not return an error when it should

2014-10-31 Thread Krunal Jain
Hello,



I picked up this bug from Mandar and have successfully implemented and unit
tested the solution!



Following are the changes in “revert_memory_snapshot” function of the
*“vmopsSnapshot”* script:

@echo

def revert_memory_snapshot(session, args):

retCode = 0

logging.debug("Calling revert_memory_snapshot with " +
str(args))

vmName = args['vmName']

snapshotUUID = args['snapshotUUID']

oldVmUuid = args['oldVmUuid']

snapshotMemory = args['snapshotMemory']

hostUUID = args['hostUUID']

try:

cmd = '''xe vbd-list vm-uuid=%s | grep
'vdi-uuid' | grep -v 'not in database' | sed -e 's/vdi-uuid ( RO)://g' '''
% oldVmUuid

logging.debug("Executing command: " + cmd)

p = subprocess.Popen(cmd,
stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)

stdout, stderr = p.communicate()

retCode = p.returncode

if retCode == 0:

vdiUuids = stdout.split()

logging.debug(vdiUuids)

else:

logging.error("Command: " +
cmd + " failed with return code: " + str(retCode) + " and error message: "
+ stderr)



cmd = '''xe vm-param-get
param-name=power-state uuid=%s ''' % oldVmUuid

logging.debug("Executing command: " + cmd)

p = subprocess.Popen(cmd,
stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)

stdout, stderr = p.communicate()

retCode = p.returncode

if retCode == 0:

vmPowerState =
stdout.split()[0]


logging.debug("vmPowerState: " + vmPowerState)

if vmPowerState != 'halted':

cmd1 =
'''xe vm-shutdown force=true vm=%s ''' % vmName


logging.debug("Executing command: " + cmd1)

retCode1 =
subprocess.call(cmd1, shell=True)

if retCode1
!= 0:


logging. error("Command: " + cmd1 + " failed with return code: " +
str(retCode1))

else:

logging. error("Command: "
+ cmd + " failed with return code: " + str(retCode) + " and error message:
" + stderr)



cmd = '''xe vm-destroy uuid=%s ''' %
oldVmUuid

logging.debug("Executing command: " + cmd)

retCode = subprocess.call(cmd, shell=True)

if retCode != 0:

logging. error("Command: "
+ cmd + " failed with return code: " + str(retCode))



cmd = '''xe snapshot-revert
snapshot-uuid=%s ''' % snapshotUUID

logging.debug("Executing command: " + cmd)

p = subprocess.Popen(cmd,
stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)

stdout, stderr = p.communicate()

retCode = p.returncode

if retCode == 0:

logging.debug("Command: " +
cmd + " executed successfully, stdout = " + stdout)



if snapshotMemory == 'true':

cmd1 = '''
xe vm-resume vm==%s on=%s '''  % (vmName, hostUUID)


logging.debug("Executing command: " + cmd1)

retCode1 =
subprocess.call(cmd1, shell=True)

if retCode1
!= 0:


logging. error("Command: " + cmd1 + " failed with return code: " +
str(retCode1))



for vdiUuid in vdiUuids:

cmd2 =
'''xe vm-destroy uuid=%s ''' % vdiUuid


logging.debug("Executing command: " + cmd2)

retCode2 =
subprocess.call(cmd2, shell=True)

if retCode2
!= 0:


logging. error("Command: " + cmd2 + " failed with return code: " +
str(retCode2))

else:

logging. error("Command: 

Re: Fixing SystemVM builds

2014-10-31 Thread Srikanteswararao Talluri
I fixed the systemvm build job for master and added a new job for 4.5.
Thanks Hari for all the help.

Changes done: 
using debian 7.7.0 and
added 'sharutils' package installation in system template



Thanks,
~Talluri

On 28/10/14 4:14 pm, "Rohit Yadav"  wrote:

>Great, thanks Talluri.
>
>> On 28-Oct-2014, at 4:07 pm, Srikanteswararao Talluri
>> wrote:
>>
>> Rohit,
>>
>> I just fixed the copy iso part and  I am looking at other failures.
>>
>> Thanks,
>> ~Talluri
>>
>> On 24/10/14 4:47 pm, "Rohit Yadav"  wrote:
>>
>>> Hi,
>>>
>>> On jenkins.buildacloud.org, the last successful builds for systemvm
>>> template build jobs was 20-22 days ago. Can anyone give me either
>>>access
>>> to the infra so I can help debug and fix it, or people who have access
>>> help fix it? Thanks.
>>>
>>> The common issue is that it takes a lot of time to copy the isos and it
>>> timeouts, or there is some server error.
>>>
>>> Regards,
>>> Rohit Yadav
>>> Software Architect, ShapeBlue
>>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>>
>>> Find out more about ShapeBlue and our range of CloudStack related
>>>services
>>>
>>> IaaS Cloud Design &
>>> Build
>>> CSForge ­ rapid IaaS deployment
>>>framework
>>> CloudStack Consulting
>>> CloudStack Infrastructure
>>> Support
>>> CloudStack Bootcamp Training
>>> Courses
>>>
>>> This email and any attachments to it may be confidential and are
>>>intended
>>> solely for the use of the individual to whom it is addressed. Any views
>>> or opinions expressed are solely those of the author and do not
>>> necessarily represent those of Shape Blue Ltd or related companies. If
>>> you are not the intended recipient of this email, you must neither take
>>> any action based upon its contents, nor copy or show it to anyone.
>>>Please
>>> contact the sender if you believe you have received this email in
>>>error.
>>> Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>>> Services India LLP is a company incorporated in India and is operated
>>> under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda
>>>is
>>> a company incorporated in Brasil and is operated under license from
>>>Shape
>>> Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic
>>>of
>>> South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
>>> is a registered trademark.
>>
>
>Regards,
>Rohit Yadav
>Software Architect, ShapeBlue
>M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
>Find out more about ShapeBlue and our range of CloudStack related services
>
>IaaS Cloud Design &
>Build
>CSForge ­ rapid IaaS deployment framework
>CloudStack Consulting
>CloudStack Infrastructure
>Support
>CloudStack Bootcamp Training
>Courses
>
>This email and any attachments to it may be confidential and are intended
>solely for the use of the individual to whom it is addressed. Any views
>or opinions expressed are solely those of the author and do not
>necessarily represent those of Shape Blue Ltd or related companies. If
>you are not the intended recipient of this email, you must neither take
>any action based upon its contents, nor copy or show it to anyone. Please
>contact the sender if you believe you have received this email in error.
>Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>Services India LLP is a company incorporated in India and is operated
>under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is
>a company incorporated in Brasil and is operated under license from Shape
>Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
>South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
>is a registered trademark.



Build failed in Jenkins: build-master #1775

2014-10-31 Thread jenkins
See 

Changes:

[talluri] CLOUDSTACK-7824: using debian 7.7.0 and

--
[...truncated 5401 lines...]
2014-10-31 14:46:18 DEBUG AbstractGenericContextLoader:104 - Loading 
ApplicationContext for merged context configuration 
[[MergedContextConfiguration@4672dfee testClass = GloboDnsResourceTest, 
locations = '{}', classes = '{}', contextInitializerClasses = '[]', 
activeProfiles = '{}', contextLoader = 
'org.springframework.test.context.support.AnnotationConfigContextLoader', 
parent = [null]]].
2014-10-31 14:46:18 DEBUG StandardEnvironment:112 - Initializing new 
StandardEnvironment
2014-10-31 14:46:18 DEBUG StandardEnvironment:107 - Adding [systemProperties] 
PropertySource with lowest search precedence
2014-10-31 14:46:18 DEBUG StandardEnvironment:107 - Adding [systemEnvironment] 
PropertySource with lowest search precedence
2014-10-31 14:46:18 DEBUG StandardEnvironment:116 - Initialized 
StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-10-31 14:46:18 DEBUG AnnotationConfigContextLoader:171 - Registering 
annotated classes: {}
2014-10-31 14:46:18 INFO  GenericApplicationContext:510 - Refreshing 
org.springframework.context.support.GenericApplicationContext@6c7a158e: startup 
date [Fri Oct 31 14:46:18 CET 2014]; root of context hierarchy
2014-10-31 14:46:18 DEBUG GenericApplicationContext:540 - Bean factory for 
org.springframework.context.support.GenericApplicationContext@6c7a158e: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@431d5545: 
defining beans 
[org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor];
 root of factory hierarchy
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:215 - Creating shared 
instance of singleton bean 
'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:432 - Creating instance of 
bean 
'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:506 - Eagerly caching bean 
'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
 to allow for resolving potential circular references
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:460 - Finished creating 
instance of bean 
'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:215 - Creating shared 
instance of singleton bean 
'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:432 - Creating instance of 
bean 
'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
2014-10-31 14:46:18 INFO  AutowiredAnnotationBeanPostProcessor:140 - JSR-330 
'javax.inject.Inject' annotation found and supported for autowiring
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:506 - Eagerly caching bean 
'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' 
to allow for resolving potential circular references
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:460 - Finished creating 
instance of bean 
'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:215 - Creating shared 
instance of singleton bean 
'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:432 - Creating instance of 
bean 
'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:506 - Eagerly caching bean 
'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to 
allow for resolving potential circular references
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:460 - Finished creating 
instance of bean 
'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:215 - Creating shared 
instance of singleton bean 
'org.springframework.context.annotation.internalCommonAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:432 - Creating instance of 
bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:506 - Eagerly caching bean 
'org.springframework.context.annotation.internalCommonAnnotationProcessor' to 
allow for resolving potential circular references
2014-10-31 14:46:18 DEBUG DefaultListableBeanFactory:460 - Finished creating 
instance of bean 
'org.springframework.

Build failed in Jenkins: build-4.5 #69

2014-10-31 Thread jenkins
See 

Changes:

[talluri] CLOUDSTACK-7824: using debian 7.7.0 for systemvm template

--
[...truncated 3580 lines...]

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-user-authenticator-sha256salted ---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - SNMP Alerts 4.5.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-snmp-alerts ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-plugin-snmp-alerts ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-user-authenticator-saml2 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-plugin-user-authenticator-saml2 ---
[INFO] Compiling 4 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-user-authenticator-sha256salted ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-example-dns-notifier ---
[debug] execute contextualize
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-plugin-user-authenticator-sha256salted ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-plugin-example-dns-notifier ---
[INFO] Compiling 1 source file to 

[INFO] Compiling 1 source file to 

[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-snmp-alerts ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-snmp-alerts ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-plugin-snmp-alerts ---
[INFO] Compiling 5 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-user-authenticator-sha256salted ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-plugin-user-authenticator-sha256salted ---
[INFO] Compiling 1 source file to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-example-dns-notifier ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-plugin-example-dns-notifier ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-plugin-example-dns-notifier ---
[INFO] Surefire report d

Re: Review Request 26361: CLOUDSTACK-7660: Enhance system vm template to support baremetal

2014-10-31 Thread Harikrishna Patnala

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

(Updated Oct. 31, 2014, 1:57 p.m.)


Review request for cloudstack, Frank Zhang and Sateesh Chodapuneedi.


Bugs: CLOUDSTACK-7660
https://issues.apache.org/jira/browse/CLOUDSTACK-7660


Repository: cloudstack-git


Description
---

CLOUDSTACK-7660: Enhance system vm template to support baremetal
Installed Package flask and merged the disk partition


Please review the merging part of disk partitions.


Diffs (updated)
-

  tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh 
31ba2d4 
  tools/appliance/definitions/systemvmtemplate/preseed.cfg 0d2f70b 

Diff: https://reviews.apache.org/r/26361/diff/


Testing
---


Thanks,

Harikrishna Patnala



Re: Guest IP Reservation

2014-10-31 Thread Logan Barfield
Hi Jayapal,

Can you try destroying/redeploying the Virtual Router after the IP
reservation is set up?  I didn't encounter the issue until I restarted the
network with 'cleanup' checked.


Thank You,

Logan Barfield
Tranquil Hosting

On Fri, Oct 31, 2014 at 2:08 AM, Jayapal Reddy Uradi <
jayapalreddy.ur...@citrix.com> wrote:

> Hi,
>
> I tried it in my environment (cloudstack 4.5), this issue is not seen.
>
> Here is the output from the router.
>
> root@r-19-QA:~# cat /var/cache/cloud/cmdline
> root=UUID=fa9e76eb-51fd-4435-93e9-77bc9498ff09 ro debian-installer=en_US
> quiet -- quiet console=hvc0 template=domP name=r-19-QA eth2ip=10.147.52.112
> eth2mask=255.255.255.0 gateway=10.147.52.1 eth0ip=10.1.1.1
> eth0mask=255.255.255.0 domain=cs2sandbox.kvm cidrsize=25 dhcprange=10.1.1.1
> eth1ip=169.254.0.148 eth1mask=255.255.0.0 type=router
> disable_rp_filter=true dns1=10.223.240.232
> baremetalnotificationsecuritykey=7etJP5jUoAnrdFkoS0CSQxlvq2czPImMPBRDmwpxY-3NOxHjOCBUsOiW3gItvK7aXj-8HUmB7laezUUpn9SIRw
> baremetalnotificationapikey=06Mpn82EU3LZcq_dJlHRi6nKWD8xkKieDpnCUwOuwSecUZRDJWQUTNjeJ0SaNq2YJzL0qrNVUtphtBEDv_YVOQ
> host=10.252.192.48 port=8080
> root@r-19-QA:~# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> 0.0.0.0 10.147.52.1 0.0.0.0 UG0  00
> eth2
> 10.1.1.00.0.0.0 255.255.255.0   U 0  00
> eth0
> 10.147.52.0 0.0.0.0 255.255.255.0   U 0  00
> eth2
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0  00
> eth1
> root@r-19-QA:~#
>
>
> Thanks,
> Jayapal
>
> On 31-Oct-2014, at 12:25 AM, Logan Barfield 
> wrote:
>
> > Just trying to clear something up before I submit a bug report:
> >
> > When using IP reservation in an isolated network it looks like the
> virtual
> > router is getting the wrong netmask.
> >
> > For example:
> > - Network CIDR: 10.1.1.0/24
> > - Guest CIDR: 10.1.1.0/25
> > - Reserved IP Range: 10.1.1.127-10.1.1.254
> > - Virtual Router IP: 10.1.1.1
> >
> > With this configuration, the Virtual Router gets get following
> > netmask/routing:
> >
> > eth0  Link encap:Ethernet  HWaddr 02:00:55:eb:00:03
> >  inet addr:10.1.1.1  Bcast:10.1.1.127  Mask:255.255.255.128
> >
> > Destination Gateway Genmask Flags Metric RefUse
> > Iface
> > 0.0.0.0 162.223.12.129  0.0.0.0 UG0  00
> eth2
> > 10.1.1.00.0.0.0 255.255.255.128 U 0  00
> eth0
> > 162.223.12.128  0.0.0.0 255.255.255.128 U 0  00
> eth2
> > 169.254.0.0 0.0.0.0 255.255.0.0 U 0  00
> eth1
> >
> > This means that any server or VM configured in the reserved IP range
> cannot
> > ping the VR or use it for routing.  They also will not be able to contact
> > VMs deployed by CloudStack because there is no routing available, and the
> > CloudStack VMs inherit the /25 netmask from the VR.
> >
> > To resolve this I think the following changes would be required:
> >
> > Right now it seems that the /etc/init.d/postinit script configures the VR
> > interfaces using the details in '/var/cache/cloud/cmdline':
> >
> > # cat /var/cache/cloud/cmdline
> > template=domP name=r-236-VM eth2ip=162.223.12.140
> eth2mask=255.255.255.128
> > gateway=162.223.12.129 eth0ip=10.1.1.1 eth0mask=255.255.255.128 domain=
> > cs2dv.tqcloud.net cidrsize=25 dhcprange=10.1.1.1 eth1ip=169.254.2.4
> > eth1mask=255.255.0.0 type=router disable_rp_filter=true dns1=8.8.8.8
> > dns2=8.8.4.4 useextdns=true
> >
> > I believe whatever is generating the data in '/var/cache/cloud/cmdline'
> > should be changed.  It should pull the 'eth0mask' from the 'Network CIDR'
> > instead of the 'Guest CIDR'.  This will allow for routing and
> communication
> > between CloudStack VMs, and hosts on the reserved portion of the network.
> >
> > The remaining issue is ensuring the VR doesn't issue IPs from the
> reserved
> > range.  I don't think this is a problem anyway since CloudStack seems to
> > manually set up the static DHCP reservations (with /etc/dhcphosts.txt),
> but
> > the following change could still be made:
> >
> > - Instead of using the VR IP in the dhcp-range (ex:
> > dhcp-range=10.1.1.1,static), it could be set as the inverse of the
> reserved
> > network (ex: dhcp-range=10.1.1.2,10.1.1.126,255.255.255.0,infinite).  I
> > believe the dhcp-range is also pulled from '/var/cache/cloud/cmdline'.
> >
> >
> > Am I misunderstanding how this feature is supposed to work, or should I
> go
> > ahead and create a bug report for this?
> >
> >
> > Thank You,
> >
> > Logan Barfield
> > Tranquil Hosting
>
>


Re: Review Request 26361: CLOUDSTACK-7660: Enhance system vm template to support baremetal

2014-10-31 Thread SrikanteswaraRao Talluri

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


6c04d867b0a70dd00fa8e4dcf3f0701a5f1feeb2 master

- SrikanteswaraRao Talluri


On Oct. 31, 2014, 1:57 p.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26361/
> ---
> 
> (Updated Oct. 31, 2014, 1:57 p.m.)
> 
> 
> Review request for cloudstack, Frank Zhang and Sateesh Chodapuneedi.
> 
> 
> Bugs: CLOUDSTACK-7660
> https://issues.apache.org/jira/browse/CLOUDSTACK-7660
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-7660: Enhance system vm template to support baremetal
> Installed Package flask and merged the disk partition
> 
> 
> Please review the merging part of disk partitions.
> 
> 
> Diffs
> -
> 
>   tools/appliance/definitions/systemvmtemplate/install_systemvm_packages.sh 
> 31ba2d4 
>   tools/appliance/definitions/systemvmtemplate/preseed.cfg 0d2f70b 
> 
> Diff: https://reviews.apache.org/r/26361/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Re: CLOUDSTACK-5583: vmopsSnapshot plug-in (XenServer) does not return an error when it should

2014-10-31 Thread Mike Tutkowski
Awesome - thanks!

On Friday, October 31, 2014, Krunal Jain  wrote:

> Hello,
>
>
>
> I picked up this bug from Mandar and have successfully implemented and
> unit tested the solution!
>
>
>
> Following are the changes in “revert_memory_snapshot” function of the
> *“vmopsSnapshot”* script:
>
> @echo
>
> def revert_memory_snapshot(session, args):
>
> retCode = 0
>
> logging.debug("Calling revert_memory_snapshot with " +
> str(args))
>
> vmName = args['vmName']
>
> snapshotUUID = args['snapshotUUID']
>
> oldVmUuid = args['oldVmUuid']
>
> snapshotMemory = args['snapshotMemory']
>
> hostUUID = args['hostUUID']
>
> try:
>
> cmd = '''xe vbd-list vm-uuid=%s | grep
> 'vdi-uuid' | grep -v 'not in database' | sed -e 's/vdi-uuid ( RO)://g' '''
> % oldVmUuid
>
> logging.debug("Executing command: " + cmd)
>
> p = subprocess.Popen(cmd,
> stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
>
> stdout, stderr = p.communicate()
>
> retCode = p.returncode
>
> if retCode == 0:
>
> vdiUuids = stdout.split()
>
> logging.debug(vdiUuids)
>
> else:
>
> logging.error("Command: "
> + cmd + " failed with return code: " + str(retCode) + " and error message:
> " + stderr)
>
>
>
> cmd = '''xe vm-param-get
> param-name=power-state uuid=%s ''' % oldVmUuid
>
> logging.debug("Executing command: " + cmd)
>
> p = subprocess.Popen(cmd,
> stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
>
> stdout, stderr = p.communicate()
>
> retCode = p.returncode
>
> if retCode == 0:
>
> vmPowerState =
> stdout.split()[0]
>
>
> logging.debug("vmPowerState: " + vmPowerState)
>
> if vmPowerState !=
> 'halted':
>
> cmd1 =
> '''xe vm-shutdown force=true vm=%s ''' % vmName
>
>
> logging.debug("Executing command: " + cmd1)
>
> retCode1 =
> subprocess.call(cmd1, shell=True)
>
> if
> retCode1 != 0:
>
>
> logging. error("Command: " + cmd1 + " failed with return code: " +
> str(retCode1))
>
> else:
>
> logging. error("Command: "
> + cmd + " failed with return code: " + str(retCode) + " and error message:
> " + stderr)
>
>
>
> cmd = '''xe vm-destroy uuid=%s ''' %
> oldVmUuid
>
> logging.debug("Executing command: " + cmd)
>
> retCode = subprocess.call(cmd, shell=True)
>
> if retCode != 0:
>
> logging. error("Command: "
> + cmd + " failed with return code: " + str(retCode))
>
>
>
> cmd = '''xe snapshot-revert
> snapshot-uuid=%s ''' % snapshotUUID
>
> logging.debug("Executing command: " + cmd)
>
> p = subprocess.Popen(cmd,
> stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
>
> stdout, stderr = p.communicate()
>
> retCode = p.returncode
>
> if retCode == 0:
>
> logging.debug("Command: "
> + cmd + " executed successfully, stdout = " + stdout)
>
>
>
> if snapshotMemory ==
> 'true':
>
> cmd1 = '''
> xe vm-resume vm==%s on=%s '''  % (vmName, hostUUID)
>
>
> logging.debug("Executing command: " + cmd1)
>
> retCode1 =
> subprocess.call(cmd1, shell=True)
>
> if
> retCode1 != 0:
>
>
> logging. error("Command: " + cmd1 + " failed with return code: " +
> str(retCode1))
>
>
>
> for vdiUuid in vdiUuids:
>
> cmd2 =
> '''xe vm-destroy uuid=%s ''' % vdiUuid
>
>
> logging.debug("Executing command: " + cmd2)
>
> 

Jenkins build is back to normal : build-master #1776

2014-10-31 Thread jenkins
See 



Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #2)

2014-10-31 Thread Rohit Yadav
Hi everyone,

Thanks for testing and voting so far, appreciate your time and reviews.

Someone reviewed my code and gave me pointers on few encoding related bugs and 
I fixed some unicode related bugs. Please note that with this release we are 
able to pass in utf-8 encoded strings so we need to test them. Unfortunately 
due to these, I’ve to call off the voting again and start another round.

Thanks.


> On 31-Oct-2014, at 4:46 pm, Erik Weber  wrote:
>
> +1 from me again
>
> --
> Erik
>
> On Fri, Oct 31, 2014 at 12:07 PM, Nux!  wrote:
>
>> +1 from me again
>>
>> Thanks
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Rajani Karuturi" 
>>> To: dev@cloudstack.apache.org
>>> Sent: Friday, 31 October, 2014 10:42:39
>>> Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round
>> #2)
>>
>>> +1 (binding)
>>>
>>> tested against cloudstack 4.5
>>> - upgraded smoothly from 5.2
>>> - profile name in prompt works
>>> - auto complete of filters and ids works (useful. Thanks for adding
>> this.)
>>> - tested few api calls and worked fine
>>>
>>>
>>> ~Rajani
>>>
>>> On Fri, Oct 31, 2014 at 3:36 PM, Rohit Yadav 
>>> wrote:
>>>
 Hi,

 I forgot to fix the URLs in previous email (copied the voting email from
 the template);

 Git Branch and Commit SH:


>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
 Commit: 088001e7acabb2e2c16a18f2ade84b500c8b5bb6

 List of changes:


>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/

 PGP release keys (signed using 0EE3D884):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 88 262 30892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab



 Find out more about ShapeBlue and our range of CloudStack related
>> services

 IaaS Cloud Design & Build<
 http://shapeblue.com/iaas-cloud-design-and-build//>
 CSForge – rapid IaaS deployment framework>>
 CloudStack Consulting
 CloudStack Infrastructure Support<
 http://shapeblue.com/cloudstack-infrastructure-support/>
 CloudStack Bootcamp Training Courses<
 http://shapeblue.com/cloudstack-training/>

 This email and any attachments to it may be confidential and are
>> intended
 solely for the use of the individual to whom it is addressed. Any views
>> or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not
>> the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the
>> sender
 if you believe you have received this email in error. Shape Blue Ltd is
>> a
 company incorporated in England & Wales. ShapeBlue Services India LLP
>> is a
 company incorporated in India and is operated under license from Shape
>> Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in
>> Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd
>> is
 a company registered by The Republic of South Africa and is traded under
 license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated unde

[VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #3)

2014-10-31 Thread Rohit Yadav
Hi All,

I've created a 5.3.0 release of CloudMonkey, with the following artifacts up 
for a vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
Commit: 300c47534c29969718024fdbfc26e97f06e8ff2d

List of changes:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/

PGP release keys (signed using 0EE3D884):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Testing procedure:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure

This release aims to provide better parameter and filter completion, error 
handling and utf8/unicode support in CloudMonkey and therefore needs testing 
efforts in these areas. UTF-8 encoded string parameters usage needs to be 
tested in API calls, shell and piped calls, for example:
   > create user account=admin username=रोहित lastname=यादव firstname=रोहित 
email=bhais...@apache.org password="正體字/繁體字日本人français한국فارسیpassword123”
   > list users | grep रोहित

Since the next 72 hour window intersects with the weekend, the vote will be 
open till Wednesday (120 hours). Please test this release and give your vote. 
Thanks.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Regards,

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #3)

2014-10-31 Thread Nux!
Ok, I am seeing some issues with this build.

http://img.nux.ro/9Km-Selection_036.png
and also 
http://img.nux.ro/9vL-Selection_037.png -  in this case the VM gets created, 
but not sure what's up with those errors

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: "dev" 
> Sent: Friday, 31 October, 2014 17:46:19
> Subject: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #3)

> Hi All,
> 
> I've created a 5.3.0 release of CloudMonkey, with the following artifacts up 
> for
> a vote:
> 
> Git Branch and Commit SH:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
> Commit: 300c47534c29969718024fdbfc26e97f06e8ff2d
> 
> List of changes:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
> 
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
> 
> PGP release keys (signed using 0EE3D884):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> 
> Testing procedure:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure
> 
> This release aims to provide better parameter and filter completion, error
> handling and utf8/unicode support in CloudMonkey and therefore needs testing
> efforts in these areas. UTF-8 encoded string parameters usage needs to be
> tested in API calls, shell and piped calls, for example:
>   > create user account=admin username=रोहित lastname=यादव firstname=रोहित
>   > email=bhais...@apache.org password="正體字/繁體字日本人français한국فارسیpassword123”
>   > list users | grep रोहित
> 
> Since the next 72 hour window intersects with the weekend, the vote will be 
> open
> till Wednesday (120 hours). Please test this release and give your vote.
> Thanks.
> 
> For sanity in tallying the vote, can PMC members please be sure to indicate
> "(binding)" with their vote?
> 
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
> 
> Regards,
> 
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure
> Support
> CloudStack Bootcamp Training 
> Courses
> 
> This email and any attachments to it may be confidential and are intended 
> solely
> for the use of the individual to whom it is addressed. Any views or opinions
> expressed are solely those of the author and do not necessarily represent 
> those
> of Shape Blue Ltd or related companies. If you are not the intended recipient
> of this email, you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated in
> England & Wales. ShapeBlue Services India LLP is a company incorporated in
> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
> Consultoria Ltda is a company incorporated in Brasil and is operated under
> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
> The Republic of South Africa and is traded under license from Shape Blue Ltd.
> ShapeBlue is a registered trademark.


Re: [PROPOSAL] Move to github PR only during moratorium on commit

2014-10-31 Thread David Nalley
On Fri, Oct 31, 2014 at 12:41 AM, Rajani Karuturi  wrote:
> Can we atleast follow the merge part of it? ie) commit to 4.5 and then
> merge 4.5 to master?
>
> merging wont be easy unless everybody agrees and does merge for their
> commits.
>

It won't work; master and 4.5 have both diverged, even if it's very
small at this point.
Daan and I both seemed to come to this conclusion last week:

http://markmail.org/message/sumgmlo4avgjquym
http://markmail.org/message/wazq4lz47v22mynz

--David


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #3)

2014-10-31 Thread Rohit Yadav
Hi Lucian,

Can you check using the mentioned SHA 300c47534c29969718024fdbfc26e97f06e8ff2d. 
Uninstall old cloudmonkey and re-install this one. If you’re still able to 
reproduce the error can you share the logs from ~/.cloudmonkey/logs (removing 
any sensitive information).

> On 31-Oct-2014, at 11:43 pm, Nux!  wrote:
>
> Ok, I am seeing some issues with this build.
>
> http://img.nux.ro/9Km-Selection_036.png
> and also
> http://img.nux.ro/9vL-Selection_037.png -  in this case the VM gets created, 
> but not sure what's up with those errors
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
>> From: "Rohit Yadav" 
>> To: "dev" 
>> Sent: Friday, 31 October, 2014 17:46:19
>> Subject: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #3)
>
>> Hi All,
>>
>> I've created a 5.3.0 release of CloudMonkey, with the following artifacts up 
>> for
>> a vote:
>>
>> Git Branch and Commit SH:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
>> Commit: 300c47534c29969718024fdbfc26e97f06e8ff2d
>>
>> List of changes:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
>>
>> Source release (checksums and signatures are available at the same
>> location):
>> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
>>
>> PGP release keys (signed using 0EE3D884):
>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>
>> Testing procedure:
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure
>>
>> This release aims to provide better parameter and filter completion, error
>> handling and utf8/unicode support in CloudMonkey and therefore needs testing
>> efforts in these areas. UTF-8 encoded string parameters usage needs to be
>> tested in API calls, shell and piped calls, for example:
>>> create user account=admin username=रोहित lastname=यादव firstname=रोहित
>>> email=bhais...@apache.org password="正體字/繁體字日本人français한국فارسیpassword123”
>>> list users | grep रोहित
>>
>> Since the next 72 hour window intersects with the weekend, the vote will be 
>> open
>> till Wednesday (120 hours). Please test this release and give your vote.
>> Thanks.
>>
>> For sanity in tallying the vote, can PMC members please be sure to indicate
>> "(binding)" with their vote?
>>
>> [ ] +1  approve
>> [ ] +0  no opinion
>> [ ] -1  disapprove (and reason why)
>>
>> Regards,
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build
>> CSForge – rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Infrastructure
>> Support
>> CloudStack Bootcamp Training 
>> Courses
>>
>> This email and any attachments to it may be confidential and are intended 
>> solely
>> for the use of the individual to whom it is addressed. Any views or opinions
>> expressed are solely those of the author and do not necessarily represent 
>> those
>> of Shape Blue Ltd or related companies. If you are not the intended recipient
>> of this email, you must neither take any action based upon its contents, nor
>> copy or show it to anyone. Please contact the sender if you believe you have
>> received this email in error. Shape Blue Ltd is a company incorporated in
>> England & Wales. ShapeBlue Services India LLP is a company incorporated in
>> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
>> Consultoria Ltda is a company incorporated in Brasil and is operated under
>> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by
>> The Republic of South Africa and is traded under license from Shape Blue Ltd.
>> ShapeBlue is a registered trademark.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily

Re: Review Request 27393: Fix for Resize RBD Root Disk on Deploy

2014-10-31 Thread Wido den Hollander

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

Ship it!


Seems good to me! I'll apply it.

- Wido den Hollander


On Oct. 30, 2014, 8:37 p.m., Logan B wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27393/
> ---
> 
> (Updated Oct. 30, 2014, 8:37 p.m.)
> 
> 
> Review request for cloudstack and Wido den Hollander.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Currently if you specify a root disk size when deploying an instance using 
> Ceph RBD as the Primary Storage backend the disk will not be resized.
> 
> This patch adds a check after deploying an instance that checks the specified 
> root disk volume size against the size of the template it was deployed from.  
> If the specified volume size is larger than the template it will resize the 
> root disk volume to the specified size.
> 
> If the specified volume size is equal to or smaller than the template size 
> then no resizing occurs, and the instance will be deployed with a root disk 
> size equal to the size of the template.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
>  af7a0e0 
> 
> Diff: https://reviews.apache.org/r/27393/diff/
> 
> 
> Testing
> ---
> 
> Test: Created new instance from 5GB template with 20GB root disk size 
> specified.
> Result: Instance created successfully with 20GB volume size.
> 
> Test: Created new instance from 5GB template with 5GB root disk size 
> specified.
> Result: Instance created successfully with 5GB volume size.
> 
> Test: Created new instance from 5GB template with 1GB root disk size 
> specified.
> Result: Instance created successfully with 5GB volume size.
> 
> Test: Created new instance from 5GB template with no root disk size specified.
> Result: Instance created successfully with 5GB volume size.
> 
> Patch was deployed to our production infrastructure on July 25th, 2014.  It's 
> been running stable since that time.
> 
> 
> Thanks,
> 
> Logan B
> 
>



Build failed in Jenkins: build-master-simulator #919

2014-10-31 Thread jenkins
See 

Changes:

[pdion891] CLOUDSTACK-7822: updated ssl cert(exp:2096), reactivate tests

--
[...truncated 1281 lines...]

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Server 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-server ---
[INFO] Deleting 
 
(includes = [**/*], excludes = [])
[INFO] Deleting 
 (includes 
= [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-server ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-server 
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-server ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 

 [copy] Copying 1 file to 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-server ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 30 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-server 
---
[INFO] Compiling 405 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-server ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-server ---
[INFO] Compiling 98 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-server ---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running com.cloud.event.EventControlsUnitTest
log4j:WARN No appenders could be found for logger 
(com.cloud.event.EventControlsUnitTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.612 sec
Running com.cloud.keystore.KeystoreTest
org.apache.cloudstack.api.response.UserVmResponse/null/{"id":"3","securitygroup":[],"nic":[],"tags":[],"affinitygroup":[]}
org.apache.cloudstack.api.response.AlertResponse/null/{"id":"100","description":"Hello"}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.17 sec
Running com.cloud.alert.AlertControlsUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
Running com.cloud.capacity.CapacityManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.137 sec
Running com.cloud.servlet.StaticResourceServletTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
Running com.cloud.servlet.ConsoleProxyServletTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running com.cloud.resourcelimit.ResourceLimitManagerImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running com.cloud.network.firewall.FirewallManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
Running com.cloud.network.ExternalLoadBalancerDeviceManagerImplTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.535 sec
Running com.cloud.network.element.VirtualRouterElementTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.026 sec
Running com.cloud.network.UpdatePhysicalNetworkTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 sec
Running com.cloud.network.CreatePrivateNetworkTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
Running com.cloud.network.NetworkModelTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
Run

Build failed in Jenkins: build-4.5 #70

2014-10-31 Thread jenkins
See 

Changes:

[pdion891] CLOUDSTACK-7822: updated ssl cert(exp:2096), reactivate tests

--
[...truncated 1824 lines...]
Running 
org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest
log4j:WARN No appenders could be found for logger 
(org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.231 sec
Running org.apache.cloudstack.region.RegionManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec
Running org.apache.cloudstack.service.ServiceOfferingVOTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
Running org.apache.cloudstack.affinity.AffinityApiUnitTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.028 sec
Running org.apache.cloudstack.privategw.AclOnPrivateGwTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.11 sec
Running org.apache.cloudstack.network.lb.CertServiceTest
Tests run: 15, Failures: 3, Errors: 1, Skipped: 0, Time elapsed: 2.027 sec <<< 
FAILURE!
Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.997 sec
Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.497 sec
Running com.cloud.template.TemplateManagerImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running com.cloud.keystore.KeystoreTest
org.apache.cloudstack.api.response.UserVmResponse/null/{"id":"3","securitygroup":[],"nic":[],"tags":[],"affinitygroup":[]}
org.apache.cloudstack.api.response.AlertResponse/null/{"id":"100","description":"Hello"}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.331 sec
Running com.cloud.server.ConfigurationServerImplTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running com.cloud.event.EventControlsUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.143 sec
Running com.cloud.resourcelimit.ResourceLimitManagerImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running com.cloud.api.dispatch.ParamGenericValidationWorkerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running com.cloud.api.dispatch.ParamProcessWorkerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running com.cloud.api.dispatch.CommandCreationWorkerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec
Running com.cloud.api.dispatch.DispatchChainFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running com.cloud.api.dispatch.SpecificCmdValidationWorkerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running com.cloud.api.ApiServletTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.34 sec
Running com.cloud.api.ApiResponseHelperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec
Running com.cloud.alert.AlertControlsUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running com.cloud.ha.KVMFencerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 sec
Running com.cloud.ha.HighAvailabilityManagerImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.339 sec
Running com.cloud.capacity.CapacityManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
Running com.cloud.vm.snapshot.VMSnapshotManagerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.579 sec
Running com.cloud.vm.FirstFitPlannerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.088 sec
Running com.cloud.vm.UserVmManagerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.689 sec
Running com.cloud.vm.DeploymentPlanningManagerImplTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.818 sec
Running com.cloud.servlet.ConsoleProxyServletTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running com.cloud.servlet.StaticResourceServletTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.226 sec
Running com.cloud.network.ExternalLoadBalancerDeviceManagerImplTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.371 sec
Running com.cloud.network.NetworkModelTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec
Running com.cloud.network.security.SecurityGroupManagerImplTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.295 sec
Running com.cloud.network.security.SecurityGroupQueueTes

Jenkins build is back to normal : build-master-simulator #920

2014-10-31 Thread jenkins
See 



Build failed in Jenkins: build-4.5 #71

2014-10-31 Thread jenkins
See 

Changes:

[pdion891] Revert "CLOUDSTACK-7822: updated ssl cert(exp:2096), reactivate 
tests"

--
[...truncated 2775 lines...]
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-hypervisor-hyperv ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-hypervisor-hyperv ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-plugin-hypervisor-hyperv ---
[INFO] Compiling 7 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-mom-inmemory 
---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running org.apache.cloudstack.mom.inmemory.InMemoryEventBusTest
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-hypervisor-ucs ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-plugin-hypervisor-ucs ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-plugin-hypervisor-ucs ---
[INFO] Surefire report directory: 


---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Network Elastic Load Balancer 
4.5.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-network-elb ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-plugin-network-elb ---
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.896 sec

Results :

Tests run: 10, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Network Internal Load Balancer 
4.5.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-network-internallb ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-plugin-network-internallb ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-network-elb ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-network-internallb ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-hypervisor-baremetal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-plugin-hypervisor-baremetal ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-plugin-h

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #3)

2014-10-31 Thread Nux!
Yes, the same happens with commit 300c as well as with your latest (at this 
time) d835341e9feec63695a112f092289c8ec7ac972a.

(testing) 🐵 > deploy virtualmachine name=test530-6 displayname=test530-6 
rootdisksize=13 serviceofferingid=7b74ff95-a478-49d8-8d00-04803e43b147 
templateid=a2e11b30-50a6-4458-9841-e7f805bbd9cc 
zoneid=a9521258-d7f3-4992-a1d1-a513fed003ec hypervisor=KVM
..Error 401 Authentication error
 coercing to Unicode: need string or buffer, exceptions.AttributeError found
Error on parsing and printing 

Logs: http://tmp.nux.ro/Vq7-cm450.txt

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: dev@cloudstack.apache.org
> Sent: Friday, 31 October, 2014 19:02:27
> Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #3)

> Hi Lucian,
> 
> Can you check using the mentioned SHA 
> 300c47534c29969718024fdbfc26e97f06e8ff2d.
> Uninstall old cloudmonkey and re-install this one. If you’re still able to
> reproduce the error can you share the logs from ~/.cloudmonkey/logs (removing
> any sensitive information).
> 
>> On 31-Oct-2014, at 11:43 pm, Nux!  wrote:
>>
>> Ok, I am seeing some issues with this build.
>>
>> http://img.nux.ro/9Km-Selection_036.png
>> and also
>> http://img.nux.ro/9vL-Selection_037.png -  in this case the VM gets created, 
>> but
>> not sure what's up with those errors
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Rohit Yadav" 
>>> To: "dev" 
>>> Sent: Friday, 31 October, 2014 17:46:19
>>> Subject: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #3)
>>
>>> Hi All,
>>>
>>> I've created a 5.3.0 release of CloudMonkey, with the following artifacts 
>>> up for
>>> a vote:
>>>
>>> Git Branch and Commit SH:
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/5.3
>>> Commit: 300c47534c29969718024fdbfc26e97f06e8ff2d
>>>
>>> List of changes:
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES;hb=5.3
>>>
>>> Source release (checksums and signatures are available at the same
>>> location):
>>> https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.0/
>>>
>>> PGP release keys (signed using 0EE3D884):
>>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>>
>>> Testing procedure:
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudMonkey+Release+test+procedure
>>>
>>> This release aims to provide better parameter and filter completion, error
>>> handling and utf8/unicode support in CloudMonkey and therefore needs testing
>>> efforts in these areas. UTF-8 encoded string parameters usage needs to be
>>> tested in API calls, shell and piped calls, for example:
 create user account=admin username=रोहित lastname=यादव firstname=रोहित
 email=bhais...@apache.org password="正體字/繁體字日本人français한국فارسیpassword123”
 list users | grep रोहित
>>>
>>> Since the next 72 hour window intersects with the weekend, the vote will be 
>>> open
>>> till Wednesday (120 hours). Please test this release and give your vote.
>>> Thanks.
>>>
>>> For sanity in tallying the vote, can PMC members please be sure to indicate
>>> "(binding)" with their vote?
>>>
>>> [ ] +1  approve
>>> [ ] +0  no opinion
>>> [ ] -1  disapprove (and reason why)
>>>
>>> Regards,
>>>
>>> Regards,
>>> Rohit Yadav
>>> Software Architect, ShapeBlue
>>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>>
>>> Find out more about ShapeBlue and our range of CloudStack related services
>>>
>>> IaaS Cloud Design & 
>>> Build
>>> CSForge – rapid IaaS deployment framework
>>> CloudStack Consulting
>>> CloudStack Infrastructure
>>> Support
>>> CloudStack Bootcamp Training 
>>> Courses
>>>
>>> This email and any attachments to it may be confidential and are intended 
>>> solely
>>> for the use of the individual to whom it is addressed. Any views or opinions
>>> expressed are solely those of the author and do not necessarily represent 
>>> those
>>> of Shape Blue Ltd or related companies. If you are not the intended 
>>> recipient
>>> of this email, you must neither take any action based upon its contents, nor
>>> copy or show it to anyone. Please contact the sender if you believe you have
>>> received this email in error. Shape Blue Ltd is a company incorporated in
>>> England & Wales. ShapeBlue Services India LLP is a company incorporated in
>>> India and is operated under license from Shape Blue Ltd. Shape Blue Brasil
>>> Consultoria Ltda is a company incorporated in Brasil and is operated under
>>> license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered

Jenkins build is back to normal : build-4.5 #72

2014-10-31 Thread jenkins
See 



Build failed in Jenkins: build-master-simulator #924

2014-10-31 Thread jenkins
See 

Changes:

[jessicawang] CLOUDSTACK-7826: UI - dialog widget - dependent dropdown field 
(dependsOn property specified) - fix a bug that default opton in dependent 
dropdown field didn't trigger change event handler until another option in 
dependent dropdown field was selected.

--
[...truncated 1200 lines...]
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Framework - Jobs 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-jobs 
---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-framework-jobs ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-jobs ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-jobs ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-jobs ---
[INFO] Compiling 33 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-jobs ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-jobs ---
[INFO] Compiling 4 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-framework-jobs ---
[INFO] Surefire report directory: 


---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine Internal Components API 
4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-engine-components-api ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-engine-components-api ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-engine-components-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-engine-components-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-engine-components-api ---
[INFO] Compiling 31 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-engine-components-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-engine-components-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-engine-components-api ---
[INFO] Surefire report directory: 


--

Jenkins build is back to normal : build-master-simulator #925

2014-10-31 Thread jenkins
See 



Build failed in Jenkins: build-4.5 #73

2014-10-31 Thread jenkins
See 

Changes:

[jessicawang] CLOUDSTACK-7826: UI - dialog widget - dependent dropdown field 
(dependsOn property specified) - fix a bug that default opton in dependent 
dropdown field didn't trigger change event handler until another option in 
dependent dropdown field was selected.

--
[...truncated 1770 lines...]
 [copy] Copying 3 files to 

 [copy] Copying 1 file to 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-server ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 30 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-server 
---
[INFO] Compiling 367 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-usage ---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running com.cloud.usage.UsageSanityCheckerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.586 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-engine-orchestration ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-engine-orchestration ---
[INFO] Compiling 5 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-engine-orchestration ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-server ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-server ---
[INFO] Compiling 93 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-server ---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running 
org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest
log4j:WARN No appenders could be found for logger 
(org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.537 sec
Running org.apache.cloudstack.region.RegionManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
Running org.apache.cloudstack.service.ServiceOfferingVOTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 sec
Running org.apache.cloudstack.affinity.AffinityApiUnitTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.833 sec
Running org.apache.cloudstack.privategw.AclOnPrivateGwTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.126 sec
Running org.apache.cloudstack.network.lb.CertServiceTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.762 sec
Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.903 sec
Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.43 sec
Running com.cloud.template.TemplateManagerImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec
Running com.cloud.keystore.KeystoreTest
org.apache.cloudstack.api.response.UserVmResponse/null/{"id":"3","securitygroup":[],"nic":[],"tags":[],"affinitygroup":[]}
org.apache.cloudstack.api.response.AlertResponse/null/{"id":"100","description":"Hello"}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.718 sec
Running com.cloud.server.ConfigurationServerImplTest
Tests run: 4,