Re: Review Request 15298: Fix for issues on Coverity related to IDs cv_1125383 [82, 80, 79, 78, 77, 76, 75, 74]

2013-11-07 Thread Wilder Rodrigues

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

(Updated Nov. 7, 2013, 8:25 a.m.)


Review request for cloudstack and Hugo Trippaers.


Changes
---

replacing tabs with whitespaces and uploading new diff file


Repository: cloudstack-git


Description
---

Several bugs reported on Coverity have been fixed on this path. The ID are: Fix 
for issues on Coverity related to IDs cv_1125383, cv_1125382, cv_1125380, 
cv_1125379, cv_1125378, cv_1125377, cv_1125376, cv_1125375, cv_1125374.

Those bugs are related to classes not implementing Serializable, nox overriding 
the equals and/or hashCode methods and with empty finalize method.

For the bug cv_1125376, although it has been submitted in a previous patch, 
there was a typo on the return key word, which contained a "s".


Diffs (updated)
-

  
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ServerDBSyncImpl.java
 8cb4e8d 
  
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ServerEventHandlerImpl.java
 455e601 
  
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/model/ModelObject.java
 71d28ac 
  
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/model/ModelObjectBase.java
 f22c7c5 

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


Testing
---


Thanks,

Wilder Rodrigues



Re: 4.2.1 BVT automation results

2013-11-07 Thread Sebastien Goasguen

On Nov 6, 2013, at 6:07 PM, Rayees Namathponnan 
 wrote:

> Hi All,
> 
> 4.2.1 BVT automation results published to cwiki; you can see the results below
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/4.2.1+Automation+Result
> 
> Regards,
> Rayees
> 

Where are those results coming from ?

The qa and simulator jobs on http://jenkins.buildacloud.org/view/simulator/ 
seem to have been failing for a while 

Also it would be great if the results table could have the OS version. 
Technically we need to have each set run on ubuntu 12.04 and Centos6.4.

-sebastien


> 



Review Request 15303: Reserved SCSI device number prevents CloudStack to attach more than 6 data volumes to CLOUDSTACK-4790

2013-11-07 Thread bharat kumar

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

Review request for cloudstack and Kishan Kavala.


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


Repository: cloudstack-git


Description
---

Adding the sql changes to increase the max attach volume limit to 13 in case of 
VMware.
https://issues.apache.org/jira/browse/CLOUDSTACK-4790


Diffs
-

  setup/db/create-schema.sql 79550ae 

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


Testing
---


Thanks,

bharat kumar



Re: Review Request 15303: Reserved SCSI device number prevents CloudStack to attach more than 6 data volumes to CLOUDSTACK-4790

2013-11-07 Thread bharat kumar

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

(Updated Nov. 7, 2013, 9:43 a.m.)


Review request for cloudstack and Kishan Kavala.


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


Repository: cloudstack-git


Description
---

Adding the sql changes to increase the max attach volume limit to 13 in case of 
VMware.
https://issues.apache.org/jira/browse/CLOUDSTACK-4790


Diffs
-

  setup/db/create-schema.sql 79550ae 

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


Testing (updated)
---

tested on 4.2


Thanks,

bharat kumar



Re: Commit 25c8cee01a450ee924fe108cafe54b046485ab2b broke Vmware on Master

2013-11-07 Thread Daan Hoogland
H Min,

Your fix will work if you can guarantee that the String passed is a
integer. if it has the chance of being in the form of for instance
vlan:// , you should use:
vid = 
Integer.parseInt(BroadcastDomainType.getValue(BroadcastDomainType.fromString(vlanId)));

regards,
Daan


On Wed, Nov 6, 2013 at 3:25 AM, Min Chen  wrote:
> Hi Daan,
>
> Your commit
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=25c8cee01a450ee924fe108cafe54b046485ab2b
> broke Vmware advanced zone setup on Master, where system vm starts failed
> with "NumberFormatException", see details in
> https://issues.apache.org/jira/browse/CLOUDSTACK-5046. I fixed this blocker
> bug (commit 94f9b31c9a4c7ae67feabbe16d2ea753e3183289) by reverting part of
> your change on HypervisorHostHelper method, but not sure if there is any
> side effect on your another functionality fixed in your commit. Can you
> please review to make sure that it is ok?
>
> Thanks
> -min


Re: Review Request 15280: CLOUDSTACK-5062: Deleting Load Balancing Rule fails when generating usage events are enabled

2013-11-07 Thread Daan Hoogland
H David,

I think I already applied this on 4.2.

On Wed, Nov 6, 2013 at 8:09 PM, David Grizzanti
 wrote:
>
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15280/
> ---
>
> Review request for cloudstack.
>
>
> Bugs: CLOUDSTACK-5062
> https://issues.apache.org/jira/browse/CLOUDSTACK-5062
>
>
> Repository: cloudstack-git
>
>
> Description
> ---
>
> CLOUDSTACK-5062: Deleting Load Balancing Rule fails when generating usage 
> events are enabled
>
> Added logic so that a correct zoneID is passed when generating usage events 
> while deleting load balancing rules:
> - Added logic to 
> server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java to grab 
> zone id and pass to publishUsageEvent
>
>
> Diffs
> -
>
>   server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java be81a3e
>
> Diff: https://reviews.apache.org/r/15280/diff/
>
>
> Testing
> ---
>
> Testing only on 4.2
>
>
> Thanks,
>
> David Grizzanti
>


Re: Review Request 15298: Fix for issues on Coverity related to IDs cv_1125383 [82, 80, 79, 78, 77, 76, 75, 74]

2013-11-07 Thread Hugo Trippaers

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

Ship it!


commit c06d8a750c75f500fa29479c0aec58eb7fcea2ba
Author: wilderrodrigues 
Date:   Thu Nov 7 09:22:43 2013 +0100

Fix for issues on Coverity related to IDs cv_1125383, cv_1125382, 
cv_1125380, cv_1125379, cv_1125378, cv_1125377, cv_1125376, cv_1125375, 
cv_1125374.

Those bugs are related to classes not implementing Serializable, nox 
overriding the equals and/or hashCode methods and with empty finalize method.

Signed-off-by: Hugo Trippaers 


- Hugo Trippaers


On Nov. 7, 2013, 8:25 a.m., Wilder Rodrigues wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15298/
> ---
> 
> (Updated Nov. 7, 2013, 8:25 a.m.)
> 
> 
> Review request for cloudstack and Hugo Trippaers.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Several bugs reported on Coverity have been fixed on this path. The ID are: 
> Fix for issues on Coverity related to IDs cv_1125383, cv_1125382, cv_1125380, 
> cv_1125379, cv_1125378, cv_1125377, cv_1125376, cv_1125375, cv_1125374.
> 
> Those bugs are related to classes not implementing Serializable, nox 
> overriding the equals and/or hashCode methods and with empty finalize method.
> 
> For the bug cv_1125376, although it has been submitted in a previous patch, 
> there was a typo on the return key word, which contained a "s".
> 
> 
> Diffs
> -
> 
>   
> plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ServerDBSyncImpl.java
>  8cb4e8d 
>   
> plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ServerEventHandlerImpl.java
>  455e601 
>   
> plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/model/ModelObject.java
>  71d28ac 
>   
> plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/model/ModelObjectBase.java
>  f22c7c5 
> 
> Diff: https://reviews.apache.org/r/15298/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Wilder Rodrigues
> 
>



Review Request 15304: Added installation of marvin along with packaging to mvn build

2013-11-07 Thread Santhosh Edukulla

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

Review request for cloudstack and Prasanna Santhanam.


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


Repository: cloudstack-git


Description
---

Currently, we dont install the Marvin packages with default mvn install. As 
part of this command currently, we just source 
distribute the Marvin. For marvin,We assume user to have run its own 
installation of packages post distribution. 
This way, some times if any new addition of package changes happens, user has 
to explicitly run installation of marvin. 
If not installed,the changes are not available to tests and other code. With 
this change, we package and 
install them as well


Diffs
-

  tools/marvin/pom.xml 0869248 

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


Testing
---

Tested that installation works post packaging


Thanks,

Santhosh Edukulla



Review Request 15305: CLOUDSTACK-4996: Resolved gateway accessibility issue.

2013-11-07 Thread Ashutosh Kelkar

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

Review request for cloudstack and Girish Shilamkar.


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


Repository: cloudstack-git


Description
---

Gateway of isolated network is pinged instead of shared
 network


Diffs
-

  test/integration/component/test_vpc_vm_life_cycle.py 425c284 

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


Testing
---

Yes


Thanks,

Ashutosh Kelkar



Review Request 15307: Increasing the timeout values to 600 seconds from 300 seconds

2013-11-07 Thread Santhosh Edukulla

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

Review request for cloudstack and Girish Shilamkar.


Repository: cloudstack-git


Description
---

Timeout for ssh related test cases is increased based upon
few test run observations where ssh is taking more time during
restart scenarios as an example. We have done few changes to streamline
ssh library. This is in addition to those to keep less ssh script issues


Diffs
-

  tools/marvin/marvin/integration/lib/utils.py 4d048f0 
  tools/marvin/marvin/remoteSSHClient.py fea9b12 

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


Testing
---


Thanks,

Santhosh Edukulla



Re: Review Request 15243: Improve VR upgrades

2013-11-07 Thread Abhinandan Prateek

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

Ship it!


Make a version check at the resource layer before firing the reboot command. 
Can be a incremental change.

- Abhinandan Prateek


On Nov. 5, 2013, 7:09 p.m., Kishan Kavala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15243/
> ---
> 
> (Updated Nov. 5, 2013, 7:09 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Bugs: CLOUDSTACK-4793
> https://issues.apache.org/jira/browse/CLOUDSTACK-4793
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Added UpgradeRouterTemplate API. 
> Added filters to listRouters API - version/ 
> accountId/domainId/zoneId/podId/clusterId
> listRouters response includes verion and required upgrade flag. 
> Min VR version is checked before sending commands to router
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/VirtualNetworkApplianceService.java 58eead2 
>   api/src/com/cloud/network/router/VirtualRouter.java 9e90e8e 
>   api/src/org/apache/cloudstack/api/ApiConstants.java 3b2bc67 
>   api/src/org/apache/cloudstack/api/ResponseGenerator.java a8de31d 
>   api/src/org/apache/cloudstack/api/command/admin/router/ListRoutersCmd.java 
> d7f59b96 
>   
> api/src/org/apache/cloudstack/api/command/admin/router/UpgradeRouterTemplateCmd.java
>  PRE-CREATION 
>   api/src/org/apache/cloudstack/api/response/DomainRouterResponse.java 
> 1d31b58 
>   
> api/src/org/apache/cloudstack/api/response/UpgradeRouterTemplateResponse.java 
> PRE-CREATION 
>   client/tomcatconf/commands.properties.in 8cbe972 
>   engine/schema/src/com/cloud/vm/dao/DomainRouterDao.java 95d1ea6 
>   engine/schema/src/com/cloud/vm/dao/DomainRouterDaoImpl.java 7676e2d 
>   server/src/com/cloud/api/ApiResponseHelper.java 769d345 
>   server/src/com/cloud/api/query/QueryManagerImpl.java f34e60e 
>   server/src/com/cloud/api/query/ViewResponseHelper.java 4051f09 
>   server/src/com/cloud/api/query/dao/DomainRouterJoinDaoImpl.java 42965bc 
>   server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
> 9b35a4b 
>   server/src/com/cloud/server/ManagementServerImpl.java 79b20d0 
>   server/test/com/cloud/vpc/MockVpcVirtualNetworkApplianceManager.java 
> acdd9dc 
>   utils/src/com/cloud/maint/Version.java 7317547 
> 
> Diff: https://reviews.apache.org/r/15243/diff/
> 
> 
> Testing
> ---
> 
> Tested VR upgrade with older and new VR versions.
> Tested with various filters.
> Verfied that commands are not sent to VR when the min version criteria in not 
> met
> 
> 
> Thanks,
> 
> Kishan Kavala
> 
>



Re: Review Request 15307: Increasing the timeout values to 600 seconds from 300 seconds

2013-11-07 Thread Girish Shilamkar

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

Ship it!


Ship It!

- Girish Shilamkar


On Nov. 7, 2013, 10:23 a.m., Santhosh Edukulla wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15307/
> ---
> 
> (Updated Nov. 7, 2013, 10:23 a.m.)
> 
> 
> Review request for cloudstack and Girish Shilamkar.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Timeout for ssh related test cases is increased based upon
> few test run observations where ssh is taking more time during
> restart scenarios as an example. We have done few changes to streamline
> ssh library. This is in addition to those to keep less ssh script issues
> 
> 
> Diffs
> -
> 
>   tools/marvin/marvin/integration/lib/utils.py 4d048f0 
>   tools/marvin/marvin/remoteSSHClient.py fea9b12 
> 
> Diff: https://reviews.apache.org/r/15307/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>



Re: Review Request 15296: CLOUDSTACK-5067 Bugfix: two NICs connected to Public network exist in VR

2013-11-07 Thread Hugo Trippaers

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

Ship it!


commit 494ccd821d711a2957531d1c33274ed293e4d925
Author: ynojima 
Date:   Wed Nov 6 11:02:56 2013 -0700

Bugfix: VR has double NICs connected to Public network

replace vlanid wih broadcast uri to support vxlan to identify whether id is 
VLAN ID or VNI

Signed-off-by: ynojima 
Signed-off-by: Hugo Trippaers 


- Hugo Trippaers


On Nov. 7, 2013, 1:11 a.m., Yoshikazu Nojima wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15296/
> ---
> 
> (Updated Nov. 7, 2013, 1:11 a.m.)
> 
> 
> Review request for cloudstack, daan Hoogland, Marcus Sorensen, Hugo 
> Trippaers, and Toshiaki Hatano.
> 
> 
> Bugs: CLOUDSTACK-5067
> https://issues.apache.org/jira/browse/CLOUDSTACK-5067
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This is a patch to fix the bug "CLOUDSTACK-5067 Bugfix: two NICs connected to 
> Public network exist in VR".
> 
> It seems it is caused by wrong handling of IpAssocCommand.
> 
> IpAssocCommand is processed inappropriately in the method 
> "LibvirtComputingResource#execute(IpAssocCommand)".
> 
> It hotplugs unnecessary vNIC by mistake.
> https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java#L2049
> 
> It is caused by isolation method notation mismatch in this line.
> https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java#L2047
> 
> It expects isolation method is expressed in broadcast uri style like 
> "vlan://1234", "vlan://untagged", but "untagged" is passed.
> https://github.com/apache/cloudstack/blob/master/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java#L2033
> 
> FYI: Notation change is conducted in this commit.
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java;h=74f02c0c639d125f435b3b3f278fe3985f09c7ca;hp=203587a06f63f23d487ae65dcf5c397cd2702166;hb=2614b00c;hpb=62b0ad03c871c7100433b39593a82d393879124e
> 
> Further, current code cannot retrieve VNI(VXLAN ID) from bridge name. This 
> patch extends getVlanIdFromBridge to getBroadcastUriFromBridge to support 
> vxlan.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  e3f60f2 
> 
> Diff: https://reviews.apache.org/r/15296/diff/
> 
> 
> Testing
> ---
> 
> I deployed VR, and confirmed it has one NIC connected to Public network.
> 
> 
> Thanks,
> 
> Yoshikazu Nojima
> 
>



Re: Review Request 15305: CLOUDSTACK-4996: Resolved gateway accessibility issue.

2013-11-07 Thread Girish Shilamkar

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

Ship it!


Ship It!

- Girish Shilamkar


On Nov. 7, 2013, 10:22 a.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15305/
> ---
> 
> (Updated Nov. 7, 2013, 10:22 a.m.)
> 
> 
> Review request for cloudstack and Girish Shilamkar.
> 
> 
> Bugs: CLOUDSTACK-4996
> https://issues.apache.org/jira/browse/CLOUDSTACK-4996
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Gateway of isolated network is pinged instead of shared
>  network
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_vpc_vm_life_cycle.py 425c284 
> 
> Diff: https://reviews.apache.org/r/15305/diff/
> 
> 
> Testing
> ---
> 
> Yes
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Cloudstack 4.2.0 > migration of local data volume is not allowed

2013-11-07 Thread Antonio Petrocelli

Hello,

i've this error when i try to attach a volume to vm:

"Failed to attach local data volume snap_2599317a-2598-4a91-8dca-f3801ae1f462 to VM 
Test01 as migration of local data volume is not allowed"


Actual config is on LOCAL storage type.

Someone know about?

Thanks!


Re: Review Request 15305: CLOUDSTACK-4996: Resolved gateway accessibility issue.

2013-11-07 Thread ASF Subversion and Git Services

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


Commit 5d75c6b75c3ee65a15563d4c6b62cae7761afd86 in branch refs/heads/master 
from Ashutosh K
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5d75c6b ]

CLOUDSTACK-4996: Resolved gateway accessibility issue

Gateway of isolated network is pinged instead of shared
network
Signed-off-by: Girish Shilamkar 


- ASF Subversion and Git Services


On Nov. 7, 2013, 10:22 a.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15305/
> ---
> 
> (Updated Nov. 7, 2013, 10:22 a.m.)
> 
> 
> Review request for cloudstack and Girish Shilamkar.
> 
> 
> Bugs: CLOUDSTACK-4996
> https://issues.apache.org/jira/browse/CLOUDSTACK-4996
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Gateway of isolated network is pinged instead of shared
>  network
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_vpc_vm_life_cycle.py 425c284 
> 
> Diff: https://reviews.apache.org/r/15305/diff/
> 
> 
> Testing
> ---
> 
> Yes
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Re: Review Request 15304: Added installation of marvin along with packaging to mvn build

2013-11-07 Thread Hugo Trippaers

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


I'm not sure this is a good idea. The install target doesn't actually install 
cloudstack. It "installs" the generated artifacts into the local maven 
repository, but it does't make any changes to the machine itself.

Adding this install procedure would cause our compile phase to make actual 
changes to the developers machine. Especially with multiple versions this might 
cause unintended behavior. Especially as the versions numbering of Marvin is 
not inline with the cloudstack code base.



tools/marvin/pom.xml


How do we ensure it also works for people that use easy_install instead of 
pip?


- Hugo Trippaers


On Nov. 7, 2013, 10:11 a.m., Santhosh Edukulla wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15304/
> ---
> 
> (Updated Nov. 7, 2013, 10:11 a.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Bugs: CLOUDSTACK-5073
> https://issues.apache.org/jira/browse/CLOUDSTACK-5073
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Currently, we dont install the Marvin packages with default mvn install. As 
> part of this command currently, we just source 
> distribute the Marvin. For marvin,We assume user to have run its own 
> installation of packages post distribution. 
> This way, some times if any new addition of package changes happens, user has 
> to explicitly run installation of marvin. 
> If not installed,the changes are not available to tests and other code. With 
> this change, we package and 
> install them as well
> 
> 
> Diffs
> -
> 
>   tools/marvin/pom.xml 0869248 
> 
> Diff: https://reviews.apache.org/r/15304/diff/
> 
> 
> Testing
> ---
> 
> Tested that installation works post packaging
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>



Storage overprovisioning for RBD / disable threshold?

2013-11-07 Thread Indra Pramana
Dear all,

I am using CloudStack 4.2.0, KVM hypervisors, Ceph RBD primary storage and
NFS secondary storage.

I tried to change the storage.overprovisioning.factor from 1 to 2 under
Global Settings, and it doesn't seem to work on my primary storage. The
total amount of disk space seems to be remain the same, unlike the
secondary storage which increases by double. Is there a way how I can
enable overprovisioning on my RBD primary storage?

Is it possible for us to disable the threshold of
pool.storage.allocated.capacity.disablethreshold? At the moment we can set
an amount between 0 and 1 but we cannot disable it.

Looking forward to your reply, thank you.

Cheers.


[DISCUSS]Migration of NFS Secondary Storage to Object Store

2013-11-07 Thread Manasa Veloori (3P)
Hi,

I Have gone through the FS 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Migration+of+NFS+Secondary+Storage+to+Object+Store
 .

Below are my review comments:

In Migration steps:
Step2:
We also automatically increment reference count of these old templates, volumes 
and snapshots on old NFS so that they cannot be recycled during our scheduled 
cache store cleanup thread. Their reference count will be decremented when we 
really migrate the content to S3.--In what scenarios does the  old 
templates/volumes/snapshots  get  migrated to the new S3.

Step3: For each new snapshot taken after migration, we will always take a full 
snapshot to newly added S3, so there will no issues to coalesce delta snapshots 
cross NFS and S3 stores.for the new snapshots ,full snapshot will be 
taken. Will the reference count of the delta snapshots which are already 
present in the NFS incremented. If that is the case then they will never get 
deleted from NFS cache as a part of cache store clean up.

At step5 : For volume, we will trigger copy of the template to the new S3 
object store when user invokes ExtractVolume.- "it should be trigger copy of 
volume(not template) to new S3"

Thanks,
Manasa


Re: Cloudstack 4.2.0 > migration of local data volume is not allowed

2013-11-07 Thread Koushik Das
Is your data volume and VM on the same host? If not then the volume cannot be 
attached to the VM in case of a local volume.

-Koushik
 
On 07-Nov-2013, at 4:03 PM, Antonio Petrocelli 
 wrote:

> Hello,
> 
> i've this error when i try to attach a volume to vm:
> 
> "Failed to attach local data volume snap_2599317a-2598-4a91-8dca-f3801ae1f462 
> to VM Test01 as migration of local data volume is not allowed"
> 
> 
> Actual config is on LOCAL storage type.
> 
> Someone know about?
> 
> Thanks!



Re: [PROPOSAL] Service monitoring tool in virtual router

2013-11-07 Thread Jayapal Reddy Uradi
Hi Sanjeev,

Thanks your comments.
Please find my comments inline. 
Also update the FS.

Thanks,
Jayapal

On 07-Nov-2013, at 11:55 AM, Sanjeev Neelarapu 
 wrote:

> Jayapal,
> 
> I have gone through the FS posted @ 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Monitoring+VR+services
> 
> Following are the few review comments:
> 
> 1.First line in the Introduction section says "Virtual router has running 
> services which needs to run always until cloudsack disable it." What is the 
> meaning of disable by cloudstack ? If cloudstack disables few services how 
> the monitoring tool differentiate whether the service is disabled by 
> cloudstack admin or its due to some failure?
It means the services should run until cloudstack instruct  to stop.
The service disable/enable happens with network offering. on VR boot and 
monitor configuration get updated with new services. There are default services 
also.
> 2.Is monitoring VR services is optional or will be monitored always? Any 
> ways to set whether to enable this feature or not?
Currently it is not configurable.By default monitoring default services like 
sshd, web server.
> 3.Is service monitoring frequency configurable? If yes how do we 
> configure? FS says the default value is 5 secs.
No.
> 4.FS says monitoring VR services has two tasks.
> 1.monitoring services in VR
> 2.sending alerts from router to external receivers
> What external receivers we will be supporting? Also please specify what all 
> the ways the monitoring tool indicates the failure? Are we going to use 
> exiting Cloudstack Alerts and Events framework to indicate the failure?
This item will be updated once finalised about sending alerts from VR.
> 5.If multiple instances of the same processes are running do we monitor 
> all the instances of the same process?
It monitors the parent service, which has its pid in pid file. 
> 6.After how many restarts the monitoring service decides that something 
> is wrong with the process in bringing it up?
five
> 7.After N no.of restarts if the process is still not running are we going 
> to remove it from the monitoring processes list? If yes how the tools informs 
> the admin that it is not able to restart the process? Or it will be 
> restarting the process forever?
Unmonit process after N number re tries is not there. 
monitor log the service fail. Admin can knows only from the logs. 
For this release sending alerts from VR is not implemented.
> 8.Is there way for the admin to specify the tool to monitor only 
> particular services?
Currently the services are selected based on network offering and default 
services from db.
Configuring services from API/UI is not there.
> 9.Apart from dnsmasq,haproxy,sshd,apache webserver services are we not 
> monitoring the password service(socat)? Socat process is not mentioned in the 
> Monitoring Services section in the FS
Not monitoring socat because socat is automatically restarted by password server
> 10.   Is this supported in RVR case as well?
No.
> 11.   Specify the hypervisors supported for this feature?
xen,kvm and vmware
> 12.   As per my understanding this tool will be part of systemvm.iso. After 
> upgrade from pre 4.3 release to 4.3 iso will be pushed to the hypervisors. So 
> stop, start VR is required for the exiting VRs to get this service. Please 
> confirm.
yes
> 13.   Please specify the expected date for confirming the scope for failure 
> notifications. Scope is not clear from "sending alerts from router" section 
> in FS
> 
> Thanks,
> Sanjeev
> 
> -Original Message-
> From: John Kinsella [mailto:j...@stratosec.co] 
> Sent: Thursday, November 07, 2013 6:26 AM
> To: 
> Cc: 
> Subject: Re: [PROPOSAL] Service monitoring tool in virtual router
> 
> Thx for putting this together, Jayapal. A few comments:
> 
> I'd really like to have a config flag to specify if things should be 
> restarted automatically or not. Worst case, track the restarts - if a service 
> is restarted more than X times in Y seconds, something's obviously wrong so 
> stop tail-chasing[1]. Personally I'm much more interested in knowing there's 
> a problem and then taking whatever happens to be the appropriate actions for 
> our situation.
> 
> Regarding communicating with a monitoring system - what makes more sense to 
> me is setting up a solid framework that provides folks flexibility to use 
> various monitoring tools, from sending an email to contacting pager duty or 
> whatever.
> 
> So, to me there's 3 parts to that:
> 1) At VR creation, ACS calls defined hook-script which knows how to contact 
> monitoring system to tell it about system to monitor
> 2) At boot, VR sends API query to which the mgmt server responds with a URL 
> for an install script - VR runs that to download/setup appropriate monitoring 
> agent
> 3) VR has standardized scripts for agent to call to find out what should be 
> running, and then agent can go check for itself.
> 
> With a setu

