Re: Unable to inject ConfigurationDao in cloud-server module

2014-03-20 Thread Sonal Ojha
yes, I tried doing that as well and then it gives build failure showing
unit test case failure
for org.apache.cloudstack.affinity.AffinityApiUnitTest

Caused by: org.springframework.beans.factory.BeanCreationException: Could
not autowire field:
org.apache.cloudstack.framework.config.dao.ConfigurationDao
com.cloud.event.ActionEventUtils.configDao; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No
qualifying bean of type
[org.apache.cloudstack.framework.config.dao.ConfigurationDao] found for
dependency: expected at least 1 bean which qualifies as autowire candidate
for this dependency. Dependency annotations: {@javax.inject.Inject()}
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:514)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
... 46 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No qualifying bean of type
[org.apache.cloudstack.framework.config.dao.ConfigurationDao] found for
dependency: expected at least 1 bean which qualifies as autowire candidate
for this dependency. Dependency annotations: {@javax.inject.Inject()}
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:988)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:858)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:486)
... 48 more



On Wed, Mar 19, 2014 at 10:30 PM, Alena Prokharchyk 
alena.prokharc...@citrix.com wrote:

 Sonal, did you initialize it the way other daos are initialized? In init()
 method marked with @PostConstruct

 On 3/19/14, 8:22 AM, Sonal Ojha sonal.o...@sungard.com wrote:

 Hello,
 
 I am trying to inject ConfigurationDao into the ActionEventUtils.java for
 some code changes related to CLOUDSTACK-3272. While building(with unit
 test
 case) it doesnt give any error and builds successfully, but while
 debugging
 it gives a NullPointerException when trying to use the ConfigurationDao
 instance. I am not sure where am I missing to make the entry.
 
 --
 
 Regards,
 
 ___
 
 *Sonal Ojha* ● Senior Engineer - Product Developement ● SunGard
 Availability Services, India ● Mobile: +91 9922412645●  Email:
 sonal.o...@sungard.com ● Website: http://www.sungardas.in/
 
 8 Times Winner – BC Service Provider of the Year – 2011, 2010, 2009, 2006,
 2005, 2002, 2000, 1999; Finalist – 2008, 2007, 2004, 2001 ● Excellence in
 Infrastructure Management – 2010 ● Outstanding Excellence in Business
 Continuity – 2008 ● Business Continuity Provider of the Year (BCM Service)
 – 2013 BCI Global Awards ● Business Continuity Provider of the Year (BCM
 Product) – 2013 BCI India Awards
 
 *[image: AS_yt]* http://www.youtube.com/user/SunGardAS*[image:
 AS_twitter]* https://twitter.com/SunGardASIN*[image:
 AS_in]*http://www.linkedin.com/company/sungardasin*[image:
 AS_gplus]* https://plus.google.com/102459878242108588663/*[image:
 AS_fb]*https://www.facebook.com/sungardas.in*[image:
 AS_ss]* http://www.slideshare.net/SunGardASIN/documents




-- 

Regards,

___

*Sonal Ojha* ● Senior Engineer - Product Developement ● SunGard
Availability Services, India ● Mobile: +91 9922412645●  Email:
sonal.o...@sungard.com ● Website: http://www.sungardas.in/

8 Times Winner – BC Service Provider of the Year – 2011, 2010, 2009, 2006,
2005, 2002, 2000, 1999; Finalist – 2008, 2007, 2004, 2001 ● Excellence in
Infrastructure Management – 2010 ● Outstanding Excellence in Business
Continuity – 2008 ● Business Continuity Provider of the Year (BCM Service)
– 2013 BCI Global Awards ● Business Continuity Provider of the Year (BCM
Product) – 2013 BCI India Awards

*[image: AS_yt]* http://www.youtube.com/user/SunGardAS*[image:
AS_twitter]* https://twitter.com/SunGardASIN*[image:
AS_in]*http://www.linkedin.com/company/sungardasin*[image:
AS_gplus]* https://plus.google.com/102459878242108588663/*[image:
AS_fb]*https://www.facebook.com/sungardas.in*[image:
AS_ss]* http://www.slideshare.net/SunGardASIN/documents


Fwd: Unable to inject ConfigurationDao in cloud-server module

2014-03-20 Thread Sonal Ojha
yes, I tried doing that as well and then it gives build failure showing
unit test case failure
for org.apache.cloudstack.affinity.AffinityApiUnitTest

Caused by: org.springframework.beans.factory.BeanCreationException: Could
not autowire field:
org.apache.cloudstack.framework.config.dao.ConfigurationDao
com.cloud.event.ActionEventUtils.configDao; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No
qualifying bean of type
[org.apache.cloudstack.framework.config.dao.ConfigurationDao] found for
dependency: expected at least 1 bean which qualifies as autowire candidate
for this dependency. Dependency annotations: {@javax.inject.Inject()}
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:514)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
... 46 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No qualifying bean of type
[org.apache.cloudstack.framework.config.dao.ConfigurationDao] found for
dependency: expected at least 1 bean which qualifies as autowire candidate
for this dependency. Dependency annotations: {@javax.inject.Inject()}
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:988)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:858)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:770)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:486)
... 48 more



On Wed, Mar 19, 2014 at 10:30 PM, Alena Prokharchyk 
alena.prokharc...@citrix.com wrote:

 Sonal, did you initialize it the way other daos are initialized? In init()
 method marked with @PostConstruct

 On 3/19/14, 8:22 AM, Sonal Ojha sonal.o...@sungard.com wrote:

 Hello,
 
 I am trying to inject ConfigurationDao into the ActionEventUtils.java for
 some code changes related to CLOUDSTACK-3272. While building(with unit
 test
 case) it doesnt give any error and builds successfully, but while
 debugging
 it gives a NullPointerException when trying to use the ConfigurationDao
 instance. I am not sure where am I missing to make the entry.
 
 --
 
 Regards,
 
 ___
 
 *Sonal Ojha* ● Senior Engineer - Product Developement ● SunGard
 Availability Services, India ● Mobile: +91 9922412645●  Email:
 sonal.o...@sungard.com ● Website: http://www.sungardas.in/
 
 8 Times Winner – BC Service Provider of the Year – 2011, 2010, 2009, 2006,
 2005, 2002, 2000, 1999; Finalist – 2008, 2007, 2004, 2001 ● Excellence in
 Infrastructure Management – 2010 ● Outstanding Excellence in Business
 Continuity – 2008 ● Business Continuity Provider of the Year (BCM Service)
 – 2013 BCI Global Awards ● Business Continuity Provider of the Year (BCM
 Product) – 2013 BCI India Awards
 
 *[image: AS_yt]* http://www.youtube.com/user/SunGardAS*[image:
 AS_twitter]* https://twitter.com/SunGardASIN*[image:
 AS_in]*http://www.linkedin.com/company/sungardasin*[image:
 AS_gplus]* https://plus.google.com/102459878242108588663/*[image:
 AS_fb]*https://www.facebook.com/sungardas.in*[image:
 AS_ss]* http://www.slideshare.net/SunGardASIN/documents




-- 

Regards,

___

*Sonal Ojha* ● Senior Engineer - Product Developement ● SunGard
Availability Services, India ● Mobile: +91 9922412645●  Email:
sonal.o...@sungard.com ● Website: http://www.sungardas.in/

8 Times Winner – BC Service Provider of the Year – 2011, 2010, 2009, 2006,
2005, 2002, 2000, 1999; Finalist – 2008, 2007, 2004, 2001 ● Excellence in
Infrastructure Management – 2010 ● Outstanding Excellence in Business
Continuity – 2008 ● Business Continuity Provider of the Year (BCM Service)
– 2013 BCI Global Awards ● Business Continuity Provider of the Year (BCM
Product) – 2013 BCI India Awards

*[image: AS_yt]* http://www.youtube.com/user/SunGardAS*[image:
AS_twitter]* https://twitter.com/SunGardASIN*[image:
AS_in]*http://www.linkedin.com/company/sungardasin*[image:
AS_gplus]* https://plus.google.com/102459878242108588663/*[image:
AS_fb]*https://www.facebook.com/sungardas.in*[image:
AS_ss]* http://www.slideshare.net/SunGardASIN/documents



-- 

Regards,

___

*Sonal Ojha* ● Senior Engineer - Product Developement ● SunGard
Availability Services, India ● Mobile: +91 9922412645●  Email:
sonal.o...@sungard.com ● Website: 

Re: [NFS] Adding NFS primary storage fails

2014-03-20 Thread Punith S
there must be an another exception stacktrace thrown above this hostconnect
exception from XenApi with certain ERROR code(number) , which you can find
it out in xen docs.
is the storage pool getting attached in the xen hypervisor after this ?
try executing  mount in xen and see.

thanks.


On Wed, Mar 19, 2014 at 3:50 PM, Wilder Rodrigues 
wrodrig...@schubergphilis.com wrote:

 Hi all,

 I'm trying to tests some changes I did for CLOUDSTACK-6139.

 Currently I have 3 XenServer 6.2 instances and my management server is
 running in a different machine (debian 7). I have successfully created 2
 zones, which use Local Storage. Now I'm trying to create a 3rd zone, which
 will not use local storage.

 Everything goes fine until when it tries to add the primary storage. I'm
 facing a problem related to the heartbeat file, which does not exist.

 I already tried googling, found this:
 http://markmail.org/message/gbsqsvhzp7sq37tn#query:+page:1+mid:5x6zzhtjk5dscfgy+state:results

 I checked the source of the script (
 https://github.com/apache/cloudstack/blob/master/scripts/vm/hypervisor/xenserver/setup_heartbeat_file.sh),
 but it only makes clear that the file is expected.

 tween Host[-7-Routing] and
 org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@1eca16d9
 com.cloud.utils.exception.CloudRuntimeException: Unable establish
 connection from storage head to storage pool 10 due to
 ModifyStoragePoolCommand add XenAPIException:Unable to
 setup heartbeat file entry on SR fac6c87d-d8af-102f-f89a-d58429d986a3 due
 to #6# heartbeat file
 /var/run/sr-mount/fac6c87d-d8af-102f-f89a-d58429d986a3/hb-05e6d247-7cc8-43f4-969
 c-5ba97341539a doesn't exist host:05e6d247-7cc8-43f4-969c-5ba97341539a
 pool: 10.1.1.65/opt/storage/primary10
 at
 org.apache.cloudstack.storage.datastore.provider.DefaultHostListener.hostConnect(DefaultHostListener.java:67)
 at
 com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:853)
 at
 org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:418)
 at
 com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:656)
 at
 com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:176)
 at
 org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:163)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156)
 at com.cloud.api.ApiServer.queueCommand(ApiServer.java:593)
 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
 at
 com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
 at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
 at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)

 Any idea how to get it working?

 Cheers,
 Wilder




-- 
regards,

punith s
cloudbyte.com


Review Request 19451: added missing HintPath for for System.Web.Http dependency in HypervResource and ServerResource.Tests project

2014-03-20 Thread Anshul Gangwar

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

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


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


Repository: cloudstack-git


Description
---

added missing HintPath for for System.Web.Http dependency in HypervResource and 
ServerResource.Tests project


Diffs
-

  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
 a2dc323 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
 eec595e 

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


Testing
---

verified by building hyper-v agent code on visual studio


Thanks,

Anshul Gangwar



RE: [NFS] Adding NFS primary storage fails

2014-03-20 Thread Wilder Rodrigues
Hi Punith,

I fixed my problem yesterday, but thanks for taking the time to reply. :)

I tried manually to touch the heartbeat file and realised that I had no 
permission to do so (error 13 - permission denied). I was mounting an already 
existing mountpoint... so I needed to add cross mount and also no root squash 
on the exports file:

10.1.1.65:/opt/storage/primary 10.1.1.0/24(rw,sync,crossmnt,no_root_squash)

When I tried to create the first NFS and it failed (due to write access), the 
SR and the PBD remained there. So, to avoid having to unplug and destroy them 
(lazy bastard me), I just created a PreSetup primary storage - using the label 
of the existing SR.

I also touched the heartbeat file manually... :)

Cheers,
Wilder

-Original Message-
From: Punith S [mailto:punit...@cloudbyte.com] 
Sent: Thursday, March 20, 2014 7:32 AM
To: cloudstack
Subject: Re: [NFS] Adding NFS primary storage fails

there must be an another exception stacktrace thrown above this hostconnect 
exception from XenApi with certain ERROR code(number) , which you can find it 
out in xen docs.
is the storage pool getting attached in the xen hypervisor after this ?
try executing  mount in xen and see.

thanks.


On Wed, Mar 19, 2014 at 3:50 PM, Wilder Rodrigues  
wrodrig...@schubergphilis.com wrote:

 Hi all,

 I'm trying to tests some changes I did for CLOUDSTACK-6139.

 Currently I have 3 XenServer 6.2 instances and my management server is 
 running in a different machine (debian 7). I have successfully created 
 2 zones, which use Local Storage. Now I'm trying to create a 3rd zone, 
 which will not use local storage.

 Everything goes fine until when it tries to add the primary storage. 
 I'm facing a problem related to the heartbeat file, which does not exist.

 I already tried googling, found this:
 http://markmail.org/message/gbsqsvhzp7sq37tn#query:+page:1+mid:5x6zzht
 jk5dscfgy+state:results

 I checked the source of the script (
 https://github.com/apache/cloudstack/blob/master/scripts/vm/hypervisor
 /xenserver/setup_heartbeat_file.sh),
 but it only makes clear that the file is expected.

 tween Host[-7-Routing] and
 org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@1eca16d9
 com.cloud.utils.exception.CloudRuntimeException: Unable establish 
 connection from storage head to storage pool 10 due to 
 ModifyStoragePoolCommand add XenAPIException:Unable to setup heartbeat 
 file entry on SR fac6c87d-d8af-102f-f89a-d58429d986a3 due to #6# 
 heartbeat file
 /var/run/sr-mount/fac6c87d-d8af-102f-f89a-d58429d986a3/hb-05e6d247-7cc
 8-43f4-969 c-5ba97341539a doesn't exist 
 host:05e6d247-7cc8-43f4-969c-5ba97341539a
 pool: 10.1.1.65/opt/storage/primary10
 at
 org.apache.cloudstack.storage.datastore.provider.DefaultHostListener.hostConnect(DefaultHostListener.java:67)
 at
 com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:853)
 at
 org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:418)
 at
 com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:656)
 at
 com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:176)
 at
 org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:163)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156)
 at com.cloud.api.ApiServer.queueCommand(ApiServer.java:593)
 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
 at
 com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
 at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
 at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)

 Any idea how to get it working?

 Cheers,
 Wilder




--
regards,

punith s
cloudbyte.com


RE: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread Nguyen Anh Tu
Chip: Thanks for your effort. Best wish!
Hugo: Congratulation, bro!

--Tuna

Sent from my GT-N7000
On Mar 20, 2014 12:13 PM, Rajesh Battala rajesh.batt...@citrix.com
wrote:

 Hearty Congratulations Hugo :)

 -Original Message-
 From: Chip Childers [mailto:chipchild...@apache.org]
 Sent: Thursday, March 20, 2014 2:22 AM
 To: dev@cloudstack.apache.org
 Subject: [ANNOUNCE] Change of Apache CloudStack PMC Chair

 Per our project bylaws, we are changing our project's chair today!

 Over discussions during the last month the PMC had reached a consensus to
 recommend to the ASF board that Hugo Trippaers be accepted as the next
 Apache CloudStack PMC Chair / VP of Apache CloudStack.  As of today's ASF
 board meeting, this has been accepted and made official.

 Please join me in congratulating Hugo in his new role!

 It's been an honor serving the project as it's chair over the last year,
 and although I regret that my recent contributions have been diminished due
 to a change in $dayjob, I'm exceptionally proud to be part of this
 community. Apache CloudStack is amazing software, and the community that
 has formed around the code since it's donation to the ASF is nothing short
 of remarkable.

 -chip



Re: Xenserver 6.2.0 CreateSnapshot weird error log

2014-03-20 Thread Yitao Jiang
Hi,

I figured it out.

Default vmsnapshot.create.wait  value in global configuration is 1(s), and
i don't know why the operation takes much more than 10 seconds,so i changed
it to 60s. Now i can make vm snapshot.


Thanks,

Yitao


2014-03-20 9:33 GMT+08:00 Yitao Jiang willier...@gmail.com:

 I can not make vm snapshot now . Do you guys know why ?

 Thanks,

  Yitao


 2014-03-19 19:23 GMT+08:00 Yitao Jiang willier...@gmail.com:

 Hi, stackers

 now i found a weird log happend in xenserver message log when creating a
 snapshot through cloudstack 4.2.1 web ui.
 And the task failed.
 Below are cloudstack log and log of xenserver

 management/catalina.out
 =
 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-3:) SeqA
 3-30863: Processing Seq 3-30863:  { Cmd , MgmtId: -1, via: 3, Ver: v1,
 Flags: 11,
 [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n
  \connections\: []\n},wait:0}}] }
 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-3:) SeqA
 3-30863: Sending Seq 3-30863:  { Ans: , MgmtId: 90520742010332, via: 3,
 Ver: v1, Flags: 100010,
 [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:) Resetting
 hosts suitable for reconnect
 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:) Completed
 resetting hosts suitable for reconnect
 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:) Acquiring
 hosts for clusters already owned by this management server
 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:) Completed
 acquiring hosts for clusters already owned by this management server
 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:) Acquiring
 hosts for clusters not owned by any management server
 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:) Completed
 acquiring hosts for clusters not owned by any management server
 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:) StorageCollector
 is running...
 DEBUG [agent.transport.Request] (StatsCollector-3:) Seq 5-179437655:
 Received:  { Ans: , MgmtId: 90520742010332, via: 5, Ver: v1, Flags: 10, {
 GetStorageStatsAnswer } }
 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-90:) Seq
 2-586154315: Executing request
 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:) ===START===
  192.168.0.196 -- GET
  
 command=createVMSnapshotvirtualmachineid=ddf3a9b5-73f5-4b16-85b7-b110130ebf81snapshotmemory=truename=snap001description=snap001response=jsonsessionkey=NSFhm8fl1Fp8K0U2s0Dn5xY5zhc%3D_=1395227086935
 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-18:) submit async
 job-522 = [ e2605931-6f40-46ea-8811-f769783ea45c ], details: AsyncJobVO
 {id:522, userId: 2, accountId: 2, sessionKey: null, instanceType: None,
 instanceId: 22, cmd:
 org.apache.cloudstack.api.command.user.vmsnapshot.CreateVMSnapshotCmd,
 cmdOriginator: null, cmdInfo:
 {sessionkey:NSFhm8fl1Fp8K0U2s0Dn5xY5zhc\u003d,virtualmachineid:ddf3a9b5-73f5-4b16-85b7-b110130ebf81,cmdEventType:VMSNAPSHOT.CREATE,ctxUserId:2,snapshotmemory:true,httpmethod:GET,response:json,id:22,description:snap001,name:snap001,_:1395227086935,ctxAccountId:2,ctxStartEventId:2395},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0,
 processStatus: 0, resultCode: 0, result: null, initMsid: 90520742010332,
 completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-23:job-522 = [
 e2605931-6f40-46ea-8811-f769783ea45c ]) Executing
 org.apache.cloudstack.api.command.user.vmsnapshot.CreateVMSnapshotCmd for
 job-522 = [ e2605931-6f40-46ea-8811-f769783ea45c ]
 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:) ===END===  192.168.0.196
 -- GET
  
 command=createVMSnapshotvirtualmachineid=ddf3a9b5-73f5-4b16-85b7-b110130ebf81snapshotmemory=truename=snap001description=snap001response=jsonsessionkey=NSFhm8fl1Fp8K0U2s0Dn5xY5zhc%3D_=1395227086935
 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:) ===START===
  192.168.0.196 -- GET
  
 command=listZonesid=659ef764-c49d-4e01-bb71-1e13e6ef570eresponse=jsonsessionkey=NSFhm8fl1Fp8K0U2s0Dn5xY5zhc%3D_=1395227087375
 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:) ===END===  192.168.0.196
 -- GET
  
 command=listZonesid=659ef764-c49d-4e01-bb71-1e13e6ef570eresponse=jsonsessionkey=NSFhm8fl1Fp8K0U2s0Dn5xY5zhc%3D_=1395227087375
 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-90:) Seq
 2-586154315: Response Received:
 DEBUG [agent.transport.Request] (StatsCollector-3:) Seq 2-586154315:
 Received:  { Ans: , MgmtId: 90520742010332, via: 2, Ver: v1, Flags: 10, {
 GetStorageStatsAnswer } }
 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:) ===START===
  192.168.0.196 -- GET
  
 command=listVirtualMachinesid=ddf3a9b5-73f5-4b16-85b7-b110130ebf81response=jsonsessionkey=NSFhm8fl1Fp8K0U2s0Dn5xY5zhc%3D_=1395227087425
 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-490:) Seq
 9-941424686: 

Re: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread Srikanteswararao Talluri
Thanks Chip for your great efforts and good luck Hugo.

~Talluri

On 20/03/14 12:17 pm, Nguyen Anh Tu t...@apache.org wrote:

Chip: Thanks for your effort. Best wish!
Hugo: Congratulation, bro!

--Tuna

Sent from my GT-N7000
On Mar 20, 2014 12:13 PM, Rajesh Battala rajesh.batt...@citrix.com
wrote:

 Hearty Congratulations Hugo :)

 -Original Message-
 From: Chip Childers [mailto:chipchild...@apache.org]
 Sent: Thursday, March 20, 2014 2:22 AM
 To: dev@cloudstack.apache.org
 Subject: [ANNOUNCE] Change of Apache CloudStack PMC Chair

 Per our project bylaws, we are changing our project's chair today!

 Over discussions during the last month the PMC had reached a consensus
to
 recommend to the ASF board that Hugo Trippaers be accepted as the next
 Apache CloudStack PMC Chair / VP of Apache CloudStack.  As of today's
ASF
 board meeting, this has been accepted and made official.

 Please join me in congratulating Hugo in his new role!

 It's been an honor serving the project as it's chair over the last year,
 and although I regret that my recent contributions have been diminished
due
 to a change in $dayjob, I'm exceptionally proud to be part of this
 community. Apache CloudStack is amazing software, and the community that
 has formed around the code since it's donation to the ASF is nothing
short
 of remarkable.

 -chip




Re: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread Daan Hoogland
congratulations Chip and good luck Hugo may your vision for the
project be clear and forthcoming.

my support is with you,
Daan

On Thu, Mar 20, 2014 at 7:47 AM, Nguyen Anh Tu t...@apache.org wrote:
 Chip: Thanks for your effort. Best wish!
 Hugo: Congratulation, bro!

 --Tuna

 Sent from my GT-N7000
 On Mar 20, 2014 12:13 PM, Rajesh Battala rajesh.batt...@citrix.com
 wrote:

 Hearty Congratulations Hugo :)

 -Original Message-
 From: Chip Childers [mailto:chipchild...@apache.org]
 Sent: Thursday, March 20, 2014 2:22 AM
 To: dev@cloudstack.apache.org
 Subject: [ANNOUNCE] Change of Apache CloudStack PMC Chair

 Per our project bylaws, we are changing our project's chair today!

 Over discussions during the last month the PMC had reached a consensus to
 recommend to the ASF board that Hugo Trippaers be accepted as the next
 Apache CloudStack PMC Chair / VP of Apache CloudStack.  As of today's ASF
 board meeting, this has been accepted and made official.

 Please join me in congratulating Hugo in his new role!

 It's been an honor serving the project as it's chair over the last year,
 and although I regret that my recent contributions have been diminished due
 to a change in $dayjob, I'm exceptionally proud to be part of this
 community. Apache CloudStack is amazing software, and the community that
 has formed around the code since it's donation to the ASF is nothing short
 of remarkable.

 -chip




-- 
Daan


RE: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread Suresh Sadhu
Hearty Congratulations Hugo  and all the best  for your new role...
 Thanks chip for your  great  efforts .

Regards
sadhu
-Original Message-
From: Srikanteswararao Talluri [mailto:srikanteswararao.tall...@citrix.com] 
Sent: 20 March 2014 12:22
To: dev@cloudstack.apache.org
Subject: Re: [ANNOUNCE] Change of Apache CloudStack PMC Chair

Thanks Chip for your great efforts and good luck Hugo.

~Talluri

On 20/03/14 12:17 pm, Nguyen Anh Tu t...@apache.org wrote:

Chip: Thanks for your effort. Best wish!
Hugo: Congratulation, bro!

--Tuna

Sent from my GT-N7000
On Mar 20, 2014 12:13 PM, Rajesh Battala rajesh.batt...@citrix.com
wrote:

 Hearty Congratulations Hugo :)

 -Original Message-
 From: Chip Childers [mailto:chipchild...@apache.org]
 Sent: Thursday, March 20, 2014 2:22 AM
 To: dev@cloudstack.apache.org
 Subject: [ANNOUNCE] Change of Apache CloudStack PMC Chair

 Per our project bylaws, we are changing our project's chair today!

 Over discussions during the last month the PMC had reached a 