RE: write access on cwiki

2013-11-07 Thread Sanjeev Neelarapu
Please provide me the write access to cwiki.
Userid: sanjeevn

-Sanjeev

-Original Message-
From: Rayees Namathponnan [mailto:rayees.namathpon...@citrix.com] 
Sent: Thursday, November 07, 2013 10:26 AM
To: dev@cloudstack.apache.org
Subject: RE: write access on cwiki

Edison helped me on this,  Thanks.

-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org]
Sent: Wednesday, November 06, 2013 8:35 PM
To: dev@cloudstack.apache.org
Subject: Re: write access on cwiki

On Wed, Nov 06, 2013 at 10:54:42PM +, Rayees Namathponnan wrote:
> Hi All,
> 
> I need to upload 4.2.1 BVT result on cwiki,;  but I don't have edit 
> access,  someone please provide me the write access on cwiki ?

looks like you already have access.

> 
> Regards,
> Rayees

--
Prasanna.,


Powered by BigRock.com



Enabling AMQP/RabbitMQ Events on master

2013-11-07 Thread David Grizzanti
Hi,

I was looking for some help in enabling the AMQP/RabbitMQ events in
CloudStack.  I'm familiar with enabling these events in 4.2, however, I'm
not all the familiar with Spring and given the new modularized changes I'm
not really sure where the XML snippet belongs for the eventNotificationBus.
 Previously I had been placing this in applicationContext.xml (or the
simulatorComponentContext.xml in the case of the Simulator).

If you could point me in the right direction that would be great.

Thanks!

XML sample for reference:






   


-- 
David Grizzanti
Software Engineer
Sungard Availability Services

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


Re: Bug? Should we allow detaching volumes when VMs have snapshots

2013-11-07 Thread SuichII, Christopher
Thanks for replying, Kelvin.

Now, should we only not allow this on VMWare, or should we prohibit it on 
XenServer as well. It appears to work fine on XenServer, but it may be a good 
idea to have a consistent experience, regardless of hypervisor.

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

On Nov 6, 2013, at 9:09 PM, Kelven Yang  wrote:

> We should dis-allow detaching volume from VM when it has VM snapshots.
> VMware keeps VM snapshot meta information at VM basis, disk membership
> change behind its back will cause problem and it does not provide official
> API to manipulate at volume level for a VM snapshot.
> 
> This is a bug
> 
> Kelven
> 
> On 11/6/13, 5:58 AM, "SuichII, Christopher"  wrote:
> 
>> Bumping this. I believe we need the imput of a VMWare expert, please.
>> 
>> -Chris
>> -- 
>> Chris Suich
>> chris.su...@netapp.com
>> NetApp Software Engineer
>> Data Center Platforms ­ Cloud Solutions
>> Citrix, Cisco & Red Hat
>> 
>> On Nov 5, 2013, at 1:46 PM, Mike Tutkowski 
>> wrote:
>> 
>>> OK, well, depending on if we can or can't get a VMware person to chime
>>> in
>>> on this issue, we may have to disallow disks from being detached from
>>> VMware VMs with snapshots in 4.3.
>>> 
>>> 
>>> On Tue, Nov 5, 2013 at 11:44 AM, SuichII, Christopher <
>>> chris.su...@netapp.com> wrote:
>>> 
 Correct.
 
 #6 FAILS with VMWare and SUCCEEDS with Xen
 
 --
 Chris Suich
 chris.su...@netapp.com
 NetApp Software Engineer
 Data Center Platforms ­ Cloud Solutions
 Citrix, Cisco & Red Hat
 
 On Nov 5, 2013, at 1:35 PM, Mike Tutkowski
 
 wrote:
 
> I assume 6 fails with VMware, as well?
> 
> Is Xen OK with 6?
> 
> 
> On Tue, Nov 5, 2013 at 11:26 AM, SuichII, Christopher <
> chris.su...@netapp.com> wrote:
> 
>> FWIW, after looking into this more with Xen, when the VM is restored
>> in
>> step 4, it simply no longer has the volume attached, so this appears
>> to
>> really be a VMWare issue. Any VMWare experts out there know how we
>> can
>> handle this?
>> 
>> -Chris
>> --
>> Chris Suich
>> chris.su...@netapp.com
>> NetApp Software Engineer
>> Data Center Platforms ­ Cloud Solutions
>> Citrix, Cisco & Red Hat
>> 
>> On Nov 5, 2013, at 1:05 PM, SuichII, Christopher <
 chris.su...@netapp.com>
>> wrote:
>> 
>>> We currently don¹t allow volumes to be attached to VMs with
>>> snapshots
>> and allowing volumes to be detached causes quite a bug:
>>> 
>>> 1) Attach a data disk to a VM
>>> 2) Snapshot the VM
>>> 3) Detach the data disk
>>> 4) Attempt to restore the VM from the snapshot ‹ FAILS since the
>>> data
>> disk is no longer there, although it is expected to be
>>> 5) Attempt to re-attach the volume to the VM ‹ FAILS since you
>>> cannot
>> attach volumes to VMs with snapshots
>>> 6) Attempt to delete the VM snapshot ‹ FAILS since the data disk is
>>> no
>> longer there, although it is expected to be
>>> 
>>> I have verified the above steps on VMWare, however Xen does not
>>> appear
>> to fail on step 4, presumably because VMWare handles snapshots quite
>> differently than Xen.
>>> 
>>> Does anyone else have any thoughts on whether this is a bug or not?
 IMO,
>> on VMWare, this set of steps can get users into a state where they
>> can
 no
>> longer attach new data disks to their VM, so it appears to be a bug
>> of
 some
>> kind.
>>> 
>>> -Chris
>>> --
>>> Chris Suich
>>> chris.su...@netapp.com
>>> NetApp Software Engineer
>>> Data Center Platforms ­ Cloud Solutions
>>> Citrix, Cisco & Red Hat
>>> 
>> 
>> 
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> **
 
 
>>> 
>>> 
>>> -- 
>>> *Mike Tutkowski*
>>> *Senior CloudStack Developer, SolidFire Inc.*
>>> e: mike.tutkow...@solidfire.com
>>> o: 303.746.7302
>>> Advancing the way the world uses the
>>> cloud
>>> **
>> 
> 



Re: Review Request 15304: Added installation of marvin along with packaging to mvn build

2013-11-07 Thread Santhosh Edukulla


> On Nov. 7, 2013, 10:40 a.m., Hugo Trippaers wrote:
> > tools/marvin/pom.xml, line 88
> > 
> >
> > How do we ensure it also works for people that use easy_install instead 
> > of pip?

1. The current way of usage is we just package as part of mvn install and leave 
it to user to install the Marvin package separate either through pip or 
otherwise. With this, as mentioned in review description, if we do any changes 
and package, then users has to separately install Marvin. This is ok and no 
issues either. Either user installs marvin every time he downloads and builds 
cs code or he is made aware that there is some change and its time to install. 
But, We have seen that any new change leads to this additional installation 
procedure and leads to failures if not installed and queries related to its 
failures as often people tend to miss the installation of Marvin for its usage. 

2. So, we are adding this facilitation as part of packaging and then 
installation using "pip" ( widely used ) . If we see current sync procedure, we 
are already assuming that user has pip and so he is running it. We just 
extended that facility to install procedure as additional execution. Yes, we 
made some assumption( assuming it is right and pip is widely used ) and its 
current usage under marvin.sync, the same actually would have applied equally 
there. So, far users using sync, not much have complained of missing pip on 
their facility and any additional facility to use easy_install against pip. We 
may\maynot add support for easy_install but we can if the change to 
installation is ok to be added and its worth adding installing with easy_setup 
as well. We may encounter issues with multiple versions of easy_install on his  
setup again. pip should suffice i believe.

Regarding changes, it will  do to local machine, this is same either user 
installs it explicitly or we do it through mvn. But, marvin anyways has been 
along with CS repo currently with different branches and versions, if user 
checksout x version, even marvin for that version is available and packaged. If 
he is trying to run his tests with out install, he may still face the issue and 
then may manually install it because tests for version x may not work with 
installed Marvin. Its just we are avoiding that install burden automatically. 
If he checksout another version of y and marvin version available will be 
packaged for that version but not installed, its just that he continues to use 
the installed version and tests with latest checked out code assumes that 
installed marvin works. 

Iam ok with not installing marvin with mvn install and install it separately( 
good or bad )  but as mentioned in step1, users do complain of missing package 
failures when they run marvin tests and we recently has seen 4-5 mails to group 
as an illustration to this. We just added this support,post those mails raising 
issue with marvin. 


- Santhosh


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