consensus to  recommend to the ASF board that Hugo Trippaers be 
accepted as the next  Apache CloudStack PMC Chair / VP of Apache 
CloudStack.  As of today's ASF  board meeting, this has been accepted 
and made official.

 Please join me in congratulating Hugo in his new role!

 It's been an honor serving the project as it's chair over the last 
year,  and although I regret that my recent contributions have been 
diminished due  to a change in $dayjob, I'm exceptionally proud to be 
part of this  community. Apache CloudStack is amazing software, and 
the community that  has formed around the code since it's donation to 
the ASF is nothing short  of remarkable.

 -chip




Re: Review Request 19451: added missing HintPath for for System.Web.Http dependency in HypervResource and ServerResource.Tests project

2014-03-20 Thread Rajesh Battala

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

Ship it!


Ship It!

- Rajesh Battala


On March 20, 2014, 6:43 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19451/
 ---
 
 (Updated March 20, 2014, 6:43 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6259
 https://issues.apache.org/jira/browse/CLOUDSTACK-6259
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 added missing HintPath for for System.Web.Http dependency in HypervResource 
 and ServerResource.Tests project
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResource.csproj
  a2dc323 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/ServerResource.Tests/ServerResource.Tests.csproj
  eec595e 
 
 Diff: https://reviews.apache.org/r/19451/diff/
 
 
 Testing
 ---
 
 verified by building hyper-v agent code on visual studio
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread Abhinandan Prateek
Thank you Chip !
Congratulations Hugo !

On 20/03/14 2:21 am, Chip Childers chipchild...@apache.org wrote:

Per our project bylaws, we are changing our project's chair today!

Over discussions during the last month the PMC had reached a consensus
to recommend to the ASF board that Hugo Trippaers be accepted as the
next Apache CloudStack PMC Chair / VP of Apache CloudStack.  As of
today's ASF board meeting, this has been accepted and made official.

Please join me in congratulating Hugo in his new role!

It's been an honor serving the project as it's chair over the last year,
and although I regret that my recent contributions have been diminished
due to a change in $dayjob, I'm exceptionally proud to be part of this
community. Apache CloudStack is amazing software, and the community that
has formed around the code since it's donation to the ASF is nothing
short of remarkable.

-chip



[GitHub] cloudstack-docs-admin pull request: fixed images links, tables, to...

2014-03-20 Thread runseb
Github user runseb commented on the pull request:

https://github.com/apache/cloudstack-docs-admin/pull/2#issuecomment-38142623
  
thanks, I will merge this today.
There is actually a bug for the missing update-ssl image:

https://issues.apache.org/jira/browse/CLOUDSTACK-5954


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


RE: AWS api when running mvn jetty

2014-03-20 Thread Likitha Shetty
Yes Chris, we need to run them separately.

Thanks,
Likitha 

-Original Message-
From: chris snow [mailto:chsnow...@gmail.com]
Sent: Thursday, March 20, 2014 4:08 AM
To: dev@cloudstack.apache.org
Subject: Re: AWS api when running mvn jetty

I did try this, but it only brings up the client ui, and not the awsapi:

   mvn -pl :cloud-client-ui -Pawsapi -pl :cloud-awsapi jetty:run

Do I have to run the two targets as separate commands?  e.g.

   mvn -pl :cloud-client-ui jetty:run  mvn -Pawsapi -pl :cloud-awsapi 
 jetty:run

On Wed, Mar 19, 2014 at 7:22 AM, chris snow chsnow...@gmail.com wrote:
 Hi Likitha,

 Is it possible to run both awsapi and client ui at the same time with jetty?
 E.g. something like this:

 mvn -pl :cloud-client-ui -pl :cloud-awsapi jetty:run

 Many thanks,

 Chris

 On 19 Mar 2014 06:29, Likitha Shetty likitha.she...@citrix.com wrote:

 Chris,

 'mvn -pl :cloud-client-ui jetty:run' doesn't run awsapi.
 To run awsapi you will have to run maven jetty goal  'mvn -Pawsapi
 -pl :cloud-awsapi jetty:run'. Also, don't forget to use the awsapi
 profile while building the code 'mvn clean install -P systemvm -P awsapi -
Dnoredist'.

 Thanks,
 Likitha

 -Original Message-
 From: chris snow [mailto:chsnow...@gmail.com]
 Sent: Wednesday, March 19, 2014 11:42 AM
 To: dev@cloudstack.apache.org
 Subject: AWS api when running mvn jetty
 
 Hi forum,
 
 Does the maven jetty goal mvn -pl :cloud-client-ui jetty:run also
 run  the AWS api?
 
 I can't see anything running on port 7080 after starting jetty.
 
 Is it possible to run the AWS api from the maven jetty goal?  How?
 
 Many thanks,
 
 Chris



--
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


[GitHub] cloudstack-docs-admin pull request: fixed images links, tables, to...

2014-03-20 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack-docs-admin/pull/2


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Review Request 18964: Windowsfication of CloudStack Management Server - Changes to support windows OS

2014-03-20 Thread Donal Lafferty


 On March 14, 2014, 12:14 p.m., Damodar Reddy Talakanti wrote:
  Hi Daan
  
  I have updated the FS in wiki regarding how to build and install using this 
  code. The link to FS is
  
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Cloudstack+Windowsfication#CloudstackWindowsfication-Installer
 
 
 Donal Lafferty wrote:
 Hi Damodar,
 
 Other reviews may differ in opinion, but IMHO manual setup steps have to 
 be documented precisely and in a form that other contributors can improve.  
 An excellent example is at 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows
   An example of where this level of detail is required is the Seed 
 SystemTemplate.  
 
 WRT testing, if would be highly unusual to claim Windows 2k12 R2 support 
 without having tried it in that environment.  Have you tried reaching to the 
 community for help verify your install steps on a Win2K12 R2?
 
 WRT accepting the code in this review, why not narrow the scope of the 
 submission.  The code above seems only to relate to Windows install for the 
 management server, but the title implies that all details of Windows support 
 will be covered.  Rather than commit a half-finished feature, why not break 
 windowsfication into a series of narrowly defined features.  You can then 
 make incremental submissions.
 
 DL

 
 Damodar Reddy Talakanti wrote:
 Hi Donal,
 
  We planned to do this in 2 phases. In the first phase we put changes to 
 be able to start and use management server on windows. We will pick up seed 
 template part and VMware related stuff in the second phase.
 
 I had tested on windows 2008 server. I will put a mail in the community 
 to get tested on the 2012 server. Till that time I will change the FS 
 probably.
 
 Definitely I will try to improve the FS to cover as much as possible in 
 detail.

Hi Damodar,

Thank you for looking into the testing.

WRT FS, I don't think you have to burden yourself with a lot of detail.  What 
I'd in mind was a setup guide and a build guide in a child page under the 
feature's wiki.  The guides would cover bits that aren't yet automated such as 
template deployment and MSI build.  As build steps were integrated into maven 
and python scripts introduced, the guides would shrink in size.  IMHO, the FS 
itself need only enumerate the big pieces of work and indicate which bits have 
been dealt with.  Doing so will manage tester and user expectations.

DL


- Donal


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


On March 18, 2014, 1:46 p.m., Damodar Reddy Talakanti wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/18964/
 ---
 
 (Updated March 18, 2014, 1:46 p.m.)
 
 
 Review request for cloudstack, Abhinandan Prateek, Chiradeep Vittal, daan 
 Hoogland, and Donal Lafferty.
 
 
 Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6105
 
 https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6105
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Windowsfication of CloudStack Management Server
 
 
 Diffs
 -
 
   scripts/installer/windows/acs.wxs PRE-CREATION 
   scripts/installer/windows/client.wxs PRE-CREATION 
   scripts/installer/windows/start.bat PRE-CREATION 
   scripts/vm/systemvm/injectkeys.py PRE-CREATION 
   server/src/com/cloud/server/ConfigurationServerImpl.java b8da4c8 
   server/test/com/cloud/server/ConfigurationServerImplTest.java 08a2097 
 
 Diff: https://reviews.apache.org/r/18964/diff/
 
 
 Testing
 ---
 
 Tested in Linux environment after changes 
 Also tested in Windows environment(For now tested on windows-8) to make sure 
 it is getting installed and management service is running.
 
 Able to add zones, able to register templates, able to launch a VM when it is 
 running on windows.
 
 Currently though it is getting added as a windows service, not able to start 
 the service through windows service control manager which I am looking into 
 currently. When run .exe file which is installed then server is getting up 
 and able to access cloud stack UI. 
 
 For now The following assumptions are made:
 1. SSH keys are already installed
 2. JAVA is already installed
 3. tomcat is already installed
 
 This patch contains the following new files related to WiX tool (To compile 
 and run we need this tool)
 1. acs.wxs
 The following command will be used to compile
   Path To WiX Tool\bin\candle.exe acs.wxs
 2. client.wxs
 The following command will be used to generate the above file
   Path To WiX Tool\bin\heat dir client -gg -cg Test  -ke 

Review Request 19457: CLOUDSTACK-6262: Fixed network throttling for hyper-v

2014-03-20 Thread Anshul Gangwar

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

Review request for cloudstack, Devdeep Singh and Rajesh Battala.


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


Repository: cloudstack-git


Description
---

Fixed network throttling in hyper-v, Now  network rate parameter is honored in 
hyper-v. Network rate parameter now set the max bandwidth of nic on hyper-v.


Diffs
-

  plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
d5cf7c9 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_EthernetSwitchPortBandwidthSettingData.cs
 PRE-CREATION 
  
plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj 
b4bf04b 

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


Testing
---

verified by seeing the maximum bandwidth value of nic of vm in hyper-v manager


Thanks,

Anshul Gangwar



Re: ACS and KVM uses /tmp for volumes migration and templates

2014-03-20 Thread Wido den Hollander

On 03/20/2014 12:59 AM, Andrei Mikhailovsky wrote:

Hi guys,

I was wondering if this is a bug?



No, it's a feature.


I've noticed that during volume migration from NFS to RBD primary storage the 
volume image is first copied to /tmp and only then to the RBD storage. This 
seems silly to me as one would expect a typical volume to be larger than the 
host's hard disk. Also, it is a common practice to use tmpfs as /tmp for 
performance reasons. Thus, a typical host server will have far smaller /tmp 
folder than the size of an average volume. As a result, volume migration would 
break after filling the /tmp and could probably cause a bunch of issue for the 
KVM host itself as well as any vms running on the server.



Correct. The problem was that RBD images know two formats. Format 1 
(old/legacy) and format 2.


In order to perform cloning images should be in RBD format 2.

When running qemu-img convert with a RBD image as a destination qemu-img 
will create a RBD image in format 1.


That's due to this piece of code in block/rbd.c in Qemu:

ret = rbd_create(io_ctx, name, bytes, obj_order);

rbd_create() creates images in format 1. To use format 2 you should use 
rbd_create2() or rbd_create3().


With RBD format 1 we can't do snapshotting or cloning, which we require 
in ACS.


So I had to do a intermediate step where I first wrote the RAW image 
somewhere and afterwards write it to RBD.


After some discussion a config option has been added to Ceph:

OPTION(rbd_default_format, OPT_INT, 1)

This allows me to do this:

qemu-img convert .. -O raw .. rbd:rbd/myimage:rbd_default_format=2

This causes librbd/RBD to create a format 2 image and we can skip the 
convert step to /tmp.


This option is available since Ceph Dumpling 0.67.5 and was not 
available when ACS 4.2 was written.


I'm going to make changes in master which skip the step with /tmp.

Technically this can be backported to 4.2, but then you would have to 
run your own homebrew version of 4.2



It also seems that the /tmp is temporarily used during a template creation .



Same story as above.


My setup:

ACS 4.2.1
Ubuntu 12.04 with KVM
RBD + NFS for Primary storage
NFS for Staging and Secondary storage


Thanks

Andrei





Re: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread Go Chiba
Thanks for your great work Chip.
and congrats Hugo!

Go Chiba
E-mail:go.ch...@gmail.com


On Thu, Mar 20, 2014 at 5:51 AM, Chip Childers chipchild...@apache.orgwrote:

 Per our project bylaws, we are changing our project's chair today!

 Over discussions during the last month the PMC had reached a consensus
 to recommend to the ASF board that Hugo Trippaers be accepted as the
 next Apache CloudStack PMC Chair / VP of Apache CloudStack.  As of
 today's ASF board meeting, this has been accepted and made official.

 Please join me in congratulating Hugo in his new role!

 It's been an honor serving the project as it's chair over the last year,
 and although I regret that my recent contributions have been diminished
 due to a change in $dayjob, I'm exceptionally proud to be part of this
 community. Apache CloudStack is amazing software, and the community that
 has formed around the code since it's donation to the ASF is nothing
 short of remarkable.

 -chip



Re: Review Request 19457: CLOUDSTACK-6262: Fixed network throttling for hyper-v

2014-03-20 Thread Rajesh Battala

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

Ship it!


Ship It!

- Rajesh Battala


On March 20, 2014, 9:25 a.m., Anshul Gangwar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19457/
 ---
 
 (Updated March 20, 2014, 9:25 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh and Rajesh Battala.
 
 
 Bugs: CLOUDSTACK-6262
 https://issues.apache.org/jira/browse/CLOUDSTACK-6262
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Fixed network throttling in hyper-v, Now  network rate parameter is honored 
 in hyper-v. Network rate parameter now set the max bandwidth of nic on 
 hyper-v.
 
 
 Diffs
 -
 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
 d5cf7c9 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/ROOT.virtualization.v2.Msvm_EthernetSwitchPortBandwidthSettingData.cs
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/DotNet/ServerResource/WmiWrappers/WmiWrappers.csproj
  b4bf04b 
 
 Diff: https://reviews.apache.org/r/19457/diff/
 
 
 Testing
 ---
 
 verified by seeing the maximum bandwidth value of nic of vm in hyper-v manager
 
 
 Thanks,
 
 Anshul Gangwar
 




Re: Review Request 19272: simulator manager impl changes to handle SetMonitorServiceCommand

2014-03-20 Thread Koushik Das

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

Ship it!


master - 07365c3dabf7d47e2ae537f7977e98d19c6303d2
4.4 - fc8cb754f0c6645bac5f35d8ad3d16e5e17a2d50

- Koushik Das


On March 17, 2014, 5:33 a.m., Rajani Karuturi wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19272/
 ---
 
 (Updated March 17, 2014, 5:33 a.m.)
 
 
 Review request for cloudstack, Abhinandan Prateek and Koushik Das.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 simulator manager impl changes to handle SetMonitorServiceCommand
 This fixes some of the test cases in the integration test 
 test_assign_vm.py when run against a simulator
 
 
 Diffs
 -
 
   
 plugins/hypervisors/simulator/src/com/cloud/agent/manager/SimulatorManagerImpl.java
  6fe9b40 
 
 Diff: https://reviews.apache.org/r/19272/diff/
 
 
 Testing
 ---
 
 verified by running the nosetests in test_assign_vm.py
 
 
 Thanks,
 
 Rajani Karuturi
 




Re: Review Request 18768: CLOUDSTACK-6151: Local data disk with tag goes to the wrong local storage pool

2014-03-20 Thread Koushik Das

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


Patch doesn't apply in master and 4.4. Can you create a new patch?

- Koushik Das


On March 5, 2014, 11:17 a.m., Saksham Srivastava wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/18768/
 ---
 
 (Updated March 5, 2014, 11:17 a.m.)
 
 
 Review request for cloudstack and Koushik Das.
 
 
 Bugs: CLOUDSTACK-6151
 https://issues.apache.org/jira/browse/CLOUDSTACK-6151
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Patch for master :
 https://reviews.apache.org/r/18352/
 
 
 Diffs
 -
 
   
 engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
  08efb83 
   
 engine/schema/src/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDao.java
  2c4369d 
   
 engine/schema/src/org/apache/cloudstack/storage/datastore/db/PrimaryDataStoreDaoImpl.java
  57afa16 
   server/test/resources/createNetworkOffering.xml c6228da 
 
 Diff: https://reviews.apache.org/r/18768/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Saksham Srivastava
 




Re: Review Request 19399: CLOUDSTACK-6257: Resolving issue in template creation from user VM volume, added method to check the state of VM before template creation

2014-03-20 Thread Ashutosh Kelkar


 On March 19, 2014, 3:32 p.m., Santhosh Edukulla wrote:
  test/integration/component/test_usage.py, line 680
  https://reviews.apache.org/r/19399/diff/1/?file=528014#file528014line680
 
  Also, just a thought. If stop operation itself verifies the state and 
  return, so test case can check some thing like if virtual_machine.stop() == 
  FAIL:
raise\fail. I believe we can use getState inside stop operation 
  itself. Basically, stop operation return can be enforced and checked.
 

Here if we don't want to touch existing test cases with stop operation, we will 
have to raise Exception through stop method if getState return FAIL to Stop 
method. Is that ok?


- Ashutosh


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


On March 19, 2014, 3:10 p.m., Ashutosh Kelkar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19399/
 ---
 
 (Updated March 19, 2014, 3:10 p.m.)
 
 
 Review request for cloudstack and Santhosh Edukulla.
 
 
 Bugs: CLOUDSTACK-6257
 https://issues.apache.org/jira/browse/CLOUDSTACK-6257
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 As suggested, added getState method for VirtualMachine class, and it is 
 called before template creation. If VM fails to go into desired state, it 
 returns failure.
 
 
 Diffs
 -
 
   test/integration/component/test_project_usage.py ba0a63c 
   test/integration/component/test_resource_limits.py f0d558e 
   test/integration/component/test_tags.py 2a6e076 
   test/integration/component/test_templates.py 3e83615 
   test/integration/component/test_usage.py 5979a0a 
   tools/marvin/marvin/integration/lib/base.py 775b289 
 
 Diff: https://reviews.apache.org/r/19399/diff/
 
 
 Testing
 ---
 
 Yes.
 
 
 Thanks,
 
 Ashutosh Kelkar
 




Simulator : Error while creating a snapshot from a VM

2014-03-20 Thread Meghna Kale
Hi All,

I have been seeing an error while creating a snapshot from a VM in the
Simulator.
I faced this issue on both the versions 4.2 and 4.3.

Can anyone help me or provide pointers.

A similar NullPointer error is also thrown while creating a VM from a
personal template created from an existing VM.

Error from vmops.log :

ERROR [cloud.api.ApiServer] (31312594@qtp-24163675-2:) unhandled exception
executing api command: createVMSnapshot
java.lang.NullPointerException
at
com.cloud.hypervisor.dao.HypervisorCapabilitiesDaoImpl.isVmSnapshotEnabled(HypervisorCapabilitiesDaoImpl.java:103)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at
com.cloud.vm.snapshot.VMSnapshotManagerImpl.allocVMSnapshot(VMSnapshotManagerImpl.java:257)
at
org.apache.cloudstack.api.command.user.vmsnapshot.CreateVMSnapshotCmd.create(CreateVMSnapshotCmd.java:78)
at
com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:461)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Thanks
Meghna.


RE: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread Paul Angus
Congratulations Hugo!
And thanks to Chip for steering us so far already.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Chip Childers [mailto:chipchild...@apache.org]
Sent: 19 March 2014 20:52
To: dev@cloudstack.apache.org
Subject: [ANNOUNCE] Change of Apache CloudStack PMC Chair

Per our project bylaws, we are changing our project's chair today!

Over discussions during the last month the PMC had reached a consensus to 
recommend to the ASF board that Hugo Trippaers be accepted as the next Apache 
CloudStack PMC Chair / VP of Apache CloudStack.  As of today's ASF board 
meeting, this has been accepted and made official.

Please join me in congratulating Hugo in his new role!

It's been an honor serving the project as it's chair over the last year, and 
although I regret that my recent contributions have been diminished due to a 
change in $dayjob, I'm exceptionally proud to be part of this community. Apache 
CloudStack is amazing software, and the community that has formed around the 
code since it's donation to the ASF is nothing short of remarkable.

-chip
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://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 is a registered trademark.


RE: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread Giles Sirett
Congratulations Hugo

I'd like to thank Chip for all of his time, effort and commitment over the last 
12 months. Chip will  be a hard act to follow but Hugo, I'm sure, will also 
excel in the role.


Kind Regards
Giles

D: +44 20 3603 0541 | M: +44 796 111 2055
giles.sir...@shapeblue.com




-Original Message-
From: Chip Childers [mailto:chipchild...@apache.org]
Sent: 19 March 2014 20:52
To: dev@cloudstack.apache.org
Subject: [ANNOUNCE] Change of Apache CloudStack PMC Chair

Per our project bylaws, we are changing our project's chair today!

Over discussions during the last month the PMC had reached a consensus to 
recommend to the ASF board that Hugo Trippaers be accepted as the next Apache 
CloudStack PMC Chair / VP of Apache CloudStack.  As of today's ASF board 
meeting, this has been accepted and made official.

Please join me in congratulating Hugo in his new role!

It's been an honor serving the project as it's chair over the last year, and 
although I regret that my recent contributions have been diminished due to a 
change in $dayjob, I'm exceptionally proud to be part of this community. Apache 
CloudStack is amazing software, and the community that has formed around the 
code since it's donation to the ASF is nothing short of remarkable.

-chip
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://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 is a registered trademark.


[GSOC2014]Improve GCE and EC2 python bridges to CloudStack

2014-03-20 Thread Darren Brogan
Hey guys,

For GSOC 2014 I plan to take a look at improving the GCE and EC2 python
bridges to Cloudstack. This addresses
https://issues.apache.org/jira/browse/CLOUDSTACK-6197

You can view my public Google Melange proposal at:
http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/brogand93/5629499534213120

If any of you have any advice or feedback then let me know.

Thanks,
Darren


Errors building master

2014-03-20 Thread Alex Hitchins

Anyone else seing this?

[ERROR] Failed to execute goal on project cloud-client-ui: Could not resolve 
dependencies for project 
org.apache.cloudstack:cloud-client-ui:war:4.5.0-SNAPSHOT:
Could not find artifact 
org.apache.cloudstack:cloud-plugin-storage-volume-cloudbyte:jar:4.5.0-SNAPSHOT 
in apache.snapshots (http://repository.apache.org/snapshots) - [Help 1]

Is there somewhere I can manually download the cloudbyte dependency?

Alex

.
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://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 is a registered trademark.


Re: Review Request 17531: CLOUDSTACK-5440 - Added new guest OS types.

2014-03-20 Thread Alexander Hitchins

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

(Updated March 20, 2014, 11:50 a.m.)


Review request for cloudstack and Devdeep Singh.


Changes
---

Devdeep, I've updated this review request with the amended diff. I will close 
the other review request.


Repository: cloudstack-git


Description
---

Added new guest OS types in upgrade script.


Diffs (updated)
-

  setup/db/db/schema-430to440.sql acc7e21 

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


Testing
---

Ran new SQL, no errors, checked table, contains correct data.


Thanks,

Alexander Hitchins



Re: Review Request 19034: Assigning LB rule to vm nic secondary ip

2014-03-20 Thread Jayapal Reddy


 On March 14, 2014, 7:38 p.m., Chiradeep Vittal wrote:
  api/src/com/cloud/network/lb/LoadBalancingRulesService.java, line 97
  https://reviews.apache.org/r/19034/diff/1/?file=516169#file516169line97
 
  HoW ABOUT DESCRIBING THE ADDITIONAL PARAMETER IN THE COMMENTS

updated the comment


 On March 14, 2014, 7:38 p.m., Chiradeep Vittal wrote:
  api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignToLoadBalancerRuleCmd.java,
   line 123
  https://reviews.apache.org/r/19034/diff/1/?file=516171#file516171line123
 
  Prefer returning empty map instead of null

updated to return empty map


 On March 14, 2014, 7:38 p.m., Chiradeep Vittal wrote:
  server/src/com/cloud/network/NetworkServiceImpl.java, line 811
  https://reviews.apache.org/r/19034/diff/1/?file=516175#file516175line811
 
  Why not put this code in the LB manager.

Moved to LB manager


 On March 14, 2014, 7:38 p.m., Chiradeep Vittal wrote:
  server/src/com/cloud/network/as/AutoScaleManagerImpl.java, line 1410
  https://reviews.apache.org/r/19034/diff/1/?file=516176#file516176line1410
 
  prefer passing empty maps

done


 On March 14, 2014, 7:38 p.m., Chiradeep Vittal wrote:
  server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java, line 939
  https://reviews.apache.org/r/19034/diff/1/?file=516177#file516177line939
 
  You should have a test written for this condition

done


 On March 14, 2014, 7:38 p.m., Chiradeep Vittal wrote:
  server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java, line 945
  https://reviews.apache.org/r/19034/diff/1/?file=516177#file516177line945
 
  if you had passed in an EMPTY map from the API level you wouldn't have 
  to check for nullness

updated to pass empty map and removed null check


- Jayapal


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


On March 11, 2014, 12:04 p.m., Jayapal Reddy wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19034/
 ---
 
 (Updated March 11, 2014, 12:04 p.m.)
 
 
 Review request for cloudstack, Abhinandan Prateek, Chiradeep Vittal, Kishan 
 Kavala, and Murali Reddy.
 
 
 Bugs: CLOUDSTACK-2692
 https://issues.apache.org/jira/browse/CLOUDSTACK-2692
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 With this feature load balancing rules assigned/associated to any ip of the 
 vm nic. The vm nic ip can be primary ip or nic secondary ip.
 
 
 Diffs
 -
 
   api/src/com/cloud/network/lb/LoadBalancingRulesService.java 4c87d34 
   api/src/org/apache/cloudstack/api/ApiConstants.java 0a3fafd 
   
 api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignToLoadBalancerRuleCmd.java
  6bd7537 
   engine/schema/src/com/cloud/network/dao/LoadBalancerVMMapDao.java 79eaf8e 
   engine/schema/src/com/cloud/network/dao/LoadBalancerVMMapDaoImpl.java 
 b0b14fc 
   engine/schema/src/com/cloud/network/dao/LoadBalancerVMMapVO.java 0a67106 
   server/src/com/cloud/network/NetworkServiceImpl.java ebeb31a 
   server/src/com/cloud/network/as/AutoScaleManagerImpl.java 2fa3821 
   server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 6f0c1e9 
   setup/db/db/schema-430to440.sql ee4cf21 
 
 Diff: https://reviews.apache.org/r/19034/diff/
 
 
 Testing
 ---
 
 Tested configuring the LB rules to vm primary ip and vm secondary ip.
 The haproxy config is created correctly for the selected ip.
 
 
 Thanks,
 
 Jayapal Reddy
 




Re: Review Request 19399: CLOUDSTACK-6257: Resolving issue in template creation from user VM volume, added method to check the state of VM before template creation

2014-03-20 Thread Ashutosh Kelkar

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

(Updated March 20, 2014, 11:56 a.m.)


Review request for cloudstack and Santhosh Edukulla.


Changes
---

Review changes.


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


Repository: cloudstack-git


Description
---

As suggested, added getState method for VirtualMachine class, and it is called 
before template creation. If VM fails to go into desired state, it returns 
failure.


Diffs (updated)
-

  test/integration/component/test_project_usage.py ba0a63c 
  test/integration/component/test_resource_limits.py f0d558e 
  test/integration/component/test_tags.py 2a6e076 
  test/integration/component/test_templates.py 3e83615 
  test/integration/component/test_usage.py 5979a0a 
  tools/marvin/marvin/codes.py e4a0f6a 
  tools/marvin/marvin/integration/lib/base.py 775b289 

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


Testing
---

Yes.


Thanks,

Ashutosh Kelkar



Re: Cloudstack documentation

2014-03-20 Thread Pierre-Luc Dion
Thanks Sebastien for the pull request.
I will submit a new one to fix a tables and internal reference links later
this week.

I haven't found how we should update internal links. Look like we would
have to change them for ex:  `networking2.html#create vpn`
Anyone know another method to create link to topic from another file?

Also, could we split networking2.rst file into multiple parts?

Thanks

Le mardi 18 mars 2014, sebgoa run...@gmail.com a écrit :


 On Mar 18, 2014, at 3:50 PM, Pierre-Luc Dion 
 pd...@cloudops.comjavascript:;
 wrote:

  Thanks Sebastien,
 
 
  Seams quite complete! Is there a reason why doc url on
  http://cloudstack.apache.org/ still point to the old doc ?

 My plan is to make the switch once 4.3 is out.

 There is still some cleaning up to do on the .rst/RTD stuff which would be
 nice to fix before making it official.

 Also, we might have to vote on docs releases...haven't touched that one yet
 :)

 -sebastien

 
 
 
  Pierre-Luc Dion
  Architecte de Solution Cloud | Cloud Solutions Architect
  514-447-3456, 1101
  - - -
 
  *CloudOps*420 rue Guy
  Montréal QC  H3J 1S6
  www.cloudops.com
  @CloudOps_
 
 
  On Tue, Mar 18, 2014 at 10:16 AM, sebgoa run...@gmail.comjavascript:;
 wrote:
 
 
  On Mar 18, 2014, at 3:02 PM, Pierre-Luc Dion 
  pd...@cloudops.comjavascript:;
 wrote:
 
  Thanks Wido,
 
  Cool, look like the rtd version is in there too.  so I guest we need a
  lot
  of work on conversion from publican to RST?
 
  It' already done :) I'd be mean I would tell you to search the mailing
  list :)
 
  If you search the cloudstack mirrors on github:
  https://github.com/orgs/apache?query=cloudstack
 
  you will see four documentation repo.
  cloudstack-docs
  cloudstack-docs-rn (release notes)
  cloudstack-docs-admin (the admin guide)
  cloudstack-docs-install (the installation guide)
 
  the rn, admin and installation guide are pure rest, and are a conversion
  of the publican to .rst. there is still work to do, especially on the
 admin
  guide.
 
  These docs are pushed automatically to readthedocs.org and provide:
 
  http://apache-cloudstack-release-notes.readthedocs.org/en/latest/
  http://cloudstack-installation.readthedocs.org/en/latest/
  http://cloudstack-administration.readthedocs.org/en/latest/
  http://docs.cloudstack.apache.org
 
  I am actively working on cleaning this up and fixing the URLs/CNAMEs.
 
  The easiest way to contribute is *really* to visit the RTD sites and
 click
  on the edit on github button, this will automatically fork the repo in
  your github account.
  You can then submit a pull request. It will send a notification on
 dev@list and we can merge it.
 
  There is still lots of work to do, both on the formatting (the
 conversion
  was not perfect) and the content of course.
 
  Have at it, I'd be delighted to merge your patches :)
 
  -sebastien
 
 
 
 
 
  Pierre-Luc Dion
  Architecte de Solution Cloud | Cloud Solutions Architect
  514-447-3456, 1101
  - - -
 
  *CloudOps*420 rue Guy
  Montréal QC  H3J 1S6
  www.cloudops.com
  @CloudOps_
 
 
  On Tue, Mar 18, 2014 at 9:15 AM, Wido den Hollander 
  w...@widodh.nljavascript:;
 
  wrote:
 
  On 03/18/2014 02:08 PM, Pierre-Luc Dion wrote:
 
  Hi all,
 
  I would like to know where we can get newer version of documentation
  for
  Cloudstack. Look like the documentation site is not updated since
  4.2.0. I
  know that the documentation system will change, is their any
  information
  about it somewhere?
 
 
  Yes, it moved to it's own repository: https://git-wip-us.apache.org/
  repos/asf?p=cloudstack-docs.git
 
  $ git clone
 https://git-wip-us.apache.org/repos/asf/cloudstack-docs.git
 
  From there you can probably build the docs yourself. Be aware that we
  are
  moving to RST.
 
 
  Also, I would like to contribute as well.
 
 
  Patches are always welcome!
 
  Thanks,
 
  Pierre-Luc Dion
  Architecte de Solution Cloud | Cloud Solutions Architect
  - - -
 
  *CloudOps*420 rue Guy
 
  Montréal QC  H3J 1S6
  www.cloudops.com
  @CloudOps_
 
 
 
 
 



-- 

Pierre-Luc Dion
Architecte de Solution Cloud | Cloud Solutions Architect
514-447-3456, 1101
- - -

*CloudOps*420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_


Review Request 19460: Check for returned null, throw exception rather than continue.

2014-03-20 Thread Alexander Hitchins

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

Review request for cloudstack.


Repository: cloudstack-git


Description
---

https://issues.apache.org/jira/browse/CLOUDSTACK-5825

I've added a check for null returned. Previously it would return even though 
there were errors. If null is returned, the takeSnapshot raised and caught an 
exception. I check for null and if received throw a new exception rather than 
continue the flow.


Diffs
-

  server/src/com/cloud/storage/VolumeApiServiceImpl.java 5ffa99b 

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


Testing
---

Compiled and deployed on a new test system, completed steps and snapshots 
created successfully. 

I could not re-create a snapshot error, however normal operation is as 
expected. It's better it throws an exception rather than continue to log it's 
successful when it's not.


Thanks,

Alexander Hitchins



Re: Cloudstack documentation

2014-03-20 Thread Sebastien Goasguen

On Mar 20, 2014, at 8:00 AM, Pierre-Luc Dion pd...@cloudops.com wrote:

 Thanks Sebastien for the pull request.
 I will submit a new one to fix a tables and internal reference links later
 this week.

no thank you. Make sure you pull before your next patch, I made more changes 
this morning.

 
 I haven't found how we should update internal links. Look like we would
 have to change them for ex:  `networking2.html#create vpn`
 Anyone know another method to create link to topic from another file?
 

I have not looked on how to do this across files.
But I think you should be able to do an implicite hyperlink target:

http://docutils.sourceforge.net/docs/user/rst/quickref.html#internal-hyperlink-targets

Since sphinx combines all files, it should find the section titles etc..nicely.

 Also,
 could we split networking2.rst file into multiple parts?
 

Have at it, feel free to edit the content (not just formatting). The whole idea 
of changing format and submission process is to make it easy to edit and 
improve the quality of the content.

-sebastien

 Thanks
 
 Le mardi 18 mars 2014, sebgoa run...@gmail.com a écrit :
 
 
 On Mar 18, 2014, at 3:50 PM, Pierre-Luc Dion 
 pd...@cloudops.comjavascript:;
 wrote:
 
 Thanks Sebastien,
 
 
 Seams quite complete! Is there a reason why doc url on
 http://cloudstack.apache.org/ still point to the old doc ?
 
 My plan is to make the switch once 4.3 is out.
 
 There is still some cleaning up to do on the .rst/RTD stuff which would be
 nice to fix before making it official.
 
 Also, we might have to vote on docs releases...haven't touched that one yet
 :)
 
 -sebastien
 
 
 
 
 Pierre-Luc Dion
 Architecte de Solution Cloud | Cloud Solutions Architect
 514-447-3456, 1101
 - - -
 
 *CloudOps*420 rue Guy
 Montréal QC  H3J 1S6
 www.cloudops.com
 @CloudOps_
 
 
 On Tue, Mar 18, 2014 at 10:16 AM, sebgoa run...@gmail.comjavascript:;
 wrote:
 
 
 On Mar 18, 2014, at 3:02 PM, Pierre-Luc Dion 
 pd...@cloudops.comjavascript:;
 wrote:
 
 Thanks Wido,
 
 Cool, look like the rtd version is in there too.  so I guest we need a
 lot
 of work on conversion from publican to RST?
 
 It' already done :) I'd be mean I would tell you to search the mailing
 list :)
 
 If you search the cloudstack mirrors on github:
 https://github.com/orgs/apache?query=cloudstack
 
 you will see four documentation repo.
 cloudstack-docs
 cloudstack-docs-rn (release notes)
 cloudstack-docs-admin (the admin guide)
 cloudstack-docs-install (the installation guide)
 
 the rn, admin and installation guide are pure rest, and are a conversion
 of the publican to .rst. there is still work to do, especially on the
 admin
 guide.
 
 These docs are pushed automatically to readthedocs.org and provide:
 
 http://apache-cloudstack-release-notes.readthedocs.org/en/latest/
 http://cloudstack-installation.readthedocs.org/en/latest/
 http://cloudstack-administration.readthedocs.org/en/latest/
 http://docs.cloudstack.apache.org
 
 I am actively working on cleaning this up and fixing the URLs/CNAMEs.
 
 The easiest way to contribute is *really* to visit the RTD sites and
 click
 on the edit on github button, this will automatically fork the repo in
 your github account.
 You can then submit a pull request. It will send a notification on
 dev@list and we can merge it.
 
 There is still lots of work to do, both on the formatting (the
 conversion
 was not perfect) and the content of course.
 
 Have at it, I'd be delighted to merge your patches :)
 
 -sebastien
 
 
 
 
 
 Pierre-Luc Dion
 Architecte de Solution Cloud | Cloud Solutions Architect
 514-447-3456, 1101
 - - -
 
 *CloudOps*420 rue Guy
 Montréal QC  H3J 1S6
 www.cloudops.com
 @CloudOps_
 
 
 On Tue, Mar 18, 2014 at 9:15 AM, Wido den Hollander 
 w...@widodh.nljavascript:;
 
 wrote:
 
 On 03/18/2014 02:08 PM, Pierre-Luc Dion wrote:
 
 Hi all,
 
 I would like to know where we can get newer version of documentation
 for
 Cloudstack. Look like the documentation site is not updated since
 4.2.0. I
 know that the documentation system will change, is their any
 information
 about it somewhere?
 
 
 Yes, it moved to it's own repository: https://git-wip-us.apache.org/
 repos/asf?p=cloudstack-docs.git
 
 $ git clone
 https://git-wip-us.apache.org/repos/asf/cloudstack-docs.git
 
 From there you can probably build the docs yourself. Be aware that we
 are
 moving to RST.
 
 
 Also, I would like to contribute as well.
 
 
 Patches are always welcome!
 
 Thanks,
 
 Pierre-Luc Dion
 Architecte de Solution Cloud | Cloud Solutions Architect
 - - -
 
 *CloudOps*420 rue Guy
 
 Montréal QC  H3J 1S6
 www.cloudops.com
 @CloudOps_
 
 
 
 
 
 
 
 
 -- 
 
 Pierre-Luc Dion
 Architecte de Solution Cloud | Cloud Solutions Architect
 514-447-3456, 1101
 - - -
 
 *CloudOps*420 rue Guy
 Montréal QC  H3J 1S6
 www.cloudops.com
 @CloudOps_



Re: [GSOC2014]Improve GCE and EC2 python bridges to CloudStack

2014-03-20 Thread Sebastien Goasguen

On Mar 20, 2014, at 7:18 AM, Darren Brogan brogan...@darrenbrogan.ie wrote:

 Hey guys,
 
 For GSOC 2014 I plan to take a look at improving the GCE and EC2 python
 bridges to Cloudstack. This addresses
 https://issues.apache.org/jira/browse/CLOUDSTACK-6197
 
 You can view my public Google Melange proposal at:
 http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/brogand93/5629499534213120
 
 If any of you have any advice or feedback then let me know.
 
 Thanks,
 Darren

Thanks much for the work you have done on this already, it's great to see you 
on the list.

We will review the proposal,

-Sebastien



Re: [ANNOUNCE] Change of Apache CloudStack PMC Chair

2014-03-20 Thread SuichII, Christopher
Thanks for everything, Chip and thanks to Hugo for stepping up!

-Chris
-- 
Chris Suich
chris.su...@netapp.com
NetApp Software Engineer
Data Center Platforms – Cloud Solutions
Citrix, Cisco  Red Hat

On Mar 20, 2014, at 6:55 AM, Paul Angus paul.an...@shapeblue.com wrote:

 Congratulations Hugo!
 And thanks to Chip for steering us so far already.
 
 Regards
 
 Paul Angus
 Cloud Architect
 S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
 paul.an...@shapeblue.com
 
 -Original Message-
 From: Chip Childers [mailto:chipchild...@apache.org]
 Sent: 19 March 2014 20:52
 To: dev@cloudstack.apache.org
 Subject: [ANNOUNCE] Change of Apache CloudStack PMC Chair
 
 Per our project bylaws, we are changing our project's chair today!
 
 Over discussions during the last month the PMC had reached a consensus to 
 recommend to the ASF board that Hugo Trippaers be accepted as the next Apache 
 CloudStack PMC Chair / VP of Apache CloudStack.  As of today's ASF board 
 meeting, this has been accepted and made official.
 
 Please join me in congratulating Hugo in his new role!
 
 It's been an honor serving the project as it's chair over the last year, and 
 although I regret that my recent contributions have been diminished due to a 
 change in $dayjob, I'm exceptionally proud to be part of this community. 
 Apache CloudStack is amazing software, and the community that has formed 
 around the code since it's donation to the ASF is nothing short of remarkable.
 
 -chip
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.
 
 Apache CloudStack Bootcamp training courses
 
 **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://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 is a registered 
 trademark.



Re: Review Request 18964: Windowsfication of CloudStack Management Server - Changes to support windows OS

2014-03-20 Thread Damodar Reddy Talakanti


 On March 19, 2014, 11:09 a.m., daan Hoogland wrote:
  Damoder,
  
  You introduced some trailing whitespace in this version of the diff.
  As far as I can judge it it looks alright.
  One remark I have: scripts/installer/windows/client.wxs looks like it is 
  generated by some tool from some source. Is it? Can we include that source 
  instead?

Hi Daan,

 Yes client.wxs is generated by Wix Tool. Actually it is a command line command 
to generate that source file. At the max I can put a readme file to include 
those commands to geenerate this file. I already posted these commands on FS. 
What do you suggest? Shall we remove that file and simply put a readme


- Damodar Reddy


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


On March 18, 2014, 1:46 p.m., Damodar Reddy Talakanti wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/18964/
 ---
 
 (Updated March 18, 2014, 1:46 p.m.)
 
 
 Review request for cloudstack, Abhinandan Prateek, Chiradeep Vittal, daan 
 Hoogland, and Donal Lafferty.
 
 
 Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6105
 
 https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6105
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Windowsfication of CloudStack Management Server
 
 
 Diffs
 -
 
   scripts/installer/windows/acs.wxs PRE-CREATION 
   scripts/installer/windows/client.wxs PRE-CREATION 
   scripts/installer/windows/start.bat PRE-CREATION 
   scripts/vm/systemvm/injectkeys.py PRE-CREATION 
   server/src/com/cloud/server/ConfigurationServerImpl.java b8da4c8 
   server/test/com/cloud/server/ConfigurationServerImplTest.java 08a2097 
 
 Diff: https://reviews.apache.org/r/18964/diff/
 
 
 Testing
 ---
 
 Tested in Linux environment after changes 
 Also tested in Windows environment(For now tested on windows-8) to make sure 
 it is getting installed and management service is running.
 
 Able to add zones, able to register templates, able to launch a VM when it is 
 running on windows.
 
 Currently though it is getting added as a windows service, not able to start 
 the service through windows service control manager which I am looking into 
 currently. When run .exe file which is installed then server is getting up 
 and able to access cloud stack UI. 
 
 For now The following assumptions are made:
 1. SSH keys are already installed
 2. JAVA is already installed
 3. tomcat is already installed
 
 This patch contains the following new files related to WiX tool (To compile 
 and run we need this tool)
 1. acs.wxs
 The following command will be used to compile
   Path To WiX Tool\bin\candle.exe acs.wxs
 2. client.wxs
 The following command will be used to generate the above file
   Path To WiX Tool\bin\heat dir client -gg -cg Test  -ke -sfrag 
 -template fragment -out client.wxs  -var wix.SourceClient -dr WEBAPPS
 The following command will be used to compile the above generated file
   Path To WiX Tool\bin\candle.exe client.wxs
 3. The following command will be used to generate .msi file
   Path To WiX Tool\bin\light.exe acs.wixobj client.wixobj -out 
 acs.msi  -ext C:\Program Files (x86)\WiX Toolset 
 v3.8\bin\WixUIExtension.dll -dSourceClient=SourceDir\client
 
 
 Thanks,
 
 Damodar Reddy Talakanti
 




Re: 4.4 Feature Freeze

2014-03-20 Thread Hugo Trippaers
Hey Pradeep,

Mike did a good job explaining the process. The 4.4 branch is now in what we 
call “Feature Freeze”, this means that no new features will be added. You can 
commit your feature to the master branch now and it will be included in the 
next (4.5 probably) release.

The 4.4 branch will be limited to bug fixes and stability improvements on 
existing features.

The feature freeze for 4.5 is estimated at friday may 16 with a possible 
release date two months later.

Cheers,

Hugo