On Nov. 7, 2013, 10:11 a.m., Santhosh Edukulla wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15304/
> ---
> 
> (Updated Nov. 7, 2013, 10:11 a.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Bugs: CLOUDSTACK-5073
> https://issues.apache.org/jira/browse/CLOUDSTACK-5073
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Currently, we dont install the Marvin packages with default mvn install. As 
> part of this command currently, we just source 
> distribute the Marvin. For marvin,We assume user to have run its own 
> installation of packages post distribution. 
> This way, some times if any new addition of package changes happens, user has 
> to explicitly run installation of marvin. 
> If not installed,the changes are not available to tests and other code. With 
> this change, we package and 
> install them as well
> 
> 
> Diffs
> -
> 
>   tools/marvin/pom.xml 0869248 
> 
> Diff: https://reviews.apache.org/r/15304/diff/
> 
> 
> Testing
> ---
> 
> Tested that installation works post packaging
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>



Re: Review Request 15304: Added installation of marvin along with packaging to mvn build

2013-11-07 Thread Prasanna Santhanam

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


I'm with Hugo on this. It's going to become harder to fit marvin's build, 
package and install phases into maven's lifecycle goals. The marvin.sync for 
that reason is maintained as a separate profile. Unfortunately, it's not in the 
path of the developer build and so not many use it. I think we can defer this 
change and later cleanly separate out marvin into its own pypi repo like 
cloudmonkey. 

Then users can simply do 
$ pip install cloudstack-marvin
$ pip upgrade cloudstack-marvin

This is a more clear instruction than mixing it with maven commands which I 
have never liked but had to facilitate in the past.

- Prasanna Santhanam


On Nov. 7, 2013, 10:11 a.m., Santhosh Edukulla wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15304/
> ---
> 
> (Updated Nov. 7, 2013, 10:11 a.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Bugs: CLOUDSTACK-5073
> https://issues.apache.org/jira/browse/CLOUDSTACK-5073
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Currently, we dont install the Marvin packages with default mvn install. As 
> part of this command currently, we just source 
> distribute the Marvin. For marvin,We assume user to have run its own 
> installation of packages post distribution. 
> This way, some times if any new addition of package changes happens, user has 
> to explicitly run installation of marvin. 
> If not installed,the changes are not available to tests and other code. With 
> this change, we package and 
> install them as well
> 
> 
> Diffs
> -
> 
>   tools/marvin/pom.xml 0869248 
> 
> Diff: https://reviews.apache.org/r/15304/diff/
> 
> 
> Testing
> ---
> 
> Tested that installation works post packaging
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>



Re: Review Request 15243: Improve VR upgrades

2013-11-07 Thread Kishan Kavala

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

Ship it!


commit 3f5b8f70630e8415a611984ccde2e1f631e96bc9

- Kishan Kavala


On Nov. 6, 2013, 12:39 a.m., Kishan Kavala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15243/
> ---
> 
> (Updated Nov. 6, 2013, 12:39 a.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Bugs: CLOUDSTACK-4793
> https://issues.apache.org/jira/browse/CLOUDSTACK-4793
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Added UpgradeRouterTemplate API. 
> Added filters to listRouters API - version/ 
> accountId/domainId/zoneId/podId/clusterId
> listRouters response includes verion and required upgrade flag. 
> Min VR version is checked before sending commands to router
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/VirtualNetworkApplianceService.java 58eead2 
>   api/src/com/cloud/network/router/VirtualRouter.java 9e90e8e 
>   api/src/org/apache/cloudstack/api/ApiConstants.java 3b2bc67 
>   api/src/org/apache/cloudstack/api/ResponseGenerator.java a8de31d 
>   api/src/org/apache/cloudstack/api/command/admin/router/ListRoutersCmd.java 
> d7f59b96 
>   
> api/src/org/apache/cloudstack/api/command/admin/router/UpgradeRouterTemplateCmd.java
>  PRE-CREATION 
>   api/src/org/apache/cloudstack/api/response/DomainRouterResponse.java 
> 1d31b58 
>   
> api/src/org/apache/cloudstack/api/response/UpgradeRouterTemplateResponse.java 
> PRE-CREATION 
>   client/tomcatconf/commands.properties.in 8cbe972 
>   engine/schema/src/com/cloud/vm/dao/DomainRouterDao.java 95d1ea6 
>   engine/schema/src/com/cloud/vm/dao/DomainRouterDaoImpl.java 7676e2d 
>   server/src/com/cloud/api/ApiResponseHelper.java 769d345 
>   server/src/com/cloud/api/query/QueryManagerImpl.java f34e60e 
>   server/src/com/cloud/api/query/ViewResponseHelper.java 4051f09 
>   server/src/com/cloud/api/query/dao/DomainRouterJoinDaoImpl.java 42965bc 
>   server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
> 9b35a4b 
>   server/src/com/cloud/server/ManagementServerImpl.java 79b20d0 
>   server/test/com/cloud/vpc/MockVpcVirtualNetworkApplianceManager.java 
> acdd9dc 
>   utils/src/com/cloud/maint/Version.java 7317547 
> 
> Diff: https://reviews.apache.org/r/15243/diff/
> 
> 
> Testing
> ---
> 
> Tested VR upgrade with older and new VR versions.
> Tested with various filters.
> Verfied that commands are not sent to VR when the min version criteria in not 
> met
> 
> 
> Thanks,
> 
> Kishan Kavala
> 
>



RE: 4.2.1 BVT automation results

2013-11-07 Thread Rayees Namathponnan
Hi Sebastian,

I don't think so we are running automation  4.2.1 branch in 
jenkins.buildacloud.org,  below result is from master branch; 

http://jenkins.buildacloud.org/view/cloudstack-qa/job/test-smoke-matrix/ 

Also I reported master failures in ASF jira

https://issues.apache.org/jira/browse/CLOUDSTACK-5050 
https://issues.apache.org/jira/browse/CLOUDSTACK-5049 
https://issues.apache.org/jira/browse/CLOUDSTACK-5047 
https://issues.apache.org/jira/browse/CLOUDSTACK-5046 
https://issues.apache.org/jira/browse/CLOUDSTACK-5045 
https://issues.apache.org/jira/browse/CLOUDSTACK-4835 


NOTE : I ran automation with RHEL 6.3 

Regards,
Rayees 

-Original Message-

From: Sebastien Goasguen [mailto:run...@gmail.com] 
Sent: Thursday, November 07, 2013 12:29 AM
To: dev@cloudstack.apache.org
Subject: Re: 4.2.1 BVT automation results


On Nov 6, 2013, at 6:07 PM, Rayees Namathponnan 
 wrote:

> Hi All,
> 
> 4.2.1 BVT automation results published to cwiki; you can see the results below
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/4.2.1+Automation+Result
> 
> Regards,
> Rayees
> 

Where are those results coming from ?

The qa and simulator jobs on http://jenkins.buildacloud.org/view/simulator/ 
seem to have been failing for a while 

Also it would be great if the results table could have the OS version. 
Technically we need to have each set run on ubuntu 12.04 and Centos6.4.

-sebastien


> 



Review Request 15309: Fixed bug with deleting VMWare VM Snapshots

2013-11-07 Thread Chris Suich

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

Review request for cloudstack and edison su.


Repository: cloudstack-git


Description
---

A bug was introduced in a6ce66e55a65eb0fbae9ead92de6ceac7a87c531 which does not 
allow VMWare VM snapshots to be deleted.

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=a6ce66e55a65eb0fbae9ead92de6ceac7a87c531

In refactoring, volumeTo.getPoolUuid() was supposed to be changed to 
store.getUuid() but was actually changed to volumeTo.getUuid().


Diffs
-

  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
 0e2423e 

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


Testing
---


Thanks,

Chris Suich



Re: Cloudstack 4.2.0 > migration of local data volume is not allowed

2013-11-07 Thread Antonio Petrocelli

Hello,

before all thanks for your reply.

I confirm you that data volume ( snapshot and templates ) is located on 
second storage mounted with NFS on both nodes ( 2 hosts ).


We use local storage for vm on each node.

How to setup a local path for snapshot repository inside cloudstack 
admin panel?


Should I remove second storage to do so ? If so, should I also store 
templates on local storage ?


Waiting for your reply

Best regards

Il 07/11/2013 12:43, Koushik Das ha scritto:

Is your data volume and VM on the same host? If not then the volume cannot be 
attached to the VM in case of a local volume.

-Koushik
  
On 07-Nov-2013, at 4:03 PM, Antonio Petrocelli 

  wrote:


Hello,

i've this error when i try to attach a volume to vm:

"Failed to attach local data volume snap_2599317a-2598-4a91-8dca-f3801ae1f462 to VM 
Test01 as migration of local data volume is not allowed"


Actual config is on LOCAL storage type.

Someone know about?

Thanks!


Re: Review Request 15238: CLOUDSTACK-5039: bugfix: live migration failed : Domain not found: no domain with matching uuid ''

2013-11-07 Thread Kishan Kavala

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

Ship it!


commit b864e677e5d007e10b73f10120d86dc97684de6c

- Kishan Kavala


On Nov. 5, 2013, 10:47 a.m., Yoshikazu Nojima wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15238/
> ---
> 
> (Updated Nov. 5, 2013, 10:47 a.m.)
> 
> 
> Review request for cloudstack, Marcus Sorensen, Toshiaki Hatano, and Wido den 
> Hollander.
> 
> 
> Bugs: CLOUDSTACK-5039
> https://issues.apache.org/jira/browse/CLOUDSTACK-5039
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> * Issue to be solved:
> 
> Live migration failed with following error message:
> 
> 2013-11-05 04:39:29,345 DEBUG [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-1:null) Can't migrate domain: Domain not found: no 
> domain with matching uuid '87c06b76-5ee6-3f1b-8c89-54e75de6bd3d' 
> 
> It seems CloudStack doesn't specify correct UUID.
> This commit revert the domain lookup code change made in the commit ( 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java;h=203587a06f63f23d487ae65dcf5c397cd2702166;hp=94ee9ae676ef8d0202e7fa617e712352a934ffcb;hb=a709f34f;hpb=5410901aebed4ada581b853e0ca02d9f855a68f1
>  ).
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  e3f60f2 
> 
> Diff: https://reviews.apache.org/r/15238/diff/
> 
> 
> Testing
> ---
> 
> I confirmed live migration works.
> 
> 
> Thanks,
> 
> Yoshikazu Nojima
> 
>



Review Request 15313: Updated VMSnapshotDetails* to match *Details* pattern (e.g. UserVMDetails*)

2013-11-07 Thread Chris Suich

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

Review request for cloudstack and edison su.


Repository: cloudstack-git


Description
---

VMSnapshotDetailsDao/Impl/VO were not using the ResourceDetails/Dao/Base 
pattern which caused issues with adding details and did not give access to 
useful methods like the detail getters/deleters.


Diffs
-

  engine/schema/src/com/cloud/vm/snapshot/VMSnapshotDetailsVO.java 934dd92 
  engine/schema/src/com/cloud/vm/snapshot/dao/VMSnapshotDetailsDao.java e84178c 
  engine/schema/src/com/cloud/vm/snapshot/dao/VMSnapshotDetailsDaoImpl.java 
b528b39 
  
engine/storage/integration-test/test/com/cloud/vm/snapshot/dao/VmSnapshotDaoTest.java
 fc52f89 

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


Testing
---


Thanks,

Chris Suich



Re: Review Request 15238: CLOUDSTACK-5039: bugfix: live migration failed : Domain not found: no domain with matching uuid ''

2013-11-07 Thread ASF Subversion and Git Services

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


Commit b864e677e5d007e10b73f10120d86dc97684de6c in branch refs/heads/master 
from ynojima
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b864e67 ]

CLOUDSTACK-5039 bugfix: live migration failure in KVM env.

Signed-off-by: ynojima 


- ASF Subversion and Git Services


On Nov. 5, 2013, 5:17 a.m., Yoshikazu Nojima wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15238/
> ---
> 
> (Updated Nov. 5, 2013, 5:17 a.m.)
> 
> 
> Review request for cloudstack, Marcus Sorensen, Toshiaki Hatano, and Wido den 
> Hollander.
> 
> 
> Bugs: CLOUDSTACK-5039
> https://issues.apache.org/jira/browse/CLOUDSTACK-5039
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> * Issue to be solved:
> 
> Live migration failed with following error message:
> 
> 2013-11-05 04:39:29,345 DEBUG [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-1:null) Can't migrate domain: Domain not found: no 
> domain with matching uuid '87c06b76-5ee6-3f1b-8c89-54e75de6bd3d' 
> 
> It seems CloudStack doesn't specify correct UUID.
> This commit revert the domain lookup code change made in the commit ( 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java;h=203587a06f63f23d487ae65dcf5c397cd2702166;hp=94ee9ae676ef8d0202e7fa617e712352a934ffcb;hb=a709f34f;hpb=5410901aebed4ada581b853e0ca02d9f855a68f1
>  ).
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  e3f60f2 
> 
> Diff: https://reviews.apache.org/r/15238/diff/
> 
> 
> Testing
> ---
> 
> I confirmed live migration works.
> 
> 
> Thanks,
> 
> Yoshikazu Nojima
> 
>



Re: Review Request 15247: [DOC] CLOUDSTACK-4967: Add a section to describe VNI allocation matter

2013-11-07 Thread Toshiaki Hatano

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


This modification basically subtract contents from the doc but the patch 
actually add a option to use physical interface name for traffic label.
Since we still allow user to use bridge (even if it's not optimal) as traffic 
label, why don't we add more documentation to tell options and pros/cons 
instead of concealing things.


vxlan/en-US/plugin-vxlan-config-hypervisor.xml


s/XVLAN/VXLAN/ ? :)



vxlan/en-US/plugin-vxlan-config-hypervisor.xml


This paragraph excluding line 32 is still valid after the patch.

IMO it's better to explain why we need to open UDP/8472 port.
I also feel it's must to explain this plugin require multicast reachability 
between underlying interfaces, at least somewhere in this document.



- Toshiaki Hatano


On Nov. 5, 2013, 9:31 p.m., Yoshikazu Nojima wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15247/
> ---
> 
> (Updated Nov. 5, 2013, 9:31 p.m.)
> 
> 
> Review request for cloudstack and Marcus Sorensen.
> 
> 
> Bugs: CLOUDSTACK-4967
> https://issues.apache.org/jira/browse/CLOUDSTACK-4967
> 
> 
> Repository: cloudstack-docs
> 
> 
> Description
> ---
> 
> This patch updates CloudStack Plugin Guide for the VXLAN Plugin.
> 
> - Add a section to describe VNIs allocation matter
> - Remove section that explain how to configure the bridge for traffic label 
> because the bridge configuration is no longer necessary.
> - Update screen shots to catch up new UI visual appearance.
> 
> 
> Diffs
> -
> 
>   vxlan/en-US/images/vxlan-trafficlabel.png 
> 956d5f4f58f592ed3f260d6e1982c238c2ddf06a 
>   vxlan/en-US/images/vxlan-vniconfig.png PRE-CREATION 
>   vxlan/en-US/plugin-vxlan-config-hypervisor.xml 2c5e138 
>   vxlan/en-US/plugin-vxlan-config-management.xml 21f5461 
>   vxlan/en-US/plugin-vxlan-revision-history.xml ec04d11 
> 
> Diff: https://reviews.apache.org/r/15247/diff/
> 
> 
> Testing
> ---
> 
> I generated and confirmed the PDF.
> 
> 
> Thanks,
> 
> Yoshikazu Nojima
> 
>



Re: Review Request 15247: [DOC] CLOUDSTACK-4967: Add a section to describe VNI allocation matter

2013-11-07 Thread Toshiaki Hatano


> On Nov. 7, 2013, 4:32 p.m., Toshiaki Hatano wrote:
> > This modification basically subtract contents from the doc but the patch 
> > actually add a option to use physical interface name for traffic label.
> > Since we still allow user to use bridge (even if it's not optimal) as 
> > traffic label, why don't we add more documentation to tell options and 
> > pros/cons instead of concealing things.

Or, just make bridge-named traffic label invalid for vxlan isolation and write 
so.
(it's better option for users, might be)


- Toshiaki


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


On Nov. 5, 2013, 9:31 p.m., Yoshikazu Nojima wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15247/
> ---
> 
> (Updated Nov. 5, 2013, 9:31 p.m.)
> 
> 
> Review request for cloudstack and Marcus Sorensen.
> 
> 
> Bugs: CLOUDSTACK-4967
> https://issues.apache.org/jira/browse/CLOUDSTACK-4967
> 
> 
> Repository: cloudstack-docs
> 
> 
> Description
> ---
> 
> This patch updates CloudStack Plugin Guide for the VXLAN Plugin.
> 
> - Add a section to describe VNIs allocation matter
> - Remove section that explain how to configure the bridge for traffic label 
> because the bridge configuration is no longer necessary.
> - Update screen shots to catch up new UI visual appearance.
> 
> 
> Diffs
> -
> 
>   vxlan/en-US/images/vxlan-trafficlabel.png 
> 956d5f4f58f592ed3f260d6e1982c238c2ddf06a 
>   vxlan/en-US/images/vxlan-vniconfig.png PRE-CREATION 
>   vxlan/en-US/plugin-vxlan-config-hypervisor.xml 2c5e138 
>   vxlan/en-US/plugin-vxlan-config-management.xml 21f5461 
>   vxlan/en-US/plugin-vxlan-revision-history.xml ec04d11 
> 
> Diff: https://reviews.apache.org/r/15247/diff/
> 
> 
> Testing
> ---
> 
> I generated and confirmed the PDF.
> 
> 
> Thanks,
> 
> Yoshikazu Nojima
> 
>



Re: Review Request 15263: Added fix for bug 5056.

2013-11-07 Thread SrikanteswaraRao Talluri

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



tools/marvin/marvin/integration/lib/utils.py


change keyword 'keyPairFileLocation' to 'keyPairFiles'



tools/marvin/marvin/remoteSSHClient.py


self.keyPairFiles is not defined at this moment we are getting an exception 
here. 

remove this here



tools/marvin/marvin/remoteSSHClient.py


it should be self.keyPairFiles instead of keyPairFiles

again keyPairFiles is not defined at this point and it is resulting in 
exception.


- SrikanteswaraRao Talluri


On Nov. 6, 2013, 1:44 p.m., Santhosh Edukulla wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15263/
> ---
> 
> (Updated Nov. 6, 2013, 1:44 p.m.)
> 
> 
> Review request for cloudstack and Girish Shilamkar.
> 
> 
> Bugs: CLOUDSTACK-5056
> https://issues.apache.org/jira/browse/CLOUDSTACK-5056
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> 1. The library( remoteSSHClient ) in its current form has some issues. Fixed 
> few of them. As part of that, did clean up of the code. 
> 2. Added tcp timeout flag as an additional parameter to help establish the 
> tcp connections and retry if failed. It retries even otherwise failed. 
> 3. Renamed few variables and maintained uniform usage and convention. 
> 4. Added few new member functions runCommand,createConnection 
> 5. Current, way of creating connection and raising exception from constructor 
> along with return was removed and added a new way of handling it. 
> 6. Currently, result list was returned for execute command, but we dont know 
> the status of command execution, whether the output contains error or output 
> etc. Now, provided more information in the return with new implementation. 
> 7. Added few codes for proper return status. 
> 
> 
> TODO: 
> 1. Remove establishing connection from constructor altogether. This will 
> effect the current modules using it. 
> 2. Need to change is_server_ssh_ready function for proper and adequate 
> checks, currently the name and functionality is little different. It can add 
> more adequate checks before returning ssh object. 
> 
> 
> Diffs
> -
> 
>   tools/marvin/marvin/codes.py b6580d0 
>   tools/marvin/marvin/integration/lib/utils.py 4d048f0 
>   tools/marvin/marvin/remoteSSHClient.py fea9b12 
> 
> Diff: https://reviews.apache.org/r/15263/diff/
> 
> 
> Testing
> ---
> 
> 
> File Attachments
> 
> 
> Added New File
>   
> https://reviews.apache.org/media/uploaded/files/2013/11/06/0001-Added-fix-for-bug-5056.patch
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>



Re: Commit 25c8cee01a450ee924fe108cafe54b046485ab2b broke Vmware on Master

2013-11-07 Thread Min Chen
Yes. From callstack,
BroadcastDomainType.getValue(BroadcastDomainType.fromString(vlanId) is
already called before going to that routine.

Thanks
-min

On 11/7/13 1:51 AM, "Daan Hoogland"  wrote:

>H Min,
>
>Your fix will work if you can guarantee that the String passed is a
>integer. if it has the chance of being in the form of for instance
>vlan:// , you should use:
>vid = 
>Integer.parseInt(BroadcastDomainType.getValue(BroadcastDomainType.fromStri
>ng(vlanId)));
>
>regards,
>Daan
>
>
>On Wed, Nov 6, 2013 at 3:25 AM, Min Chen  wrote:
>> Hi Daan,
>>
>> Your commit
>> 
>>https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=25c8c
>>ee01a450ee924fe108cafe54b046485ab2b
>> broke Vmware advanced zone setup on Master, where system vm starts
>>failed
>> with "NumberFormatException", see details in
>> https://issues.apache.org/jira/browse/CLOUDSTACK-5046. I fixed this
>>blocker
>> bug (commit 94f9b31c9a4c7ae67feabbe16d2ea753e3183289) by reverting part
>>of
>> your change on HypervisorHostHelper method, but not sure if there is any
>> side effect on your another functionality fixed in your commit. Can you
>> please review to make sure that it is ok?
>>
>> Thanks
>> -min



Re: [DISCUSS] Domain/Account/User Sync Up Among Multiple Regions

2013-11-07 Thread Daan Hoogland
Alex,

Why would you want to make this a plugin? It sounds like a function of
the core server. Don't you agree?

regards,
Daan

On Wed, Nov 6, 2013 at 10:59 PM, Alex Ough  wrote:
> I'm having a difficulty finding documents about how to develop a plug-in.
> Anyone to help me find one?
>
> Thanks in advance.
> Alex Ough
>
>
> On Tue, Nov 5, 2013 at 2:18 PM, Alex Ough  wrote:
>
>> OK.
>>
>> 1) Do you mean the plug-in? If so, let me find out how to develop a
>> plug-in and work on this.
>> 2) Sure, let me add more information in the document.
>>
>> Thanks for your suggestions.
>> Alex Ough
>>
>>
>> On Tue, Nov 5, 2013 at 11:41 AM, Chip Childers 
>> wrote:
>>
>>> Alex,
>>>
>>> I've moved your page to the "Designs not committed to a release"
>>> parent (instead of the 4.3 designs page), to align with both the Jira
>>> record *and* the fact that feature freeze is about to happen for 4.3.
>>>
>>> As for the proposal itself, I have a couple of suggestions:
>>>
>>> 1) I'd like to see the implementation be part of the ACS runtime.
>>> Having a separate python app for this sync feature seems like an admin
>>> burden.
>>>
>>> 2) As far as the design document itself, I think that we need to see
>>> more details on the proposed approach to sync, failure condition
>>> handling, etc...
>>>
>>> -chip
>>>
>>>
>>> On Mon, Nov 4, 2013 at 3:16 PM, Alex Ough  wrote:
>>> > All,
>>> >
>>> > Among the 2 approaches, I uploaded the implemented codes of the first
>>> > approach, master-slave architecture, here.
>>> > https://github.com/alexoughsg/albatross
>>> >
>>> > And here is the design doc in the wiki.
>>> >
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Domain-Account-User+Sync+Up+Among+Multiple+Regions
>>> >
>>> > Please review them and let me know what you think if you're interested!
>>> > Thanks
>>> > Alex Ough
>>> >
>>> >
>>> >
>>> > On Thu, Oct 31, 2013 at 6:51 PM, Alex Ough 
>>> wrote:
>>> >
>>> >> Great! Thanks a lot, Daan.
>>> >>
>>> >>
>>> >> On Thu, Oct 31, 2013 at 4:58 PM, Daan Hoogland <
>>> daan.hoogl...@gmail.com>wrote:
>>> >>
>>> >>> you are added to jira, Alex
>>> >>>
>>> >>> On Thu, Oct 31, 2013 at 8:31 PM, Alex Ough 
>>> wrote:
>>> >>> > Thanks Chip, and can you also give a permission in Jira so that I
>>> can
>>> >>> > assign myself in its jira?
>>> >>> >
>>> >>> > Alex Ough
>>> >>> >
>>> >>> >
>>> >>> > On Thu, Oct 31, 2013 at 2:00 PM, Chip Childers <
>>> chipchild...@apache.org
>>> >>> >wrote:
>>> >>> >
>>> >>> >> Permission added.
>>> >>> >>
>>> >>> >> On Wed, Oct 30, 2013 at 12:19:23PM -0500, Alex Ough wrote:
>>> >>> >> > And I'd like to write the design document in the wiki page, but I
>>> >>> don't
>>> >>> >> > seem to have a permission to create pages.
>>> >>> >> > So can anyone give me the permission?
>>> >>> >> >
>>> >>> >> > My account in the wiki is alex.o...@sungard.com
>>> >>> >> >
>>> >>> >> > Thanks in advance.
>>> >>> >> > Alex Ough
>>> >>> >> >
>>> >>> >> >
>>> >>> >> > On Tue, Oct 29, 2013 at 3:38 PM, Alex Ough <
>>> alex.o...@sungard.com>
>>> >>> >> wrote:
>>> >>> >> >
>>> >>> >> > > I created a jira for this feature.
>>> >>> >> > >
>>> >>> >> > > https://issues.apache.org/jira/browse/CLOUDSTACK-4992
>>> >>> >> > >
>>> >>> >> > > But it doesn't allow for me to assign it to myself, so any
>>> >>> permission
>>> >>> >> do I
>>> >>> >> > > need for this?
>>> >>> >> > > If so, can anyone give me this permission?
>>> >>> >> > >
>>> >>> >> > > If there is anything missing, let me know.
>>> >>> >> > > Thanks
>>> >>> >> > > Alex Ough
>>> >>> >> > >
>>> >>> >> > >
>>> >>> >> > > On Fri, Oct 18, 2013 at 9:30 AM, Kishan Kavala <
>>> >>> >> kishan.kav...@citrix.com>wrote:
>>> >>> >> > >
>>> >>> >> > >> > -Original Message-
>>> >>> >> > >> > From: Alex Ough [mailto:alex.o...@sungard.com]
>>> >>> >> > >> > Sent: Thursday, 17 October 2013 11:25 PM
>>> >>> >> > >> > To: dev@cloudstack.apache.org; u...@cloudstack.apache.org
>>> >>> >> > >> > Subject: Fwd: [DISCUSS] Domain/Account/User Sync Up Among
>>> >>> Multiple
>>> >>> >> > >> > Regions
>>> >>> >> > >> >
>>> >>> >> > >> > All,
>>> >>> >> > >> >
>>> >>> >> > >> > Currently, under the environment of cloudstack with multiple
>>> >>> >> regions,
>>> >>> >> > >> each
>>> >>> >> > >> > region has its own management server running with a separate
>>> >>> >> database.
>>> >>> >> > >> So if
>>> >>> >> > >> > we want to support multiple regions and provide one point of
>>> >>> entry
>>> >>> >> for a
>>> >>> >> > >> > customer, we need to duplicate domain/account/user
>>> information
>>> >>> of
>>> >>> >> that
>>> >>> >> > >> > customer to all of the databases of regions the customer
>>> >>> accesses,
>>> >>> >> > >> which will
>>> >>> >> > >> > cause data discrepancies when users update those data
>>> >>> independently
>>> >>> >> in
>>> >>> >> > >> each
>>> >>> >> > >> > management server.
>>> >>> >> > >> >
>>> >>> >> > >> > So I'd like to provide a way to sync up the data using the
>>> >>> messaging
>>> >>> >> > >> system
>>> >>> >> > >> > int

Re: Review Request 15263: Added fix for bug 5056.

2013-11-07 Thread Santhosh Edukulla


> On Nov. 7, 2013, 5:05 p.m., SrikanteswaraRao Talluri wrote:
> > tools/marvin/marvin/remoteSSHClient.py, line 115
> > 
> >
> > self.keyPairFiles is not defined at this moment we are getting an 
> > exception here. 
> > 
> > remove this here

self.keyPairFiles is defined in constructor and we are calling createConnection 
later, so its not an issue i believe.


> On Nov. 7, 2013, 5:05 p.m., SrikanteswaraRao Talluri wrote:
> > tools/marvin/marvin/remoteSSHClient.py, line 116
> > 
> >
> > it should be self.keyPairFiles instead of keyPairFiles
> > 
> > again keyPairFiles is not defined at this point and it is resulting in 
> > exception.

It says self.keyPiarFiles only in the patch. I didnt see this line in patch1, 
did it changed after applying patch2 related to this?


- Santhosh


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


On Nov. 6, 2013, 1:44 p.m., Santhosh Edukulla wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15263/
> ---
> 
> (Updated Nov. 6, 2013, 1:44 p.m.)
> 
> 
> Review request for cloudstack and Girish Shilamkar.
> 
> 
> Bugs: CLOUDSTACK-5056
> https://issues.apache.org/jira/browse/CLOUDSTACK-5056
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> 1. The library( remoteSSHClient ) in its current form has some issues. Fixed 
> few of them. As part of that, did clean up of the code. 
> 2. Added tcp timeout flag as an additional parameter to help establish the 
> tcp connections and retry if failed. It retries even otherwise failed. 
> 3. Renamed few variables and maintained uniform usage and convention. 
> 4. Added few new member functions runCommand,createConnection 
> 5. Current, way of creating connection and raising exception from constructor 
> along with return was removed and added a new way of handling it. 
> 6. Currently, result list was returned for execute command, but we dont know 
> the status of command execution, whether the output contains error or output 
> etc. Now, provided more information in the return with new implementation. 
> 7. Added few codes for proper return status. 
> 
> 
> TODO: 
> 1. Remove establishing connection from constructor altogether. This will 
> effect the current modules using it. 
> 2. Need to change is_server_ssh_ready function for proper and adequate 
> checks, currently the name and functionality is little different. It can add 
> more adequate checks before returning ssh object. 
> 
> 
> Diffs
> -
> 
>   tools/marvin/marvin/codes.py b6580d0 
>   tools/marvin/marvin/integration/lib/utils.py 4d048f0 
>   tools/marvin/marvin/remoteSSHClient.py fea9b12 
> 
> Diff: https://reviews.apache.org/r/15263/diff/
> 
> 
> Testing
> ---
> 
> 
> File Attachments
> 
> 
> Added New File
>   
> https://reviews.apache.org/media/uploaded/files/2013/11/06/0001-Added-fix-for-bug-5056.patch
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>



Re: Enabling AMQP/RabbitMQ Events on master

2013-11-07 Thread Alena Prokharchyk
David,

Here are the instructions that I've got from one of the CS QA engineers, hope 
it helps.

FS - 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/events.html#event-framework

Test cases relating to this feature was covered as part of Regions Feature 
testing - 
https://cwiki.apache.org/confluence/download/attachments/30757955/Regions-Test-Execution-42.xlsx


Steps to set up RabbitMQ Server:

Have a RabbitMQ server set up.

Enable rabbitmq_management plugin

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.0.3\sbin>rabbitmq-plugins 
enable rabbitmq_management

Restart RabbitMQ service.

In management server :
Added the following in 
/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/componentContext.xml







   
  

Restart management server.

-Alena.

From: David Grizzanti 
mailto:david.grizza...@sungard.com>>
Reply-To: "dev@cloudstack.apache.org" 
mailto:dev@cloudstack.apache.org>>
Date: Thursday, November 7, 2013 5:04 AM
To: "dev@cloudstack.apache.org" 
mailto:dev@cloudstack.apache.org>>
Subject: Enabling AMQP/RabbitMQ Events on master

Hi,

I was looking for some help in enabling the AMQP/RabbitMQ events in
CloudStack.  I'm familiar with enabling these events in 4.2, however, I'm
not all the familiar with Spring and given the new modularized changes I'm
not really sure where the XML snippet belongs for the eventNotificationBus.
Previously I had been placing this in applicationContext.xml (or the
simulatorComponentContext.xml in the case of the Simulator).

If you could point me in the right direction that would be great.

Thanks!

XML sample for reference:






   


--
David Grizzanti
Software Engineer
Sungard Availability Services

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



RE: [ACS43] Schedule reminder : feature freeze this Friday 11/08

2013-11-07 Thread Animesh Chaturvedi
Chip can you confirm if the IP clearance is done, should Devdeep proceed with 
merging into master?

> -Original Message-
> From: Chip Childers [mailto:chipchild...@apache.org]
> Sent: Tuesday, November 05, 2013 9:36 AM
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS43] Schedule reminder : feature freeze this Friday
> 11/08
> 
> One thing to note, and perhaps this becomes a minor exception to the
> merge timing.  IP Clearance for the RDP client won't be done until the
> morning of the 7th.
> 
> I'd propose that it is brought in to master at that time.  I won't have
> time to do the actual commit myself, but perhaps someone can own
> handling this on the morning of the 7th (ET).  Any takers?
> 
> -chip
> 
> On Mon, Nov 4, 2013 at 9:58 PM, Animesh Chaturvedi
>  wrote:
> > Folks
> >
> > Friday 11/8 is the feature freeze date for ACS 4.3. If your
> contribution is unlikely to make it to 4.3 feature freeze on 11/8 please
> move them out of 4.3 release to 'Future'.
> >
> > Do remember that we have a 72 hour notice period to solicit feedback
> for MERGE requests. So the absolute last day for merge requests for 4.3
> features/ improvements is tomorrow 11/05. Contributors if you have
> patches in reviewboard that you had planned for 4.3 make sure to follow
> up with reviewers. The contribution has to be in master after satisfying
> any merge concerns / review comments  by 11/08 to be included  in 4.3.0
> release.
> >
> >
> > For detailed branch merge requirement check [1]
> >
> > [1]
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Branch+Merge+Ex
> > pectations
> >
> >
> > Thanks
> > Animesh
> >
> >


Re: Review Request 15068: Change labels for VLAN to vNet

2013-11-07 Thread Animesh Chaturvedi


> On Nov. 4, 2013, 10:24 p.m., Jessica Wang wrote:
> > Ship It!

Has this been applied? 


- Animesh


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


On Nov. 1, 2013, 4:52 p.m., Chris Cameron wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15068/
> ---
> 
> (Updated Nov. 1, 2013, 4:52 p.m.)
> 
> 
> Review request for cloudstack, Brian Federle, Jessica Wang, Marcus Sorensen, 
> Pranav Saxena, and Toshiaki Hatano.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> We would like to change the labels for VLAN to vNet to make the term more 
> generic for VXLAN and VLAN. This relates to the work being done to add in 
> VXLAN support to Cloudstack.
> 
> 
> Diffs
> -
> 
>   client/WEB-INF/classes/resources/messages.properties 3210aca 
>   ui/dictionary.jsp 35cba22 
>   ui/scripts/network.js 12e5389 
>   ui/scripts/system.js 479883c 
> 
> Diff: https://reviews.apache.org/r/15068/diff/
> 
> 
> Testing
> ---
> 
> Checked through the GUI for changed elements.
> 
> 
> Thanks,
> 
> Chris Cameron
> 
>



Re: [DISCUSS] Domain/Account/User Sync Up Among Multiple Regions

2013-11-07 Thread Alex Ough
I don't mind implementing it in the core server unless there is anyone who
thinks differently.
Anyone with another thought?

Thank Daan for your suggestion.
Alex Ough


On Thu, Nov 7, 2013 at 11:23 AM, Daan Hoogland wrote:

> Alex,
>
> Why would you want to make this a plugin? It sounds like a function of
> the core server. Don't you agree?
>
> regards,
> Daan
>
> On Wed, Nov 6, 2013 at 10:59 PM, Alex Ough  wrote:
> > I'm having a difficulty finding documents about how to develop a plug-in.
> > Anyone to help me find one?
> >
> > Thanks in advance.
> > Alex Ough
> >
> >
> > On Tue, Nov 5, 2013 at 2:18 PM, Alex Ough  wrote:
> >
> >> OK.
> >>
> >> 1) Do you mean the plug-in? If so, let me find out how to develop a
> >> plug-in and work on this.
> >> 2) Sure, let me add more information in the document.
> >>
> >> Thanks for your suggestions.
> >> Alex Ough
> >>
> >>
> >> On Tue, Nov 5, 2013 at 11:41 AM, Chip Childers  >wrote:
> >>
> >>> Alex,
> >>>
> >>> I've moved your page to the "Designs not committed to a release"
> >>> parent (instead of the 4.3 designs page), to align with both the Jira
> >>> record *and* the fact that feature freeze is about to happen for 4.3.
> >>>
> >>> As for the proposal itself, I have a couple of suggestions:
> >>>
> >>> 1) I'd like to see the implementation be part of the ACS runtime.
> >>> Having a separate python app for this sync feature seems like an admin
> >>> burden.
> >>>
> >>> 2) As far as the design document itself, I think that we need to see
> >>> more details on the proposed approach to sync, failure condition
> >>> handling, etc...
> >>>
> >>> -chip
> >>>
> >>>
> >>> On Mon, Nov 4, 2013 at 3:16 PM, Alex Ough 
> wrote:
> >>> > All,
> >>> >
> >>> > Among the 2 approaches, I uploaded the implemented codes of the first
> >>> > approach, master-slave architecture, here.
> >>> > https://github.com/alexoughsg/albatross
> >>> >
> >>> > And here is the design doc in the wiki.
> >>> >
> >>>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Domain-Account-User+Sync+Up+Among+Multiple+Regions
> >>> >
> >>> > Please review them and let me know what you think if you're
> interested!
> >>> > Thanks
> >>> > Alex Ough
> >>> >
> >>> >
> >>> >
> >>> > On Thu, Oct 31, 2013 at 6:51 PM, Alex Ough 
> >>> wrote:
> >>> >
> >>> >> Great! Thanks a lot, Daan.
> >>> >>
> >>> >>
> >>> >> On Thu, Oct 31, 2013 at 4:58 PM, Daan Hoogland <
> >>> daan.hoogl...@gmail.com>wrote:
> >>> >>
> >>> >>> you are added to jira, Alex
> >>> >>>
> >>> >>> On Thu, Oct 31, 2013 at 8:31 PM, Alex Ough 
> >>> wrote:
> >>> >>> > Thanks Chip, and can you also give a permission in Jira so that I
> >>> can
> >>> >>> > assign myself in its jira?
> >>> >>> >
> >>> >>> > Alex Ough
> >>> >>> >
> >>> >>> >
> >>> >>> > On Thu, Oct 31, 2013 at 2:00 PM, Chip Childers <
> >>> chipchild...@apache.org
> >>> >>> >wrote:
> >>> >>> >
> >>> >>> >> Permission added.
> >>> >>> >>
> >>> >>> >> On Wed, Oct 30, 2013 at 12:19:23PM -0500, Alex Ough wrote:
> >>> >>> >> > And I'd like to write the design document in the wiki page,
> but I
> >>> >>> don't
> >>> >>> >> > seem to have a permission to create pages.
> >>> >>> >> > So can anyone give me the permission?
> >>> >>> >> >
> >>> >>> >> > My account in the wiki is alex.o...@sungard.com
> >>> >>> >> >
> >>> >>> >> > Thanks in advance.
> >>> >>> >> > Alex Ough
> >>> >>> >> >
> >>> >>> >> >
> >>> >>> >> > On Tue, Oct 29, 2013 at 3:38 PM, Alex Ough <
> >>> alex.o...@sungard.com>
> >>> >>> >> wrote:
> >>> >>> >> >
> >>> >>> >> > > I created a jira for this feature.
> >>> >>> >> > >
> >>> >>> >> > > https://issues.apache.org/jira/browse/CLOUDSTACK-4992
> >>> >>> >> > >
> >>> >>> >> > > But it doesn't allow for me to assign it to myself, so any
> >>> >>> permission
> >>> >>> >> do I
> >>> >>> >> > > need for this?
> >>> >>> >> > > If so, can anyone give me this permission?
> >>> >>> >> > >
> >>> >>> >> > > If there is anything missing, let me know.
> >>> >>> >> > > Thanks
> >>> >>> >> > > Alex Ough
> >>> >>> >> > >
> >>> >>> >> > >
> >>> >>> >> > > On Fri, Oct 18, 2013 at 9:30 AM, Kishan Kavala <
> >>> >>> >> kishan.kav...@citrix.com>wrote:
> >>> >>> >> > >
> >>> >>> >> > >> > -Original Message-
> >>> >>> >> > >> > From: Alex Ough [mailto:alex.o...@sungard.com]
> >>> >>> >> > >> > Sent: Thursday, 17 October 2013 11:25 PM
> >>> >>> >> > >> > To: dev@cloudstack.apache.org;
> u...@cloudstack.apache.org
> >>> >>> >> > >> > Subject: Fwd: [DISCUSS] Domain/Account/User Sync Up Among
> >>> >>> Multiple
> >>> >>> >> > >> > Regions
> >>> >>> >> > >> >
> >>> >>> >> > >> > All,
> >>> >>> >> > >> >
> >>> >>> >> > >> > Currently, under the environment of cloudstack with
> multiple
> >>> >>> >> regions,
> >>> >>> >> > >> each
> >>> >>> >> > >> > region has its own management server running with a
> separate
> >>> >>> >> database.
> >>> >>> >> > >> So if
> >>> >>> >> > >> > we want to support multiple regions and provide one
> point of
> >>> >>> entry
> >>> >>> >> for a
> >>> >>> >> > >> > customer, 