On 20 mrt. 2014, at 09:58, Pradeep Cloudstack pradeepcloudst...@yahoo.com 
wrote:

 Yes Mike
 
 -Pradeep
 
 
 
 
 
 From: Mike Tutkowski mike.tutkow...@solidfire.com
 To: dev@cloudstack.apache.org dev@cloudstack.apache.org; Pradeep 
 Cloudstack pradeepcloudst...@yahoo.com 
 Cc: Chiradeep Vittal chiradeep.vit...@citrix.com; Animesh Chaturvedi 
 animesh.chaturv...@citrix.com 
 Sent: Thursday, March 20, 2014 10:34 AM
 Subject: Re: 4.4 Feature Freeze
 
 
 It looks like your code is exclusively related to a network plug-in, is
 that correct? In other words, you do not modify any CloudStack core code,
 but rather solely interface with CloudStack via a plug-in interface.
 
 
 On Wed, Mar 19, 2014 at 10:50 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:
 
 Hugo can talk about this in more depth, but the idea is that you develop
 your feature in your own branch (every now and then rebasing your work on
 top of what's been put into master to keep it current).
 
 At some point, there is what we call Feature Freeze (that was last week
 Friday).
 
 On this day (ideally beforehand, if reasonably possible), all new features
 must be taken from your branch and put into the master branch. At some
 point in the day, a new branch - in this case, called 4.4 - is made and
 then master is used for the release to follow 4.4.
 
 After Feature Freeze, all changes to 4.4 should be accompanied by a JIRA
 ticket (ideally this would always be the case) and most of our 4.4 effort
 is placed into testing what we have versus adding new features to it.
 
 
 On Wed, Mar 19, 2014 at 10:44 PM, Pradeep Cloudstack 
 pradeepcloudst...@yahoo.com wrote:
 
 Hi Sudha,Mike,Hogo,
 this is a new feature (and I am also new to the process)
 So I am not quite getting the meaning of All merges are done last week.
 
 -Pradeep
 
 
 
 
 
   From: Sudha Ponnaganti sudha.ponnaga...@citrix.com
 To: dev@cloudstack.apache.org dev@cloudstack.apache.org; Pradeep
 Cloudstack pradeepcloudst...@yahoo.com; Chiradeep Vittal 
 chiradeep.vit...@citrix.com; Animesh Chaturvedi 
 animesh.chaturv...@citrix.com
 Sent: Thursday, March 20, 2014 10:04 AM
 Subject: RE: 4.4 Feature Freeze
 
 
 It is too late already - All merges are done last week. It can go in to
 4.5 (Master)
 
 
 -Original Message-
 From: Pradeep Cloudstack [mailto:pradeepcloudst...@yahoo.com]
 Sent: Wednesday, March 19, 2014 9:30 PM
 To: dev@cloudstack.apache.org; Chiradeep Vittal; Animesh Chaturvedi
 Subject: Re: 4.4 Feature Freeze
 
 Hi Mike,
 the following feature
 https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36274178
 is there under 4.4 Design documents.
 
 How do I check if this feature is part of 4.4 ?
 
 I had sent out a Proposal sometime back about this feature
 
 -Pradeep
 
 
 
 
 
 From: Mike Tutkowski mike.tutkow...@solidfire.com
 To: dev@cloudstack.apache.org dev@cloudstack.apache.org; Pradeep
 Cloudstack pradeepcloudst...@yahoo.com
 Sent: Thursday, March 20, 2014 9:52 AM
 Subject: Re: 4.4 Feature Freeze
 
 
 I'm not sure if we have a code freeze per se, but feature freeze was
 last week Friday. Technically all features that are to go into 4.4 should
 have been in master on that day when the 4.4 branch was cut.
 
 
 On Wed, Mar 19, 2014 at 10:01 PM, Pradeep Cloudstack 
 pradeepcloudst...@yahoo.com wrote:
 
 What is the code-freeze date for 4.4 ?
 I need to commit the following feature -
 
 
 https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=36274178
 
 
 -Pradeep
 
 
 
 
 
 On Friday, March 14, 2014 8:13 PM, Sudha Ponnaganti 
 sudha.ponnaga...@citrix.com wrote:
 
 Other alternative is to block further check-ins till blocking issue is
 fixed. As long as BVTs are good then it can be opened up for further
 check
 ins.  Just a suggestion.
 
 
 -Original Message-
 From: Marcus [mailto:shadow...@gmail.com]
 Sent: Friday, March 14, 2014 7:40 AM
 To: dev@cloudstack.apache.org
 Subject: Re: 4.4 Feature Freeze
 
 It may even just be a behavioral change or something simple I missed
 that
 is now required with a recent check-in. Obviously I don't feel
 comfortable
 merging in my feature branch though when I pull from master and can no
 longer run my own feature tests.
 
 On Fri, Mar 14, 2014 at 8:35 AM, Marcus shadow...@gmail.com wrote:
 I'm not sure what the offending ones are at the moment, and there was
 recently a  feature merge that was not squashed, so it might be a
 

Feature Freeze 4.4

2014-03-20 Thread Hugo Trippaers
/*
 Sorry guys, just noticed that this email got stuck in my out folder and was 
never actually sent. 
 Resending as the dates are still relevant.

*/




Hey all,

As previously announced the tree leading up to the 4.4 release is now 
considered in feature freeze.

To reflect this i’ve created a separate branch called ‘4.4’ with version 
4.4.0-SNAPSHOT, the master branch is changed to use the version number for the 
next iteration, 4.5.0-SNAPSHOT.

The Jenkins jobs for the 4.4 version are at 
http://jenkins.buildacloud.org/view/4.4/

For reference the important dates in the 4.4 release cycle are:

Feature Freeze: March 14, 2014
Testing/Bug Fixes:  March 15, 2014 till April 18, 2014  
(direct access for committers)
Stability Fixes only:   April 19, 2014 till release (cherry 
picks by RM only)
First RC:   May 9, 2014
Optimistic Release Date:May 19, 2014

(Please keep in mind those dates reflect the locality of the release manager, 
me, so expect all changes to occur during business hours in the CET timezone.)

Release Manager: Hugo h...@apache.org
Backup Release Manager: Daan daan.hoogl...@gmail.com

Cheers,

Hugo

Re: Review Request 19460: Check for returned null, throw exception rather than continue.

2014-03-20 Thread Chris Suich

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


It looks like VolumeServiceImpl.takeSnapshot() is the method who isn't properly 
handling the exception. It is also called from multiple places (namely 
VolumeApiServiceImpl.takeSnapshot() and 
VolumeApiServiceImpl.orchestrateTakeVolumeSnapshot()).

It looks like your fix is only handling one of those cases. If you were to put 
the throw statement into VolumeServiceImpl.takeSnapshot()'s catch instead of 
just ignoring the exception it would be handled for anyone who tries to take a 
snapshot.

- Chris Suich


On March 20, 2014, noon, Alex Hitchins wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19460/
 ---
 
 (Updated March 20, 2014, noon)
 
 
 Review request for cloudstack.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 https://issues.apache.org/jira/browse/CLOUDSTACK-5825
 
 I've added a check for null returned. Previously it would return even though 
 there were errors. If null is returned, the takeSnapshot raised and caught an 
 exception. I check for null and if received throw a new exception rather than 
 continue the flow.
 
 
 Diffs
 -
 
   server/src/com/cloud/storage/VolumeApiServiceImpl.java 5ffa99b 
 
 Diff: https://reviews.apache.org/r/19460/diff/
 
 
 Testing
 ---
 
 Compiled and deployed on a new test system, completed steps and snapshots 
 created successfully. 
 
 I could not re-create a snapshot error, however normal operation is as 
 expected. It's better it throws an exception rather than continue to log it's 
 successful when it's not.
 
 
 Thanks,
 
 Alex Hitchins
 




concole proxy in 4.3RC9

2014-03-20 Thread Daan Hoogland
H,

since RC8 I no longer can reach my consoles of vms in my test env. I
am not sure if this is my setup yet or some new bug. My network hasn't
changed as far as I know, nor has my test setup script.

Does anybody else have this problem as well? Does any of the realip
changes have influence on the way the consoleproxy is addressed, that
I should take into account?

-- 
Daan


Re: Review Request 19460: Check for returned null, throw exception rather than continue.

2014-03-20 Thread Alex Hitchins


 On March 20, 2014, 1:29 p.m., Chris Suich wrote:
  It looks like VolumeServiceImpl.takeSnapshot() is the method who isn't 
  properly handling the exception. It is also called from multiple places 
  (namely VolumeApiServiceImpl.takeSnapshot() and 
  VolumeApiServiceImpl.orchestrateTakeVolumeSnapshot()).
  
  It looks like your fix is only handling one of those cases. If you were to 
  put the throw statement into VolumeServiceImpl.takeSnapshot()'s catch 
  instead of just ignoring the exception it would be handled for anyone who 
  tries to take a snapshot.

Good point - I shall move the throw inside the takeSnapshot method.


- Alex


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


On March 20, 2014, noon, Alex Hitchins wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19460/
 ---
 
 (Updated March 20, 2014, noon)
 
 
 Review request for cloudstack.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 https://issues.apache.org/jira/browse/CLOUDSTACK-5825
 
 I've added a check for null returned. Previously it would return even though 
 there were errors. If null is returned, the takeSnapshot raised and caught an 
 exception. I check for null and if received throw a new exception rather than 
 continue the flow.
 
 
 Diffs
 -
 
   server/src/com/cloud/storage/VolumeApiServiceImpl.java 5ffa99b 
 
 Diff: https://reviews.apache.org/r/19460/diff/
 
 
 Testing
 ---
 
 Compiled and deployed on a new test system, completed steps and snapshots 
 created successfully. 
 
 I could not re-create a snapshot error, however normal operation is as 
 expected. It's better it throws an exception rather than continue to log it's 
 successful when it's not.
 
 
 Thanks,
 
 Alex Hitchins
 




Re: Review Request 12228: static resource compression

2014-03-20 Thread daan Hoogland


 On Feb. 2, 2014, 6:03 p.m., daan Hoogland wrote:
  client/WEB-INF/web.xml, line 63
  https://reviews.apache.org/r/12228/diff/2/?file=354637#file354637line63
 
  can you use tabs instead of spaces (and while you are at it remove 
  trailing spaces from this file)?
 
 Laszlo Hornyak wrote:
 trailing white spaces: ok
 spaces to tabs: all this file is tabed with spaces, so this would be the 
 first thing with tabs.

sorry i mean 'spaces instead of tabs'not vice versa.


- daan


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


On March 19, 2014, 8:13 p.m., Laszlo Hornyak wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/12228/
 ---
 
 (Updated March 19, 2014, 8:13 p.m.)
 
 
 Review request for cloudstack, Brian Federle, Darren Shepherd, and Prasanna 
 Santhanam.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 CloudStack at first use downloads some 3.5 MB of css and javascript to the 
 client. With a weak internet connection, this might take a long time. With 
 gzip compression content can be compressed to 850 KB.
 
 This version of the patch uses a custom plugin to compress static resources, 
 so that no dynamic compression is needed at runtime. When the static resource 
 servlet notices that there is gzipped version of the resource and the client 
 accepts gzipped content, then it is going to send the gziped version, while 
 still respects http caching.
 
 
 Diffs
 -
 
   client/WEB-INF/web.xml 1af38e1 
   client/pom.xml 615d244 
   server/src/com/cloud/servlet/StaticResourceServlet.java PRE-CREATION 
   server/test/com/cloud/servlet/StaticResourceServletTest.java PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/12228/diff/
 
 
 Testing
 ---
 
 yes, tested with firefox and chrome
 
 
 Thanks,
 
 Laszlo Hornyak
 




Checkout master issue

2014-03-20 Thread Alex Hitchins
All,

I'm getting the following errors when trying to checkout master - anyone any 
ideas?

$ git checkout master
error: cannot stat 
'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
 Permission denied
error: cannot stat 
'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
 Permission denied
error: cannot stat 
'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver':
 Permission denied
error: cannot stat 
'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle':
 Permission denied
error: cannot stat 
'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
 Permission denied
error: cannot stat 
'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
 Permission denied
error: cannot stat 
'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/util':
 Permission denied


I've not seen a permission issue within Git before.

Regards,

Alex Hitchins

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://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 is a registered trademark.


Re: Review Request 18964: Windowsfication of CloudStack Management Server - Changes to support windows OS

2014-03-20 Thread daan Hoogland


 On March 19, 2014, 11:09 a.m., daan Hoogland wrote:
  Damoder,
  
  You introduced some trailing whitespace in this version of the diff.
  As far as I can judge it it looks alright.
  One remark I have: scripts/installer/windows/client.wxs looks like it is 
  generated by some tool from some source. Is it? Can we include that source 
  instead?
 
 Damodar Reddy Talakanti wrote:
 Hi Daan,
 
  Yes client.wxs is generated by Wix Tool. Actually it is a command line 
 command to generate that source file. At the max I can put a readme file to 
 include those commands to geenerate this file. I already posted these 
 commands on FS. What do you suggest? Shall we remove that file and simply put 
 a readme

If the source from which it is generated is already in the cloudstack source 
tree, we shouldn't include this 'intermediate' file. The README can be included 
for convenience. Having the commands in the documentation is more important.


- daan


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


On March 18, 2014, 1:46 p.m., Damodar Reddy Talakanti wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/18964/
 ---
 
 (Updated March 18, 2014, 1:46 p.m.)
 
 
 Review request for cloudstack, Abhinandan Prateek, Chiradeep Vittal, daan 
 Hoogland, and Donal Lafferty.
 
 
 Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-6105
 
 https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6105
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Windowsfication of CloudStack Management Server
 
 
 Diffs
 -
 
   scripts/installer/windows/acs.wxs PRE-CREATION 
   scripts/installer/windows/client.wxs PRE-CREATION 
   scripts/installer/windows/start.bat PRE-CREATION 
   scripts/vm/systemvm/injectkeys.py PRE-CREATION 
   server/src/com/cloud/server/ConfigurationServerImpl.java b8da4c8 
   server/test/com/cloud/server/ConfigurationServerImplTest.java 08a2097 
 
 Diff: https://reviews.apache.org/r/18964/diff/
 
 
 Testing
 ---
 
 Tested in Linux environment after changes 
 Also tested in Windows environment(For now tested on windows-8) to make sure 
 it is getting installed and management service is running.
 
 Able to add zones, able to register templates, able to launch a VM when it is 
 running on windows.
 
 Currently though it is getting added as a windows service, not able to start 
 the service through windows service control manager which I am looking into 
 currently. When run .exe file which is installed then server is getting up 
 and able to access cloud stack UI. 
 
 For now The following assumptions are made:
 1. SSH keys are already installed
 2. JAVA is already installed
 3. tomcat is already installed
 
 This patch contains the following new files related to WiX tool (To compile 
 and run we need this tool)
 1. acs.wxs
 The following command will be used to compile
   Path To WiX Tool\bin\candle.exe acs.wxs
 2. client.wxs
 The following command will be used to generate the above file
   Path To WiX Tool\bin\heat dir client -gg -cg Test  -ke -sfrag 
 -template fragment -out client.wxs  -var wix.SourceClient -dr WEBAPPS
 The following command will be used to compile the above generated file
   Path To WiX Tool\bin\candle.exe client.wxs
 3. The following command will be used to generate .msi file
   Path To WiX Tool\bin\light.exe acs.wixobj client.wixobj -out 
 acs.msi  -ext C:\Program Files (x86)\WiX Toolset 
 v3.8\bin\WixUIExtension.dll -dSourceClient=SourceDir\client
 
 
 Thanks,
 
 Damodar Reddy Talakanti
 




RE: concole proxy in 4.3RC9

2014-03-20 Thread Alex Hitchins
Daan,

I can't access realhostip.com from my BT connection, it seems it's blocked. It 
seems working for others, Ian Duffy and Lucian both saw it working. Can you see 
via dig or nslookup any responses from it?

I added a host file entry to work around the issue.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
Sent: 20 March 2014 13:38
To: dev
Subject: concole proxy in 4.3RC9

H,

since RC8 I no longer can reach my consoles of vms in my test env. I am not 
sure if this is my setup yet or some new bug. My network hasn't changed as far 
as I know, nor has my test setup script.

Does anybody else have this problem as well? Does any of the realip changes 
have influence on the way the consoleproxy is addressed, that I should take 
into account?

--
Daan
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://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 is a registered trademark.


Re: Checkout master issue

2014-03-20 Thread sebgoa

On Mar 20, 2014, at 2:51 PM, Alex Hitchins alex.hitch...@shapeblue.com wrote:

 All,
 
 I'm getting the following errors when trying to checkout master - anyone any 
 ideas?
 
 $ git checkout master
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/util':
  Permission denied
 
 
 I've not seen a permission issue within Git before.

did you do something with root that messed up those perms ...

 
 Regards,
 
 Alex Hitchins
 
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.
 
 Apache CloudStack Bootcamp training courses
 
 **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://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 is a registered 
 trademark.



RE: Checkout master issue

2014-03-20 Thread Alex Hitchins
Not that I'm aware of. I've not created any new files/directories.

Was just going to work on the amended fix Chris suggested and encountered this. 
I assume it's only me experiencing this then.




Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: sebgoa [mailto:run...@gmail.com]
Sent: 20 March 2014 14:02
To: dev@cloudstack.apache.org
Subject: Re: Checkout master issue


On Mar 20, 2014, at 2:51 PM, Alex Hitchins alex.hitch...@shapeblue.com wrote:

 All,

 I'm getting the following errors when trying to checkout master - anyone any 
 ideas?

 $ git checkout master
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/util':
  Permission denied


 I've not seen a permission issue within Git before.

did you do something with root that messed up those perms ...


 Regards,

 Alex Hitchins

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://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 is a registered 
 trademark.

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 is a registered trademark.


Re: concole proxy in 4.3RC9

2014-03-20 Thread Daan Hoogland
On Thu, Mar 20, 2014 at 2:55 PM, Alex Hitchins
alex.hitch...@shapeblue.com wrote:
 I can't access realhostip.com from my BT connection, it seems it's blocked. 
 It seems working for others, Ian Duffy and Lucian both saw it working. Can 
 you see via dig or nslookup any responses from it?

me neither

 I added a host file entry to work around the issue.
for what host on what host? Do I need to administer my ips and/or
write some dynip service?



-- 
Daan


Review Request 19463: UI: Applied localization function to labels on Zone Chart page

2014-03-20 Thread Mihaela Stoica

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

Review request for cloudstack, Brian Federle and Jessica Wang.


Repository: cloudstack-git


Description
---

This fixes the following issue: 
Some labels on the Zone Chart page display the wrong text, e.g. 
'label.view.all' instead of 'View all', 'label.pods' instead of 'Pods'.


Diffs
-

  ui/scripts/ui-custom/zoneChart.js bc30d51 

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


Testing
---

Yes


Thanks,

Mihaela Stoica



[DOCS] Re: docs question

2014-03-20 Thread sebgoa
Mainly informing myself for archiving purposes :)

We stand at:

http://docs.cloudstack.apache.org
http://docs.cloudstack.apache.org/projects/cloudstack-installation
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes
http://docs.cloudstack.apache.org/projects/cloudstack-administration

That's the cleanest I can make it without creating new CNAMEs or changing our 
repo architecture.

I used those URLs in the new Documentation drop down menu on the site, it looks 
like this in staging:

http://cloudstack.staging.apache.org

and as I am typing this, I realized that I actually published the site so it's 
live, oups….Yell if you see a problem

I kept a link to the old docs called Obsolete Docs

PS:
Thanks, to Pierre Luc, Nux, Geoff and Chris snow who sent pr testing the new 
workflow.
Thanks to Shankar, Paul, Ian and Tuna for new content already.


On Mar 19, 2014, at 1:48 PM, sebgoa run...@gmail.com wrote:

 
 On Mar 19, 2014, at 12:09 PM, sebgoa run...@gmail.com wrote:
 
 Hi,
 
 Question #1:
 --
 
 With the new move to RTD we need to agree on a URL naming convention.
 
 Currently we have one CNAME that points to RTD site (don't worry about the 
 content on that page):
 
 http://docs.cloudstack.apache.org
 
 Using RTD sub projects features this gives us the following URLs to get to 
 the admin and install guide.
 
 http://docs.cloudstack.apache.org/projects/cloudstack-installation
 http://docs.cloudstack.apache.org/projects/cloudstack-administration
 
 The cloudstack-installation and cloudstack-administration are not 
 changeable, RTD does not allow to change that. 
 
 Are we fine with this ? It seems a bit long to me.
 
 If we are not fine with this, the alternative is to create other CNAMEs via 
 apache infra to point to those guides.
 
 Question #2:
 --
 
 What do we want the landing page http://docs.cloudstack.apache.org to have ?
 
 On the cloudstack.apache.org website I was thinking of extending the tab to 
 link to each guide. This would work well with a CNAME per guide.
 But if we keep a single link to 'DOCS' on our main website, then the 
 question of the docs landing page is there.
 
 
 what say you folks ?
 
 
 To illustrate a bit, check:
 
 http://cloudstack.staging.apache.org
 
 Then click on the 'documentation' drop down….select 'Doc Root' or 
 'Installation Docs' or 'Release Notes'
 
 
 -Sebastien
 



RE: Checkout master issue

2014-03-20 Thread Alex Hitchins
OK - this seems to be a Windows issue. A reboot has removed the problem.

I'm thinking to move over to Ubuntu for CloudStack development. Hopefully will 
make life easier.


-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: 20 March 2014 14:05
To: dev@cloudstack.apache.org
Subject: RE: Checkout master issue

Not that I'm aware of. I've not created any new files/directories.

Was just going to work on the amended fix Chris suggested and encountered this. 
I assume it's only me experiencing this then.




Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: sebgoa [mailto:run...@gmail.com]
Sent: 20 March 2014 14:02
To: dev@cloudstack.apache.org
Subject: Re: Checkout master issue


On Mar 20, 2014, at 2:51 PM, Alex Hitchins alex.hitch...@shapeblue.com wrote:

 All,

 I'm getting the following errors when trying to checkout master - anyone any 
 ideas?

 $ git checkout master
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/util':
  Permission denied


 I've not seen a permission issue within Git before.

did you do something with root that messed up those perms ...


 Regards,

 Alex Hitchins

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://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 is a registered 
 trademark.

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 is a registered trademark.
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, 

Re: Checkout master issue

2014-03-20 Thread Ian Duffy
Sounds like an issue with your environment

Just reset the permissions:

sudo chown -R $USER /path/to/cloudstack/codebase

On 20 March 2014 14:04, Alex Hitchins alex.hitch...@shapeblue.com wrote:
 Not that I'm aware of. I've not created any new files/directories.

 Was just going to work on the amended fix Chris suggested and encountered 
 this. I assume it's only me experiencing this then.




 Regards

 Alex Hitchins

 D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

 alex.hitch...@shapeblue.com

 -Original Message-
 From: sebgoa [mailto:run...@gmail.com]
 Sent: 20 March 2014 14:02
 To: dev@cloudstack.apache.org
 Subject: Re: Checkout master issue


 On Mar 20, 2014, at 2:51 PM, Alex Hitchins alex.hitch...@shapeblue.com 
 wrote:

 All,

 I'm getting the following errors when trying to checkout master - anyone any 
 ideas?

 $ git checkout master
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/util':
  Permission denied


 I've not seen a permission issue within Git before.

 did you do something with root that messed up those perms ...


 Regards,

 Alex Hitchins

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://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 is a registered 
 trademark.

 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 is a registered 
 trademark.


Re: Checkout master issue

2014-03-20 Thread sebgoa

On Mar 20, 2014, at 3:18 PM, Alex Hitchins alex.hitch...@shapeblue.com wrote:

 OK - this seems to be a Windows issue. A reboot has removed the problem.

argh…..I almost threw up reading this :)

 
 I'm thinking to move over to Ubuntu for CloudStack development. Hopefully 
 will make life easier.
 
 
 -Original Message-
 From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
 Sent: 20 March 2014 14:05
 To: dev@cloudstack.apache.org
 Subject: RE: Checkout master issue
 
 Not that I'm aware of. I've not created any new files/directories.
 
 Was just going to work on the amended fix Chris suggested and encountered 
 this. I assume it's only me experiencing this then.
 
 
 
 
 Regards
 
 Alex Hitchins
 
 D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969
 
 alex.hitch...@shapeblue.com
 
 -Original Message-
 From: sebgoa [mailto:run...@gmail.com]
 Sent: 20 March 2014 14:02
 To: dev@cloudstack.apache.org
 Subject: Re: Checkout master issue
 
 
 On Mar 20, 2014, at 2:51 PM, Alex Hitchins alex.hitch...@shapeblue.com 
 wrote:
 
 All,
 
 I'm getting the following errors when trying to checkout master - anyone any 
 ideas?
 
 $ git checkout master
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/resources/META-INF/cloudstack/storage-volume-cloudbyte':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/driver':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/provider':
  Permission denied
 error: cannot stat 
 'plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/util':
  Permission denied
 
 
 I've not seen a permission issue within Git before.
 
 did you do something with root that messed up those perms ...
 
 
 Regards,
 
 Alex Hitchins
 
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
 best 24/7 SLA for CloudStack Environments.
 
 Apache CloudStack Bootcamp training courses
 
 **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://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 is a registered 
 trademark.
 
 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 is a registered 
 trademark.
 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 

cloudstack talent

2014-03-20 Thread Marcus
Is there a jobs board/list where people can post or investigate
CloudStack related jobs? Or is that taboo due to the Apache model of
separation between an individual's employment and community roles?


Re: Review Request 19460: Check for returned null, throw exception rather than continue.

2014-03-20 Thread Chris Suich

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

Ship it!


Ship It!

- Chris Suich


On March 20, 2014, 2:42 p.m., Alex Hitchins wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19460/
 ---
 
 (Updated March 20, 2014, 2:42 p.m.)
 
 
 Review request for cloudstack.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 https://issues.apache.org/jira/browse/CLOUDSTACK-5825
 
 I've added a check for null returned. Previously it would return even though 
 there were errors. If null is returned, the takeSnapshot raised and caught an 
 exception. I check for null and if received throw a new exception rather than 
 continue the flow.
 
 
 Diffs
 -
 
   
 engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
  68e5a56 
 
 Diff: https://reviews.apache.org/r/19460/diff/
 
 
 Testing
 ---
 
 Compiled and deployed on a new test system, completed steps and snapshots 
 created successfully. 
 
 I could not re-create a snapshot error, however normal operation is as 
 expected. It's better it throws an exception rather than continue to log it's 
 successful when it's not.
 
 
 Thanks,
 
 Alex Hitchins
 




Re: Review Request 19460: Check for returned null, throw exception rather than continue.

2014-03-20 Thread Alex Hitchins

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

(Updated March 20, 2014, 2:42 p.m.)


Review request for cloudstack.


Changes
---

Amended patch to throw exception inside takeSnapshot method.


Repository: cloudstack-git


Description
---

https://issues.apache.org/jira/browse/CLOUDSTACK-5825

I've added a check for null returned. Previously it would return even though 
there were errors. If null is returned, the takeSnapshot raised and caught an 
exception. I check for null and if received throw a new exception rather than 
continue the flow.


Diffs (updated)
-

  
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
 68e5a56 

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


Testing
---

Compiled and deployed on a new test system, completed steps and snapshots 
created successfully. 

I could not re-create a snapshot error, however normal operation is as 
expected. It's better it throws an exception rather than continue to log it's 
successful when it's not.


Thanks,

Alex Hitchins



Re: cloudstack talent

2014-03-20 Thread ilya musayev

Marcus,

Not the best place, but CloudStack LinkedIn group has job posting section.

btw, are you looking for a change or  need to hire?

Thanks
ilya
On 3/20/14, 10:41 AM, Marcus wrote:

 Is there a jobs board/list where people can post or investigate
CloudStack related jobs? Or is that taboo due to the Apache model of
separation between an individual's employment and community roles?




Re: Resetting a VM is broken?

2014-03-20 Thread John Kinsella
Mike - There is a way to restore disks in destroyed state before they are 
expunged. It requires shutting down management server, modifying database 
directly, and keeping a good stock of potential offerings near your data 
recovery shrine.

I’m going to be covering this in my CCC Denver talk.

John

On Mar 19, 2014, at 9:59 PM, Mike Tutkowski 
mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

Please correct me if I'm wrong, but there does not appear to be a way to
save the old root disk once it has gone into the Destroy state in this
situation, is there?

In other words, the new root disk is created, the old is put into the
Destroy state, and the old will get deleted at the next clean-up cycle...no
chance to restore that volume (even for use as a data disk).


On Wed, Mar 19, 2014 at 10:33 PM, Mike Tutkowski 
mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

OK, I went back an re-ran my test.

I see how this works now.

I was aware that volumes in the Destroy state get expunged by a background
thread at some point; however, what tricked me here is that my old root
disk no longer showed up in the Storage tab of the GUI.

When I looked in the volumes table, though, I saw that that disk was in
the Destroy state.

I speed up the frequency of the clean-up background thread to run once
every minute and I saw the old root disk got put into the Expunged state
(as you'd expect, it was no longer present in the SR).


On Wed, Mar 19, 2014 at 7:06 PM, Mike Tutkowski 
mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

Yeah, usually reset (for hypervisors) means shut down the VM and
re-start it.


On Wed, Mar 19, 2014 at 6:22 PM, Marcus 
shadow...@gmail.commailto:shadow...@gmail.com wrote:

+1 to reset being a bad verb for this. It's too late now, however.

On Wed, Mar 19, 2014 at 6:22 PM, Marcus 
shadow...@gmail.commailto:shadow...@gmail.com wrote:
The storage gets marked as 'Destroy' state. Then it goes to
'Expunging' when the storage cleanup interval occurs. I've actually
thought about leveraging that for data disks, the current delete data
disk immediately cleans up the disk, when we could create an api call
that just moves the data disk to destroy state. Then there'd actually
be room for an 'undo' operation where the state could be moved back to
Ready, so long as the cleanup hasn't occurred.

On Wed, Mar 19, 2014 at 4:43 PM, Nitin Mehta 
nitin.me...@citrix.commailto:nitin.me...@citrix.com
wrote:
Please feel free to open a documentation bug on JIRA if the info
doesn't
exist.

On 19/03/14 3:16 PM, Mike Tutkowski 
mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com
wrote:

Thanks for that background-cleanup info. I was not aware of that.

I'll probably take a look into it and see how that works.


On Wed, Mar 19, 2014 at 4:13 PM, Alena Prokharchyk 
alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote:

CS destroys the Root volume in CS DB, then its up to the storage
pool
cleanup task to clean it up on the backend. This is a background
task
running every storage.cleanup.interval seconds.

For how long do you see the volume being present on the SR?

On 3/19/14, 3:03 PM, Mike Tutkowski 
mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com

wrote:

OK, sounds good; however, if this is desired behavior, does anyone
know
why
we abandon the old root disk in the XenServer SR? It seems that
CloudStack
forgets about it and it just stays in the SR taking up space.

Do people think it should be deleted?


On Wed, Mar 19, 2014 at 3:49 PM, Nitin Mehta 
nitin.me...@citrix.commailto:nitin.me...@citrix.com
wrote:

I think that's what it is supposed to do. It discards the old
root
disk
and creates a fresh root disk for the vm and in case an optional
field
template id is passed in the root disk is created from this new
template
id.
The api name is restoreVirtualMachine. Please check that the UI
is
internally invoking this api

Thanks,
-Nitin

On 19/03/14 1:55 PM, Mike Tutkowski 
mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com
wrote:

Hi,

I noticed today while running through some test cases for 4.4
that
resetting a VM does not work as expected.

Instead of the typical stop and re-start behavior where the VM
is
booted
back up using the same root disk, the VM gets a new root disk
when
it
is
booted back up.

Can anyone confirm this finding for me with his or her setup?

Thanks!

--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*




--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*




--
*Mike Tutkowski*
*Senior CloudStack 

Review Request 19468: Renamed static fields to comply with coding conventions.

2014-03-20 Thread Konstantina Chremmou

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

Review request for cloudstack and Alena Prokharchyk.


Repository: cloudstack-git


Description
---

Renamed static fields to comply with coding conventions.


Diffs
-

  
api/src/org/apache/cloudstack/api/command/admin/internallb/ListInternalLoadBalancerElementsCmd.java
 489b643 
  
api/src/org/apache/cloudstack/api/command/admin/network/CreateNetworkOfferingCmd.java
 cbc1936 
  
api/src/org/apache/cloudstack/api/command/admin/network/ListSupportedNetworkServicesCmd.java
 612c733 
  
api/src/org/apache/cloudstack/api/command/admin/network/UpdateNetworkOfferingCmd.java
 f650b4f 
  
api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java
 78101fb 
  
api/src/org/apache/cloudstack/api/command/admin/router/ListVirtualRouterElementsCmd.java
 62c6da5 
  api/src/org/apache/cloudstack/api/command/admin/storage/AddS3Cmd.java 8a82e89 
  
api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypeImplementorsCmd.java
 a1ff29f 
  
api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypesCmd.java 
33ee296 
  api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCOfferingCmd.java 
5b3090b 
  api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java 
8b05a7a 
  
api/src/org/apache/cloudstack/api/command/user/network/ListNetworkOfferingsCmd.java
 a08e28f 
  api/src/org/apache/cloudstack/api/command/user/network/ListNetworksCmd.java 
a5de915 
  api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCOfferingsCmd.java 
66ea176 
  api/src/org/apache/cloudstack/api/command/user/vpc/RestartVPCCmd.java e1a5306 
  api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java e495603 

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


Testing
---


Thanks,

Konstantina Chremmou



Re: concole proxy in 4.3RC9

2014-03-20 Thread Daan Hoogland
just installed 4.2.1 in the same env. consoleproxy works. I will
upgrade to 4.3 now and see.

On Thu, Mar 20, 2014 at 3:05 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 On Thu, Mar 20, 2014 at 2:55 PM, Alex Hitchins
 alex.hitch...@shapeblue.com wrote:
 I can't access realhostip.com from my BT connection, it seems it's blocked. 
 It seems working for others, Ian Duffy and Lucian both saw it working. Can 
 you see via dig or nslookup any responses from it?

 me neither

 I added a host file entry to work around the issue.
 for what host on what host? Do I need to administer my ips and/or
 write some dynip service?



 --
 Daan



-- 
Daan


Review Request 19467: Added version info to command and response parameters introduced in 4.4.

2014-03-20 Thread Konstantina Chremmou

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

Review request for cloudstack and Alena Prokharchyk.


Repository: cloudstack-git


Description
---

Added version info to command and response parameters introduced in 4.4. 
Renamed newly introduced parameter StoragePoolReponse.overProvisionFactor to 
comply with coding conventions.


Diffs
-

  
api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java
 78101fb 
  api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCOfferingCmd.java 
5b3090b 
  
api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java
 6bb33fd 
  
api/src/org/apache/cloudstack/api/command/user/firewall/UpdatePortForwardingRuleCmd.java
 2f50ddb 
  
api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignToLoadBalancerRuleCmd.java
 bc76e97 
  api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java 1414774 
  api/src/org/apache/cloudstack/api/command/user/volume/ListVolumesCmd.java 
bd169b5 
  api/src/org/apache/cloudstack/api/command/user/volume/UpdateVolumeCmd.java 
45b9ecd 
  api/src/org/apache/cloudstack/api/response/AccountResponse.java 991b162 
  api/src/org/apache/cloudstack/api/response/DiskOfferingResponse.java 0894eec 
  api/src/org/apache/cloudstack/api/response/HostResponse.java 1fbc668 
  api/src/org/apache/cloudstack/api/response/NetworkOfferingResponse.java 
55ca2ce 
  api/src/org/apache/cloudstack/api/response/NetworkResponse.java beeeb57 
  api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java 
d371f9a 
  api/src/org/apache/cloudstack/api/response/StoragePoolResponse.java 98c90e2 
  api/src/org/apache/cloudstack/api/response/UserVmResponse.java d6ce84f 
  api/src/org/apache/cloudstack/api/response/VpcOfferingResponse.java de5adef 
  api/src/org/apache/cloudstack/api/response/VpcResponse.java d860454 

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


Testing
---


Thanks,

Konstantina Chremmou



Re: concole proxy in 4.3RC9

2014-03-20 Thread Ove Ewerlid

Console SSVM works in my 4.3 setup.
Traffic does not use SSL and is on port 80.
/Ove

On 03/20/2014 04:57 PM, Daan Hoogland wrote:

just installed 4.2.1 in the same env. consoleproxy works. I will
upgrade to 4.3 now and see.

On Thu, Mar 20, 2014 at 3:05 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:

On Thu, Mar 20, 2014 at 2:55 PM, Alex Hitchins
alex.hitch...@shapeblue.com wrote:

I can't access realhostip.com from my BT connection, it seems it's blocked. It 
seems working for others, Ian Duffy and Lucian both saw it working. Can you see 
via dig or nslookup any responses from it?


me neither


I added a host file entry to work around the issue.

for what host on what host? Do I need to administer my ips and/or
write some dynip service?



--
Daan







--
Ove Everlid
System Administrator / Architect / SDN-  Automation-  Linux-hacker
Mobile: +46706662363 (dedicated work mobile)
Country: Sweden, timezone; Middle Europan Time (MET or GMT+1)


Re: Review Request 19399: CLOUDSTACK-6257: Resolving issue in template creation from user VM volume, added method to check the state of VM before template creation

2014-03-20 Thread Santhosh Edukulla


 On March 19, 2014, 3:32 p.m., Santhosh Edukulla wrote:
  test/integration/component/test_usage.py, line 680
  https://reviews.apache.org/r/19399/diff/1/?file=528014#file528014line680
 
  Also, just a thought. If stop operation itself verifies the state and 
  return, so test case can check some thing like if virtual_machine.stop() == 
  FAIL:
raise\fail. I believe we can use getState inside stop operation 
  itself. Basically, stop operation return can be enforced and checked.
 
 
 Ashutosh Kelkar wrote:
 Here if we don't want to touch existing test cases with stop operation, 
 we will have to raise Exception through stop method if getState return FAIL 
 to Stop method. Is that ok?

That should be fine. 


- Santhosh


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


On March 20, 2014, 11:56 a.m., Ashutosh Kelkar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19399/
 ---
 
 (Updated March 20, 2014, 11:56 a.m.)
 
 
 Review request for cloudstack and Santhosh Edukulla.
 
 
 Bugs: CLOUDSTACK-6257
 https://issues.apache.org/jira/browse/CLOUDSTACK-6257
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 As suggested, added getState method for VirtualMachine class, and it is 
 called before template creation. If VM fails to go into desired state, it 
 returns failure.
 
 
 Diffs
 -
 
   test/integration/component/test_project_usage.py ba0a63c 
   test/integration/component/test_resource_limits.py f0d558e 
   test/integration/component/test_tags.py 2a6e076 
   test/integration/component/test_templates.py 3e83615 
   test/integration/component/test_usage.py 5979a0a 
   tools/marvin/marvin/codes.py e4a0f6a 
   tools/marvin/marvin/integration/lib/base.py 775b289 
 
 Diff: https://reviews.apache.org/r/19399/diff/
 
 
 Testing
 ---
 
 Yes.
 
 
 Thanks,
 
 Ashutosh Kelkar
 




Re: concole proxy in 4.3RC9

2014-03-20 Thread Nux!

On 20.03.2014 16:29, Ove Ewerlid wrote:

Console SSVM works in my 4.3 setup.
Traffic does not use SSL and is on port 80.


Did you have to do anything in particular to disable SSL or is this the 
new default?


I was having problems with 4.4 where VC VM was in Alert mode and the 
VMs' console was dead; will have to revisit this.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Review Request 19399: CLOUDSTACK-6257: Resolving issue in template creation from user VM volume, added method to check the state of VM before template creation

2014-03-20 Thread Ashutosh Kelkar


 On March 19, 2014, 3:32 p.m., Santhosh Edukulla wrote:
  test/integration/component/test_usage.py, line 680
  https://reviews.apache.org/r/19399/diff/1/?file=528014#file528014line680
 
  Also, just a thought. If stop operation itself verifies the state and 
  return, so test case can check some thing like if virtual_machine.stop() == 
  FAIL:
raise\fail. I believe we can use getState inside stop operation 
  itself. Basically, stop operation return can be enforced and checked.
 
 
 Ashutosh Kelkar wrote:
 Here if we don't want to touch existing test cases with stop operation, 
 we will have to raise Exception through stop method if getState return FAIL 
 to Stop method. Is that ok?
 
 Santhosh Edukulla wrote:
 That should be fine.

Ok I will update the patch with that change.


- Ashutosh


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


On March 20, 2014, 11:56 a.m., Ashutosh Kelkar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19399/
 ---
 
 (Updated March 20, 2014, 11:56 a.m.)
 
 
 Review request for cloudstack and Santhosh Edukulla.
 
 
 Bugs: CLOUDSTACK-6257
 https://issues.apache.org/jira/browse/CLOUDSTACK-6257
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 As suggested, added getState method for VirtualMachine class, and it is 
 called before template creation. If VM fails to go into desired state, it 
 returns failure.
 
 
 Diffs
 -
 
   test/integration/component/test_project_usage.py ba0a63c 
   test/integration/component/test_resource_limits.py f0d558e 
   test/integration/component/test_tags.py 2a6e076 
   test/integration/component/test_templates.py 3e83615 
   test/integration/component/test_usage.py 5979a0a 
   tools/marvin/marvin/codes.py e4a0f6a 
   tools/marvin/marvin/integration/lib/base.py 775b289 
 
 Diff: https://reviews.apache.org/r/19399/diff/
 
 
 Testing
 ---
 
 Yes.
 
 
 Thanks,
 
 Ashutosh Kelkar
 




Re: Resetting a VM is broken?

2014-03-20 Thread Alena Prokharchyk
Alex, 

If you gonna check the code to debug the problem, the method is
cleanupStorage(boolean recurring) in StorageManagerImpl. Its responsible
for both - cleaning up unused templates from the primary store and
removing the volumes marked for Destroy.

Alena.


On 3/20/14, 2:13 AM, Alex Hitchins alex.hitch...@shapeblue.com wrote:

Just on the storage pool cleanup - I'm looking at an issue around this.
Seems it's not getting called. When it was, it was deleting the template
file rather than just removing the symlink.

I know this is slightly different, however though it worth mentioning.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com]
Sent: 19 March 2014 22:13
To: dev@cloudstack.apache.org; Mike Tutkowski
Subject: Re: Resetting a VM is broken?

CS destroys the Root volume in CS DB, then its up to the storage pool
cleanup task to clean it up on the backend. This is a background task
running every storage.cleanup.interval seconds.

For how long do you see the volume being present on the SR?

On 3/19/14, 3:03 PM, Mike Tutkowski mike.tutkow...@solidfire.com
wrote:

OK, sounds good; however, if this is desired behavior, does anyone know
why we abandon the old root disk in the XenServer SR? It seems that
CloudStack forgets about it and it just stays in the SR taking up
space.

Do people think it should be deleted?


On Wed, Mar 19, 2014 at 3:49 PM, Nitin Mehta nitin.me...@citrix.com
wrote:

 I think that's what it is supposed to do. It discards the old root
 disk and creates a fresh root disk for the vm and in case an optional
 field template id is passed in the root disk is created from this new
 template id.
 The api name is restoreVirtualMachine. Please check that the UI is
 internally invoking this api

 Thanks,
 -Nitin

 On 19/03/14 1:55 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 wrote:

 Hi,
 
 I noticed today while running through some test cases for 4.4 that
 resetting a VM does not work as expected.
 
 Instead of the typical stop and re-start behavior where the VM is
booted
 back up using the same root disk, the VM gets a new root disk when
 it
is
 booted back up.
 
 Can anyone confirm this finding for me with his or her setup?
 
 Thanks!
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*




--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*(tm)*

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers
the best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1
traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil.
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led,
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led,
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led,
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led,
On-linehttp://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 is a registered trademark.



RE: [RFC]Bypass Libvirt storage pool for NFS

2014-03-20 Thread Nux!

On 19.03.2014 22:48, Edison Su wrote:

-Original Message-
From: Nux! [mailto:n...@li.nux.ro]
Sent: Wednesday, March 19, 2014 3:34 PM
To: dev@cloudstack.apache.org
Subject: RE: [RFC]Bypass Libvirt storage pool for NFS

On 19.03.2014 22:28, Edison Su wrote:
Edison, if - with the workarounds in place now - the current 
version
of KVM works OK, then why wouldn't a newer version work just as 
fine?

Just trying to understand this.


That's a long story, there is a bug in Libvirt, which is introduced 
in

a newer version(0.9.10), which can make the storage pool disappear.


Edison, that I understand, but what is the technical reason that 
prevents

using newer KVM?
It looks like current KVM works fine on CentOS 6.5 for example which 
has

libvirt 0.10.2.


Yes, at first glance, the newer version libvirt( 0.9.10) just works
fine. But under stress test, it will complain NFS storage pool
missing, and can't add the storage pool back, unless you shut down all
the VMs which using the storage pool. That's the
bug(https://bugzilla.redhat.com/show_bug.cgi?id=977706) all about.

In ACS 4.2/4.3 release, we only recommend to use libvirt =0.9.10, if
primary storage is NFS.


Ok, I'm trying to make some noise in that bz entry, hopefully someone 
gets annoyed enough to do something about it.


Quick question: there is no problem if instead of using NFS directly we 
use the shared mount point option, is it?


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: concole proxy in 4.3RC9

2014-03-20 Thread Daan Hoogland
meaning the console of the ssvm? or the cpvm?

I just confirmed myself that there is indeed a diff between 4.2.1 and 4.3RC9

On Thu, Mar 20, 2014 at 5:32 PM, Nux! n...@li.nux.ro wrote:
 On 20.03.2014 16:29, Ove Ewerlid wrote:

 Console SSVM works in my 4.3 setup.
 Traffic does not use SSL and is on port 80.


 Did you have to do anything in particular to disable SSL or is this the new
 default?

 I was having problems with 4.4 where VC VM was in Alert mode and the VMs'
 console was dead; will have to revisit this.

 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro



-- 
Daan


4.4 and master failing due to missing license header

2014-03-20 Thread SuichII, Christopher
Hey all,

I’m unable to build on 4.4 and master with no changes made in either branch. It 
appears that there are some files which don’t meet the license header 
requirement. I don’t see one, but is there a profile for ignoring the check 
license plugin? Alternatively, does anyone know what files are offending or how 
to easily fix this?

[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 14.076s
[INFO] Finished at: Thu Mar 20 12:48:27 EDT 2014
[INFO] Final Memory: 40M/96M
[INFO] 
[ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.5:check 
(cloudstack-checklicence) on project cloud-utils: Some files do not have the 
expected license header - [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn goals -rf :cloud-utils

Thanks,
Chris
-- 
Chris Suich
chris.su...@netapp.com
NetApp Software Engineer
Data Center Platforms – Cloud Solutions
Citrix, Cisco  Red Hat



Re: Simulator : Error while creating a snapshot from a VM

2014-03-20 Thread David Grizzanti
Meghna,

I realized one thing that is missing from 4.3 and 4.2 that I added (it's on
4.4 and master though).  Here is the commit
https://github.com/apache/cloudstack/commit/dfb81ac1274d8ebe4a47223d10f3de44aa9091bf
.

If you apply that and re-build, it should fix the create VM snapshot issue.


On Thu, Mar 20, 2014 at 6:56 AM, Meghna Kale meghna.k...@sungard.comwrote:

 Hi All,

 I have been seeing an error while creating a snapshot from a VM in the
 Simulator.
 I faced this issue on both the versions 4.2 and 4.3.

 Can anyone help me or provide pointers.

 A similar NullPointer error is also thrown while creating a VM from a
 personal template created from an existing VM.

 Error from vmops.log :

 ERROR [cloud.api.ApiServer] (31312594@qtp-24163675-2:) unhandled exception
 executing api command: createVMSnapshot
 java.lang.NullPointerException
 at

 com.cloud.hypervisor.dao.HypervisorCapabilitiesDaoImpl.isVmSnapshotEnabled(HypervisorCapabilitiesDaoImpl.java:103)
 at

 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at

 com.cloud.vm.snapshot.VMSnapshotManagerImpl.allocVMSnapshot(VMSnapshotManagerImpl.java:257)
 at

 org.apache.cloudstack.api.command.user.vmsnapshot.CreateVMSnapshotCmd.create(CreateVMSnapshotCmd.java:78)
 at
 com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
 at com.cloud.api.ApiServer.queueCommand(ApiServer.java:461)
 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
 at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
 at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
 at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
 at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
 at
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
 at
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
 at
 org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
 at

 org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
 at

 org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
 at
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
 at org.mortbay.jetty.Server.handle(Server.java:326)
 at
 org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
 at

 org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
 at

 org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
 at

 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

 Thanks
 Meghna.




-- 
David Grizzanti
Software Engineer
Sungard Availability Services

e: david.grizza...@sungard.com
w: 215.446.1431
c: 570.575.0315


Re: 4.4 and master failing due to missing license header

2014-03-20 Thread Daan Hoogland
So the offending file is in utils. Doesn't it give info above the BUIL
FAILURE line?

On Thu, Mar 20, 2014 at 5:52 PM, SuichII, Christopher
chris.su...@netapp.com wrote:
 Hey all,

 I'm unable to build on 4.4 and master with no changes made in either branch. 
 It appears that there are some files which don't meet the license header 
 requirement. I don't see one, but is there a profile for ignoring the check 
 license plugin? Alternatively, does anyone know what files are offending or 
 how to easily fix this?

 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 14.076s
 [INFO] Finished at: Thu Mar 20 12:48:27 EDT 2014
 [INFO] Final Memory: 40M/96M
 [INFO] 
 
 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.5:check 
 (cloudstack-checklicence) on project cloud-utils: Some files do not have the 
 expected license header - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
 command
 [ERROR]   mvn goals -rf :cloud-utils

 Thanks,
 Chris
 --
 Chris Suich
 chris.su...@netapp.com
 NetApp Software Engineer
 Data Center Platforms - Cloud Solutions
 Citrix, Cisco  Red Hat




-- 
Daan


Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)

2014-03-20 Thread Daan Hoogland
again I am seriously considering -1 (binding) and (sigh) and. Is there
any doc I missed on getting the console proxy working in 4.3, that
will make me hit me on the head and retract this thread?

On Tue, Mar 18, 2014 at 9:38 PM, Wilder Rodrigues
wrodrig...@schubergphilis.com wrote:
 Hi there Ilya,

 Could you please provide which tests cases you have covered? I would like to 
 add them to my tests round as well.

 Currently I'm testing multiple zones, networks, instances, ACLs, Port 
 Forwarding and will add security groups. If you have more points, I would be 
 glad to test them as well.

 Thanks in advance.

 Cheers,
 Wilder

 -Original Message-
 From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
 Sent: Tuesday, March 18, 2014 9:11 PM
 To: dev@cloudstack.apache.org
 Subject: Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)

 +1 binding
 On 3/18/14, 3:05 PM, Animesh Chaturvedi wrote:


 Hi All,



 I've created a 4.3.0 release, with the following artifacts up for a

 vote:





 Git Branch and Commit SH:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
 Commit:  0810029f274878eca8fd74b44ab1117054e929a5


 List of changes:

 New Features in 4.3: https://issues.apache.org/jira/issues/?filter=12325248

 Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249

 Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161

 Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162







 Source release (checksums and signatures are available at the same

 location):

 https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/



 PGP release keys (signed using 94BE0D7C):

 https://dist.apache.org/repos/dist/release/cloudstack/KEYS



 Testing instructions are here:

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



 Vote will be open for 72 hours (Friday 3/21 12:05 PM PST)



 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)



 Thanks

 Animesh







-- 
Daan


Re: system vm disk space issue in ACS 4.3

2014-03-20 Thread Sunil Bakhru
The fix for 6258 will contain the log size and prevent it from hogging the
root partition. 

However, we do see the following 'ERROR' log which fills up our system VM
log file.  Has anybody seen this?
Any pointers on what could possibly be wrong?


2014-03-20 08:40:54,395 ERROR [cloud.agent.AgentShell] (main:null) Unable
to start agent: Java process is being started twice.  If this is not true,
remove /var/run/agent.SecStorage.pid
2014-03-20 08:41:05,359 INFO  [cloud.agent.AgentShell] (main:null) Agent
started
2014-03-20 08:41:05,364 INFO  [cloud.agent.AgentShell] (main:null)
Implementation Version is 4.3.0
2014-03-20 08:41:05,364 INFO  [cloud.agent.AgentShell] (main:null)
agent.properties found at /usr/local/cloud/systemvm/conf/agent.properties
2014-03-20 08:41:05,370 DEBUG [cloud.agent.AgentShell] (main:null) Found
property: instance
2014-03-20 08:41:05,370 DEBUG [cloud.agent.AgentShell] (main:null) Found
property: NfsSecondaryStorageResource.id
2014-03-20 08:41:05,370 DEBUG [cloud.agent.AgentShell] (main:null) Found
property: resource
2014-03-20 08:41:05,370 INFO  [cloud.agent.AgentShell] (main:null)
Defaulting to using properties file for storage
2014-03-20 08:41:05,371 INFO  [cloud.agent.AgentShell] (main:null)
Defaulting to the constant time backoff algorithm
2014-03-20 08:41:05,380 INFO  [cloud.utils.LogUtils] (main:null) log4j
configuration found at /usr/local/cloud/systemvm/conf/log4j-cloud.xml
2014-03-20 08:41:05,393 DEBUG [cloud.agent.AgentShell] (main:null)
Checking to see if agent.SecStorage.pid exists.
2014-03-20 08:41:05,396 DEBUG [cloud.utils.ProcessUtil] (main:null)
environment.properties could not be opened
2014-03-20 08:41:05,403 DEBUG [cloud.utils.ProcessUtil] (main:null)
Executing: bash -c ps -p 3469
2014-03-20 08:41:05,411 DEBUG [cloud.utils.ProcessUtil] (main:null)
Execution is successful.
2014-03-20 08:41:05,411 DEBUG [cloud.utils.ProcessUtil] (main:null)   PID
TTY  TIME CMD
 3469 ?00:00:36 java

2014-03-20 08:41:05,411 ERROR [cloud.agent.AgentShell] (main:null) Unable
to start agent: Java process is being started twice.  If this is not true,
remove /var/run/agent.SecStorage.pid



Appreciate the help.

Thanks,
Sunil 





On 3/19/14 8:40 AM, Rajesh Battala rajesh.batt...@citrix.com wrote:

Great. Post your patch at reviews.apache.org

Thanks
Rajesh Battala

-Original Message-
From: Saurav Lahiri [mailto:saurav.lah...@sungard.com]
Sent: Wednesday, March 19, 2014 8:49 PM
To: dev@cloudstack.apache.org
Subject: Re: system vm disk space issue in ACS 4.3

Thanks Rajesh. I have created a jira ticket for this
https://issues.apache.org/jira/browse/CLOUDSTACK-6258. Will send in the
fix for review in a couple of days.

Thanks
Saurav


On Wed, Mar 19, 2014 at 8:03 PM, Rajesh Battala
rajesh.batt...@citrix.comwrote:

 Can you please file a bug and send your fix for review.

 Thanks
 Rajesh Battala

 -Original Message-
 From: Saurav Lahiri [mailto:saurav.lah...@sungard.com]
 Sent: Wednesday, March 19, 2014 7:20 PM
 To: dev@cloudstack.apache.org
 Subject: Re: system vm disk space issue in ACS 4.3

 The problem appears to be the start function in the /etc/init.d/cloud
 service for console proxy.
 More specifically the following line also writes to /var/log/cloud.out


 --
 
 (cd $CLOUD_COM_HOME/systemvm; nohup ./run.sh 
 /var/log/cloud/cloud.out
 21  )

 --
 

 since run.sh calls _run.sh and both has set -x enabled, in certain
 situations they can keep logging messages to cloud.out without being
 aware of the settings in log4j-cloud.xml


 One way to fix that could be that run.sh and _run.sh would log to
 cloud.out only if a debug flag was set to true, otherwise only the
 java process would write to cloud.out and log4j would respect the
 settings in log4j-cloud.xml


 Thanks
 Saurav



 On Mon, Mar 17, 2014 at 8:47 PM, Saurav Lahiri
 saurav.lah...@sungard.com
 wrote:

  Could it have  something to do with the RollingFileAppender that is
  being used.
  The following
  rollingfileappenderhttp://apache-logging.6191.n7.nabble.com/Rolling
  Fi leAppender-not-working-consistently-td8582.html link appears to
  be a
 bit outdated but they more or less describe a similar problem that we
 are seeing?
 
 
  On our environment that is what we have seeing for sometime on
  console proxy.  The root filesystem goes full with the cloud.out.*
  occupying all the space. This happens pretty frequently and we have
  to regularly recycle the console proxy to resolve this issue.
 
 
  As seen below, cloud.out.2 should not have exceeded 10MB but it
  stands at 217MB now.
 
  drwxr-xr-x 2 root root 4.0K Mar 17 14:57 .
  drwxr-xr-x 8 root root 4.0K Mar 17 15:01 ..
  -rw-r--r-- 1 root root0 Mar 12 18:18 api-server.log
  -rw-r--r-- 1 

Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)