RE: [Merge] Palo Alto Networks firewall integration to master

2013-11-07 Thread Animesh Chaturvedi
Fails RAT on 
plugins/network-elements/palo-alto/src/com/cloud/network/utils/HttpClientWrapper.java


> -Original Message-
> From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On
> Behalf Of Will Stevens
> Sent: Wednesday, November 06, 2013 10:15 AM
> To: dev@cloudstack.apache.org
> Subject: Re: [Merge] Palo Alto Networks firewall integration to master
> 
> Great!  Thank you Sheng...
> 
> 
> On Wed, Nov 6, 2013 at 1:10 PM, Sheng Yang  wrote:
> 
> > Looks good to me.
> >
> > Applied to MASTER branch. Thanks!
> >
> > --Sheng
> >
> >
> > On Tue, Nov 5, 2013 at 7:51 PM, Will Stevens 
> > wrote:
> >
> > > @Sheng:  This should be ready to go now.  I built the patch from
> > tonight's
> > > master and I included a more detailed commit message as you
> requested.
> >  Let
> > > me know if you have any questions/problems...
> > >
> > > @David:  As per this discussion (and a previous one [1]), I have
> > > moved
> > this
> > > code from being built with the depreciated 'nonoss' flag to core
> > > since it does not depend on any 3rd party libraries at build or
> runtime.
> > >
> > > Cheers,
> > >
> > > Will
> > >
> > > [1]
> > >
> > >
> > http://markmail.org/message/fxphjkba7bonlesd?q=list:org%2Eapache%2Einc
> > ubator%2Ecloudstack-%2A+Palo+Alto
> > >
> > >
> > > On Tue, Nov 5, 2013 at 11:42 AM, Will Stevens
> > > 
> > > wrote:
> > >
> > > > Thanks for that David.  You are absolutely correct, this plugin
> > > > has no dependencies on any 3rd party code at build or runtime.
> > > > Everything the plugin requires is built into the plugin.  I was
> > > > unclear if its
> > > dependance
> > > > on a 3rd party API and appliance to be functional was relevant.
> > > >
> > > > I think you are right.  I think it should probably be in the core
> > build.
> > > >  I will make that change when I merge in the latest master for
> > > > Sheng
> > and
> > > > rebuild the patch.
> > > >
> > > > Thanks,
> > > >
> > > > Will
> > > >
> > > >
> > > > On Tue, Nov 5, 2013 at 10:19 AM, David Nalley 
> wrote:
> > > >
> > > >> So perhaps a bit of history.
> > > >>
> > > >> nonoss/noredist is for targets that aren't built 'by default'
> (e.g.
> > > >> you must explicitly turn them on). We do this because the ASF
> > > >> wants the default build to be truly unencumbered and where there
> > > >> are dependencies on non-open source, or non-Apache compatible
> > > >> code, we typically turn them off. In example: historically,
> > > >> Netscaler libraries were not open source, and we had a dependency
> > > >> on those libraries, so we placed the netscaler plugin into the
> > > >> nonoss. Since then the netscaler libraries have been open
> > > >> sourced, and we could move those out of noredist.
> > > >>
> > > >> So - is there third party code that you have as a build or
> > > >> runtime dependency? If so what is the license for that third
> > > >> party code? (My really fast perusal didn't catch anything that
> > > >> was immediately
> > > >> troubling)
> > > >>
> > > >> --David
> > > >>
> > > >> On Tue, Nov 5, 2013 at 7:08 AM, Will Stevens
> > > >> 
> > > >> wrote:
> > > >> > Its dependence on a third party API and appliance, similar to
> > > >> > the
> > srx
> > > >> and
> > > >> > netscaler. I am not convinced it should be in noredist, but I
> > > >> > was
> > > >> following
> > > >> > the same model as other similar plugins.  Feedback on this
> > > >> > would be helpful.
> > > >> >
> > > >> > Ws
> > > >> >
> > > >> > On Tuesday, November 5, 2013, David Nalley wrote:
> > > >> >
> > > >> >> On Mon, Nov 4, 2013 at 7:32 PM, Will Stevens <
> > wstev...@cloudops.com
> > > >> >
> > > >> >> wrote:
> > > >> >> > Sheng, I will rebuild the patch for the latest master.  The
> > latest
> > > >> master
> > > >> >> > has depreciated the 'nonoss' flag in favour of 'noredist'. I
> > > >> >> > was
> > > >> building
> > > >> >> > in nonoss previously. I am guessing I should use the
> > > >> >> > noredist
> > flag
> > > >> now?
> > > >> >> >
> > > >> >>
> > > >> >> Will - what is causing this to be noredist/nonoss? My quick
> > > >> >> perusal
> > > of
> > > >> >> your patch didn't surface anything that would push it into
> > > >> >> that category.
> > > >> >>
> > > >> >> --David
> > > >> >>
> > > >>
> > > >
> > > >
> > >
> >


Reviewboard needs your attention

2013-11-07 Thread Animesh Chaturvedi
There are large number of patches in review board. I went through some of them 
and followed up and closed out few that are already checked in, but the list is 
huge. Given that we are approaching the 4.3 feature freeze tomorrow if you have 
submitted patches and are still pending reviews please reach out to your 
reviewers. If you have received feedback on your patch please provide an 
updated patch. Reviewers take a moment to review the patches under your name 
and help clear up the reviews.


If you are unsure how to help please check Review Board Guidelines [1]

[1] 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Review+Board+Guidelines


Re: Review Request 14381: KVM: add connect/disconnect capabilities to StorageAdaptors so that external storage services can attach/detach devices on-demand

2013-11-07 Thread Animesh Chaturvedi


> On Oct. 7, 2013, 7:49 p.m., Mike Tutkowski wrote:
> > This looks reasonable to me, Marcus.
> > 
> > When do you think you might start the process of getting this into master?

is this expected for 4.3? then this should be in master soon


- Animesh


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


On Sept. 30, 2013, 5:14 p.m., Marcus Sorensen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14381/
> ---
> 
> (Updated Sept. 30, 2013, 5:14 p.m.)
> 
> 
> Review request for cloudstack, edison su and Mike Tutkowski.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> With custom storage plugins comes the need to prep the KVM host prior to 
> utilizing the disks. e.g. an iscsi initiator needs to log into the target and 
> scan for the lun before it can be used on the host. This patch is an example 
> I developed against 4.2, minor changes may be necessary to apply to master, 
> but I want to share with others who are working on storage so they can ensure 
> it works for them. Please tweak as you see fit.
> 
> MigrateCommand: pass vmTO object so we can see which disks/storage pool types 
> belong to the vm when migrating a VM. This facilitates being able to call 
> disconnectPhysicalDisksViaVmSpec
> 
> VirtualMachineManagerImpl: pass VirtualMachineTO when migrating so that we 
> can see which disks belong to the VM and what storage pools/adaptors should 
> be used
> 
> LibvirtComputingResource: add calls KVMStoragePoolManager's 
> connectPhysicalDiskViaVmSpec and disconnectPhysicalDiskViaVmSpec calls where 
> appropriate (when starting a vm, migrating a vm). Ensure that we create 'raw' 
> format XML disk definitions when the storage format is RAW. Move cleanupDisk 
> logic to storage adaptors so that each adaptor type can clean up its disks in 
> is own way.
> 
> KVMStoragePoolManager:  add connectPhysicalDisk, disconnectPhysicalDisk, 
> connectPhysicalDiskViaVmSpec, disconnectPhysicalDiskViaVmSpec, 
> disconnectPhysicalDiskByPath. These all call the specific StorageAdaptor's 
> connectPhysicalDisk, disconnectPhysicalDisk, or disconnectPhysicalDiskByPath 
> calls.
> 
> KVMStorageProcessor: Call connectPhysicalDisk/disconnectPhysicalDisk on the 
> storage adaptor. Whether or not this is implemented is up to the storage 
> adaptor.
> 
> LibvirtStorageAdaptor: implement dummy 
> connectPhysicalDisk/disconnectPhysicalDisk, move cleanupDisk logic from 
> LibvirtComputingResource to disconnectPhysicalDiskByPath
> 
> StorageAdaptor: define 
> connectPhysicalDisk/disconnectPhysicalDisk/disconnectPhysicalDiskByPath in 
> the interface
> 
> 
> Diffs
> -
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 5042b8c 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  3ee811f 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStoragePoolManager.java
>  e09c9ba 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java
>  c69f9b0 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
>  123a9f1 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/StorageAdaptor.java
>  4956d8d 
>   server/src/com/cloud/vm/VirtualMachineManagerImpl.java d46bbb0 
> 
> Diff: https://reviews.apache.org/r/14381/diff/
> 
> 
> Testing
> ---
> 
> Basic testing with my storage adaptor
> 
> 
> Thanks,
> 
> Marcus Sorensen
> 
>



Re: Review Request 12679: CLOUDSTACK-904: Changed multiple vcpus to one vcpu with multiple sockets

2013-11-07 Thread Animesh Chaturvedi


> On July 17, 2013, 4:43 p.m., Wido den Hollander wrote:
> > Hmm, I'm not sure about this one.
> > 
> > In the UI we indeed mention the amount of cores, however, the API parameter 
> > is "cpunumber".
> > 
> > So I get the reasoning, but we would be changing a lot here. I don't know 
> > if this changes anything by the way Qemu spreads out threads over the 
> > hypervisor's cores?
> 
> Rene Diepstraten wrote:
> Perhaps it's best if it's decided that a complete review of the cpu cores 
> model is needed.
> The API should in my opinion accept both cpu sockets and cpu cores as 
> parameters. It should for example be possible to create a vm with 2 sockets 
> and 16 cores.
> Qemu/KVM does support this for quite some time, as do for example Red Hat 
> Enterprise Virtualization and Proxmox VE, which both use KVM .
>

May be this should be brought to mailing list as a DISCUSS topic?


- Animesh


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


On July 18, 2013, 4:06 p.m., Rene Diepstraten wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12679/
> ---
> 
> (Updated July 18, 2013, 4:06 p.m.)
> 
> 
> Review request for cloudstack and Wido den Hollander.
> 
> 
> Bugs: CLOUDSTACK-904
> https://issues.apache.org/jira/browse/CLOUDSTACK-904
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Cloudstack defines a vm with multiple CPUs instead of one CPU with multiple 
> cores. 
> For Windows as well as RHEL guests, the license is based on the amount of CPU 
> sockets.
> The definition of VCPUs should therefore translate to the amount of cores, 
> not CPUs.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
>  5120870 
> 
> Diff: https://reviews.apache.org/r/12679/diff/
> 
> 
> Testing
> ---
> 
> Only tested the output of the append rule.
> 
> 
> Thanks,
> 
> Rene Diepstraten
> 
>



Re: [Merge] Palo Alto Networks firewall integration to master

2013-11-07 Thread Sheng Yang
Fixed.

--Sheng


On Thu, Nov 7, 2013 at 10:23 AM, Animesh Chaturvedi <
animesh.chaturv...@citrix.com> wrote:

> Fails RAT on
> plugins/network-elements/palo-alto/src/com/cloud/network/utils/HttpClientWrapper.java
>
>
> > -Original Message-
> > From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On
> > Behalf Of Will Stevens
> > Sent: Wednesday, November 06, 2013 10:15 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: [Merge] Palo Alto Networks firewall integration to master
> >
> > Great!  Thank you Sheng...
> >
> >
> > On Wed, Nov 6, 2013 at 1:10 PM, Sheng Yang  wrote:
> >
> > > Looks good to me.
> > >
> > > Applied to MASTER branch. Thanks!
> > >
> > > --Sheng
> > >
> > >
> > > On Tue, Nov 5, 2013 at 7:51 PM, Will Stevens 
> > > wrote:
> > >
> > > > @Sheng:  This should be ready to go now.  I built the patch from
> > > tonight's
> > > > master and I included a more detailed commit message as you
> > requested.
> > >  Let
> > > > me know if you have any questions/problems...
> > > >
> > > > @David:  As per this discussion (and a previous one [1]), I have
> > > > moved
> > > this
> > > > code from being built with the depreciated 'nonoss' flag to core
> > > > since it does not depend on any 3rd party libraries at build or
> > runtime.
> > > >
> > > > Cheers,
> > > >
> > > > Will
> > > >
> > > > [1]
> > > >
> > > >
> > > http://markmail.org/message/fxphjkba7bonlesd?q=list:org%2Eapache%2Einc
> > > ubator%2Ecloudstack-%2A+Palo+Alto
> > > >
> > > >
> > > > On Tue, Nov 5, 2013 at 11:42 AM, Will Stevens
> > > > 
> > > > wrote:
> > > >
> > > > > Thanks for that David.  You are absolutely correct, this plugin
> > > > > has no dependencies on any 3rd party code at build or runtime.
> > > > > Everything the plugin requires is built into the plugin.  I was
> > > > > unclear if its
> > > > dependance
> > > > > on a 3rd party API and appliance to be functional was relevant.
> > > > >
> > > > > I think you are right.  I think it should probably be in the core
> > > build.
> > > > >  I will make that change when I merge in the latest master for
> > > > > Sheng
> > > and
> > > > > rebuild the patch.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Will
> > > > >
> > > > >
> > > > > On Tue, Nov 5, 2013 at 10:19 AM, David Nalley 
> > wrote:
> > > > >
> > > > >> So perhaps a bit of history.
> > > > >>
> > > > >> nonoss/noredist is for targets that aren't built 'by default'
> > (e.g.
> > > > >> you must explicitly turn them on). We do this because the ASF
> > > > >> wants the default build to be truly unencumbered and where there
> > > > >> are dependencies on non-open source, or non-Apache compatible
> > > > >> code, we typically turn them off. In example: historically,
> > > > >> Netscaler libraries were not open source, and we had a dependency
> > > > >> on those libraries, so we placed the netscaler plugin into the
> > > > >> nonoss. Since then the netscaler libraries have been open
> > > > >> sourced, and we could move those out of noredist.
> > > > >>
> > > > >> So - is there third party code that you have as a build or
> > > > >> runtime dependency? If so what is the license for that third
> > > > >> party code? (My really fast perusal didn't catch anything that
> > > > >> was immediately
> > > > >> troubling)
> > > > >>
> > > > >> --David
> > > > >>
> > > > >> On Tue, Nov 5, 2013 at 7:08 AM, Will Stevens
> > > > >> 
> > > > >> wrote:
> > > > >> > Its dependence on a third party API and appliance, similar to
> > > > >> > the
> > > srx
> > > > >> and
> > > > >> > netscaler. I am not convinced it should be in noredist, but I
> > > > >> > was
> > > > >> following
> > > > >> > the same model as other similar plugins.  Feedback on this
> > > > >> > would be helpful.
> > > > >> >
> > > > >> > Ws
> > > > >> >
> > > > >> > On Tuesday, November 5, 2013, David Nalley wrote:
> > > > >> >
> > > > >> >> On Mon, Nov 4, 2013 at 7:32 PM, Will Stevens <
> > > wstev...@cloudops.com
> > > > >> >
> > > > >> >> wrote:
> > > > >> >> > Sheng, I will rebuild the patch for the latest master.  The
> > > latest
> > > > >> master
> > > > >> >> > has depreciated the 'nonoss' flag in favour of 'noredist'. I
> > > > >> >> > was
> > > > >> building
> > > > >> >> > in nonoss previously. I am guessing I should use the
> > > > >> >> > noredist
> > > flag
> > > > >> now?
> > > > >> >> >
> > > > >> >>
> > > > >> >> Will - what is causing this to be noredist/nonoss? My quick
> > > > >> >> perusal
> > > > of
> > > > >> >> your patch didn't surface anything that would push it into
> > > > >> >> that category.
> > > > >> >>
> > > > >> >> --David
> > > > >> >>
> > > > >>
> > > > >
> > > > >
> > > >
> > >
>


Re: Review Request 12660: Replaced multiple grep/awk/head commands by one awk

2013-11-07 Thread Animesh Chaturvedi


> On July 26, 2013, 10:24 p.m., Jenkins Cloudstack.org wrote:
> > Review 12660 failed the build test : FAILURE
> > The url of build cloudstack-master-with-patch #55 is : 
> > http://jenkins.cloudstack.org/job/cloudstack-master-with-patch/55/

Patch needs to br updated, fails the build


- Animesh


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


On July 18, 2013, 3:57 p.m., Rene Diepstraten wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12660/
> ---
> 
> (Updated July 18, 2013, 3:57 p.m.)
> 
> 
> Review request for cloudstack and Wido den Hollander.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Replaced multiple grep/awk/head commands by one awk.
> 
> 
> Diffs
> -
> 
>   scripts/vm/network/security_group.py c1c87da 
> 
> Diff: https://reviews.apache.org/r/12660/diff/
> 
> 
> Testing
> ---
> 
> Tested output. Not able to test using cloudstack function execute() or real 
> ebtables output.
> 
> 
> Thanks,
> 
> Rene Diepstraten
> 
>



Re: [Merge] Palo Alto Networks firewall integration to master

2013-11-07 Thread Will Stevens
Just so I know, can you explain what it means to 'Fail RAT'?  Thx...


On Thu, Nov 7, 2013 at 1:46 PM, Sheng Yang  wrote:

> Fixed.
>
> --Sheng
>
>
> On Thu, Nov 7, 2013 at 10:23 AM, Animesh Chaturvedi <
> animesh.chaturv...@citrix.com> wrote:
>
> > Fails RAT on
> >
> plugins/network-elements/palo-alto/src/com/cloud/network/utils/HttpClientWrapper.java
> >
> >
> > > -Original Message-
> > > From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On
> > > Behalf Of Will Stevens
> > > Sent: Wednesday, November 06, 2013 10:15 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: Re: [Merge] Palo Alto Networks firewall integration to master
> > >
> > > Great!  Thank you Sheng...
> > >
> > >
> > > On Wed, Nov 6, 2013 at 1:10 PM, Sheng Yang  wrote:
> > >
> > > > Looks good to me.
> > > >
> > > > Applied to MASTER branch. Thanks!
> > > >
> > > > --Sheng
> > > >
> > > >
> > > > On Tue, Nov 5, 2013 at 7:51 PM, Will Stevens 
> > > > wrote:
> > > >
> > > > > @Sheng:  This should be ready to go now.  I built the patch from
> > > > tonight's
> > > > > master and I included a more detailed commit message as you
> > > requested.
> > > >  Let
> > > > > me know if you have any questions/problems...
> > > > >
> > > > > @David:  As per this discussion (and a previous one [1]), I have
> > > > > moved
> > > > this
> > > > > code from being built with the depreciated 'nonoss' flag to core
> > > > > since it does not depend on any 3rd party libraries at build or
> > > runtime.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Will
> > > > >
> > > > > [1]
> > > > >
> > > > >
> > > >
> http://markmail.org/message/fxphjkba7bonlesd?q=list:org%2Eapache%2Einc
> > > > ubator%2Ecloudstack-%2A+Palo+Alto
> > > > >
> > > > >
> > > > > On Tue, Nov 5, 2013 at 11:42 AM, Will Stevens
> > > > > 
> > > > > wrote:
> > > > >
> > > > > > Thanks for that David.  You are absolutely correct, this plugin
> > > > > > has no dependencies on any 3rd party code at build or runtime.
> > > > > > Everything the plugin requires is built into the plugin.  I was
> > > > > > unclear if its
> > > > > dependance
> > > > > > on a 3rd party API and appliance to be functional was relevant.
> > > > > >
> > > > > > I think you are right.  I think it should probably be in the core
> > > > build.
> > > > > >  I will make that change when I merge in the latest master for
> > > > > > Sheng
> > > > and
> > > > > > rebuild the patch.
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Will
> > > > > >
> > > > > >
> > > > > > On Tue, Nov 5, 2013 at 10:19 AM, David Nalley 
> > > wrote:
> > > > > >
> > > > > >> So perhaps a bit of history.
> > > > > >>
> > > > > >> nonoss/noredist is for targets that aren't built 'by default'
> > > (e.g.
> > > > > >> you must explicitly turn them on). We do this because the ASF
> > > > > >> wants the default build to be truly unencumbered and where there
> > > > > >> are dependencies on non-open source, or non-Apache compatible
> > > > > >> code, we typically turn them off. In example: historically,
> > > > > >> Netscaler libraries were not open source, and we had a
> dependency
> > > > > >> on those libraries, so we placed the netscaler plugin into the
> > > > > >> nonoss. Since then the netscaler libraries have been open
> > > > > >> sourced, and we could move those out of noredist.
> > > > > >>
> > > > > >> So - is there third party code that you have as a build or
> > > > > >> runtime dependency? If so what is the license for that third
> > > > > >> party code? (My really fast perusal didn't catch anything that
> > > > > >> was immediately
> > > > > >> troubling)
> > > > > >>
> > > > > >> --David
> > > > > >>
> > > > > >> On Tue, Nov 5, 2013 at 7:08 AM, Will Stevens
> > > > > >> 
> > > > > >> wrote:
> > > > > >> > Its dependence on a third party API and appliance, similar to
> > > > > >> > the
> > > > srx
> > > > > >> and
> > > > > >> > netscaler. I am not convinced it should be in noredist, but I
> > > > > >> > was
> > > > > >> following
> > > > > >> > the same model as other similar plugins.  Feedback on this
> > > > > >> > would be helpful.
> > > > > >> >
> > > > > >> > Ws
> > > > > >> >
> > > > > >> > On Tuesday, November 5, 2013, David Nalley wrote:
> > > > > >> >
> > > > > >> >> On Mon, Nov 4, 2013 at 7:32 PM, Will Stevens <
> > > > wstev...@cloudops.com
> > > > > >> >
> > > > > >> >> wrote:
> > > > > >> >> > Sheng, I will rebuild the patch for the latest master.  The
> > > > latest
> > > > > >> master
> > > > > >> >> > has depreciated the 'nonoss' flag in favour of 'noredist'.
> I
> > > > > >> >> > was
> > > > > >> building
> > > > > >> >> > in nonoss previously. I am guessing I should use the
> > > > > >> >> > noredist
> > > > flag
> > > > > >> now?
> > > > > >> >> >
> > > > > >> >>
> > > > > >> >> Will - what is causing this to be noredist/nonoss? My quick
> > > > > >> >> perusal
> > > > > of
> > > > > >> >> your patch didn't surface anything that would push it into
> > > > > >> >> that category.
> > > > > >> >>
>

Re: Review Request 14786: [CLOUDSTACK-4609] [doc] Review Comments on Dedicated Resources: POD, CLUSTER