2014-03-20 Thread Ove Ewerlid

On 03/20/2014 05:58 PM, Daan Hoogland wrote:

again I am seriously considering -1 (binding) and (sigh) and. Is there
any doc I missed on getting the console proxy working in 4.3, that
will make me hit me on the head and retract this thread?


A pointer to this will fit nicely in the 4.3 release notes;

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes#RealhostIPchanges-Upgrade

just checked, did not fine any note about this.
There have been email threads where this link has been noted on the dev 
list.


/Ove




On Tue, Mar 18, 2014 at 9:38 PM, Wilder Rodrigues
wrodrig...@schubergphilis.com wrote:

Hi there Ilya,

Could you please provide which tests cases you have covered? I would like to 
add them to my tests round as well.

Currently I'm testing multiple zones, networks, instances, ACLs, Port 
Forwarding and will add security groups. If you have more points, I would be 
glad to test them as well.

Thanks in advance.

Cheers,
Wilder

-Original Message-
From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
Sent: Tuesday, March 18, 2014 9:11 PM
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)

+1 binding
On 3/18/14, 3:05 PM, Animesh Chaturvedi wrote:



Hi All,



I've created a 4.3.0 release, with the following artifacts up for a

vote:





Git Branch and Commit SH:

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
Commit:  0810029f274878eca8fd74b44ab1117054e929a5


List of changes:

New Features in 4.3: https://issues.apache.org/jira/issues/?filter=12325248

Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249

Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161

Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162







Source release (checksums and signatures are available at the same

location):

https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/



PGP release keys (signed using 94BE0D7C):

https://dist.apache.org/repos/dist/release/cloudstack/KEYS



Testing instructions are here:

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



Vote will be open for 72 hours (Friday 3/21 12:05 PM PST)



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)



Thanks

Animesh












--
Ove Everlid
System Administrator / Architect / SDN-  Automation-  Linux-hacker
Mobile: +46706662363 (dedicated work mobile)
Country: Sweden, timezone; Middle Europan Time (MET or GMT+1)


Re: 4.4 and master failing due to missing license header

2014-03-20 Thread SuichII, Christopher
I tried running the command with -X. There is quite a bit of output, but this 
is what I was able to find:

...
[WARNING] Missing header in: 
/Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/com/cloud/utils/db/transactionContextBuilderTest.xml
...
[WARNING] Missing header in: 
/Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/testContext.xml
...
[WARNING] Missing header in: 
/Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/log4j.xml
...
[WARNING] Missing header in: 
/Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/com/cloud/utils/QualifierTestContext.xml
…

So, it looks like the check license plugin is going after some xml that Eclipse 
generates. Should I be telling maven to ignore these somehow? When I run ‘git 
status’, it says my working directory is clean as the .gitignore is setup to 
ignore that stuff.

-Chris
-- 
Chris Suich
chris.su...@netapp.com
NetApp Software Engineer
Data Center Platforms – Cloud Solutions
Citrix, Cisco  Red Hat

On Mar 20, 2014, at 12:54 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:

 So the offending file is in utils. Doesn't it give info above the BUIL
 FAILURE line?
 
 On Thu, Mar 20, 2014 at 5:52 PM, SuichII, Christopher
 chris.su...@netapp.com wrote:
 Hey all,
 
 I'm unable to build on 4.4 and master with no changes made in either branch. 
 It appears that there are some files which don't meet the license header 
 requirement. I don't see one, but is there a profile for ignoring the check 
 license plugin? Alternatively, does anyone know what files are offending or 
 how to easily fix this?
 
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 14.076s
 [INFO] Finished at: Thu Mar 20 12:48:27 EDT 2014
 [INFO] Final Memory: 40M/96M
 [INFO] 
 
 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.5:check 
 (cloudstack-checklicence) on project cloud-utils: Some files do not have the 
 expected license header - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
 command
 [ERROR]   mvn goals -rf :cloud-utils
 
 Thanks,
 Chris
 --
 Chris Suich
 chris.su...@netapp.com
 NetApp Software Engineer
 Data Center Platforms - Cloud Solutions
 Citrix, Cisco  Red Hat
 
 
 
 
 -- 
 Daan



Re: concole proxy in 4.3RC9

2014-03-20 Thread Daan Hoogland
btw

the last lines:

2014-03-20 13:57:09,858 DEBUG [c.c.a.t.Request]
(1372260265@qtp-1676921458-10:null) Seq 1-762183775: Sending  { Cmd ,
MgmtId: 24062491136, via: 1(mccdxen2), Ver: v1, Flags: 100011,
[{com.cloud.agent.api.GetVncPortCommand:{id:5,name:i-2-5-VM,wait:0}}]
}
2014-03-20 13:57:09,858 DEBUG [c.c.a.t.Request]
(1372260265@qtp-1676921458-10:null) Seq 1-762183775: Executing:  { Cmd
, MgmtId: 24062491136, via: 1(mccdxen2), Ver: v1, Flags: 100011,
[{com.cloud.agent.api.GetVncPortCommand:{id:5,name:i-2-5-VM,wait:0}}]
}
2014-03-20 13:57:09,859 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Executing request
2014-03-20 13:57:09,976 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Response Received:
2014-03-20 13:57:09,976 DEBUG [c.c.a.t.Request]
(DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Processing:  { Ans: ,
MgmtId: 24062491136, via: 1, Ver: v1, Flags: 10,
[{com.cloud.agent.api.GetVncPortAnswer:{address:consoleurl=https://10.200.23.42/console?uuid=d539642a-7c78-622e-9c22-e6b3b0771122sessionref=OpaqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4,port:-1,result:true,wait:0}}]
}
2014-03-20 13:57:09,976 DEBUG [c.c.a.t.Request]
(1372260265@qtp-1676921458-10:null) Seq 1-762183775: Received:  { Ans:
, MgmtId: 24062491136, via: 1, Ver: v1, Flags: 10, { GetVncPortAnswer
} }
2014-03-20 13:57:09,976 DEBUG [c.c.s.ConsoleProxyServlet]
(1372260265@qtp-1676921458-10:null) Port info
consoleurl=https://10.200.23.42/console?uuid=d539642a-7c78-622e-9c22-e6b3b0771122sessionref=OpaqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4
2014-03-20 13:57:09,976 INFO  [c.c.s.ConsoleProxyServlet]
(1372260265@qtp-1676921458-10:null) Parse host info returned from
executing GetVNCPortCommand. host info:
consoleurl=https://10.200.23.42/console?uuid=d539642a-7c78-622e-9c22-e6b3b0771122sessionref=OpaqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4
2014-03-20 13:57:09,979 DEBUG [c.c.s.ConsoleProxyServlet]
(1372260265@qtp-1676921458-10:null) Compose console url:
http://195.66.90.213/ajax?token=9Rrl0mjwUQd3Ym9mEb-ziydOD0YOSWJNi_QZFP7efEr1mIalpz2Xg0UvR2eUUyqbgFqNXQJOlt0yJsfkH7CnubShCuEb82qKCD4zf50hyHxZufjglf9NefAuIXRJmmXe10afkEVYHARondjCtJ80RkovHVtQHkErX9s2wB2HT9Zx7kuKGdYmigVQ8_AjqFyusOCQ6XTplJOlr4ZdvSZoafu0dowEYJysruLtBvY9qsi5eMXC4ozvodmRUfBN4jARisUjusBCDUSzQyrdXImCjLFT3cL1GVmdNPQz7L7s3PJrSyMdB9ZZshnzNYAYkCjUtjiLwAf3aJfZt3z3r9TuJg6k5kfhRbBsvpBVtrYcI1DXJfEANZD6g9f4hDRghnsXxrUpPrA973CiSUaKsKzUMqVWM4VuiDtHkWIgk_p100K-ai9wzufJYAk9lZ_vhY9GWYkQhpBtZeupk3Gl5Gc_iudCMwP9kFvEA12i6jNvtng
2014-03-20 13:57:09,979 DEBUG [c.c.s.ConsoleProxyServlet]
(1372260265@qtp-1676921458-10:null) the console url is ::
htmltitleg/titleframesetframe
src=http://195.66.90.213/ajax?token=9Rrl0mjwUQd3Ym9mEb-ziydOD0YOSWJNi_QZFP7efEr1mIalpz2Xg0UvR2eUUyqbgFqNXQJOlt0yJsfkH7CnubShCuEb82qKCD4zf50hyHxZufjglf9NefAuIXRJmmXe10afkEVYHARondjCtJ80RkovHVtQHkErX9s2wB2HT9Zx7kuKGdYmigVQ8_AjqFyusOCQ6XTplJOlr4ZdvSZoafu0dowEYJysruLtBvY9qsi5eMXC4ozvodmRUfBN4jARisUjusBCDUSzQyrdXImCjLFT3cL1GVmdNPQz7L7s3PJrSyMdB9ZZshnzNYAYkCjUtjiLwAf3aJfZt3z3r9TuJg6k5kfhRbBsvpBVtrYcI1DXJfEANZD6g9f4hDRghnsXxrUpPrA973CiSUaKsKzUMqVWM4VuiDtHkWIgk_p100K-ai9wzufJYAk9lZ_vhY9GWYkQhpBtZeupk3Gl5Gc_iudCMwP9kFvEA12i6jNvtng;/frame/frameset/html

and next nothing but the browser saying connection refused.

So what changed? Where do I need to adjust my infra to make it work
again? Or is my setup not supported anymore?

On Thu, Mar 20, 2014 at 5:49 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 meaning the console of the ssvm? or the cpvm?

 I just confirmed myself that there is indeed a diff between 4.2.1 and 4.3RC9

 On Thu, Mar 20, 2014 at 5:32 PM, Nux! n...@li.nux.ro wrote:
 On 20.03.2014 16:29, Ove Ewerlid wrote:

 Console SSVM works in my 4.3 setup.
 Traffic does not use SSL and is on port 80.


 Did you have to do anything in particular to disable SSL or is this the new
 default?

 I was having problems with 4.4 where VC VM was in Alert mode and the VMs'
 console was dead; will have to revisit this.

 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro



 --
 Daan



-- 
Daan


Re: 4.4 and master failing due to missing license header

2014-03-20 Thread SuichII, Christopher
Maybe I should add **/target-eclipse/** to the list of excludes for the license 
checking? Anyone have an objection?

-Chris
-- 
Chris Suich
chris.su...@netapp.com
NetApp Software Engineer
Data Center Platforms – Cloud Solutions
Citrix, Cisco  Red Hat

On Mar 20, 2014, at 1:08 PM, SuichII, Christopher chris.su...@netapp.com 
wrote:

 I tried running the command with -X. There is quite a bit of output, but this 
 is what I was able to find:
 
 ...
 [WARNING] Missing header in: 
 /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/com/cloud/utils/db/transactionContextBuilderTest.xml
 ...
 [WARNING] Missing header in: 
 /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/testContext.xml
 ...
 [WARNING] Missing header in: 
 /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/log4j.xml
 ...
 [WARNING] Missing header in: 
 /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/com/cloud/utils/QualifierTestContext.xml
 …
 
 So, it looks like the check license plugin is going after some xml that 
 Eclipse generates. Should I be telling maven to ignore these somehow? When I 
 run ‘git status’, it says my working directory is clean as the .gitignore is 
 setup to ignore that stuff.
 
 -Chris
 -- 
 Chris Suich
 chris.su...@netapp.com
 NetApp Software Engineer
 Data Center Platforms – Cloud Solutions
 Citrix, Cisco  Red Hat
 
 On Mar 20, 2014, at 12:54 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 
 So the offending file is in utils. Doesn't it give info above the BUIL
 FAILURE line?
 
 On Thu, Mar 20, 2014 at 5:52 PM, SuichII, Christopher
 chris.su...@netapp.com wrote:
 Hey all,
 
 I'm unable to build on 4.4 and master with no changes made in either 
 branch. It appears that there are some files which don't meet the license 
 header requirement. I don't see one, but is there a profile for ignoring 
 the check license plugin? Alternatively, does anyone know what files are 
 offending or how to easily fix this?
 
 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 14.076s
 [INFO] Finished at: Thu Mar 20 12:48:27 EDT 2014
 [INFO] Final Memory: 40M/96M
 [INFO] 
 
 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.5:check 
 (cloudstack-checklicence) on project cloud-utils: Some files do not have 
 the expected license header - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, 
 please read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
 command
 [ERROR]   mvn goals -rf :cloud-utils
 
 Thanks,
 Chris
 --
 Chris Suich
 chris.su...@netapp.com
 NetApp Software Engineer
 Data Center Platforms - Cloud Solutions
 Citrix, Cisco  Red Hat
 
 
 
 
 -- 
 Daan
 



Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)

2014-03-20 Thread Daan Hoogland
Thanks Ove,

It looks like the info I want. I will give it a try. (almost hitting myself)

On Thu, Mar 20, 2014 at 6:05 PM, Ove Ewerlid ove.ewer...@oracle.com wrote:
 On 03/20/2014 05:58 PM, Daan Hoogland wrote:

 again I am seriously considering -1 (binding) and (sigh) and. Is there
 any doc I missed on getting the console proxy working in 4.3, that
 will make me hit me on the head and retract this thread?


 A pointer to this will fit nicely in the 4.3 release notes;

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes#RealhostIPchanges-Upgrade

 just checked, did not fine any note about this.
 There have been email threads where this link has been noted on the dev
 list.

 /Ove




 On Tue, Mar 18, 2014 at 9:38 PM, Wilder Rodrigues
 wrodrig...@schubergphilis.com wrote:

 Hi there Ilya,

 Could you please provide which tests cases you have covered? I would like
 to add them to my tests round as well.

 Currently I'm testing multiple zones, networks, instances, ACLs, Port
 Forwarding and will add security groups. If you have more points, I would be
 glad to test them as well.

 Thanks in advance.

 Cheers,
 Wilder

 -Original Message-
 From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
 Sent: Tuesday, March 18, 2014 9:11 PM
 To: dev@cloudstack.apache.org
 Subject: Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)

 +1 binding
 On 3/18/14, 3:05 PM, Animesh Chaturvedi wrote:



 Hi All,



 I've created a 4.3.0 release, with the following artifacts up for a

 vote:





 Git Branch and Commit SH:


 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
 Commit:  0810029f274878eca8fd74b44ab1117054e929a5


 List of changes:

 New Features in 4.3:
 https://issues.apache.org/jira/issues/?filter=12325248

 Improvement in 4.3:
 https://issues.apache.org/jira/issues/?filter=12325249

 Issues fixed in 4.3
 https://issues.apache.org/jira/issues/?filter=12326161

 Known Issues in 4.3:
 https://issues.apache.org/jira/issues/?filter=12326162







 Source release (checksums and signatures are available at the same

 location):

 https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/



 PGP release keys (signed using 94BE0D7C):

 https://dist.apache.org/repos/dist/release/cloudstack/KEYS



 Testing instructions are here:


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



 Vote will be open for 72 hours (Friday 3/21 12:05 PM PST)



 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)



 Thanks

 Animesh









 --
 Ove Everlid
 System Administrator / Architect / SDN-  Automation-  Linux-hacker
 Mobile: +46706662363 (dedicated work mobile)
 Country: Sweden, timezone; Middle Europan Time (MET or GMT+1)



-- 
Daan


Re: Resetting a VM is broken?

2014-03-20 Thread Mike Tutkowski
Thanks, John

I am mainly curious about this use case because of work I did on 4.4 to
support root disks for managed storage (just on XenServer for 4.4.).

It appears I need to make a small tweak to 4.4 code in the managed-storage
area for this cleanup to completely work (the SR that was auto created for
the volume that's deleted needs to be removed from the applicable XenServer
cluster).


On Thu, Mar 20, 2014 at 9:36 AM, John Kinsella j...@stratosec.co wrote:

 Mike - There is a way to restore disks in destroyed state before they are
 expunged. It requires shutting down management server, modifying database
 directly, and keeping a good stock of potential offerings near your data
 recovery shrine.

 I'm going to be covering this in my CCC Denver talk.

 John

 On Mar 19, 2014, at 9:59 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 mailto:mike.tutkow...@solidfire.com wrote:

 Please correct me if I'm wrong, but there does not appear to be a way to
 save the old root disk once it has gone into the Destroy state in this
 situation, is there?

 In other words, the new root disk is created, the old is put into the
 Destroy state, and the old will get deleted at the next clean-up cycle...no
 chance to restore that volume (even for use as a data disk).


 On Wed, Mar 19, 2014 at 10:33 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

 OK, I went back an re-ran my test.

 I see how this works now.

 I was aware that volumes in the Destroy state get expunged by a background
 thread at some point; however, what tricked me here is that my old root
 disk no longer showed up in the Storage tab of the GUI.

 When I looked in the volumes table, though, I saw that that disk was in
 the Destroy state.

 I speed up the frequency of the clean-up background thread to run once
 every minute and I saw the old root disk got put into the Expunged state
 (as you'd expect, it was no longer present in the SR).


 On Wed, Mar 19, 2014 at 7:06 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

 Yeah, usually reset (for hypervisors) means shut down the VM and
 re-start it.


 On Wed, Mar 19, 2014 at 6:22 PM, Marcus shadow...@gmail.commailto:
 shadow...@gmail.com wrote:

 +1 to reset being a bad verb for this. It's too late now, however.

 On Wed, Mar 19, 2014 at 6:22 PM, Marcus shadow...@gmail.commailto:
 shadow...@gmail.com wrote:
 The storage gets marked as 'Destroy' state. Then it goes to
 'Expunging' when the storage cleanup interval occurs. I've actually
 thought about leveraging that for data disks, the current delete data
 disk immediately cleans up the disk, when we could create an api call
 that just moves the data disk to destroy state. Then there'd actually
 be room for an 'undo' operation where the state could be moved back to
 Ready, so long as the cleanup hasn't occurred.

 On Wed, Mar 19, 2014 at 4:43 PM, Nitin Mehta nitin.me...@citrix.com
 mailto:nitin.me...@citrix.com
 wrote:
 Please feel free to open a documentation bug on JIRA if the info
 doesn't
 exist.

 On 19/03/14 3:16 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 mailto:mike.tutkow...@solidfire.com
 wrote:

 Thanks for that background-cleanup info. I was not aware of that.

 I'll probably take a look into it and see how that works.


 On Wed, Mar 19, 2014 at 4:13 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote:

 CS destroys the Root volume in CS DB, then its up to the storage
 pool
 cleanup task to clean it up on the backend. This is a background
 task
 running every storage.cleanup.interval seconds.

 For how long do you see the volume being present on the SR?

 On 3/19/14, 3:03 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 mailto:mike.tutkow...@solidfire.com

 wrote:

 OK, sounds good; however, if this is desired behavior, does anyone
 know
 why
 we abandon the old root disk in the XenServer SR? It seems that
 CloudStack
 forgets about it and it just stays in the SR taking up space.

 Do people think it should be deleted?


 On Wed, Mar 19, 2014 at 3:49 PM, Nitin Mehta 
 nitin.me...@citrix.commailto:nitin.me...@citrix.com
 wrote:

 I think that's what it is supposed to do. It discards the old
 root
 disk
 and creates a fresh root disk for the vm and in case an optional
 field
 template id is passed in the root disk is created from this new
 template
 id.
 The api name is restoreVirtualMachine. Please check that the UI
 is
 internally invoking this api

 Thanks,
 -Nitin

 On 19/03/14 1:55 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com
 wrote:

 Hi,

 I noticed today while running through some test cases for 4.4
 that
 resetting a VM does not work as expected.

 Instead of the typical stop and re-start behavior where the VM
 is
 booted
 back up using the same root disk, the VM gets a new root disk
 when
 it
 is
 booted back up.

 Can anyone confirm this finding for me with his or her 

RE: [VOTE] Apache CloudStack 4.3.0 (ninth round)

2014-03-20 Thread Animesh Chaturvedi
It should work and has been tested, adding Amogh and Sadhu

 -Original Message-
 From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
 Sent: Thursday, March 20, 2014 10:19 AM
 To: dev
 Subject: Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)
 
 Thanks Ove,
 
 It looks like the info I want. I will give it a try. (almost hitting myself)
 
 On Thu, Mar 20, 2014 at 6:05 PM, Ove Ewerlid ove.ewer...@oracle.com
 wrote:
  On 03/20/2014 05:58 PM, Daan Hoogland wrote:
 
  again I am seriously considering -1 (binding) and (sigh) and. Is
  there any doc I missed on getting the console proxy working in 4.3,
  that will make me hit me on the head and retract this thread?
 
 
  A pointer to this will fit nicely in the 4.3 release notes;
 
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+cha
  nges#RealhostIPchanges-Upgrade
 
  just checked, did not fine any note about this.
  There have been email threads where this link has been noted on the
  dev list.
 
  /Ove
 
 
 
 
  On Tue, Mar 18, 2014 at 9:38 PM, Wilder Rodrigues
  wrodrig...@schubergphilis.com wrote:
 
  Hi there Ilya,
 
  Could you please provide which tests cases you have covered? I would
  like to add them to my tests round as well.
 
  Currently I'm testing multiple zones, networks, instances, ACLs,
  Port Forwarding and will add security groups. If you have more
  points, I would be glad to test them as well.
 
  Thanks in advance.
 
  Cheers,
  Wilder
 
  -Original Message-
  From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
  Sent: Tuesday, March 18, 2014 9:11 PM
  To: dev@cloudstack.apache.org
  Subject: Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)
 
  +1 binding
  On 3/18/14, 3:05 PM, Animesh Chaturvedi wrote:
 
 
 
  Hi All,
 
 
 
  I've created a 4.3.0 release, with the following artifacts up for a
 
  vote:
 
 
 
 
 
  Git Branch and Commit SH:
 
 
  https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog
  ;h=refs/heads/4.3
  Commit:  0810029f274878eca8fd74b44ab1117054e929a5
 
 
  List of changes:
 
  New Features in 4.3:
  https://issues.apache.org/jira/issues/?filter=12325248
 
  Improvement in 4.3:
  https://issues.apache.org/jira/issues/?filter=12325249
 
  Issues fixed in 4.3
  https://issues.apache.org/jira/issues/?filter=12326161
 
  Known Issues in 4.3:
  https://issues.apache.org/jira/issues/?filter=12326162
 
 
 
 
 
 
 
  Source release (checksums and signatures are available at the same
 
  location):
 
  https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/
 
 
 
  PGP release keys (signed using 94BE0D7C):
 
  https://dist.apache.org/repos/dist/release/cloudstack/KEYS
 
 
 
  Testing instructions are here:
 
 
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test
  +procedure
 
 
 
  Vote will be open for 72 hours (Friday 3/21 12:05 PM PST)
 
 
 
  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)
 
 
 
  Thanks
 
  Animesh
 
 
 
 
 
 
 
 
 
  --
  Ove Everlid
  System Administrator / Architect / SDN-  Automation-  Linux-hacker
  Mobile: +46706662363 (dedicated work mobile)
  Country: Sweden, timezone; Middle Europan Time (MET or GMT+1)
 
 
 
 --
 Daan


Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)

2014-03-20 Thread Daan Hoogland
On Thu, Mar 20, 2014 at 6:21 PM, Animesh Chaturvedi
animesh.chaturv...@citrix.com wrote:
 should work


You mean 'should work after default installation, Animesh?
consoleproxy.url.domain is empty.

thanks,
-- 
Daan


Re: Resetting a VM is broken?

2014-03-20 Thread Brian Federle
 the Reset Vm option is presented as a button unlike the icons 

I think this was because all the other icons we tried to represent this with 
were too confusing to users — they were clicking on 'reset VM' thinking it was 
‘reboot VM’ — then as a last minute fix the decision was to just to show a text 
label.

Any ideas from anyone on what would be a good icon representation?

-Brian

On Mar 19, 2014, at 3:02 PM, Alena Prokharchyk alena.prokharc...@citrix.com 
wrote:

 1) Didn’t notice “the elephant” - that the Reset Vm option is presented as
 a button unlike the icons for other options. UI folks - Brian/Jessica- why
 we decided to represent this option differently in the UI?
 
 2) Mike, I’ve looked at the code and the history. We've always allocated a
 new volume during the vm restore call. Hari, can you please confirm that
 this feature you wrote, was designed to work this way
 
 
 -Alena.
 
 
 On 3/19/14, 2:41 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:
 
 To clarify: Reboot VM seemed to keep the VM running and just reboot the
 OS.
 
 Reset VM seemed to shut the VM down and then re-start it (with the same
 root disk for the OS).
 
 
 On Wed, Mar 19, 2014 at 3:40 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:
 
 I could be wrong, but I thought as recently as 4.3 that Reset VM
 essentially stopped and then re-started the VM with the same root disk.
 
 It seemed to differ from Reboot VM only in the sense that the VM was
 never
 technically stopped (the OS inside the VM was just rebooted).
 
 
 On Wed, Mar 19, 2014 at 3:38 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:
 
 I'm using XenServer 6.1 hosts (two of them) in this case.
 
 
 On Wed, Mar 19, 2014 at 3:37 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:
 
 Yeah, stopping and restarting works fine...as does, I believe,
 rebooting
 the VM.
 
 Right below Reboot VM, there is a Reset VM option.
 
 If that means re-install, then we probably should clean up the old
 root disk.
 
 
 On Wed, Mar 19, 2014 at 3:30 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:
 
 don¹t see ³Reset Vm² option in UI; do you mean ³Reboot instance²?
 I¹ve
 just tried that, as well as calling stop/startVM from the UI. The Vm
 boots
 up with its original disk.
 
 I¹m having Xen/Nfs, not sure it matters
 
 -Alena.
 
 On 3/19/14, 2:19 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 wrote:
 
 I didn't look into what the GUI calls, but I invoked the Reset VM
 option
 in
 the GUI.
 
 Thanks
 
 
 On Wed, Mar 19, 2014 at 3:17 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:
 
 Mike, just to confirm - did you call
 stopVirtualMachine/startVirtualMachine apis?
 
 -alena.
 
 On 3/19/14, 1:55 PM, Mike Tutkowski
 mike.tutkow...@solidfire.com
 wrote:
 
 Hi,
 
 I noticed today while running through some test cases for 4.4
 that
 resetting a VM does not work as expected.
 
 Instead of the typical stop and re-start behavior where the VM is
 booted
 back up using the same root disk, the VM gets a new root disk
 when
 it
 is
 booted back up.
 
 Can anyone confirm this finding for me with his or her setup?
 
 Thanks!
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 -- 
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 



Re: Review Request 19039: CLOUDSTACK-2266: Adding automation tests for IP reservation feature

2014-03-20 Thread Ashutosh Kelkar


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 258
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line258
 
  Move this to a utility function i believe. Also, do we have a class in 
  base.py for Router to verify state. If not update or use that.

We are just listing the routers here and matching the state. There is no API 
for matching router state as such. I have moved this function to utility.


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 296
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line296
 
  The validation comment at step2 mentions about to verify that the guest 
  vm ip is not changed. I believe we are just listing the vms, should that 
  satisfy to verify ip as well, i mean is listing vms is equal to verify that 
  ip is not changed?

IPs have been matched in step below it to verify it is not changed.


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 318
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line318
 
  Step1 is not validated it seems?

It is verified in the function called on line 246


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 328
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line328
 
  is 10.1.1.9 outside of 10.1.1.0/29?

10.1.1.0/29 translates to 10.1.1.0 to 10.1.1.7


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 1021
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line1021
 
  Change this to one single assert?

The utility function you have suggested checks if the element is present in 
list. But here we have to check particular attributes of object, I think it 
won't be possible to combine two alerts with using utility function.


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 265
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line265
 
  We have a utility function under utils.py verifyElementInList, this 
  can help remove two asserts in to one i believe, please check.

The utility function you have suggested checks if the element is present in 
list. But here we have to check particular attributes of object, I think it 
won't be possible to combine two alerts with using utility function.


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 483
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line483
 
  Will it be possible to check the update state of router rather sleep? 
  It will help other test cases as well.

I have used router.check.interval instead of sleeping for any random time, 
and we are using verifyRouterState function to check the router state is 
changed or not. This is a validation part of test case.


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 1271
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line1271
 
  This function seems to be used in many classes, so if possible move it 
  as a util\library function for better usage.

This is used only in this class and very specific to the test cases in this 
suite.


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 1277
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line1277
 
  Will this be cleaned automatically?

It will be cleaned up as part of account cleanup.


 On March 18, 2014, 6:57 a.m., Santhosh Edukulla wrote:
  test/integration/component/test_ip_reservation.py, line 1317
  https://reviews.apache.org/r/19039/diff/3/?file=519653#file519653line1317
 
  Is this ok to hardcode these values? instead put it in one place, this 
  way, the values can be altered at one place and effect takes place at all 
  rather changing all test cases in future.

Removed hard-coded value, now subnet is taken randomly.


- Ashutosh


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


On March 14, 2014, 4:44 p.m., Ashutosh Kelkar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19039/
 ---
 
 (Updated March 14, 2014, 4:44 p.m.)
 
 
 Review request for cloudstack, Santhosh Edukulla and SrikanteswaraRao Talluri.
 
 
 Bugs: CLOUDSTACK-2266
 

Re: Review Request 19039: CLOUDSTACK-2266: Adding automation tests for IP reservation feature

2014-03-20 Thread Ashutosh Kelkar

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

(Updated March 20, 2014, 5:31 p.m.)


Review request for cloudstack, Santhosh Edukulla and SrikanteswaraRao Talluri.


Changes
---

Review changes.


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


Repository: cloudstack-git


Description
---

Adding first set of automation tests for IP reservation feature.


Diffs (updated)
-

  test/integration/component/test_ip_reservation.py 224212f 
  tools/marvin/marvin/codes.py e4a0f6a 
  tools/marvin/marvin/config/config.cfg 356a291 
  tools/marvin/marvin/integration/lib/common.py 3b292bf 
  tools/marvin/marvin/integration/lib/utils.py 709fdde 

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


Testing
---

Yes. Log below.

test_RVR_network (test_ip_reservation.TestIpReservation) ... SKIP: Skip - WIP
test_ip_reservation_in_multiple_networks_same_account 
(test_ip_reservation.TestIpReservation) ... ok
test_nat_rules_nat rule (test_ip_reservation.TestIpReservation) ... ok
test_nat_rules_static nat rule (test_ip_reservation.TestIpReservation) ... ok
test_update_cidr_multiple_vms_not_all_inclusive 
(test_ip_reservation.TestIpReservation) ... ok
test_update_cidr_single_vm_not_inclusive 
(test_ip_reservation.TestIpReservation) ... ok
test_user_defined_cidr (test_ip_reservation.TestIpReservation) ... ok
test_vm_create_after_reservation_LB-NS (test_ip_reservation.TestIpReservation) 
... SKIP: Skipping - this test required netscaler configured in the network
test_vm_create_after_reservation_LB-VR (test_ip_reservation.TestIpReservation) 
... ok
test_vm_create_outside_cidr_after_reservation_LB-NS 
(test_ip_reservation.TestIpReservation) ... SKIP: Skipping - this test required 
netscaler configured in the network
test_vm_create_outside_cidr_after_reservation_LB-VR 
(test_ip_reservation.TestIpReservation) ... ok
--
Ran 11 tests in 3753.613s

OK

Two tests which require Netscaler configured are skipped due to netscaler was 
not available on setup.


Thanks,

Ashutosh Kelkar



Re: [VOTE] Apache CloudStack 4.3.0 (ninth round)

2014-03-20 Thread Daan Hoogland
please see the thread 'concole proxy in 4.3RC9' about this

On Thu, Mar 20, 2014 at 6:25 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 On Thu, Mar 20, 2014 at 6:21 PM, Animesh Chaturvedi
 animesh.chaturv...@citrix.com wrote:
 should work


 You mean 'should work after default installation, Animesh?
 consoleproxy.url.domain is empty.

 thanks,
 --
 Daan



-- 
Daan


Re: 4.4 and master failing due to missing license header

2014-03-20 Thread Daan Hoogland
as long as nothing in git is in it, no

On Thu, Mar 20, 2014 at 6:17 PM, SuichII, Christopher
chris.su...@netapp.com wrote:
 Maybe I should add **/target-eclipse/** to the list of excludes for the 
 license checking? Anyone have an objection?

 -Chris
 --
 Chris Suich
 chris.su...@netapp.com
 NetApp Software Engineer
 Data Center Platforms - Cloud Solutions
 Citrix, Cisco  Red Hat

 On Mar 20, 2014, at 1:08 PM, SuichII, Christopher chris.su...@netapp.com 
 wrote:

 I tried running the command with -X. There is quite a bit of output, but 
 this is what I was able to find:

 ...
 [WARNING] Missing header in: 
 /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/com/cloud/utils/db/transactionContextBuilderTest.xml
 ...
 [WARNING] Missing header in: 
 /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/testContext.xml
 ...
 [WARNING] Missing header in: 
 /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/log4j.xml
 ...
 [WARNING] Missing header in: 
 /Users/csuich/CloudStack/cloudstack/utils/target-eclipse/test-classes/com/cloud/utils/QualifierTestContext.xml
 ...

 So, it looks like the check license plugin is going after some xml that 
 Eclipse generates. Should I be telling maven to ignore these somehow? When I 
 run 'git status', it says my working directory is clean as the .gitignore is 
 setup to ignore that stuff.

 -Chris
 --
 Chris Suich
 chris.su...@netapp.com
 NetApp Software Engineer
 Data Center Platforms - Cloud Solutions
 Citrix, Cisco  Red Hat

 On Mar 20, 2014, at 12:54 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:

 So the offending file is in utils. Doesn't it give info above the BUIL
 FAILURE line?

 On Thu, Mar 20, 2014 at 5:52 PM, SuichII, Christopher
 chris.su...@netapp.com wrote:
 Hey all,

 I'm unable to build on 4.4 and master with no changes made in either 
 branch. It appears that there are some files which don't meet the license 
 header requirement. I don't see one, but is there a profile for ignoring 
 the check license plugin? Alternatively, does anyone know what files are 
 offending or how to easily fix this?

 [INFO] 
 
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 14.076s
 [INFO] Finished at: Thu Mar 20 12:48:27 EDT 2014
 [INFO] Final Memory: 40M/96M
 [INFO] 
 
 [ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.5:check 
 (cloudstack-checklicence) on project cloud-utils: Some files do not have 
 the expected license header - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the 
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, 
 please read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
 command
 [ERROR]   mvn goals -rf :cloud-utils

 Thanks,
 Chris
 --
 Chris Suich
 chris.su...@netapp.com
 NetApp Software Engineer
 Data Center Platforms - Cloud Solutions
 Citrix, Cisco  Red Hat




 --
 Daan





-- 
Daan


Re: concole proxy in 4.3RC9

2014-03-20 Thread Daan Hoogland
please note that 10.200.23.42 is a xenhost hosting the consoleproxy
and 195.66.90.213 is the cpvm
the ms is localhost with ui on port 8080

On Thu, Mar 20, 2014 at 6:15 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 btw

 the last lines:

 2014-03-20 13:57:09,858 DEBUG [c.c.a.t.Request]
 (1372260265@qtp-1676921458-10:null) Seq 1-762183775: Sending  { Cmd ,
 MgmtId: 24062491136, via: 1(mccdxen2), Ver: v1, Flags: 100011,
 [{com.cloud.agent.api.GetVncPortCommand:{id:5,name:i-2-5-VM,wait:0}}]
 }
 2014-03-20 13:57:09,858 DEBUG [c.c.a.t.Request]
 (1372260265@qtp-1676921458-10:null) Seq 1-762183775: Executing:  { Cmd
 , MgmtId: 24062491136, via: 1(mccdxen2), Ver: v1, Flags: 100011,
 [{com.cloud.agent.api.GetVncPortCommand:{id:5,name:i-2-5-VM,wait:0}}]
 }
 2014-03-20 13:57:09,859 DEBUG [c.c.a.m.DirectAgentAttache]
 (DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Executing request
 2014-03-20 13:57:09,976 DEBUG [c.c.a.m.DirectAgentAttache]
 (DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Response Received:
 2014-03-20 13:57:09,976 DEBUG [c.c.a.t.Request]
 (DirectAgent-63:ctx-6c8a6687) Seq 1-762183775: Processing:  { Ans: ,
 MgmtId: 24062491136, via: 1, Ver: v1, Flags: 10,
 [{com.cloud.agent.api.GetVncPortAnswer:{address:consoleurl=https://10.200.23.42/console?uuid=d539642a-7c78-622e-9c22-e6b3b0771122sessionref=OpaqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4,port:-1,result:true,wait:0}}]
 }
 2014-03-20 13:57:09,976 DEBUG [c.c.a.t.Request]
 (1372260265@qtp-1676921458-10:null) Seq 1-762183775: Received:  { Ans:
 , MgmtId: 24062491136, via: 1, Ver: v1, Flags: 10, { GetVncPortAnswer
 } }
 2014-03-20 13:57:09,976 DEBUG [c.c.s.ConsoleProxyServlet]
 (1372260265@qtp-1676921458-10:null) Port info
 consoleurl=https://10.200.23.42/console?uuid=d539642a-7c78-622e-9c22-e6b3b0771122sessionref=OpaqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4
 2014-03-20 13:57:09,976 INFO  [c.c.s.ConsoleProxyServlet]
 (1372260265@qtp-1676921458-10:null) Parse host info returned from
 executing GetVNCPortCommand. host info:
 consoleurl=https://10.200.23.42/console?uuid=d539642a-7c78-622e-9c22-e6b3b0771122sessionref=OpaqueRef:160e30d3-5f3e-255e-ef8a-596e69ad30d4
 2014-03-20 13:57:09,979 DEBUG [c.c.s.ConsoleProxyServlet]
 (1372260265@qtp-1676921458-10:null) Compose console url:
 http://195.66.90.213/ajax?token=9Rrl0mjwUQd3Ym9mEb-ziydOD0YOSWJNi_QZFP7efEr1mIalpz2Xg0UvR2eUUyqbgFqNXQJOlt0yJsfkH7CnubShCuEb82qKCD4zf50hyHxZufjglf9NefAuIXRJmmXe10afkEVYHARondjCtJ80RkovHVtQHkErX9s2wB2HT9Zx7kuKGdYmigVQ8_AjqFyusOCQ6XTplJOlr4ZdvSZoafu0dowEYJysruLtBvY9qsi5eMXC4ozvodmRUfBN4jARisUjusBCDUSzQyrdXImCjLFT3cL1GVmdNPQz7L7s3PJrSyMdB9ZZshnzNYAYkCjUtjiLwAf3aJfZt3z3r9TuJg6k5kfhRbBsvpBVtrYcI1DXJfEANZD6g9f4hDRghnsXxrUpPrA973CiSUaKsKzUMqVWM4VuiDtHkWIgk_p100K-ai9wzufJYAk9lZ_vhY9GWYkQhpBtZeupk3Gl5Gc_iudCMwP9kFvEA12i6jNvtng
 2014-03-20 13:57:09,979 DEBUG [c.c.s.ConsoleProxyServlet]
 (1372260265@qtp-1676921458-10:null) the console url is ::
 htmltitleg/titleframesetframe
 src=http://195.66.90.213/ajax?token=9Rrl0mjwUQd3Ym9mEb-ziydOD0YOSWJNi_QZFP7efEr1mIalpz2Xg0UvR2eUUyqbgFqNXQJOlt0yJsfkH7CnubShCuEb82qKCD4zf50hyHxZufjglf9NefAuIXRJmmXe10afkEVYHARondjCtJ80RkovHVtQHkErX9s2wB2HT9Zx7kuKGdYmigVQ8_AjqFyusOCQ6XTplJOlr4ZdvSZoafu0dowEYJysruLtBvY9qsi5eMXC4ozvodmRUfBN4jARisUjusBCDUSzQyrdXImCjLFT3cL1GVmdNPQz7L7s3PJrSyMdB9ZZshnzNYAYkCjUtjiLwAf3aJfZt3z3r9TuJg6k5kfhRbBsvpBVtrYcI1DXJfEANZD6g9f4hDRghnsXxrUpPrA973CiSUaKsKzUMqVWM4VuiDtHkWIgk_p100K-ai9wzufJYAk9lZ_vhY9GWYkQhpBtZeupk3Gl5Gc_iudCMwP9kFvEA12i6jNvtng;/frame/frameset/html

 and next nothing but the browser saying connection refused.

 So what changed? Where do I need to adjust my infra to make it work
 again? Or is my setup not supported anymore?

 On Thu, Mar 20, 2014 at 5:49 PM, Daan Hoogland daan.hoogl...@gmail.com 
 wrote:
 meaning the console of the ssvm? or the cpvm?

 I just confirmed myself that there is indeed a diff between 4.2.1 and 4.3RC9

 On Thu, Mar 20, 2014 at 5:32 PM, Nux! n...@li.nux.ro wrote:
 On 20.03.2014 16:29, Ove Ewerlid wrote:

 Console SSVM works in my 4.3 setup.
 Traffic does not use SSL and is on port 80.


 Did you have to do anything in particular to disable SSL or is this the new
 default?

 I was having problems with 4.4 where VC VM was in Alert mode and the VMs'
 console was dead; will have to revisit this.

 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro



 --
 Daan



 --
 Daan



-- 
Daan


Re: [PROPOSAL] Support pure Xen as a hypervisor

2014-03-20 Thread Marco Sinhoreli
+1

Marco Sinhoreli

Consultant Manager








Phone: +55 21 2586 6390 | Fax: +55 21 2586 6002 | Mobile: +55 21 98276
3636



Praia de Botafogo 501, bloco 1 - sala 101, Botafogo, Rio de Janeiro, RJ -
Brazil - CEP 22250-040



marco.sinhor...@shapeblue.com| www.shapeblue.com
http://www.shapeblue.com | Twitter: @shapeblue
https://twitter.com/shapeblue


Apache CloudStack Bootcamp training courses:

**NEW!** CloudStack 4.2 training
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 and ShapeBlue Brasil Consultoria LTDA are operated under license from
Shape Blue Ltd. ShapeBlue is a registered trademark.





On 18/03/14 12:40, Tim Mackey tmac...@gmail.com wrote:

Historically CloudStack has used Xen and XenServer interchangeably to
refer
to any XenAPI based implementation.  With the recent release of Xen
Project
4.4 (http://blog.xen.org/index.php/2014/03/10/xen-4-4-released/), and
interest in alternate architectures like ARM, the loose definition of our
Xen support could be confusing.  In this two part effort I propose that
CloudStack 4.4 be cleansed to ensure that all Xen references become
XenServer references, and second that an alternate hypervisor type of
XenProject be introduced for pure Xen which could either support libvirt
or  libxl (preference for libvirt given the 4.4 work to improve the
interface and broader support for libvirt in general).

Cross posted to users to for broader comment.

-tim

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 is a registered trademark.


Re: Resetting a VM is broken?

2014-03-20 Thread Mike Tutkowski
I don't really have an opinion regarding icons, but maybe another idea here
would be to provide a detailed explanation in the confirmation dialog of
what's about to happen since it could lead to data loss (unless you follow
John's solution of the management server having to be stopped, which seems
like a lot of work in a multi-management server environment).


On Thu, Mar 20, 2014 at 11:29 AM, Brian Federle brian.fede...@citrix.comwrote:

  the Reset Vm option is presented as a button unlike the icons

 I think this was because all the other icons we tried to represent this
 with were too confusing to users -- they were clicking on 'reset VM'
 thinking it was 'reboot VM' -- then as a last minute fix the decision was to
 just to show a text label.

 Any ideas from anyone on what would be a good icon representation?

 -Brian

 On Mar 19, 2014, at 3:02 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:

  1) Didn't notice the elephant - that the Reset Vm option is presented
 as
  a button unlike the icons for other options. UI folks - Brian/Jessica-
 why
  we decided to represent this option differently in the UI?
 
  2) Mike, I've looked at the code and the history. We've always allocated
 a
  new volume during the vm restore call. Hari, can you please confirm that
  this feature you wrote, was designed to work this way
 
 
  -Alena.
 
 
  On 3/19/14, 2:41 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 wrote:
 
  To clarify: Reboot VM seemed to keep the VM running and just reboot the
  OS.
 
  Reset VM seemed to shut the VM down and then re-start it (with the same
  root disk for the OS).
 
 
  On Wed, Mar 19, 2014 at 3:40 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  I could be wrong, but I thought as recently as 4.3 that Reset VM
  essentially stopped and then re-started the VM with the same root disk.
 
  It seemed to differ from Reboot VM only in the sense that the VM was
  never
  technically stopped (the OS inside the VM was just rebooted).
 
 
  On Wed, Mar 19, 2014 at 3:38 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  I'm using XenServer 6.1 hosts (two of them) in this case.
 
 
  On Wed, Mar 19, 2014 at 3:37 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  Yeah, stopping and restarting works fine...as does, I believe,
  rebooting
  the VM.
 
  Right below Reboot VM, there is a Reset VM option.
 
  If that means re-install, then we probably should clean up the old
  root disk.
 
 
  On Wed, Mar 19, 2014 at 3:30 PM, Alena Prokharchyk 
  alena.prokharc...@citrix.com wrote:
 
  don¹t see ³Reset Vm² option in UI; do you mean ³Reboot instance²?
  I¹ve
  just tried that, as well as calling stop/startVM from the UI. The Vm
  boots
  up with its original disk.
 
  I¹m having Xen/Nfs, not sure it matters
 
  -Alena.
 
  On 3/19/14, 2:19 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 
  wrote:
 
  I didn't look into what the GUI calls, but I invoked the Reset VM
  option
  in
  the GUI.
 
  Thanks
 
 
  On Wed, Mar 19, 2014 at 3:17 PM, Alena Prokharchyk 
  alena.prokharc...@citrix.com wrote:
 
  Mike, just to confirm - did you call
  stopVirtualMachine/startVirtualMachine apis?
 
  -alena.
 
  On 3/19/14, 1:55 PM, Mike Tutkowski
  mike.tutkow...@solidfire.com
  wrote:
 
  Hi,
 
  I noticed today while running through some test cases for 4.4
  that
  resetting a VM does not work as expected.
 
  Instead of the typical stop and re-start behavior where the VM is
  booted
  back up using the same root disk, the VM gets a new root disk
  when
  it
  is
  booted back up.
 
  Can anyone confirm this finding for me with his or her setup?
 
  Thanks!
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way 

Re: Review Request 18964: Windowsfication of CloudStack Management Server - Changes to support windows OS

2014-03-20 Thread Damodar Reddy Talakanti

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

(Updated March 20, 2014, 5:47 p.m.)


Review request for cloudstack, Abhinandan Prateek, Chiradeep Vittal, daan 
Hoogland, and Donal Lafferty.


Changes
---

Fixed extra spaces


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

https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6105


Repository: cloudstack-git


Description
---

Windowsfication of CloudStack Management Server


Diffs (updated)
-

  scripts/installer/windows/acs.wxs PRE-CREATION 
  scripts/installer/windows/client.wxs PRE-CREATION 
  scripts/installer/windows/start.bat PRE-CREATION 
  scripts/vm/systemvm/injectkeys.py PRE-CREATION 
  server/src/com/cloud/server/ConfigurationServerImpl.java 4781010 
  server/test/com/cloud/server/ConfigurationServerImplTest.java 08a2097 

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


Testing
---

Tested in Linux environment after changes 
Also tested in Windows environment(For now tested on windows-8) to make sure it 
is getting installed and management service is running.

Able to add zones, able to register templates, able to launch a VM when it is 
running on windows.

Currently though it is getting added as a windows service, not able to start 
the service through windows service control manager which I am looking into 
currently. When run .exe file which is installed then server is getting up and 
able to access cloud stack UI. 

For now The following assumptions are made:
1. SSH keys are already installed
2. JAVA is already installed
3. tomcat is already installed

This patch contains the following new files related to WiX tool (To compile and 
run we need this tool)
1. acs.wxs
The following command will be used to compile
  Path To WiX Tool\bin\candle.exe acs.wxs
2. client.wxs
The following command will be used to generate the above file
  Path To WiX Tool\bin\heat dir client -gg -cg Test  -ke -sfrag 
-template fragment -out client.wxs  -var wix.SourceClient -dr WEBAPPS
The following command will be used to compile the above generated file
  Path To WiX Tool\bin\candle.exe client.wxs
3. The following command will be used to generate .msi file
  Path To WiX Tool\bin\light.exe acs.wixobj client.wixobj -out acs.msi  
-ext C:\Program Files (x86)\WiX Toolset v3.8\bin\WixUIExtension.dll 
-dSourceClient=SourceDir\client


Thanks,

Damodar Reddy Talakanti



Re: Resetting a VM is broken?

2014-03-20 Thread Mike Tutkowski
Thanks, Jessica

The even weirder part, though, is that the text Restore maps to the
recoverVirtualMachine API and the text Reset VM maps to the
restoreVirtualMachine.


On Thu, Mar 20, 2014 at 11:58 AM, Jessica Wang jessica.w...@citrix.comwrote:

  [Mike Tutkowski] Unless I'm reading this incorrectly, it looks like
  label.action.restore.instance (Restore Instance) maps to
 recoverVirtualMachine
  and
  label.resetVM (Reset VM) maps to restoreVirtualMachine


 Yes, this is confusing.
 I'll file an UI bug to match icon label with API name.
 i.e. The icon that fires recoverVirtualMachine API will be labeled as
 Recover
 and the icon that fires restoreVirtualMachine API will be labeled as
 Restore


 -Original Message-
 From: Brian Federle
 Sent: Thursday, March 20, 2014 10:29 AM
 To: Alena Prokharchyk
 Cc: dev@cloudstack.apache.org; Brian Federle; Jessica Wang; Mike
 Tutkowski; Harikrishna Patnala
 Subject: Re: Resetting a VM is broken?

  the Reset Vm option is presented as a button unlike the icons

 I think this was because all the other icons we tried to represent this
 with were too confusing to users - they were clicking on 'reset VM'
 thinking it was 'reboot VM' - then as a last minute fix the decision was to
 just to show a text label.

 Any ideas from anyone on what would be a good icon representation?

 -Brian

 On Mar 19, 2014, at 3:02 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:

  1) Didn't notice the elephant - that the Reset Vm option is presented
 as
  a button unlike the icons for other options. UI folks - Brian/Jessica-
 why
  we decided to represent this option differently in the UI?
 
  2) Mike, I've looked at the code and the history. We've always allocated
 a
  new volume during the vm restore call. Hari, can you please confirm that
  this feature you wrote, was designed to work this way
 
 
  -Alena.
 
 
  On 3/19/14, 2:41 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 wrote:
 
  To clarify: Reboot VM seemed to keep the VM running and just reboot the
  OS.
 
  Reset VM seemed to shut the VM down and then re-start it (with the same
  root disk for the OS).
 
 
  On Wed, Mar 19, 2014 at 3:40 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  I could be wrong, but I thought as recently as 4.3 that Reset VM
  essentially stopped and then re-started the VM with the same root disk.
 
  It seemed to differ from Reboot VM only in the sense that the VM was
  never
  technically stopped (the OS inside the VM was just rebooted).
 
 
  On Wed, Mar 19, 2014 at 3:38 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  I'm using XenServer 6.1 hosts (two of them) in this case.
 
 
  On Wed, Mar 19, 2014 at 3:37 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  Yeah, stopping and restarting works fine...as does, I believe,
  rebooting
  the VM.
 
  Right below Reboot VM, there is a Reset VM option.
 
  If that means re-install, then we probably should clean up the old
  root disk.
 
 
  On Wed, Mar 19, 2014 at 3:30 PM, Alena Prokharchyk 
  alena.prokharc...@citrix.com wrote:
 
  don¹t see ³Reset Vm² option in UI; do you mean ³Reboot instance²?
  I¹ve
  just tried that, as well as calling stop/startVM from the UI. The Vm
  boots
  up with its original disk.
 
  I¹m having Xen/Nfs, not sure it matters
 
  -Alena.
 
  On 3/19/14, 2:19 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 
  wrote:
 
  I didn't look into what the GUI calls, but I invoked the Reset VM
  option
  in
  the GUI.
 
  Thanks
 
 
  On Wed, Mar 19, 2014 at 3:17 PM, Alena Prokharchyk 
  alena.prokharc...@citrix.com wrote:
 
  Mike, just to confirm - did you call
  stopVirtualMachine/startVirtualMachine apis?
 
  -alena.
 
  On 3/19/14, 1:55 PM, Mike Tutkowski
  mike.tutkow...@solidfire.com
  wrote:
 
  Hi,
 
  I noticed today while running through some test cases for 4.4
  that
  resetting a VM does not work as expected.
 
  Instead of the typical stop and re-start behavior where the VM is
  booted
  back up using the same root disk, the VM gets a new root disk
  when
  it
  is
  booted back up.
 
  Can anyone confirm this finding for me with his or her setup?
 
  Thanks!
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
 

RE: Resetting a VM is broken?

2014-03-20 Thread Alex Hitchins
Perhaps a recycle icon would be better? To me it makes more sense.

I do like the idea of making sure via dialogs that the user knows what they are 
doing. Perhaps configurable so for private clouds where sysadmins know their 
stuff they don't get prompted.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: 20 March 2014 17:38
To: Brian Federle
Cc: Alena Prokharchyk; dev@cloudstack.apache.org; Jessica Wang; Harikrishna 
Patnala
Subject: Re: Resetting a VM is broken?

I don't really have an opinion regarding icons, but maybe another idea here 
would be to provide a detailed explanation in the confirmation dialog of what's 
about to happen since it could lead to data loss (unless you follow John's 
solution of the management server having to be stopped, which seems like a lot 
of work in a multi-management server environment).


On Thu, Mar 20, 2014 at 11:29 AM, Brian Federle brian.fede...@citrix.comwrote:

  the Reset Vm option is presented as a button unlike the icons

 I think this was because all the other icons we tried to represent
 this with were too confusing to users -- they were clicking on 'reset VM'
 thinking it was 'reboot VM' -- then as a last minute fix the decision
 was to just to show a text label.

 Any ideas from anyone on what would be a good icon representation?

 -Brian

 On Mar 19, 2014, at 3:02 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:

  1) Didn't notice the elephant - that the Reset Vm option is
  presented
 as
  a button unlike the icons for other options. UI folks -
  Brian/Jessica-
 why
  we decided to represent this option differently in the UI?
 
  2) Mike, I've looked at the code and the history. We've always
  allocated
 a
  new volume during the vm restore call. Hari, can you please confirm
  that this feature you wrote, was designed to work this way
 
 
  -Alena.
 
 
  On 3/19/14, 2:41 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 wrote:
 
  To clarify: Reboot VM seemed to keep the VM running and just reboot
  the OS.
 
  Reset VM seemed to shut the VM down and then re-start it (with the
  same root disk for the OS).
 
 
  On Wed, Mar 19, 2014 at 3:40 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  I could be wrong, but I thought as recently as 4.3 that Reset VM
  essentially stopped and then re-started the VM with the same root disk.
 
  It seemed to differ from Reboot VM only in the sense that the VM
  was never technically stopped (the OS inside the VM was just
  rebooted).
 
 
  On Wed, Mar 19, 2014 at 3:38 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  I'm using XenServer 6.1 hosts (two of them) in this case.
 
 
  On Wed, Mar 19, 2014 at 3:37 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  Yeah, stopping and restarting works fine...as does, I believe,
  rebooting the VM.
 
  Right below Reboot VM, there is a Reset VM option.
 
  If that means re-install, then we probably should clean up the
  old root disk.
 
 
  On Wed, Mar 19, 2014 at 3:30 PM, Alena Prokharchyk 
  alena.prokharc...@citrix.com wrote:
 
  don¹t see ³Reset Vm² option in UI; do you mean ³Reboot instance²?
  I¹ve
  just tried that, as well as calling stop/startVM from the UI.
  The Vm boots up with its original disk.
 
  I¹m having Xen/Nfs, not sure it matters
 
  -Alena.
 
  On 3/19/14, 2:19 PM, Mike Tutkowski
  mike.tutkow...@solidfire.com
 
  wrote:
 
  I didn't look into what the GUI calls, but I invoked the Reset
  VM
  option
  in
  the GUI.
 
  Thanks
 
 
  On Wed, Mar 19, 2014 at 3:17 PM, Alena Prokharchyk 
  alena.prokharc...@citrix.com wrote:
 
  Mike, just to confirm - did you call
  stopVirtualMachine/startVirtualMachine apis?
 
  -alena.
 
  On 3/19/14, 1:55 PM, Mike Tutkowski
  mike.tutkow...@solidfire.com
  wrote:
 
  Hi,
 
  I noticed today while running through some test cases for
  4.4
  that
  resetting a VM does not work as expected.
 
  Instead of the typical stop and re-start behavior where the
  VM is
  booted
  back up using the same root disk, the VM gets a new root
  disk
  when
  it
  is
  booted back up.
 
  Can anyone confirm this finding for me with his or her setup?
 
  Thanks!
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  

Re: Errors building master

2014-03-20 Thread Laszlo Hornyak
Hi Alex,

It should be OK if you recompile, the required module is in the module tree.
Btw I am getting a compile error:
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java:[1502,12]
error: unreported exception ResourceAllocationException; must be caught or
declared to be thrown




On Thu, Mar 20, 2014 at 12:40 PM, Alex Hitchins alex.hitch...@shapeblue.com
 wrote:


 Anyone else seing this?

 [ERROR] Failed to execute goal on project cloud-client-ui: Could not
 resolve dependencies for project
 org.apache.cloudstack:cloud-client-ui:war:4.5.0-SNAPSHOT:
 Could not find artifact
 org.apache.cloudstack:cloud-plugin-storage-volume-cloudbyte:jar:4.5.0-SNAPSHOT
 in apache.snapshots (http://repository.apache.org/snapshots) - [Help 1]

 Is there somewhere I can manually download the cloudbyte dependency?

 Alex

 .
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/ offers the best
 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 training
 http://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. Classroom
 http://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, On-line
 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 is a
 registered trademark.




-- 

EOF


RE: Resetting a VM is broken?

2014-03-20 Thread Jessica Wang
 [Mike Tutkowski] Unless I'm reading this incorrectly, it looks like  
 label.action.restore.instance (Restore Instance) maps to 
 recoverVirtualMachine  
 and  
 label.resetVM (Reset VM) maps to restoreVirtualMachine  


Yes, this is confusing.
I'll file an UI bug to match icon label with API name.
i.e. The icon that fires recoverVirtualMachine API will be labeled as Recover 
and the icon that fires restoreVirtualMachine API will be labeled as Restore 


-Original Message-
From: Brian Federle 
Sent: Thursday, March 20, 2014 10:29 AM
To: Alena Prokharchyk
Cc: dev@cloudstack.apache.org; Brian Federle; Jessica Wang; Mike Tutkowski; 
Harikrishna Patnala
Subject: Re: Resetting a VM is broken?

 the Reset Vm option is presented as a button unlike the icons 

I think this was because all the other icons we tried to represent this with 
were too confusing to users - they were clicking on 'reset VM' thinking it was 
'reboot VM' - then as a last minute fix the decision was to just to show a text 
label.

Any ideas from anyone on what would be a good icon representation?

-Brian

On Mar 19, 2014, at 3:02 PM, Alena Prokharchyk alena.prokharc...@citrix.com 
wrote:

 1) Didn't notice the elephant - that the Reset Vm option is presented as
 a button unlike the icons for other options. UI folks - Brian/Jessica- why
 we decided to represent this option differently in the UI?
 
 2) Mike, I've looked at the code and the history. We've always allocated a
 new volume during the vm restore call. Hari, can you please confirm that
 this feature you wrote, was designed to work this way
 
 
 -Alena.
 
 
 On 3/19/14, 2:41 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote:
 
 To clarify: Reboot VM seemed to keep the VM running and just reboot the
 OS.
 
 Reset VM seemed to shut the VM down and then re-start it (with the same
 root disk for the OS).
 
 
 On Wed, Mar 19, 2014 at 3:40 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:
 
 I could be wrong, but I thought as recently as 4.3 that Reset VM
 essentially stopped and then re-started the VM with the same root disk.
 
 It seemed to differ from Reboot VM only in the sense that the VM was
 never
 technically stopped (the OS inside the VM was just rebooted).
 
 
 On Wed, Mar 19, 2014 at 3:38 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:
 
 I'm using XenServer 6.1 hosts (two of them) in this case.
 
 
 On Wed, Mar 19, 2014 at 3:37 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:
 
 Yeah, stopping and restarting works fine...as does, I believe,
 rebooting
 the VM.
 
 Right below Reboot VM, there is a Reset VM option.
 
 If that means re-install, then we probably should clean up the old
 root disk.
 
 
 On Wed, Mar 19, 2014 at 3:30 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:
 
 don¹t see ³Reset Vm² option in UI; do you mean ³Reboot instance²?
 I¹ve
 just tried that, as well as calling stop/startVM from the UI. The Vm
 boots
 up with its original disk.
 
 I¹m having Xen/Nfs, not sure it matters
 
 -Alena.
 
 On 3/19/14, 2:19 PM, Mike Tutkowski mike.tutkow...@solidfire.com
 wrote:
 
 I didn't look into what the GUI calls, but I invoked the Reset VM
 option
 in
 the GUI.
 
 Thanks
 
 
 On Wed, Mar 19, 2014 at 3:17 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:
 
 Mike, just to confirm - did you call
 stopVirtualMachine/startVirtualMachine apis?
 
 -alena.
 
 On 3/19/14, 1:55 PM, Mike Tutkowski
 mike.tutkow...@solidfire.com
 wrote:
 
 Hi,
 
 I noticed today while running through some test cases for 4.4
 that
 resetting a VM does not work as expected.
 
 Instead of the typical stop and re-start behavior where the VM is
 booted
 back up using the same root disk, the VM gets a new root disk
 when
 it
 is
 booted back up.
 
 Can anyone confirm this finding for me with his or her setup?
 
 Thanks!
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*
 
 
 
 
 

Re: Review Request 19463: UI: Applied localization function to labels on Zone Chart page

2014-03-20 Thread Brian Federle

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

Ship it!


Ship It!

- Brian Federle


On March 20, 2014, 2:11 p.m., Mihaela Stoica wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19463/
 ---
 
 (Updated March 20, 2014, 2:11 p.m.)
 
 
 Review request for cloudstack, Brian Federle and Jessica Wang.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 This fixes the following issue: 
 Some labels on the Zone Chart page display the wrong text, e.g. 
 'label.view.all' instead of 'View all', 'label.pods' instead of 'Pods'.
 
 
 Diffs
 -
 
   ui/scripts/ui-custom/zoneChart.js bc30d51 
 
 Diff: https://reviews.apache.org/r/19463/diff/
 
 
 Testing
 ---
 
 Yes
 
 
 Thanks,
 
 Mihaela Stoica
 




Build failed in Jenkins: cloudstack-4.4-maven-build #25

2014-03-20 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/25/changes

Changes:

[chris.suich] Issue CS-5825 Part Resolution

--
[...truncated 1589 lines...]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloudstack-services ---
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Secondary Storage 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloudstack-service-secondary-storage ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services/secondary-storage/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services/secondary-storage
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloudstack-service-secondary-storage ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloudstack-service-secondary-storage ---
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Secondary Storage Service 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-secondary-storage ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services/secondary-storage/server/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services/secondary-storage/server
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-secondary-storage ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-secondary-storage ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-secondary-storage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-secondary-storage ---
[INFO] Compiling 10 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services/secondary-storage/server/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-secondary-storage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services/secondary-storage/server/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-secondary-storage ---
[INFO] Compiling 2 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services/secondary-storage/server/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-secondary-storage ---
[INFO] Tests are skipped.
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Engine Storage Component 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine-storage 
---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/engine/storage/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/engine/storage
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-engine-storage ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-engine-storage ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-engine-storage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-engine-storage ---
[INFO] Compiling 60 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/engine/storage/target/classes
[INFO] 
[INFO] --- 

RE: Errors building master

2014-03-20 Thread Alex Hitchins
Ah, yes - that's related to my last patch. I'll log it and raise a new request.

Sorry everyone.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Laszlo Hornyak [mailto:laszlo.horn...@gmail.com]
Sent: 20 March 2014 17:59
To: dev@cloudstack.apache.org
Subject: Re: Errors building master

Hi Alex,

It should be OK if you recompile, the required module is in the module tree.
Btw I am getting a compile error:
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java:[1502,12]
error: unreported exception ResourceAllocationException; must be caught or 
declared to be thrown




On Thu, Mar 20, 2014 at 12:40 PM, Alex Hitchins alex.hitch...@shapeblue.com
 wrote:


 Anyone else seing this?

 [ERROR] Failed to execute goal on project cloud-client-ui: Could not
 resolve dependencies for project
 org.apache.cloudstack:cloud-client-ui:war:4.5.0-SNAPSHOT:
 Could not find artifact
 org.apache.cloudstack:cloud-plugin-storage-volume-cloudbyte:jar:4.5.0-
 SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots)
 - [Help 1]

 Is there somewhere I can manually download the cloudbyte dependency?

 Alex

 .
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/ offers the
 best
 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 training
 http://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. Classroom
 http://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, On-line
 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 is a 
 registered trademark.




--

EOF
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 is a registered trademark.


RE: Errors building master

2014-03-20 Thread Alex Hitchins
Hugo/Daan,

Could you roll back the commit related to the 'VolumeServiceImpl.java' file 
commit. I'm working on a fix however the build is now no longer working so I 
need to resolve that issue first.

Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Alex Hitchins [mailto:alex.hitch...@shapeblue.com]
Sent: 20 March 2014 18:07
To: dev@cloudstack.apache.org
Subject: RE: Errors building master

Ah, yes - that's related to my last patch. I'll log it and raise a new request.

Sorry everyone.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540 | M: +44 7788 423 969

alex.hitch...@shapeblue.com

-Original Message-
From: Laszlo Hornyak [mailto:laszlo.horn...@gmail.com]
Sent: 20 March 2014 17:59
To: dev@cloudstack.apache.org
Subject: Re: Errors building master

Hi Alex,

It should be OK if you recompile, the required module is in the module tree.
Btw I am getting a compile error:
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java:[1502,12]
error: unreported exception ResourceAllocationException; must be caught or 
declared to be thrown




On Thu, Mar 20, 2014 at 12:40 PM, Alex Hitchins alex.hitch...@shapeblue.com
 wrote:


 Anyone else seing this?

 [ERROR] Failed to execute goal on project cloud-client-ui: Could not
 resolve dependencies for project
 org.apache.cloudstack:cloud-client-ui:war:4.5.0-SNAPSHOT:
 Could not find artifact
 org.apache.cloudstack:cloud-plugin-storage-volume-cloudbyte:jar:4.5.0-
 SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots)
 - [Help 1]

 Is there somewhere I can manually download the cloudbyte dependency?

 Alex

 .
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/ offers the
 best
 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 training
 http://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. Classroom
 http://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, On-line
 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 is a 
 registered trademark.




--

EOF
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 is a registered trademark.
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 

RE: Resetting a VM is broken?

2014-03-20 Thread Jessica Wang
Mike,

Right.

The history is recoverVirtualMachine API was created several years ago, 
restoreVirtualMachine didn't exist yet at that time.
So, the icon that fires recoverVirtualMachine API was labeled as Restore at 
that time.

restoreVirtualMachine API came along several years later.
Then, since label Restore has already taken, the icon that fires 
restoreVirtualMachine API was therefore labeled as Reset.

The result is indeed weird.
We'll fix the label to match API name.

Jessica

From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: Thursday, March 20, 2014 11:03 AM
To: Jessica Wang
Cc: Brian Federle; Harikrishna Patnala; Alena Prokharchyk; 
dev@cloudstack.apache.org; Stephen Turner
Subject: Re: Resetting a VM is broken?

Thanks, Jessica

The even weirder part, though, is that the text Restore maps to the 
recoverVirtualMachine API and the text Reset VM maps to the 
restoreVirtualMachine.

On Thu, Mar 20, 2014 at 11:58 AM, Jessica Wang 
jessica.w...@citrix.commailto:jessica.w...@citrix.com wrote:
 [Mike Tutkowski] Unless I'm reading this incorrectly, it looks like
 label.action.restore.instance (Restore Instance) maps to recoverVirtualMachine
 and
 label.resetVM (Reset VM) maps to restoreVirtualMachine

Yes, this is confusing.
I'll file an UI bug to match icon label with API name.
i.e. The icon that fires recoverVirtualMachine API will be labeled as Recover
and the icon that fires restoreVirtualMachine API will be labeled as Restore


-Original Message-
From: Brian Federle
Sent: Thursday, March 20, 2014 10:29 AM
To: Alena Prokharchyk
Cc: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org; Brian Federle; 
Jessica Wang; Mike Tutkowski; Harikrishna Patnala
Subject: Re: Resetting a VM is broken?
 the Reset Vm option is presented as a button unlike the icons
I think this was because all the other icons we tried to represent this with 
were too confusing to users - they were clicking on 'reset VM' thinking it was 
'reboot VM' - then as a last minute fix the decision was to just to show a text 
label.

Any ideas from anyone on what would be a good icon representation?

-Brian

On Mar 19, 2014, at 3:02 PM, Alena Prokharchyk 
alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote:

 1) Didn't notice the elephant - that the Reset Vm option is presented as
 a button unlike the icons for other options. UI folks - Brian/Jessica- why
 we decided to represent this option differently in the UI?

 2) Mike, I've looked at the code and the history. We've always allocated a
 new volume during the vm restore call. Hari, can you please confirm that
 this feature you wrote, was designed to work this way


 -Alena.


 On 3/19/14, 2:41 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

 To clarify: Reboot VM seemed to keep the VM running and just reboot the
 OS.

 Reset VM seemed to shut the VM down and then re-start it (with the same
 root disk for the OS).


 On Wed, Mar 19, 2014 at 3:40 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

 I could be wrong, but I thought as recently as 4.3 that Reset VM
 essentially stopped and then re-started the VM with the same root disk.

 It seemed to differ from Reboot VM only in the sense that the VM was
 never
 technically stopped (the OS inside the VM was just rebooted).


 On Wed, Mar 19, 2014 at 3:38 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

 I'm using XenServer 6.1 hosts (two of them) in this case.


 On Wed, Mar 19, 2014 at 3:37 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com wrote:

 Yeah, stopping and restarting works fine...as does, I believe,
 rebooting
 the VM.

 Right below Reboot VM, there is a Reset VM option.

 If that means re-install, then we probably should clean up the old
 root disk.


 On Wed, Mar 19, 2014 at 3:30 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote:

 don¹t see ³Reset Vm² option in UI; do you mean ³Reboot instance²?
 I¹ve
 just tried that, as well as calling stop/startVM from the UI. The Vm
 boots
 up with its original disk.

 I¹m having Xen/Nfs, not sure it matters

 -Alena.

 On 3/19/14, 2:19 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com
 wrote:

 I didn't look into what the GUI calls, but I invoked the Reset VM
 option
 in
 the GUI.

 Thanks


 On Wed, Mar 19, 2014 at 3:17 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com 
 wrote:

 Mike, just to confirm - did you call
 stopVirtualMachine/startVirtualMachine apis?

 -alena.

 On 3/19/14, 1:55 PM, Mike Tutkowski
 mike.tutkow...@solidfire.commailto:mike.tutkow...@solidfire.com
 wrote:

 Hi,

 I noticed today while running through some test cases for 4.4
 that
 resetting a VM does not work as expected.

 Instead of the typical stop and re-start behavior where the VM is
 

  1   2   >