2013-11-07 Thread Travis Graham

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

(Updated Nov. 7, 2013, 1:52 p.m.)


Review request for cloudstack and Joe Brockmeier.


Repository: cloudstack-docs


Description
---

(sections 2.3 and 2.4) Updated references to organization unit within 
CloudStack for Pods and Clusters


Diffs
-

  en-US/about-clusters.xml d2f0220 
  en-US/about-pods.xml 57ae1a3 

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


Testing
---


Thanks,

Travis Graham



Re: Review Request 14785: [CLOUDSTACK-4692] Release notes refer to componentsContext.xml instead of componentContext.xml

2013-11-07 Thread Travis Graham

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

(Updated Nov. 7, 2013, 1:52 p.m.)


Review request for cloudstack and Joe Brockmeier.


Repository: cloudstack-docs


Description
---

Corrects the two references in Release Notes.


Diffs
-

  release-notes/en-US/Release_Notes.xml a65cca9 

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


Testing
---


Thanks,

Travis Graham



Re: Review Request 14784: [CLOUDSTACK-4805] Installation instructions drops support for Ubuntu

2013-11-07 Thread Travis Graham

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

(Updated Nov. 7, 2013, 1:53 p.m.)


Review request for cloudstack and Joe Brockmeier.


Repository: cloudstack-docs


Description
---

(section 4.5.7.2) reflect steps for RHEL/CentOS and Ubuntu.


Diffs
-

  en-US/nfs-shares-on-management-server.xml 881ca8d 

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


Testing
---


Thanks,

Travis Graham



Re: Review Request 14783: [CLOUDSTACK-4844] Docs show incorrect URL for Windows password reset service download

2013-11-07 Thread Travis Graham

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

(Updated Nov. 7, 2013, 1:53 p.m.)


Review request for cloudstack and Joe Brockmeier.


Repository: cloudstack-docs


Description
---

(Section 12.13.2) Removes the windows MSI link from the linux section and 
corrects the MSI link in the windows section.


Diffs
-

  en-US/linux-installation.xml 14a2f51 
  en-US/windows-installation.xml bcecc80 

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


Testing
---


Thanks,

Travis Graham



Re: [ACS43] Schedule reminder : feature freeze this Friday 11/08

2013-11-07 Thread Chip Childers
Please wait for tomorrow morning US time. 72 hours is not up yet. 

> On Nov 7, 2013, at 12:45 PM, Animesh Chaturvedi 
>  wrote:
> 
> Chip can you confirm if the IP clearance is done, should Devdeep proceed with 
> merging into master?
> 
>> -Original Message-
>> From: Chip Childers [mailto:chipchild...@apache.org]
>> Sent: Tuesday, November 05, 2013 9:36 AM
>> To: dev@cloudstack.apache.org
>> Subject: Re: [ACS43] Schedule reminder : feature freeze this Friday
>> 11/08
>> 
>> One thing to note, and perhaps this becomes a minor exception to the
>> merge timing.  IP Clearance for the RDP client won't be done until the
>> morning of the 7th.
>> 
>> I'd propose that it is brought in to master at that time.  I won't have
>> time to do the actual commit myself, but perhaps someone can own
>> handling this on the morning of the 7th (ET).  Any takers?
>> 
>> -chip
>> 
>> On Mon, Nov 4, 2013 at 9:58 PM, Animesh Chaturvedi
>>  wrote:
>>> Folks
>>> 
>>> Friday 11/8 is the feature freeze date for ACS 4.3. If your
>> contribution is unlikely to make it to 4.3 feature freeze on 11/8 please
>> move them out of 4.3 release to 'Future'.
>>> 
>>> Do remember that we have a 72 hour notice period to solicit feedback
>> for MERGE requests. So the absolute last day for merge requests for 4.3
>> features/ improvements is tomorrow 11/05. Contributors if you have
>> patches in reviewboard that you had planned for 4.3 make sure to follow
>> up with reviewers. The contribution has to be in master after satisfying
>> any merge concerns / review comments  by 11/08 to be included  in 4.3.0
>> release.
>>> 
>>> 
>>> For detailed branch merge requirement check [1]
>>> 
>>> [1]
>>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Branch+Merge+Ex
>>> pectations
>>> 
>>> 
>>> Thanks
>>> Animesh
>>> 
>>> 


Re: [ACS43] Schedule reminder : feature freeze this Friday 11/08

2013-11-07 Thread Chip Childers
Yes - please do.

On Thu, Nov 07, 2013 at 05:45:27PM +, Animesh Chaturvedi wrote:
> Chip can you confirm if the IP clearance is done, should Devdeep proceed with 
> merging into master?
> 
> > -Original Message-
> > From: Chip Childers [mailto:chipchild...@apache.org]
> > Sent: Tuesday, November 05, 2013 9:36 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: [ACS43] Schedule reminder : feature freeze this Friday
> > 11/08
> > 
> > One thing to note, and perhaps this becomes a minor exception to the
> > merge timing.  IP Clearance for the RDP client won't be done until the
> > morning of the 7th.
> > 
> > I'd propose that it is brought in to master at that time.  I won't have
> > time to do the actual commit myself, but perhaps someone can own
> > handling this on the morning of the 7th (ET).  Any takers?
> > 
> > -chip
> > 
> > On Mon, Nov 4, 2013 at 9:58 PM, Animesh Chaturvedi
> >  wrote:
> > > Folks
> > >
> > > Friday 11/8 is the feature freeze date for ACS 4.3. If your
> > contribution is unlikely to make it to 4.3 feature freeze on 11/8 please
> > move them out of 4.3 release to 'Future'.
> > >
> > > Do remember that we have a 72 hour notice period to solicit feedback
> > for MERGE requests. So the absolute last day for merge requests for 4.3
> > features/ improvements is tomorrow 11/05. Contributors if you have
> > patches in reviewboard that you had planned for 4.3 make sure to follow
> > up with reviewers. The contribution has to be in master after satisfying
> > any merge concerns / review comments  by 11/08 to be included  in 4.3.0
> > release.
> > >
> > >
> > > For detailed branch merge requirement check [1]
> > >
> > > [1]
> > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Branch+Merge+Ex
> > > pectations
> > >
> > >
> > > Thanks
> > > Animesh
> > >
> > >


Re: [ACS43] Schedule reminder : feature freeze this Friday 11/08

2013-11-07 Thread Chip Childers
I was off - this morning it cleared.  Sorry.

Merge away.

On Thu, Nov 7, 2013 at 1:55 PM, Chip Childers  wrote:
> Please wait for tomorrow morning US time. 72 hours is not up yet.
>
>> On Nov 7, 2013, at 12:45 PM, Animesh Chaturvedi 
>>  wrote:
>>
>> Chip can you confirm if the IP clearance is done, should Devdeep proceed 
>> with merging into master?
>>
>>> -Original Message-
>>> From: Chip Childers [mailto:chipchild...@apache.org]
>>> Sent: Tuesday, November 05, 2013 9:36 AM
>>> To: dev@cloudstack.apache.org
>>> Subject: Re: [ACS43] Schedule reminder : feature freeze this Friday
>>> 11/08
>>>
>>> One thing to note, and perhaps this becomes a minor exception to the
>>> merge timing.  IP Clearance for the RDP client won't be done until the
>>> morning of the 7th.
>>>
>>> I'd propose that it is brought in to master at that time.  I won't have
>>> time to do the actual commit myself, but perhaps someone can own
>>> handling this on the morning of the 7th (ET).  Any takers?
>>>
>>> -chip
>>>
>>> On Mon, Nov 4, 2013 at 9:58 PM, Animesh Chaturvedi
>>>  wrote:
 Folks

 Friday 11/8 is the feature freeze date for ACS 4.3. If your
>>> contribution is unlikely to make it to 4.3 feature freeze on 11/8 please
>>> move them out of 4.3 release to 'Future'.

 Do remember that we have a 72 hour notice period to solicit feedback
>>> for MERGE requests. So the absolute last day for merge requests for 4.3
>>> features/ improvements is tomorrow 11/05. Contributors if you have
>>> patches in reviewboard that you had planned for 4.3 make sure to follow
>>> up with reviewers. The contribution has to be in master after satisfying
>>> any merge concerns / review comments  by 11/08 to be included  in 4.3.0
>>> release.


 For detailed branch merge requirement check [1]

 [1]
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Branch+Merge+Ex
 pectations


 Thanks
 Animesh




Re: [Merge] Palo Alto Networks firewall integration to master

2013-11-07 Thread Sheng Yang
Oh, that means something wrong with the license header of the file(header
missing in this case).

http://creadur.apache.org/rat/

--Sheng


On Thu, Nov 7, 2013 at 10:50 AM, Will Stevens  wrote:

> Just so I know, can you explain what it means to 'Fail RAT'?  Thx...
>
>
> On Thu, Nov 7, 2013 at 1:46 PM, Sheng Yang  wrote:
>
> > Fixed.
> >
> > --Sheng
> >
> >
> > On Thu, Nov 7, 2013 at 10:23 AM, Animesh Chaturvedi <
> > animesh.chaturv...@citrix.com> wrote:
> >
> > > Fails RAT on
> > >
> >
> plugins/network-elements/palo-alto/src/com/cloud/network/utils/HttpClientWrapper.java
> > >
> > >
> > > > -Original Message-
> > > > From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On
> > > > Behalf Of Will Stevens
> > > > Sent: Wednesday, November 06, 2013 10:15 AM
> > > > To: dev@cloudstack.apache.org
> > > > Subject: Re: [Merge] Palo Alto Networks firewall integration to
> master
> > > >
> > > > Great!  Thank you Sheng...
> > > >
> > > >
> > > > On Wed, Nov 6, 2013 at 1:10 PM, Sheng Yang  wrote:
> > > >
> > > > > Looks good to me.
> > > > >
> > > > > Applied to MASTER branch. Thanks!
> > > > >
> > > > > --Sheng
> > > > >
> > > > >
> > > > > On Tue, Nov 5, 2013 at 7:51 PM, Will Stevens <
> wstev...@cloudops.com>
> > > > > wrote:
> > > > >
> > > > > > @Sheng:  This should be ready to go now.  I built the patch from
> > > > > tonight's
> > > > > > master and I included a more detailed commit message as you
> > > > requested.
> > > > >  Let
> > > > > > me know if you have any questions/problems...
> > > > > >
> > > > > > @David:  As per this discussion (and a previous one [1]), I have
> > > > > > moved
> > > > > this
> > > > > > code from being built with the depreciated 'nonoss' flag to core
> > > > > > since it does not depend on any 3rd party libraries at build or
> > > > runtime.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > Will
> > > > > >
> > > > > > [1]
> > > > > >
> > > > > >
> > > > >
> > http://markmail.org/message/fxphjkba7bonlesd?q=list:org%2Eapache%2Einc
> > > > > ubator%2Ecloudstack-%2A+Palo+Alto
> > > > > >
> > > > > >
> > > > > > On Tue, Nov 5, 2013 at 11:42 AM, Will Stevens
> > > > > > 
> > > > > > wrote:
> > > > > >
> > > > > > > Thanks for that David.  You are absolutely correct, this plugin
> > > > > > > has no dependencies on any 3rd party code at build or runtime.
> > > > > > > Everything the plugin requires is built into the plugin.  I was
> > > > > > > unclear if its
> > > > > > dependance
> > > > > > > on a 3rd party API and appliance to be functional was relevant.
> > > > > > >
> > > > > > > I think you are right.  I think it should probably be in the
> core
> > > > > build.
> > > > > > >  I will make that change when I merge in the latest master for
> > > > > > > Sheng
> > > > > and
> > > > > > > rebuild the patch.
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Will
> > > > > > >
> > > > > > >
> > > > > > > On Tue, Nov 5, 2013 at 10:19 AM, David Nalley 
> > > > wrote:
> > > > > > >
> > > > > > >> So perhaps a bit of history.
> > > > > > >>
> > > > > > >> nonoss/noredist is for targets that aren't built 'by default'
> > > > (e.g.
> > > > > > >> you must explicitly turn them on). We do this because the ASF
> > > > > > >> wants the default build to be truly unencumbered and where
> there
> > > > > > >> are dependencies on non-open source, or non-Apache compatible
> > > > > > >> code, we typically turn them off. In example: historically,
> > > > > > >> Netscaler libraries were not open source, and we had a
> > dependency
> > > > > > >> on those libraries, so we placed the netscaler plugin into the
> > > > > > >> nonoss. Since then the netscaler libraries have been open
> > > > > > >> sourced, and we could move those out of noredist.
> > > > > > >>
> > > > > > >> So - is there third party code that you have as a build or
> > > > > > >> runtime dependency? If so what is the license for that third
> > > > > > >> party code? (My really fast perusal didn't catch anything that
> > > > > > >> was immediately
> > > > > > >> troubling)
> > > > > > >>
> > > > > > >> --David
> > > > > > >>
> > > > > > >> On Tue, Nov 5, 2013 at 7:08 AM, Will Stevens
> > > > > > >> 
> > > > > > >> wrote:
> > > > > > >> > Its dependence on a third party API and appliance, similar
> to
> > > > > > >> > the
> > > > > srx
> > > > > > >> and
> > > > > > >> > netscaler. I am not convinced it should be in noredist, but
> I
> > > > > > >> > was
> > > > > > >> following
> > > > > > >> > the same model as other similar plugins.  Feedback on this
> > > > > > >> > would be helpful.
> > > > > > >> >
> > > > > > >> > Ws
> > > > > > >> >
> > > > > > >> > On Tuesday, November 5, 2013, David Nalley wrote:
> > > > > > >> >
> > > > > > >> >> On Mon, Nov 4, 2013 at 7:32 PM, Will Stevens <
> > > > > wstev...@cloudops.com
> > > > > > >> >
> > > > > > >> >> wrote:
> > > > > > >> >> > Sheng, I will rebuild the patch for the latest master.
>  The
> > > > > latest
> > > > > > >> master
> > > > > > >> >

RE: [Merge] Palo Alto Networks firewall integration to master

2013-11-07 Thread Animesh Chaturvedi
RAT is release audit tool and checks for missing license headers. You can run 
it as below


mvn --projects='org.apache.cloudstack:cloudstack' 
org.apache.rat:apache-rat-plugin:0.8:check


The build should FAIL if there are any non-compliant files that are not 
specifically excluded from the ASF license header requirement. You can 
optionally review the target/rat.txt file after the run completes. 


> -Original Message-
> From: williamstev...@gmail.com [mailto:williamstev...@gmail.com] On
> Behalf Of Will Stevens
> Sent: Thursday, November 07, 2013 10:51 AM
> To: dev@cloudstack.apache.org
> Subject: Re: [Merge] Palo Alto Networks firewall integration to master
> 
> Just so I know, can you explain what it means to 'Fail RAT'?  Thx...
> 
> 
> On Thu, Nov 7, 2013 at 1:46 PM, Sheng Yang  wrote:
> 
> > Fixed.
> >
> > --Sheng
> >
> >
> > On Thu, Nov 7, 2013 at 10:23 AM, Animesh Chaturvedi <
> > animesh.chaturv...@citrix.com> wrote:
> >
> > > Fails RAT on
> > >
> > plugins/network-elements/palo-alto/src/com/cloud/network/utils/HttpCli
> > entWrapper.java
> > >
> > >
> > > > -Original Message-
> > > > From: williamstev...@gmail.com [mailto:williamstev...@gmail.com]
> > > > On Behalf Of Will Stevens
> > > > Sent: Wednesday, November 06, 2013 10:15 AM
> > > > To: dev@cloudstack.apache.org
> > > > Subject: Re: [Merge] Palo Alto Networks firewall integration to
> > > > master
> > > >
> > > > Great!  Thank you Sheng...
> > > >
> > > >
> > > > On Wed, Nov 6, 2013 at 1:10 PM, Sheng Yang 
> wrote:
> > > >
> > > > > Looks good to me.
> > > > >
> > > > > Applied to MASTER branch. Thanks!
> > > > >
> > > > > --Sheng
> > > > >
> > > > >
> > > > > On Tue, Nov 5, 2013 at 7:51 PM, Will Stevens
> > > > > 
> > > > > wrote:
> > > > >
> > > > > > @Sheng:  This should be ready to go now.  I built the patch
> > > > > > from
> > > > > tonight's
> > > > > > master and I included a more detailed commit message as you
> > > > requested.
> > > > >  Let
> > > > > > me know if you have any questions/problems...
> > > > > >
> > > > > > @David:  As per this discussion (and a previous one [1]), I
> > > > > > have moved
> > > > > this
> > > > > > code from being built with the depreciated 'nonoss' flag to
> > > > > > core since it does not depend on any 3rd party libraries at
> > > > > > build or
> > > > runtime.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > Will
> > > > > >
> > > > > > [1]
> > > > > >
> > > > > >
> > > > >
> > http://markmail.org/message/fxphjkba7bonlesd?q=list:org%2Eapache%2Einc
> > > > > ubator%2Ecloudstack-%2A+Palo+Alto
> > > > > >
> > > > > >
> > > > > > On Tue, Nov 5, 2013 at 11:42 AM, Will Stevens
> > > > > > 
> > > > > > wrote:
> > > > > >
> > > > > > > Thanks for that David.  You are absolutely correct, this
> > > > > > > plugin has no dependencies on any 3rd party code at build or
> runtime.
> > > > > > > Everything the plugin requires is built into the plugin.  I
> > > > > > > was unclear if its
> > > > > > dependance
> > > > > > > on a 3rd party API and appliance to be functional was
> relevant.
> > > > > > >
> > > > > > > I think you are right.  I think it should probably be in the
> > > > > > > core
> > > > > build.
> > > > > > >  I will make that change when I merge in the latest master
> > > > > > > for Sheng
> > > > > and
> > > > > > > rebuild the patch.
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Will
> > > > > > >
> > > > > > >
> > > > > > > On Tue, Nov 5, 2013 at 10:19 AM, David Nalley
> > > > > > > 
> > > > wrote:
> > > > > > >
> > > > > > >> So perhaps a bit of history.
> > > > > > >>
> > > > > > >> nonoss/noredist is for targets that aren't built 'by
> default'
> > > > (e.g.
> > > > > > >> you must explicitly turn them on). We do this because the
> > > > > > >> ASF wants the default build to be truly unencumbered and
> > > > > > >> where there are dependencies on non-open source, or
> > > > > > >> non-Apache compatible code, we typically turn them off. In
> > > > > > >> example: historically, Netscaler libraries were not open
> > > > > > >> source, and we had a
> > dependency
> > > > > > >> on those libraries, so we placed the netscaler plugin into
> > > > > > >> the nonoss. Since then the netscaler libraries have been
> > > > > > >> open sourced, and we could move those out of noredist.
> > > > > > >>
> > > > > > >> So - is there third party code that you have as a build or
> > > > > > >> runtime dependency? If so what is the license for that
> > > > > > >> third party code? (My really fast perusal didn't catch
> > > > > > >> anything that was immediately
> > > > > > >> troubling)
> > > > > > >>
> > > > > > >> --David
> > > > > > >>
> > > > > > >> On Tue, Nov 5, 2013 at 7:08 AM, Will Stevens
> > > > > > >> 
> > > > > > >> wrote:
> > > > > > >> > Its dependence on a third party API and appliance,
> > > > > > >> > similar to the
> > > > > srx
> > > > > > >> and
> > > > > > >> > netscaler. I am not convinced it should be in noredist,
> > > > > > >> > but I was
>

Re: [Merge] Palo Alto Networks firewall integration to master

2013-11-07 Thread Will Stevens
Perfect.  Thank you for the details.


On Thu, Nov 7, 2013 at 1:59 PM, Sheng Yang  wrote:

> Oh, that means something wrong with the license header of the file(header
> missing in this case).
>
> http://creadur.apache.org/rat/
>
> --Sheng
>
>
> On Thu, Nov 7, 2013 at 10:50 AM, Will Stevens 
> wrote:
>
> > Just so I know, can you explain what it means to 'Fail RAT'?  Thx...
> >
> >
> > On Thu, Nov 7, 2013 at 1:46 PM, Sheng Yang  wrote:
> >
> > > Fixed.
> > >
> > > --Sheng
> > >
> > >
> > > On Thu, Nov 7, 2013 at 10:23 AM, Animesh Chaturvedi <
> > > animesh.chaturv...@citrix.com> wrote:
> > >
> > > > Fails RAT on
> > > >
> > >
> >
> plugins/network-elements/palo-alto/src/com/cloud/network/utils/HttpClientWrapper.java
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: williamstev...@gmail.com [mailto:williamstev...@gmail.com]
> On
> > > > > Behalf Of Will Stevens
> > > > > Sent: Wednesday, November 06, 2013 10:15 AM
> > > > > To: dev@cloudstack.apache.org
> > > > > Subject: Re: [Merge] Palo Alto Networks firewall integration to
> > master
> > > > >
> > > > > Great!  Thank you Sheng...
> > > > >
> > > > >
> > > > > On Wed, Nov 6, 2013 at 1:10 PM, Sheng Yang 
> wrote:
> > > > >
> > > > > > Looks good to me.
> > > > > >
> > > > > > Applied to MASTER branch. Thanks!
> > > > > >
> > > > > > --Sheng
> > > > > >
> > > > > >
> > > > > > On Tue, Nov 5, 2013 at 7:51 PM, Will Stevens <
> > wstev...@cloudops.com>
> > > > > > wrote:
> > > > > >
> > > > > > > @Sheng:  This should be ready to go now.  I built the patch
> from
> > > > > > tonight's
> > > > > > > master and I included a more detailed commit message as you
> > > > > requested.
> > > > > >  Let
> > > > > > > me know if you have any questions/problems...
> > > > > > >
> > > > > > > @David:  As per this discussion (and a previous one [1]), I
> have
> > > > > > > moved
> > > > > > this
> > > > > > > code from being built with the depreciated 'nonoss' flag to
> core
> > > > > > > since it does not depend on any 3rd party libraries at build or
> > > > > runtime.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > Will
> > > > > > >
> > > > > > > [1]
> > > > > > >
> > > > > > >
> > > > > >
> > > http://markmail.org/message/fxphjkba7bonlesd?q=list:org%2Eapache%2Einc
> > > > > > ubator%2Ecloudstack-%2A+Palo+Alto
> > > > > > >
> > > > > > >
> > > > > > > On Tue, Nov 5, 2013 at 11:42 AM, Will Stevens
> > > > > > > 
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Thanks for that David.  You are absolutely correct, this
> plugin
> > > > > > > > has no dependencies on any 3rd party code at build or
> runtime.
> > > > > > > > Everything the plugin requires is built into the plugin.  I
> was
> > > > > > > > unclear if its
> > > > > > > dependance
> > > > > > > > on a 3rd party API and appliance to be functional was
> relevant.
> > > > > > > >
> > > > > > > > I think you are right.  I think it should probably be in the
> > core
> > > > > > build.
> > > > > > > >  I will make that change when I merge in the latest master
> for
> > > > > > > > Sheng
> > > > > > and
> > > > > > > > rebuild the patch.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > >
> > > > > > > > Will
> > > > > > > >
> > > > > > > >
> > > > > > > > On Tue, Nov 5, 2013 at 10:19 AM, David Nalley  >
> > > > > wrote:
> > > > > > > >
> > > > > > > >> So perhaps a bit of history.
> > > > > > > >>
> > > > > > > >> nonoss/noredist is for targets that aren't built 'by
> default'
> > > > > (e.g.
> > > > > > > >> you must explicitly turn them on). We do this because the
> ASF
> > > > > > > >> wants the default build to be truly unencumbered and where
> > there
> > > > > > > >> are dependencies on non-open source, or non-Apache
> compatible
> > > > > > > >> code, we typically turn them off. In example: historically,
> > > > > > > >> Netscaler libraries were not open source, and we had a
> > > dependency
> > > > > > > >> on those libraries, so we placed the netscaler plugin into
> the
> > > > > > > >> nonoss. Since then the netscaler libraries have been open
> > > > > > > >> sourced, and we could move those out of noredist.
> > > > > > > >>
> > > > > > > >> So - is there third party code that you have as a build or
> > > > > > > >> runtime dependency? If so what is the license for that third
> > > > > > > >> party code? (My really fast perusal didn't catch anything
> that
> > > > > > > >> was immediately
> > > > > > > >> troubling)
> > > > > > > >>
> > > > > > > >> --David
> > > > > > > >>
> > > > > > > >> On Tue, Nov 5, 2013 at 7:08 AM, Will Stevens
> > > > > > > >> 
> > > > > > > >> wrote:
> > > > > > > >> > Its dependence on a third party API and appliance, similar
> > to
> > > > > > > >> > the
> > > > > > srx
> > > > > > > >> and
> > > > > > > >> > netscaler. I am not convinced it should be in noredist,
> but
> > I
> > > > > > > >> > was
> > > > > > > >> following
> > > > > > > >> > the same model as other similar plugins.  Feedback on this
> > > > > > > >> > would be helpful.
> > 

Re: Review Request 14628: AutoScaling without NetScaler

2013-11-07 Thread Amogh Vasekar

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


Reminder-
Hi,
The review has been pending for long. Please update the review status if it has 
already been committed.
Thanks

- Amogh Vasekar


On Oct. 15, 2013, 11:20 a.m., tuna wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14628/
> ---
> 
> (Updated Oct. 15, 2013, 11:20 a.m.)
> 
> 
> Review request for cloudstack and Sebastien Goasguen.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> I made a patch to add autoscale feature without Netscaler.
> 
> Requirement:
> - Xenserver or XCP
> - Template with pre-installed PVdriver
> - don't use SNMP or NetScaler counters when configuring AutoScale
> - AutoScale acts within a Cluster
> 
> All configuration parameters (durations, interval, destroy_vm_grace_period, 
> quiet_time) are kept as normal.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/as/AutoScaleCounter.java 
> ca7b65a39d4c063029293da1e1eb6832c11425a7 
>   api/src/com/cloud/network/as/AutoScalePolicy.java 
> 7f94f355921bba1ce149ff44f60a5c0e9a5cde28 
>   api/src/com/cloud/network/as/AutoScaleVmGroup.java 
> faa166d2baeb9e49cc064cf9da802a8e56219e00 
>   api/src/com/cloud/network/as/Counter.java 
> 207ec57b5920ad0a28088f37b1c3d5bb59c916fc 
>   client/tomcatconf/applicationContext.xml.in 
> 6dda5c707afddd1c20c97cb9a553590730682db3 
>   core/src/com/cloud/agent/api/PerformanceMonitorAnswer.java PRE-CREATION 
>   core/src/com/cloud/agent/api/PerformanceMonitorCommand.java PRE-CREATION 
>   engine/schema/src/com/cloud/network/as/AutoScalePolicyVO.java 
> f8fbcb483f52ddba3528e2f10644a7322716ce71 
>   engine/schema/src/com/cloud/network/as/AutoScaleVmGroupVO.java 
> d1d85f9e2932f5ce5347e0b0be25af31a5f07066 
>   engine/schema/src/com/cloud/network/as/AutoScaleVmGroupVmMapVO.java 
> PRE-CREATION 
>   engine/schema/src/com/cloud/network/as/CounterVO.java 
> b7b03f716b09c8600f8587b3c47124e228d643bb 
>   
> engine/schema/src/com/cloud/network/as/dao/AutoScalePolicyConditionMapDao.java
>  30251984807f9556e8856b1a987ea01ca914a26b 
>   
> engine/schema/src/com/cloud/network/as/dao/AutoScalePolicyConditionMapDaoImpl.java
>  00fee3db6c7e6ee6ab7493d38060267b78fd4ebb 
>   engine/schema/src/com/cloud/network/as/dao/AutoScaleVmGroupVmMapDao.java 
> PRE-CREATION 
>   
> engine/schema/src/com/cloud/network/as/dao/AutoScaleVmGroupVmMapDaoImpl.java 
> PRE-CREATION 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
>  92fbab28bd24a115d6e933d58ab94390e357c9f7 
>   scripts/vm/hypervisor/xenserver/perfmon.py PRE-CREATION 
>   scripts/vm/hypervisor/xenserver/vmopspremium 
> 38ec2e8c1d8d4dfc9bf60df94bf9412d877d128e 
>   server/src/com/cloud/network/as/AutoScaleManager.java 
> 5b84b30d74415b7d3c278b6c2dd78fb39bea3668 
>   server/src/com/cloud/network/as/AutoScaleManagerImpl.java 
> 859211bd572a8a0d56ae6fd154788944db58fb24 
>   server/src/com/cloud/network/element/VirtualRouterElement.java 
> 0cd3bcf6db05eddb5f6dfdd3e747d509d84c1164 
>   server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 
> c685ee3e40ba1f1f597d25864957c0f04bea7825 
>   server/src/com/cloud/server/StatsCollector.java 
> b4ec9155faf829dd6da14d9aeb79fefb0a257db1 
>   server/src/com/cloud/vm/UserVmManagerImpl.java 
> 6e879161276920c6baf6194fe8a73acec0dd0964 
>   setup/db/create-schema.sql 79550aee1bb53b9a707eb56911a3186f3475a5d9 
>   setup/db/db/schema-40to410.sql 24f6d4c5e1942232695279ce4dd926e591c4fcd0 
> 
> Diff: https://reviews.apache.org/r/14628/diff/
> 
> 
> Testing
> ---
> 
> Testing done with some simple scenario. Need help in testing units.
> 
> 
> Thanks,
> 
> tuna
> 
>



Re: Review Request 11861: double slash fix for windows based nfs servers [CLOUDSTACK-2968]

2013-11-07 Thread Amogh Vasekar

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


Reminder-
Hi,
The review has been pending for long. Please update the request if this patch 
is still necessary or is to be discarded.
Thanks

- Amogh Vasekar


On Aug. 1, 2013, 11:39 a.m., daan Hoogland wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11861/
> ---
> 
> (Updated Aug. 1, 2013, 11:39 a.m.)
> 
> 
> Review request for cloudstack and John Burwell.
> 
> 
> Bugs: CLOUDSTACK-2968
> https://issues.apache.org/jira/browse/CLOUDSTACK-2968
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> double slash breaks windows based nfs servers [CLOUDSTACK-2968]
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/storage/template/TemplateInfo.java 6559d73 
>   core/src/com/cloud/agent/api/storage/CreateEntityDownloadURLCommand.java 
> 98a957f 
>   core/src/com/cloud/agent/api/storage/DownloadAnswer.java bb7b8a9 
>   core/src/com/cloud/storage/template/TemplateLocation.java 58d023a 
>   engine/schema/src/com/cloud/storage/VMTemplateHostVO.java b8dfc41 
>   
> engine/storage/src/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java
>  a6880c3 
>   server/src/com/cloud/storage/download/DownloadListener.java 1d48803 
>   server/src/com/cloud/storage/download/DownloadMonitorImpl.java f72a563 
>   server/src/com/cloud/template/HypervisorTemplateAdapter.java 322f32e 
>   server/src/com/cloud/template/TemplateManagerImpl.java 517d4ba 
>   utils/src/com/cloud/utils/FileUtil.java 74f4088 
>   utils/test/com/cloud/utils/FileUtilTest.java PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/11861/diff/
> 
> 
> Testing
> ---
> 
> database analysis
> 
> 
> Thanks,
> 
> daan Hoogland
> 
>



RE: [ACS43] Schedule reminder : feature freeze this Friday 11/08

2013-11-07 Thread Animesh Chaturvedi
That's what I thought because you had said 7th morning

> -Original Message-
> From: Chip Childers [mailto:chip.child...@gmail.com]
> Sent: Thursday, November 07, 2013 10:59 AM
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS43] Schedule reminder : feature freeze this Friday
> 11/08
> 
> I was off - this morning it cleared.  Sorry.
> 
> Merge away.
> 
> On Thu, Nov 7, 2013 at 1:55 PM, Chip Childers 
> wrote:
> > Please wait for tomorrow morning US time. 72 hours is not up yet.
> >
> >> On Nov 7, 2013, at 12:45 PM, Animesh Chaturvedi
>  wrote:
> >>
> >> Chip can you confirm if the IP clearance is done, should Devdeep
> proceed with merging into master?
> >>
> >>> -Original Message-
> >>> From: Chip Childers [mailto:chipchild...@apache.org]
> >>> Sent: Tuesday, November 05, 2013 9:36 AM
> >>> To: dev@cloudstack.apache.org
> >>> Subject: Re: [ACS43] Schedule reminder : feature freeze this Friday
> >>> 11/08
> >>>
> >>> One thing to note, and perhaps this becomes a minor exception to the
> >>> merge timing.  IP Clearance for the RDP client won't be done until
> >>> the morning of the 7th.
> >>>
> >>> I'd propose that it is brought in to master at that time.  I won't
> >>> have time to do the actual commit myself, but perhaps someone can
> >>> own handling this on the morning of the 7th (ET).  Any takers?
> >>>
> >>> -chip
> >>>
> >>> On Mon, Nov 4, 2013 at 9:58 PM, Animesh Chaturvedi
> >>>  wrote:
>  Folks
> 
>  Friday 11/8 is the feature freeze date for ACS 4.3. If your
> >>> contribution is unlikely to make it to 4.3 feature freeze on 11/8
> >>> please move them out of 4.3 release to 'Future'.
> 
>  Do remember that we have a 72 hour notice period to solicit
>  feedback
> >>> for MERGE requests. So the absolute last day for merge requests for
> >>> 4.3 features/ improvements is tomorrow 11/05. Contributors if you
> >>> have patches in reviewboard that you had planned for 4.3 make sure
> >>> to follow up with reviewers. The contribution has to be in master
> >>> after satisfying any merge concerns / review comments  by 11/08 to
> >>> be included  in 4.3.0 release.
> 
> 
>  For detailed branch merge requirement check [1]
> 
>  [1]
>  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Branch+Merge
>  +Ex
>  pectations
> 
> 
>  Thanks
>  Animesh
> 
> 


Re: Review Request 8294: Store NetworkServiceProvider connectivity service configuration in database.

2013-11-07 Thread Amogh Vasekar


> On Jan. 29, 2013, 9:43 a.m., Hugo Trippaers wrote:
> > The change looks good. Could you update the patch to the latest state of 
> > master?
> 
> Animesh Chaturvedi wrote:
> Hiroaki can you update the patch to latetst master.
> 
> Animesh Chaturvedi wrote:
> Any updates Hiroaki?

Reminder-
Hi,
The review has been pending for long. Hugo / Hiroaki - can you please update if 
this is still necessary, or needs to be discarded?
Thanks


- Amogh


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


On Nov. 30, 2012, 12:17 p.m., Hiroaki Kawai wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/8294/
> ---
> 
> (Updated Nov. 30, 2012, 12:17 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> There are 13 services defined in com.cloud.network.Network.Service , but db 
> schema has 12 services with connecitivity missing in 
> `cloud`.`physical_network_service_providers` . This patch will fix this. In 
> the cloudstack api response, we'll see Connectivity service is enabled in 
> NiciraNvp network service provider servicelist like this:
> 
> {
> "listnetworkserviceprovidersresponse": {
> "count": 1,
> "networkserviceprovider": [
> {
> "physicalnetworkid": "80bf64a1-c5ca-4eb1-810e-76917a317d59",
> "servicelist": [
> "Connectivity"
> ],
> "name": "NiciraNvp",
> "destinationphysicalnetworkid": "0",
> "state": "Disabled",
> "id": "efb45f75-9fd7-43aa-9937-b5c871971c00"
> }
> ]
> }
> }
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/PhysicalNetworkServiceProvider.java 1b91311 
>   packaging/centos63/package.sh 83c0e5e 
>   server/src/com/cloud/network/dao/PhysicalNetworkServiceProviderVO.java 
> 12b08af 
>   server/src/com/cloud/upgrade/dao/Upgrade40to41.java 5067f39 
>   setup/db/create-schema.sql fff084e 
>   setup/db/db/schema-40to41.sql PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/8294/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Hiroaki Kawai
> 
>



Re: Review Request 14604: Removing coded documentation

2013-11-07 Thread Amogh Vasekar


> On Oct. 13, 2013, 6:34 p.m., daan Hoogland wrote:
> > :)

Reminder-
Hi,
The review has been pending for long. Please update the review status if it has 
already been committed.
Thanks


- Amogh


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


On Oct. 11, 2013, 6:41 p.m., Laszlo Hornyak wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14604/
> ---
> 
> (Updated Oct. 11, 2013, 6:41 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This is the output of the program, the developer documentation may be a 
> better place
> 
> -
> 
> When developing against the CloudStack Orchestration Platform, you must 
> following the following rules:
> API Rule: Always be prepared to handle RuntimeExceptions.
> 
> When writing APIs, you must follow these rules:
> API Rule: You may think you're the greatest developer in the world but every 
> change to the API must be reviewed and approved.
> API Rule: Every API must have unit tests written against it.  And not it's 
> unit tests
> API Rule:
> 
> -
> 
> 
> Diffs
> -
> 
>   engine/api/src/org/apache/cloudstack/engine/Rules.java b700fa5 
> 
> Diff: https://reviews.apache.org/r/14604/diff/
> 
> 
> Testing
> ---
> 
> yes
> 
> 
> Thanks,
> 
> Laszlo Hornyak
> 
>



Re: Review Request 14603: fixed Rules

2013-11-07 Thread Amogh Vasekar


> On Oct. 13, 2013, 6:32 p.m., daan Hoogland wrote:
> > Ship It!

Reminder-
Hi,
The review has been pending for long. Please update the review status to 
"submitted" if it has already been committed.
Thanks


- Amogh


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


On Oct. 11, 2013, 6:39 p.m., Laszlo Hornyak wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14603/
> ---
> 
> (Updated Oct. 11, 2013, 6:39 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> the implementation was broken, fixed for those who actually want to read the 
> output
> 
> 
> Diffs
> -
> 
>   engine/api/src/org/apache/cloudstack/engine/Rules.java b700fa5 
> 
> Diff: https://reviews.apache.org/r/14603/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Laszlo Hornyak
> 
>



Re: Review Request 14451: Some test for NetUtils

2013-11-07 Thread Amogh Vasekar

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


Reminder-
Hi,
The review has been pending for long. Please update the patch based on the 
review comments.
Thanks

- Amogh Vasekar


On Oct. 4, 2013, 11:12 a.m., Laszlo Hornyak wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14451/
> ---
> 
> (Updated Oct. 4, 2013, 11:12 a.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Bugs: CLOUDSTACK-4807
> https://issues.apache.org/jira/browse/CLOUDSTACK-4807
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> - tests added for mac2Long, byte2Mac, long2Mac, ip2Long and long2Ip
> - isWindows static method removed - it was not used
> - minor changes in the implementations of the tested methods
> 
> 
> Diffs
> -
> 
>   utils/src/com/cloud/utils/net/NetUtils.java 1e72e22 
>   utils/test/com/cloud/utils/net/NetUtilsTest.java 3cfc98f 
> 
> Diff: https://reviews.apache.org/r/14451/diff/
> 
> 
> Testing
> ---
> 
> yes
> 
> 
> Thanks,
> 
> Laszlo Hornyak
> 
>



Re: Review Request 12192: set the field 'state' rather than the unread parameter 'state', if the parameter is null

2013-11-07 Thread Amogh Vasekar

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


Reminder-
Hi,
The review has been pending for long. Please update the patch since the build 
is failing.
Thanks

- Amogh Vasekar


On June 29, 2013, 9:08 p.m., Dave Brosius wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12192/
> ---
> 
> (Updated June 29, 2013, 9:08 p.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> code checks the parameter 'state' and if null, set it to Allocated, even 
> though that parameter is never accessed. Meant to set the field 'state'.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/network/dao/NetworkVO.java 6580ea0 
> 
> Diff: https://reviews.apache.org/r/12192/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Dave Brosius
> 
>



Re: Review Request 12185: Remove dependency on backport-util.concurrent, and just use built in classes

2013-11-07 Thread Amogh Vasekar


> On Aug. 1, 2013, 8:31 a.m., daan Hoogland wrote:
> > I think you need to rework this. Jenkins can't apply your patch and build 
> > it.

Reminder-
Hi,
The review has been pending for long. Please update the patch since the build 
fails.
Thanks


- Amogh


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


On June 29, 2013, 2:34 a.m., Dave Brosius wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12185/
> ---
> 
> (Updated June 29, 2013, 2:34 a.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> code relies on classes in backport-util-concurrent, when these classes are 
> now available in the jdk supported by cloudstack.
> 
> Just switch the imports to the built in classes.
> 
> 
> Diffs
> -
> 
>   api/test/org/apache/cloudstack/api/command/test/AddClusterCmdTest.java 
> 90759fe 
>   api/test/org/apache/cloudstack/api/command/test/AddHostCmdTest.java 531f511 
>   engine/schema/src/com/cloud/keystore/KeystoreDaoImpl.java 0ea97c7 
>   
> engine/storage/src/org/apache/cloudstack/storage/datastore/DataStoreManagerImpl.java
>  b92f92f 
>   
> engine/storage/src/org/apache/cloudstack/storage/image/db/TemplateDataStoreDaoImpl.java
>  362f7a6 
>   
> plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
>  d46048e 
>   
> plugins/network-elements/nicira-nvp/test/com/cloud/network/guru/NiciraNvpGuestNetworkGuruTest.java
>  0e4f8fd 
>   server/src/com/cloud/agent/manager/AgentManagerImpl.java b24a238 
>   server/src/com/cloud/configuration/ConfigurationManagerImpl.java 2089f82 
>   server/src/com/cloud/consoleproxy/ConsoleProxyBalanceAllocator.java 45f0faa 
>   server/src/com/cloud/network/security/SecurityGroupManagerImpl.java 1c189c4 
>   server/src/com/cloud/resourcelimit/ResourceLimitManagerImpl.java b5c060d 
>   server/src/com/cloud/server/ManagementServerImpl.java 40bc437 
>   tools/whisker/descriptor-for-packaging.xml 66099ae 
>   utils/src/com/cloud/utils/db/GenericDaoBase.java f0fc700 
>   utils/src/com/cloud/utils/storage/encoding/Decoder.java fe74a04 
>   utils/src/com/cloud/utils/xmlobject/XmlObject.java 67bb8ed 
>   vmware-base/src/com/cloud/hypervisor/vmware/mo/ClusterMO.java d112c34 
>   vmware-base/src/com/cloud/hypervisor/vmware/mo/DatacenterMO.java cabb60a 
>   vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java e7fd922 
>   vmware-base/src/com/cloud/hypervisor/vmware/mo/PerfManagerMO.java bb4fb56 
>   vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java 
> cf5ffde 
> 
> Diff: https://reviews.apache.org/r/12185/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Dave Brosius
> 
>



Re: Reviewboard needs your attention

2013-11-07 Thread Sebastien Goasguen
I hate to move deadline, but it might be good to have couple days to try to 
clean review board.

-Sebastien

On 7 Nov 2013, at 19:26, Animesh Chaturvedi  
wrote:

> There are large number of patches in review board. I went through some of 
> them and followed up and closed out few that are already checked in, but the 
> list is huge. Given that we are approaching the 4.3 feature freeze tomorrow 
> if you have submitted patches and are still pending reviews please reach out 
> to your reviewers. If you have received feedback on your patch please provide 
> an updated patch. Reviewers take a moment to review the patches under your 
> name and help clear up the reviews.
> 
> 
> If you are unsure how to help please check Review Board Guidelines [1]
> 
> [1] 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Review+Board+Guidelines


Re: Review Request 14786: [CLOUDSTACK-4609] [doc] Review Comments on Dedicated Resources: POD, CLUSTER

2013-11-07 Thread Sebastien Goasguen

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

Ship it!


Ship It!

- Sebastien Goasguen


On Nov. 7, 2013, 6:52 p.m., Travis Graham wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14786/
> ---
> 
> (Updated Nov. 7, 2013, 6:52 p.m.)
> 
> 
> Review request for cloudstack and Joe Brockmeier.
> 
> 
> Repository: cloudstack-docs
> 
> 
> Description
> ---
> 
> (sections 2.3 and 2.4) Updated references to organization unit within 
> CloudStack for Pods and Clusters
> 
> 
> Diffs
> -
> 
>   en-US/about-clusters.xml d2f0220 
>   en-US/about-pods.xml 57ae1a3 
> 
> Diff: https://reviews.apache.org/r/14786/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Travis Graham
> 
>



Re: Review Request 14785: [CLOUDSTACK-4692] Release notes refer to componentsContext.xml instead of componentContext.xml

2013-11-07 Thread Sebastien Goasguen

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

Ship it!


applied to master: 7229caff6eef3d5ed9b0bb282a593eb3425365a0
thanks please mark review as submitted

- Sebastien Goasguen


On Nov. 7, 2013, 6:52 p.m., Travis Graham wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14785/
> ---
> 
> (Updated Nov. 7, 2013, 6:52 p.m.)
> 
> 
> Review request for cloudstack and Joe Brockmeier.
> 
> 
> Repository: cloudstack-docs
> 
> 
> Description
> ---
> 
> Corrects the two references in Release Notes.
> 
> 
> Diffs
> -
> 
>   release-notes/en-US/Release_Notes.xml a65cca9 
> 
> Diff: https://reviews.apache.org/r/14785/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Travis Graham
> 
>



Re: Review Request 14784: [CLOUDSTACK-4805] Installation instructions drops support for Ubuntu

2013-11-07 Thread Sebastien Goasguen

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


this does not seem to apply. Can you please pull the latest and see what's 
going on 

thanks

- Sebastien Goasguen


On Nov. 7, 2013, 6:53 p.m., Travis Graham wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14784/
> ---
> 
> (Updated Nov. 7, 2013, 6:53 p.m.)
> 
> 
> Review request for cloudstack and Joe Brockmeier.
> 
> 
> Repository: cloudstack-docs
> 
> 
> Description
> ---
> 
> (section 4.5.7.2) reflect steps for RHEL/CentOS and Ubuntu.
> 
> 
> Diffs
> -
> 
>   en-US/nfs-shares-on-management-server.xml 881ca8d 
> 
> Diff: https://reviews.apache.org/r/14784/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Travis Graham
> 
>



Re: [DISCUSS] Domain/Account/User Sync Up Among Multiple Regions

2013-11-07 Thread Chiradeep Vittal
It may be an admin burden, but it has to be optional. There are other ways
to achieve global sync (e.g., LDAP/AD/Oauth).
A lot of service providers who run cloudstack have their own user database
/ portal. In their implementations the CloudStack database is not the
master source of user records, but a slave.

On 11/5/13 12:41 PM, "Chip Childers"  wrote:

>Alex,
>
>I've moved your page to the "Designs not committed to a release"
>parent (instead of the 4.3 designs page), to align with both the Jira
>record *and* the fact that feature freeze is about to happen for 4.3.
>
>As for the proposal itself, I have a couple of suggestions:
>
>1) I'd like to see the implementation be part of the ACS runtime.
>Having a separate python app for this sync feature seems like an admin
>burden.
>
>2) As far as the design document itself, I think that we need to see
>more details on the proposed approach to sync, failure condition
>handling, etc...
>
>-chip
>
>
>On Mon, Nov 4, 2013 at 3:16 PM, Alex Ough  wrote:
>> All,
>>
>> Among the 2 approaches, I uploaded the implemented codes of the first
>> approach, master-slave architecture, here.
>> https://github.com/alexoughsg/albatross
>>
>> And here is the design doc in the wiki.
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Domain-Account-Use
>>r+Sync+Up+Among+Multiple+Regions
>>
>> Please review them and let me know what you think if you're interested!
>> Thanks
>> Alex Ough
>>
>>
>>
>> On Thu, Oct 31, 2013 at 6:51 PM, Alex Ough 
>>wrote:
>>
>>> Great! Thanks a lot, Daan.
>>>
>>>
>>> On Thu, Oct 31, 2013 at 4:58 PM, Daan Hoogland
>>>wrote:
>>>
 you are added to jira, Alex

 On Thu, Oct 31, 2013 at 8:31 PM, Alex Ough 
wrote:
 > Thanks Chip, and can you also give a permission in Jira so that I
can
 > assign myself in its jira?
 >
 > Alex Ough
 >
 >
 > On Thu, Oct 31, 2013 at 2:00 PM, Chip Childers
>>> >wrote:
 >
 >> Permission added.
 >>
 >> On Wed, Oct 30, 2013 at 12:19:23PM -0500, Alex Ough wrote:
 >> > And I'd like to write the design document in the wiki page, but I
 don't
 >> > seem to have a permission to create pages.
 >> > So can anyone give me the permission?
 >> >
 >> > My account in the wiki is alex.o...@sungard.com
 >> >
 >> > Thanks in advance.
 >> > Alex Ough
 >> >
 >> >
 >> > On Tue, Oct 29, 2013 at 3:38 PM, Alex Ough

 >> wrote:
 >> >
 >> > > I created a jira for this feature.
 >> > >
 >> > > https://issues.apache.org/jira/browse/CLOUDSTACK-4992
 >> > >
 >> > > But it doesn't allow for me to assign it to myself, so any
 permission
 >> do I
 >> > > need for this?
 >> > > If so, can anyone give me this permission?
 >> > >
 >> > > If there is anything missing, let me know.
 >> > > Thanks
 >> > > Alex Ough
 >> > >
 >> > >
 >> > > On Fri, Oct 18, 2013 at 9:30 AM, Kishan Kavala <
 >> kishan.kav...@citrix.com>wrote:
 >> > >
 >> > >> > -Original Message-
 >> > >> > From: Alex Ough [mailto:alex.o...@sungard.com]
 >> > >> > Sent: Thursday, 17 October 2013 11:25 PM
 >> > >> > To: dev@cloudstack.apache.org; u...@cloudstack.apache.org
 >> > >> > Subject: Fwd: [DISCUSS] Domain/Account/User Sync Up Among
 Multiple
 >> > >> > Regions
 >> > >> >
 >> > >> > All,
 >> > >> >
 >> > >> > Currently, under the environment of cloudstack with multiple
 >> regions,
 >> > >> each
 >> > >> > region has its own management server running with a separate
 >> database.
 >> > >> So if
 >> > >> > we want to support multiple regions and provide one point of
 entry
 >> for a
 >> > >> > customer, we need to duplicate domain/account/user
information
 of
 >> that
 >> > >> > customer to all of the databases of regions the customer
 accesses,
 >> > >> which will
 >> > >> > cause data discrepancies when users update those data
 independently
 >> in
 >> > >> each
 >> > >> > management server.
 >> > >> >
 >> > >> > So I'd like to provide a way to sync up the data using the
 messaging
 >> > >> system
 >> > >> > introduced in 4.1.0. Using the events from each management
 server,
 >> > >> updates
 >> > >> > from each region can be propagated to the rest regions and
they
 can
 >> be
 >> > >> > executed accordingly.
 >> > >> >
 >> > >> > I hope you guys have a chance to think about this and give
some
 >> > >> feedbacks if
 >> > >> > interested.
 >> > >> > Thanks in advance.
 >> > >> > Alex Ough
 >> > >>
 >> > >> [KK] Alex, it was discussed sometime back. Related thread [1].
 Sync up
 >> > >> using messaging system is the right way to go.
 >> > >>
 >> > >>
 >> > >> [1]
 >> > >>
 >>
 
http://www.mail-archive.com/cloudstack-dev@incubator.apache.org/msg2019
>

Re: Review Request 14783: [CLOUDSTACK-4844] Docs show incorrect URL for Windows password reset service download

2013-11-07 Thread Sebastien Goasguen

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

Ship it!


applied to master: 5e6d003c57474c2e6c0d75e009e390468f67ab2e
please mark review as submitted
thanks

- Sebastien Goasguen


On Nov. 7, 2013, 6:53 p.m., Travis Graham wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14783/
> ---
> 
> (Updated Nov. 7, 2013, 6:53 p.m.)
> 
> 
> Review request for cloudstack and Joe Brockmeier.
> 
> 
> Repository: cloudstack-docs
> 
> 
> Description
> ---
> 
> (Section 12.13.2) Removes the windows MSI link from the linux section and 
> corrects the MSI link in the windows section.
> 
> 
> Diffs
> -
> 
>   en-US/linux-installation.xml 14a2f51 
>   en-US/windows-installation.xml bcecc80 
> 
> Diff: https://reviews.apache.org/r/14783/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Travis Graham
> 
>



Re: Review Request 14786: [CLOUDSTACK-4609] [doc] Review Comments on Dedicated Resources: POD, CLUSTER

2013-11-07 Thread Sebastien Goasguen


> On Nov. 7, 2013, 7:34 p.m., Sebastien Goasguen wrote:
> > Ship It!

applied to master docs repo: 1f4822a75e2c100e19f2af8044ea6d767762d6ef


- Sebastien


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


On Nov. 7, 2013, 6:52 p.m., Travis Graham wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14786/
> ---
> 
> (Updated Nov. 7, 2013, 6:52 p.m.)
> 
> 
> Review request for cloudstack and Joe Brockmeier.
> 
> 
> Repository: cloudstack-docs
> 
> 
> Description
> ---
> 
> (sections 2.3 and 2.4) Updated references to organization unit within 
> CloudStack for Pods and Clusters
> 
> 
> Diffs
> -
> 
>   en-US/about-clusters.xml d2f0220 
>   en-US/about-pods.xml 57ae1a3 
> 
> Diff: https://reviews.apache.org/r/14786/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Travis Graham
> 
>



Re: Review Request 14784: [CLOUDSTACK-4805] Installation instructions drops support for Ubuntu

2013-11-07 Thread Travis Graham


> On Nov. 7, 2013, 2:38 p.m., Sebastien Goasguen wrote:
> > this does not seem to apply. Can you please pull the latest and see what's 
> > going on 
> > 
> > thanks

Do you want this based against master or 4.2? The patch was originally created 
against 4.2.


- Travis


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


On Nov. 7, 2013, 1:53 p.m., Travis Graham wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14784/
> ---
> 
> (Updated Nov. 7, 2013, 1:53 p.m.)
> 
> 
> Review request for cloudstack and Joe Brockmeier.
> 
> 
> Repository: cloudstack-docs
> 
> 
> Description
> ---
> 
> (section 4.5.7.2) reflect steps for RHEL/CentOS and Ubuntu.
> 
> 
> Diffs
> -
> 
>   en-US/nfs-shares-on-management-server.xml 881ca8d 
> 
> Diff: https://reviews.apache.org/r/14784/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Travis Graham
> 
>



Re: [DISCUSS] Domain/Account/User Sync Up Among Multiple Regions

2013-11-07 Thread Chip Childers
On Thu, Nov 7, 2013 at 2:37 PM, Chiradeep Vittal
 wrote:
> It may be an admin burden, but it has to be optional. There are other ways
> to achieve global sync (e.g., LDAP/AD/Oauth).
> A lot of service providers who run cloudstack have their own user database
> / portal. In their implementations the CloudStack database is not the
> master source of user records, but a slave.

+1 to it being optional.


Re: Enabling AMQP/RabbitMQ Events on master

2013-11-07 Thread David Grizzanti
Alena,

I don't think these steps will work on master (not installing packages of
cloudstack), I'm building from source.  The componentContext XML file
doesn't seem to exist anymore since some of the Spring refactoring was done.

Thanks


On Thu, Nov 7, 2013 at 12:42 PM, Alena Prokharchyk <
alena.prokharc...@citrix.com> wrote:

>  David,
>
>  Here are the instructions that I've got from one of the CS QA engineers,
> hope it helps.
>
>  FS -
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/events.html#event-framework
>
>
>
> Test cases relating to this feature was covered as part of Regions Feature
> testing -
> https://cwiki.apache.org/confluence/download/attachments/30757955/Regions-Test-Execution-42.xlsx
>
>
>
>
>
> Steps to set up RabbitMQ Server:
>
>
>
> Have a RabbitMQ server set up.
>
> Enable rabbitmq_management plugin
>
> C:\Program Files\RabbitMQ
> Server\rabbitmq_server-3.0.3\sbin>rabbitmq-plugins enable
> rabbitmq_management
>
> Restart RabbitMQ service.
>
> In management server :
> Added the following in
> /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/componentContext.xml
>
>
>  class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus">
> 
> 
> 
>
> 
> 
>
>   
>
> Restart management server.
>
>
>  -Alena.
>
>   From: David Grizzanti 
> Reply-To: "dev@cloudstack.apache.org" 
> Date: Thursday, November 7, 2013 5:04 AM
> To: "dev@cloudstack.apache.org" 
> Subject: Enabling AMQP/RabbitMQ Events on master
>
>   Hi,
>
>  I was looking for some help in enabling the AMQP/RabbitMQ events in
> CloudStack.  I'm familiar with enabling these events in 4.2, however, I'm
> not all the familiar with Spring and given the new modularized changes I'm
> not really sure where the XML snippet belongs for the eventNotificationBus.
> Previously I had been placing this in applicationContext.xml (or the
> simulatorComponentContext.xml in the case of the Simulator).
>
>  If you could point me in the right direction that would be great.
>
>  Thanks!
>
>  XML sample for reference:
>  class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus">
> 
> 
> 
> 
> 
>
> 
>
>  --
> David Grizzanti
> Software Engineer
> Sungard Availability Services
>
>  e: david.grizza...@sungard.com
> w: 215.446.1431
> c: 570.575.0315
>
>


-- 
David Grizzanti
Software Engineer
Sungard Availability Services

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


Re: [Merge] Palo Alto Networks firewall integration to master

2013-11-07 Thread Chip Childers
On Thu, Nov 07, 2013 at 06:59:25PM +, Animesh Chaturvedi wrote:
> mvn --projects='org.apache.cloudstack:cloudstack' 
> org.apache.rat:apache-rat-plugin:0.8:check

s/0.8/0.10 if you want the latest


Re: Question: Error when creating templates from ROOT volumes in the Simulator

2013-11-07 Thread David Grizzanti
Prasanna,

I took a look at the SimulatorImageStoreDriverImpl, but it seems like it's
setting size correctly in that case.  Also, in trying to step through the
code, that section doesn't appear to be called when creating a template
from a ROOT volume (I could be doing something wrong though when stepping
through the code in debug mode).  You mentioned that it may have been
something you missed when updating aft erhte 4.2 storage refactor - is
there some other plugin code that I can look at for one of the other
hypervisors that might shed some light on the correct way to do this?

Thanks!


On Tue, Nov 5, 2013 at 9:09 AM, David Grizzanti  wrote:

> Ok, thanks Prasanna. Will have a look and let you know what I find.
>
>
> On Tuesday, November 5, 2013, Prasanna Santhanam wrote:
>
>> This is a bug. Likely something I missed when adopting the simulator
>> to the storage refactor in 4.2. You'd want to look at the
>> SimulatorImageStoreDriverImpl.java#createTemplate() and see how the
>> template gets registered with 0 size.
>>
>> On Tue, Nov 05, 2013 at 02:54:00AM -0500, Sebastien Goasguen wrote:
>> > Pinging Prasanna on this,
>> >
>> >
>> > On Oct 31, 2013, at 5:07 PM, David Grizzanti <
>> david.grizza...@sungard.com> wrote:
>> >
>> > > Hi All,
>> > >
>> > > I have been seeing an issue with the Simulator that I was hoping
>> someone
>> > > could provide some insight into.
>> > >
>> > > Some background. I'm running from the 4.2.0 tag on rhel 6.3, building
>> from
>> > > source/enabling the simulator.
>> > >
>> > > Overall, most operations seem to work fine, however, I noticed that
>> when
>> > > creating a template from the ROOT volume on a VM, the template can't
>> then
>> > > be used to create a subsequent VM.  The reason for this seems to be
>> that
>> > > the "size" of the template is set to 0.  After digging through the
>> database
>> > > a bit, I discovered that the size and physical_size columns in
>> > > the template_store_ref table are set to 0 for these templates.  If I
>> > > correct those values for my entry after the fact, everything appears
>> to
>> > > work.
>> > >
>> > > I dug around in the code a bit as well, but nothing obvious was
>> jumping out
>> > > at me as to why this was happening.
>> > >
>> > > Any thoughts?
>> > >
>> > > Thanks!
>> > >
>> > > --
>> > > David Grizzanti
>> > > Software Engineer
>> > > Sungard Availability Services
>> > >
>> > > e: david.grizza...@sungard.com
>> > > w: 215.446.1431
>> > > c: 570.575.0315
>>
>> --
>> Prasanna.,
>>
>> 
>> Powered by BigRock.com
>>
>>
>>
>
> --
> David Grizzanti
> Software Engineer
> Sungard Availability Services
>
> e: david.grizza...@sungard.com
> w: 215.446.1431
> c: 570.575.0315
>
>


-- 
David Grizzanti
Software Engineer
Sungard Availability Services

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


Review Request 15323: CLOUDSTACK-5080: Hypervisor Capabilities table missing entry for Simulator

2013-11-07 Thread David Grizzanti

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

Review request for cloudstack.


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


Repository: cloudstack-git


Description
---

CLOUDSTACK-5080: Hypervisor Capabilities table missing entry for Simulator
- Added new SQL file to db/setup so that a row gets inserted during simulator 
DB setup for a 'Simulator' hypervisor (in hypervisor_capabilities).
- Updated developer/pom.xml to include this new file


Diffs
-

  developer/pom.xml 0eb18bf 
  setup/db/hypervisor_capabilities.simulator.sql PRE-CREATION 

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


Testing
---

Tested on master and 4.2


Thanks,

David Grizzanti



Re: Review Request 15068: Change labels for VLAN to vNet

2013-11-07 Thread Yoshikazu Nojima


> On Nov. 4, 2013, 10:24 p.m., Jessica Wang wrote:
> > Ship It!
> 
> Animesh Chaturvedi wrote:
> Has this been applied?

Yes, it has.
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=5ccf3a90abb79eace839a8e61cf950248aa913c8


- Yoshikazu


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


On Nov. 1, 2013, 4:52 p.m., Chris Cameron wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15068/
> ---
> 
> (Updated Nov. 1, 2013, 4:52 p.m.)
> 
> 
> Review request for cloudstack, Brian Federle, Jessica Wang, Marcus Sorensen, 
> Pranav Saxena, and Toshiaki Hatano.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> We would like to change the labels for VLAN to vNet to make the term more 
> generic for VXLAN and VLAN. This relates to the work being done to add in 
> VXLAN support to Cloudstack.
> 
> 
> Diffs
> -
> 
>   client/WEB-INF/classes/resources/messages.properties 3210aca 
>   ui/dictionary.jsp 35cba22 
>   ui/scripts/network.js 12e5389 
>   ui/scripts/system.js 479883c 
> 
> Diff: https://reviews.apache.org/r/15068/diff/
> 
> 
> Testing
> ---
> 
> Checked through the GUI for changed elements.
> 
> 
> Thanks,
> 
> Chris Cameron
> 
>



Review Request 15326: Added option to reload VM during in RevertToVMSnapshotCommand

2013-11-07 Thread Chris Suich

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

Review request for cloudstack and edison su.


Repository: cloudstack-git


Description
---

Added option to reload VM during in RevertToVMSnapshotCommand. For now, only in 
VMWare as I don't believe that XenServer supports anything similar.

This gives plugins which may have unique snapshot strategies the ability to 
request the hypervisor to reload the VM's state before attempting to revert to 
a snapshot.


Diffs
-

  core/src/com/cloud/agent/api/RevertToVMSnapshotCommand.java 1e5fd6c 
  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
 0e2423e 

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


Testing
---

This has been tested locally with a custom plugin. However, the changes are not 
used by the existing CloudStack codebase and should not impact any existing 
workflows or use cases. They are simply for plugins to take advantage of.


Thanks,

Chris Suich



Re: Review Request 15309: Fixed bug with deleting VMWare VM Snapshots

2013-11-07 Thread Chris Suich

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

(Updated Nov. 7, 2013, 9 p.m.)


Review request for cloudstack and edison su.


Repository: cloudstack-git


Description
---

A bug was introduced in a6ce66e55a65eb0fbae9ead92de6ceac7a87c531 which does not 
allow VMWare VM snapshots to be deleted.

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=a6ce66e55a65eb0fbae9ead92de6ceac7a87c531

In refactoring, volumeTo.getPoolUuid() was supposed to be changed to 
store.getUuid() but was actually changed to volumeTo.getUuid().


Diffs
-

  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
 0e2423e 

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


Testing (updated)
---

This has been tested locally with a custom plugin. However, the changes are not 
used by the existing CloudStack codebase and should not impact any existing 
workflows or use cases. They are simply for plugins to take advantage of.


Thanks,

Chris Suich



Re: Review Request 15313: Updated VMSnapshotDetails* to match *Details* pattern (e.g. UserVMDetails*)

2013-11-07 Thread Chris Suich

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

(Updated Nov. 7, 2013, 9 p.m.)


Review request for cloudstack and edison su.


Repository: cloudstack-git


Description
---

VMSnapshotDetailsDao/Impl/VO were not using the ResourceDetails/Dao/Base 
pattern which caused issues with adding details and did not give access to 
useful methods like the detail getters/deleters.


Diffs
-

  engine/schema/src/com/cloud/vm/snapshot/VMSnapshotDetailsVO.java 934dd92 
  engine/schema/src/com/cloud/vm/snapshot/dao/VMSnapshotDetailsDao.java e84178c 
  engine/schema/src/com/cloud/vm/snapshot/dao/VMSnapshotDetailsDaoImpl.java 
b528b39 
  
engine/storage/integration-test/test/com/cloud/vm/snapshot/dao/VmSnapshotDaoTest.java
 fc52f89 

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


Testing (updated)
---

This has been tested locally with a custom plugin. However, the changes are not 
used by the existing CloudStack codebase and should not impact any existing 
workflows or use cases. They are simply for plugins to take advantage of.


Thanks,

Chris Suich



Re: Review Request 14381: KVM: add connect/disconnect capabilities to StorageAdaptors so that external storage services can attach/detach devices on-demand

2013-11-07 Thread Mike Tutkowski


> On Oct. 7, 2013, 7:49 p.m., Mike Tutkowski wrote:
> > This looks reasonable to me, Marcus.
> > 
> > When do you think you might start the process of getting this into master?
> 
> Animesh Chaturvedi wrote:
> is this expected for 4.3? then this should be in master soon

This code has been committed to master. We are good to go. :)


- Mike


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


On Sept. 30, 2013, 5:14 p.m., Marcus Sorensen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14381/
> ---
> 
> (Updated Sept. 30, 2013, 5:14 p.m.)
> 
> 
> Review request for cloudstack, edison su and Mike Tutkowski.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> With custom storage plugins comes the need to prep the KVM host prior to 
> utilizing the disks. e.g. an iscsi initiator needs to log into the target and 
> scan for the lun before it can be used on the host. This patch is an example 
> I developed against 4.2, minor changes may be necessary to apply to master, 
> but I want to share with others who are working on storage so they can ensure 
> it works for them. Please tweak as you see fit.
> 
> MigrateCommand: pass vmTO object so we can see which disks/storage pool types 
> belong to the vm when migrating a VM. This facilitates being able to call 
> disconnectPhysicalDisksViaVmSpec
> 
> VirtualMachineManagerImpl: pass VirtualMachineTO when migrating so that we 
> can see which disks belong to the VM and what storage pools/adaptors should 
> be used
> 
> LibvirtComputingResource: add calls KVMStoragePoolManager's 
> connectPhysicalDiskViaVmSpec and disconnectPhysicalDiskViaVmSpec calls where 
> appropriate (when starting a vm, migrating a vm). Ensure that we create 'raw' 
> format XML disk definitions when the storage format is RAW. Move cleanupDisk 
> logic to storage adaptors so that each adaptor type can clean up its disks in 
> is own way.
> 
> KVMStoragePoolManager:  add connectPhysicalDisk, disconnectPhysicalDisk, 
> connectPhysicalDiskViaVmSpec, disconnectPhysicalDiskViaVmSpec, 
> disconnectPhysicalDiskByPath. These all call the specific StorageAdaptor's 
> connectPhysicalDisk, disconnectPhysicalDisk, or disconnectPhysicalDiskByPath 
> calls.
> 
> KVMStorageProcessor: Call connectPhysicalDisk/disconnectPhysicalDisk on the 
> storage adaptor. Whether or not this is implemented is up to the storage 
> adaptor.
> 
> LibvirtStorageAdaptor: implement dummy 
> connectPhysicalDisk/disconnectPhysicalDisk, move cleanupDisk logic from 
> LibvirtComputingResource to disconnectPhysicalDiskByPath
> 
> StorageAdaptor: define 
> connectPhysicalDisk/disconnectPhysicalDisk/disconnectPhysicalDiskByPath in 
> the interface
> 
> 
> Diffs
> -
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 5042b8c 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  3ee811f 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStoragePoolManager.java
>  e09c9ba 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java
>  c69f9b0 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
>  123a9f1 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/StorageAdaptor.java
>  4956d8d 
>   server/src/com/cloud/vm/VirtualMachineManagerImpl.java d46bbb0 
> 
> Diff: https://reviews.apache.org/r/14381/diff/
> 
> 
> Testing
> ---
> 
> Basic testing with my storage adaptor
> 
> 
> Thanks,
> 
> Marcus Sorensen
> 
>



Re: Review Request 14381: KVM: add connect/disconnect capabilities to StorageAdaptors so that external storage services can attach/detach devices on-demand

2013-11-07 Thread Mike Tutkowski

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

Ship it!


Ship It!

- Mike Tutkowski


On Sept. 30, 2013, 5:14 p.m., Marcus Sorensen wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14381/
> ---
> 
> (Updated Sept. 30, 2013, 5:14 p.m.)
> 
> 
> Review request for cloudstack, edison su and Mike Tutkowski.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> With custom storage plugins comes the need to prep the KVM host prior to 
> utilizing the disks. e.g. an iscsi initiator needs to log into the target and 
> scan for the lun before it can be used on the host. This patch is an example 
> I developed against 4.2, minor changes may be necessary to apply to master, 
> but I want to share with others who are working on storage so they can ensure 
> it works for them. Please tweak as you see fit.
> 
> MigrateCommand: pass vmTO object so we can see which disks/storage pool types 
> belong to the vm when migrating a VM. This facilitates being able to call 
> disconnectPhysicalDisksViaVmSpec
> 
> VirtualMachineManagerImpl: pass VirtualMachineTO when migrating so that we 
> can see which disks belong to the VM and what storage pools/adaptors should 
> be used
> 
> LibvirtComputingResource: add calls KVMStoragePoolManager's 
> connectPhysicalDiskViaVmSpec and disconnectPhysicalDiskViaVmSpec calls where 
> appropriate (when starting a vm, migrating a vm). Ensure that we create 'raw' 
> format XML disk definitions when the storage format is RAW. Move cleanupDisk 
> logic to storage adaptors so that each adaptor type can clean up its disks in 
> is own way.
> 
> KVMStoragePoolManager:  add connectPhysicalDisk, disconnectPhysicalDisk, 
> connectPhysicalDiskViaVmSpec, disconnectPhysicalDiskViaVmSpec, 
> disconnectPhysicalDiskByPath. These all call the specific StorageAdaptor's 
> connectPhysicalDisk, disconnectPhysicalDisk, or disconnectPhysicalDiskByPath 
> calls.
> 
> KVMStorageProcessor: Call connectPhysicalDisk/disconnectPhysicalDisk on the 
> storage adaptor. Whether or not this is implemented is up to the storage 
> adaptor.
> 
> LibvirtStorageAdaptor: implement dummy 
> connectPhysicalDisk/disconnectPhysicalDisk, move cleanupDisk logic from 
> LibvirtComputingResource to disconnectPhysicalDiskByPath
> 
> StorageAdaptor: define 
> connectPhysicalDisk/disconnectPhysicalDisk/disconnectPhysicalDiskByPath in 
> the interface
> 
> 
> Diffs
> -
> 
>   core/src/com/cloud/agent/api/MigrateCommand.java 5042b8c 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  3ee811f 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStoragePoolManager.java
>  e09c9ba 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java
>  c69f9b0 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
>  123a9f1 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/StorageAdaptor.java
>  4956d8d 
>   server/src/com/cloud/vm/VirtualMachineManagerImpl.java d46bbb0 
> 
> Diff: https://reviews.apache.org/r/14381/diff/
> 
> 
> Testing
> ---
> 
> Basic testing with my storage adaptor
> 
> 
> Thanks,
> 
> Marcus Sorensen
> 
>



RE: Review Request 14381: KVM: add connect/disconnect capabilities to StorageAdaptors so that external storage services can attach/detach devices on-demand

2013-11-07 Thread Animesh Chaturvedi
Ok I closed out the review as "submitted"

> -Original Message-
> From: Mike Tutkowski [mailto:nore...@reviews.apache.org] On Behalf Of
> Mike Tutkowski
> Sent: Thursday, November 07, 2013 1:03 PM
> To: Edison Su; Mike Tutkowski
> Cc: Marcus Sorensen; cloudstack
> Subject: Re: Review Request 14381: KVM: add connect/disconnect
> capabilities to StorageAdaptors so that external storage services can
> attach/detach devices on-demand
> 
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14381/#review28443
> ---
> 
> Ship it!
> 
> 
> Ship It!
> 
> - Mike Tutkowski
> 
> 
> On Sept. 30, 2013, 5:14 p.m., Marcus Sorensen wrote:
> >
> > ---
> > This is an automatically generated e-mail. To reply, visit:
> > https://reviews.apache.org/r/14381/
> > ---
> >
> > (Updated Sept. 30, 2013, 5:14 p.m.)
> >
> >
> > Review request for cloudstack, edison su and Mike Tutkowski.
> >
> >
> > Repository: cloudstack-git
> >
> >
> > Description
> > ---
> >
> > With custom storage plugins comes the need to prep the KVM host prior
> to utilizing the disks. e.g. an iscsi initiator needs to log into the
> target and scan for the lun before it can be used on the host. This
> patch is an example I developed against 4.2, minor changes may be
> necessary to apply to master, but I want to share with others who are
> working on storage so they can ensure it works for them. Please tweak as
> you see fit.
> >
> > MigrateCommand: pass vmTO object so we can see which disks/storage
> pool types belong to the vm when migrating a VM. This facilitates being
> able to call disconnectPhysicalDisksViaVmSpec
> >
> > VirtualMachineManagerImpl: pass VirtualMachineTO when migrating so
> that we can see which disks belong to the VM and what storage
> pools/adaptors should be used
> >
> > LibvirtComputingResource: add calls KVMStoragePoolManager's
> connectPhysicalDiskViaVmSpec and disconnectPhysicalDiskViaVmSpec calls
> where appropriate (when starting a vm, migrating a vm). Ensure that we
> create 'raw' format XML disk definitions when the storage format is RAW.
> Move cleanupDisk logic to storage adaptors so that each adaptor type can
> clean up its disks in is own way.
> >
> > KVMStoragePoolManager:  add connectPhysicalDisk,
> disconnectPhysicalDisk, connectPhysicalDiskViaVmSpec,
> disconnectPhysicalDiskViaVmSpec, disconnectPhysicalDiskByPath. These all
> call the specific StorageAdaptor's connectPhysicalDisk,
> disconnectPhysicalDisk, or disconnectPhysicalDiskByPath calls.
> >
> > KVMStorageProcessor: Call connectPhysicalDisk/disconnectPhysicalDisk
> on the storage adaptor. Whether or not this is implemented is up to the
> storage adaptor.
> >
> > LibvirtStorageAdaptor: implement dummy
> connectPhysicalDisk/disconnectPhysicalDisk, move cleanupDisk logic from
> LibvirtComputingResource to disconnectPhysicalDiskByPath
> >
> > StorageAdaptor: define
> connectPhysicalDisk/disconnectPhysicalDisk/disconnectPhysicalDiskByPath
> in the interface
> >
> >
> > Diffs
> > -
> >
> >   core/src/com/cloud/agent/api/MigrateCommand.java 5042b8c
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtCom
> putingResource.java 3ee811f
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStorageP
> oolManager.java e09c9ba
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStorageP
> rocessor.java c69f9b0
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStor
> ageAdaptor.java 123a9f1
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/StorageAdap
> tor.java 4956d8d
> >   server/src/com/cloud/vm/VirtualMachineManagerImpl.java d46bbb0
> >
> > Diff: https://reviews.apache.org/r/14381/diff/
> >
> >
> > Testing
> > ---
> >
> > Basic testing with my storage adaptor
> >
> >
> > Thanks,
> >
> > Marcus Sorensen
> >
> >



Re: Bug? Should we allow detaching volumes when VMs have snapshots

2013-11-07 Thread Mike Tutkowski
I can see the appeal in consistent behavior, but I'm not sure we want
CloudStack to always follow a least-common-denominator approach.

Personally I recommend we leave XenServer's functionality here as is.


On Thu, Nov 7, 2013 at 6:14 AM, SuichII, Christopher  wrote:

> Thanks for replying, Kelvin.
>
> Now, should we only not allow this on VMWare, or should we prohibit it on
> XenServer as well. It appears to work fine on XenServer, but it may be a
> good idea to have a consistent experience, regardless of hypervisor.
>
> -Chris
> --
> Chris Suich
> chris.su...@netapp.com
> NetApp Software Engineer
> Data Center Platforms – Cloud Solutions
> Citrix, Cisco & Red Hat
>
> On Nov 6, 2013, at 9:09 PM, Kelven Yang  wrote:
>
> > We should dis-allow detaching volume from VM when it has VM snapshots.
> > VMware keeps VM snapshot meta information at VM basis, disk membership
> > change behind its back will cause problem and it does not provide
> official
> > API to manipulate at volume level for a VM snapshot.
> >
> > This is a bug
> >
> > Kelven
> >
> > On 11/6/13, 5:58 AM, "SuichII, Christopher" 
> wrote:
> >
> >> Bumping this. I believe we need the imput of a VMWare expert, please.
> >>
> >> -Chris
> >> --
> >> Chris Suich
> >> chris.su...@netapp.com
> >> NetApp Software Engineer
> >> Data Center Platforms ­ Cloud Solutions
> >> Citrix, Cisco & Red Hat
> >>
> >> On Nov 5, 2013, at 1:46 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com>
> >> wrote:
> >>
> >>> OK, well, depending on if we can or can't get a VMware person to chime
> >>> in
> >>> on this issue, we may have to disallow disks from being detached from
> >>> VMware VMs with snapshots in 4.3.
> >>>
> >>>
> >>> On Tue, Nov 5, 2013 at 11:44 AM, SuichII, Christopher <
> >>> chris.su...@netapp.com> wrote:
> >>>
>  Correct.
> 
>  #6 FAILS with VMWare and SUCCEEDS with Xen
> 
>  --
>  Chris Suich
>  chris.su...@netapp.com
>  NetApp Software Engineer
>  Data Center Platforms ­ Cloud Solutions
>  Citrix, Cisco & Red Hat
> 
>  On Nov 5, 2013, at 1:35 PM, Mike Tutkowski
>  
>  wrote:
> 
> > I assume 6 fails with VMware, as well?
> >
> > Is Xen OK with 6?
> >
> >
> > On Tue, Nov 5, 2013 at 11:26 AM, SuichII, Christopher <
> > chris.su...@netapp.com> wrote:
> >
> >> FWIW, after looking into this more with Xen, when the VM is restored
> >> in
> >> step 4, it simply no longer has the volume attached, so this appears
> >> to
> >> really be a VMWare issue. Any VMWare experts out there know how we
> >> can
> >> handle this?
> >>
> >> -Chris
> >> --
> >> Chris Suich
> >> chris.su...@netapp.com
> >> NetApp Software Engineer
> >> Data Center Platforms ­ Cloud Solutions
> >> Citrix, Cisco & Red Hat
> >>
> >> On Nov 5, 2013, at 1:05 PM, SuichII, Christopher <
>  chris.su...@netapp.com>
> >> wrote:
> >>
> >>> We currently don¹t allow volumes to be attached to VMs with
> >>> snapshots
> >> and allowing volumes to be detached causes quite a bug:
> >>>
> >>> 1) Attach a data disk to a VM
> >>> 2) Snapshot the VM
> >>> 3) Detach the data disk
> >>> 4) Attempt to restore the VM from the snapshot ‹ FAILS since the
> >>> data
> >> disk is no longer there, although it is expected to be
> >>> 5) Attempt to re-attach the volume to the VM ‹ FAILS since you
> >>> cannot
> >> attach volumes to VMs with snapshots
> >>> 6) Attempt to delete the VM snapshot ‹ FAILS since the data disk is
> >>> no
> >> longer there, although it is expected to be
> >>>
> >>> I have verified the above steps on VMWare, however Xen does not
> >>> appear
> >> to fail on step 4, presumably because VMWare handles snapshots quite
> >> differently than Xen.
> >>>
> >>> Does anyone else have any thoughts on whether this is a bug or not?
>  IMO,
> >> on VMWare, this set of steps can get users into a state where they
> >> can
>  no
> >> longer attach new data disks to their VM, so it appears to be a bug
> >> of
>  some
> >> kind.
> >>>
> >>> -Chris
> >>> --
> >>> Chris Suich
> >>> chris.su...@netapp.com
> >>> NetApp Software Engineer
> >>> Data Center Platforms ­ Cloud Solutions
> >>> Citrix, Cisco & Red Hat
> >>>
> >>
> >>
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud
> > * *
> 
> 
> >>>
> >>>
> >>> --
> >>> *Mike Tutkowski*
> >>> *Senior CloudStack Developer, SolidFire Inc.*
> >>> e: mike.tutkow...@solidfire.com
> >>> o: 303.746.7302
> >>> Advancing the way the world uses the
> >>> cloud
> >

Re: Bug? Should we allow detaching volumes when VMs have snapshots

2013-11-07 Thread Mike Tutkowski
Especially since it appears to have been working for XenServer and I'd hate
to take that functionality away from people who might be using it.


On Thu, Nov 7, 2013 at 2:15 PM, Mike Tutkowski  wrote:

> I can see the appeal in consistent behavior, but I'm not sure we want
> CloudStack to always follow a least-common-denominator approach.
>
> Personally I recommend we leave XenServer's functionality here as is.
>
>
> On Thu, Nov 7, 2013 at 6:14 AM, SuichII, Christopher <
> chris.su...@netapp.com> wrote:
>
>> Thanks for replying, Kelvin.
>>
>> Now, should we only not allow this on VMWare, or should we prohibit it on
>> XenServer as well. It appears to work fine on XenServer, but it may be a
>> good idea to have a consistent experience, regardless of hypervisor.
>>
>> -Chris
>> --
>> Chris Suich
>> chris.su...@netapp.com
>> NetApp Software Engineer
>> Data Center Platforms – Cloud Solutions
>> Citrix, Cisco & Red Hat
>>
>> On Nov 6, 2013, at 9:09 PM, Kelven Yang  wrote:
>>
>> > We should dis-allow detaching volume from VM when it has VM snapshots.
>> > VMware keeps VM snapshot meta information at VM basis, disk membership
>> > change behind its back will cause problem and it does not provide
>> official
>> > API to manipulate at volume level for a VM snapshot.
>> >
>> > This is a bug
>> >
>> > Kelven
>> >
>> > On 11/6/13, 5:58 AM, "SuichII, Christopher" 
>> wrote:
>> >
>> >> Bumping this. I believe we need the imput of a VMWare expert, please.
>> >>
>> >> -Chris
>> >> --
>> >> Chris Suich
>> >> chris.su...@netapp.com
>> >> NetApp Software Engineer
>> >> Data Center Platforms ­ Cloud Solutions
>> >> Citrix, Cisco & Red Hat
>> >>
>> >> On Nov 5, 2013, at 1:46 PM, Mike Tutkowski <
>> mike.tutkow...@solidfire.com>
>> >> wrote:
>> >>
>> >>> OK, well, depending on if we can or can't get a VMware person to chime
>> >>> in
>> >>> on this issue, we may have to disallow disks from being detached from
>> >>> VMware VMs with snapshots in 4.3.
>> >>>
>> >>>
>> >>> On Tue, Nov 5, 2013 at 11:44 AM, SuichII, Christopher <
>> >>> chris.su...@netapp.com> wrote:
>> >>>
>>  Correct.
>> 
>>  #6 FAILS with VMWare and SUCCEEDS with Xen
>> 
>>  --
>>  Chris Suich
>>  chris.su...@netapp.com
>>  NetApp Software Engineer
>>  Data Center Platforms ­ Cloud Solutions
>>  Citrix, Cisco & Red Hat
>> 
>>  On Nov 5, 2013, at 1:35 PM, Mike Tutkowski
>>  
>>  wrote:
>> 
>> > I assume 6 fails with VMware, as well?
>> >
>> > Is Xen OK with 6?
>> >
>> >
>> > On Tue, Nov 5, 2013 at 11:26 AM, SuichII, Christopher <
>> > chris.su...@netapp.com> wrote:
>> >
>> >> FWIW, after looking into this more with Xen, when the VM is
>> restored
>> >> in
>> >> step 4, it simply no longer has the volume attached, so this
>> appears
>> >> to
>> >> really be a VMWare issue. Any VMWare experts out there know how we
>> >> can
>> >> handle this?
>> >>
>> >> -Chris
>> >> --
>> >> Chris Suich
>> >> chris.su...@netapp.com
>> >> NetApp Software Engineer
>> >> Data Center Platforms ­ Cloud Solutions
>> >> Citrix, Cisco & Red Hat
>> >>
>> >> On Nov 5, 2013, at 1:05 PM, SuichII, Christopher <
>>  chris.su...@netapp.com>
>> >> wrote:
>> >>
>> >>> We currently don¹t allow volumes to be attached to VMs with
>> >>> snapshots
>> >> and allowing volumes to be detached causes quite a bug:
>> >>>
>> >>> 1) Attach a data disk to a VM
>> >>> 2) Snapshot the VM
>> >>> 3) Detach the data disk
>> >>> 4) Attempt to restore the VM from the snapshot ‹ FAILS since the
>> >>> data
>> >> disk is no longer there, although it is expected to be
>> >>> 5) Attempt to re-attach the volume to the VM ‹ FAILS since you
>> >>> cannot
>> >> attach volumes to VMs with snapshots
>> >>> 6) Attempt to delete the VM snapshot ‹ FAILS since the data disk
>> is
>> >>> no
>> >> longer there, although it is expected to be
>> >>>
>> >>> I have verified the above steps on VMWare, however Xen does not
>> >>> appear
>> >> to fail on step 4, presumably because VMWare handles snapshots
>> quite
>> >> differently than Xen.
>> >>>
>> >>> Does anyone else have any thoughts on whether this is a bug or
>> not?
>>  IMO,
>> >> on VMWare, this set of steps can get users into a state where they
>> >> can
>>  no
>> >> longer attach new data disks to their VM, so it appears to be a bug
>> >> of
>>  some
>> >> kind.
>> >>>
>> >>> -Chris
>> >>> --
>> >>> Chris Suich
>> >>> chris.su...@netapp.com
>> >>> NetApp Software Engineer
>> >>> Data Center Platforms ­ Cloud Solutions
>> >>> Citrix, Cisco & Red Hat
>> >>>
>> >>
>> >>
>> >
>> >
>> > --
>> > *Mike Tutkowski*
>> > *Senior CloudStack Developer, SolidFire Inc.*
>> > e: mike.tutkow...@solidfire.com
>> > o: 303.746.7302
>> >

api incompatibility between 4.1 and 4.2 in ACLs

2013-11-07 Thread Marcus Sorensen
Maybe this has been discussed already, but we seem to have run into an
api incompatibility. In 4.1, you could create ad-hoc ACL rules that
applied to a network. In 4.2, you have to first create an 'ACL list',
then add those rules to the list, then apply the list to a network. Or
so it seems.  This means that applications that are coded to the
cloudstack API and utilize createNetworkACL will break, because the
flow has changed.

Am I correct on this? And if so, shouldn't we have deployed 4.2 as
5.0, since the stated versioning is based on API compatibility?


Re: Review Request 15309: Fixed bug with deleting VMWare VM Snapshots

2013-11-07 Thread Chris Suich

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

(Updated Nov. 7, 2013, 9:30 p.m.)


Review request for cloudstack and edison su.


Repository: cloudstack-git


Description
---

A bug was introduced in a6ce66e55a65eb0fbae9ead92de6ceac7a87c531 which does not 
allow VMWare VM snapshots to be deleted.

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=a6ce66e55a65eb0fbae9ead92de6ceac7a87c531

In refactoring, volumeTo.getPoolUuid() was supposed to be changed to 
store.getUuid() but was actually changed to volumeTo.getUuid().


Diffs
-

  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
 0e2423e 

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


Testing (updated)
---


Thanks,

Chris Suich



Re: Review Request 15326: Added option to reload VM during in RevertToVMSnapshotCommand

2013-11-07 Thread edison su

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

Ship it!


Ship It!

- edison su


On Nov. 7, 2013, 9 p.m., Chris Suich wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15326/
> ---
> 
> (Updated Nov. 7, 2013, 9 p.m.)
> 
> 
> Review request for cloudstack and edison su.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Added option to reload VM during in RevertToVMSnapshotCommand. For now, only 
> in VMWare as I don't believe that XenServer supports anything similar.
> 
> This gives plugins which may have unique snapshot strategies the ability to 
> request the hypervisor to reload the VM's state before attempting to revert 
> to a snapshot.
> 
> 
> Diffs
> -
> 
>   core/src/com/cloud/agent/api/RevertToVMSnapshotCommand.java 1e5fd6c 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
>  0e2423e 
> 
> Diff: https://reviews.apache.org/r/15326/diff/
> 
> 
> Testing
> ---
> 
> This has been tested locally with a custom plugin. However, the changes are 
> not used by the existing CloudStack codebase and should not impact any 
> existing workflows or use cases. They are simply for plugins to take 
> advantage of.
> 
> 
> Thanks,
> 
> Chris Suich
> 
>



Re: Review Request 15313: Updated VMSnapshotDetails* to match *Details* pattern (e.g. UserVMDetails*)

2013-11-07 Thread edison su

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

Ship it!


Ship It!

- edison su


On Nov. 7, 2013, 9 p.m., Chris Suich wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15313/
> ---
> 
> (Updated Nov. 7, 2013, 9 p.m.)
> 
> 
> Review request for cloudstack and edison su.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> VMSnapshotDetailsDao/Impl/VO were not using the ResourceDetails/Dao/Base 
> pattern which caused issues with adding details and did not give access to 
> useful methods like the detail getters/deleters.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/vm/snapshot/VMSnapshotDetailsVO.java 934dd92 
>   engine/schema/src/com/cloud/vm/snapshot/dao/VMSnapshotDetailsDao.java 
> e84178c 
>   engine/schema/src/com/cloud/vm/snapshot/dao/VMSnapshotDetailsDaoImpl.java 
> b528b39 
>   
> engine/storage/integration-test/test/com/cloud/vm/snapshot/dao/VmSnapshotDaoTest.java
>  fc52f89 
> 
> Diff: https://reviews.apache.org/r/15313/diff/
> 
> 
> Testing
> ---
> 
> This has been tested locally with a custom plugin. However, the changes are 
> not used by the existing CloudStack codebase and should not impact any 
> existing workflows or use cases. They are simply for plugins to take 
> advantage of.
> 
> 
> Thanks,
> 
> Chris Suich
> 
>



Re: Review Request 15309: Fixed bug with deleting VMWare VM Snapshots

2013-11-07 Thread edison su

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

Ship it!


Ship It!

- edison su


On Nov. 7, 2013, 9:30 p.m., Chris Suich wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15309/
> ---
> 
> (Updated Nov. 7, 2013, 9:30 p.m.)
> 
> 
> Review request for cloudstack and edison su.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> A bug was introduced in a6ce66e55a65eb0fbae9ead92de6ceac7a87c531 which does 
> not allow VMWare VM snapshots to be deleted.
> 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=a6ce66e55a65eb0fbae9ead92de6ceac7a87c531
> 
> In refactoring, volumeTo.getPoolUuid() was supposed to be changed to 
> store.getUuid() but was actually changed to volumeTo.getUuid().
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
>  0e2423e 
> 
> Diff: https://reviews.apache.org/r/15309/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Chris Suich
> 
>



Re: Bug? Should we allow detaching volumes when VMs have snapshots

2013-11-07 Thread Nux!

On 07.11.2013 21:17, Mike Tutkowski wrote:
Especially since it appears to have been working for XenServer and I'd 
hate

to take that functionality away from people who might be using it.


+100, removing functionality will not gain you any extra points; 
especially doing it for what is probably the least deployed hypervisor 
(quotation needed).


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


pool.storage.capacity.disablethreshold global config

2013-11-07 Thread Alena Prokharchyk
I've run into the problem in master where I can't deploy the VM due to 
insufficient capacity:

2013-11-07 14:21:20,439 DEBUG [c.c.s.StorageManagerImpl] 
(Job-Executor-27:ctx-e5d8814d ctx-e5375ad7) Insufficient space on pool: 1 since 
its usage percentage: 4.875950712239125 has crossed the 
pool.storage.capacity.disablethreshold: 0.85

But there is no way to change "pool.storage.capacity.disablethreshold" as this 
parameter is hardcoded in CapacityManager, and you can't change its value.

Alex, seems you were the last person who modified it. Before we used to keep 
all capacity thresholds in global config table, can you explain how it works 
now?

commit 6e8ca994660afc468530944542e232596e8f1176
Author: Alex Huang 
Date:   Tue Aug 27 17:33:24 2013 -0700

Got all of the config stuff out of the way

-alena.


Re: [jira] [Updated] (CLOUDSTACK-4982) Top of dialogs cut off

2013-11-07 Thread Luis
Hi

I will appreciate your help to fix this problem


CloudStack 4.2
Ubuntu 12.04
single machine

The errors


10.0.0.20:/export/primary/ 684G  2.5G  646G   1% 
/mnt/primary
10.0.0.20:/export/secondary/   684G  2.5G  646G   1% 
/mnt/secondary
10.0.0.20:/export/primary  684G  2.5G  646G   1%
 /mnt/0b89f7ac-67a7-3790-9f49-ad66af4319c5
10.0.0.20:/export/secondary/template/tmpl/1/3  684G  2.5G  646G   1% 
/mnt/96340021-0249-366b-b4b7-f271271634a2


2013-11-06 21:55:04,386 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(secstorage-1:null) Unable to contact resource.
com.cloud.exception.StorageUnavailableException:
 Resource [StoragePool:1] is unreachable: Unable to create 
Vol[6|vm=6|ROOT]:Failed to get volumes from pool: 
96340021-0249-366b-b4b7-f271271634a2


2013-11-06 21:55:34,178 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(secstorage-1:null) Unable to contact resource.
com.cloud.exception.StorageUnavailableException:
 Resource [StoragePool:1] is unreachable: Unable to create 
Vol[6|vm=6|ROOT]:Failed to get volumes from pool: 
96340021-0249-366b-b4b7-f271271634a2


2013-11-06 21:55:34,558 WARN  [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Exception while trying to start secondary storage vm
com.cloud.exception.InsufficientServerCapacityException:
 Unable to create a deployment for 
VM[SecondaryStorageVm|s-6-VM]Scope=interface com.cloud.dc.DataCenter; 
id=1
    at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:842)

2013-11-06 21:55:34,666 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Unable to contact resource.
com.cloud.exception.StorageUnavailableException:
 Resource [StoragePool:1] is unreachable: Unable to create 
Vol[2|vm=2|ROOT]:Failed to get volumes from pool: 
96340021-0249-366b-b4b7-f271271634a2

2013-11-06 21:55:35,049 WARN  [cloud.consoleproxy.ConsoleProxyManagerImpl] 
(consoleproxy-1:null) Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException:
 Unable to create a deployment for 
VM[ConsoleProxy|v-2-VM]Scope=interface com.cloud.dc.DataCenter; id=1




On Thursday, November 7, 2013 5:30 PM, Animesh Chaturvedi (JIRA) 
 wrote:
 

     [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Animesh Chaturvedi updated CLOUDSTACK-4982:
---


BULK EDIT> These issues are open to be picked up. Help in resolution is 
appreciated.

> Top of dialogs cut off
> --
>
>                 Key: CLOUDSTACK-4982
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4982
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
>default.) 
>          Components: UI
>    Affects Versions: 4.3.0
>         Environment: Chrome Version 30.0.1599.101 on Mac OS X 10.8.3
>            Reporter: Mike Tutkowski
>            Priority: Minor
>             Fix For: 4.3.0
>
>         Attachments: Top of Dialog.png
>
>
> Please see the attached screen shot.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Build failed in Jenkins: build-master-noredist #1739

2013-11-07 Thread jenkins
See 

Changes:

[sudison] Add quiencevm option on createsnapshotcmd

[min.chen] CLOUDSTACK-4833:[Automation][BVT] Template and ISO test cases failing

--
[...truncated 415 lines...]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack-framework 
---
[INFO] Deleting 
 
(includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloudstack-framework ---
[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
cloudstack-framework ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloudstack-framework ---
[INFO] Installing 
 
to 
/jenkins/.m2/repository/org/apache/cloudstack/cloudstack-framework/4.3.0-SNAPSHOT/cloudstack-framework-4.3.0-SNAPSHOT.pom
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Framework - Event Notification 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-db ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-db ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-db ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-db ---
[INFO] Compiling 43 source files to 

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

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-db ---
[INFO] Compiling 12 source files to 

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


---
 T E S T S
---

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-framework-db ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
cloud-framework-db ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-framework-db ---
[INFO] Installing 

 to 
/jenkins/.m2/repository/org/apache/cloudstack/cloud-framework-db/4.3.0-SNAPSHOT/cloud-framework-db-4.3.0-SNAPSHOT.jar
[INFO] Installing 

 to 
/jenkins/.m2/repository/org/apache/cloudstack/cloud-framework-db/4.3.0-SNAPSHOT/cloud-framework-db-4.3.0-SNAPSHOT.pom
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Framework - Configuration 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-framework-config ---
[INFO] Deleting 

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

  1   2   >