Re: Review Request 12497: CLOUDSTACK-3340: Removed test_deployVmSharedNetworkWithoutIpRange

2013-07-12 Thread Girish Shilamkar


> On July 12, 2013, 6:32 a.m., Prasanna Santhanam wrote:
> > This test was moved to a separate suite : test_shared_network_offering.py
> >

Was it just moved or it was changed to. Cause in any case without ip range 
shared network cannot be created.


- Girish


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


On July 12, 2013, 6:15 a.m., Girish Shilamkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12497/
> ---
> 
> (Updated July 12, 2013, 6:15 a.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Bugs: CLOUDSTACK-3340
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> CLOUDSTACK-3340: Removed a test which was invalid.
> 
> test_deployVmSharedNetworkWithoutIpRange is invalid because
> StartIp/endIp/gateway/netmask are required parameters
> when shared network is created.
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_network_offering.py a3e87f6 
> 
> Diff: https://reviews.apache.org/r/12497/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Girish Shilamkar
> 
>



[UI][[GSoC] Feedback on UI prototype with angular.js

2013-07-12 Thread Sebastien Goasguen
Hi folks,

Shiva Teja a GSoC student has a prototype of a UI using angular.js:

https://github.com/shivateja/cloudstack-ui/tree/angular-rawapi

While he worked on a REST interface early on, he switched to raw api calls.

Any feedback would be very much appreciated.

-sebastien


Re: CLOUDSTACK-531: FIXED ? OPENED ?

2013-07-12 Thread nicolas.lamirault
Thanks.
Regards.


Le 12/07/2013 06:29, Koushik Das a écrit :
> Hi Nicolas,
> This issue got fixed as part of CLOUDSTACK-595. The fix is present in 4.0 and 
> onwards. I will resolve 531 as a duplicate of 595.
> 
> -Koushik
> 
>> -Original Message-
>> From: nicolas.lamira...@orange.com [mailto:nicolas.lamira...@orange.com]
>> Sent: Thursday, July 11, 2013 5:59 PM
>> To: dev@cloudstack.apache.org
>> Subject: CLOUDSTACK-531: FIXED ? OPENED ?
>>
>> hi,
>> we would like to know if this issue is fixed or not in 4.0.1 ? and 4.1.0 ?
>> Thanks.
>>
>> --
>> Nicolas Lamirault
>>
>> __
>> __
>> _
>>
>> Ce message et ses pieces jointes peuvent contenir des informations
>> confidentielles ou privilegiees et ne doivent donc pas etre diffuses, 
>> exploites
>> ou copies sans autorisation. Si vous avez recu ce message par erreur, 
>> veuillez
>> le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les
>> messages electroniques etant susceptibles d'alteration, Orange decline toute
>> responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>>
>> This message and its attachments may contain confidential or privileged
>> information that may be protected by law; they should not be distributed,
>> used or copied without authorisation.
>> If you have received this email in error, please notify the sender and delete
>> this message and its attachments.
>> As emails may be altered, Orange is not liable for messages that have been
>> modified, changed or falsified.
>> Thank you.
> 
> 
> 


-- 
Nicolas Lamirault

_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.



Re: Review Request 12326: CLOUDSTACK-3094: Adding a shared network to already deployed VM is failing.

2013-07-12 Thread ASF Subversion and Git Services

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


Commit bdc7e4ce337f2f7cba8320808755119a835de07c in branch 
refs/heads/sdnextensions from Saksham Srivastava
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=bdc7e4c ]

CLOUDSTACK-3094: Adding a shared network to already deployed VM is failing.

Signed-off-by: Mice Xia 


- ASF Subversion and Git Services


On July 8, 2013, 2:30 p.m., Saksham Srivastava wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12326/
> ---
> 
> (Updated July 8, 2013, 2:30 p.m.)
> 
> 
> Review request for cloudstack and mice xia.
> 
> 
> Bugs: 3094
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> If a nic entry is present in the db, even if it is marked as removed, 
> listDistinctHostnames returns the name of the corresponding vm.
> This caused the addNic API to fail whenever a NIC entry was present in db 
> even if it was removed.
> Added checks that ensure to throw exception only if the vm with nondistict 
> hostname has a NIC in the network.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/vm/dao/VMInstanceDao.java 830e464 
>   engine/schema/src/com/cloud/vm/dao/VMInstanceDaoImpl.java ffb1a0b 
>   server/src/com/cloud/vm/UserVmManagerImpl.java 5b2b283 
> 
> Diff: https://reviews.apache.org/r/12326/diff/
> 
> 
> Testing
> ---
> 
> Created a shared network.
> Added the NIC to a vm with error state, causing a NIC entry in db but removed 
> as not null.
> Added the same network again without error state, the network gets added.
> 
> 
> Thanks,
> 
> Saksham Srivastava
> 
>



Re: Review Request 12445: Making sdn gre work with XCP 1.6

2013-07-12 Thread Sebastien Goasguen

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

Ship it!


applied to sdnextensions branch with bcfb4e67cb8c15102cdebae470c5684d585e619a
I did not apply the additional patch.
Please pull sdnextensions and submit additional review

you can mark this review as submitted

- Sebastien Goasguen


On July 12, 2013, 4:12 a.m., tuna wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12445/
> ---
> 
> (Updated July 12, 2013, 4:12 a.m.)
> 
> 
> Review request for cloudstack, Sebastien Goasguen and Hugo Trippaers.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This patch makes sdn gre work with XCP 1.6. Users still can follow the old 
> strategy described in this post: 
> https://cwiki.apache.org/CLOUDSTACK/ovs-tunnel-manager-for-cloudstack.html. 
> 
> Jira ticket: https://issues.apache.org/jira/browse/CLOUDSTACK-1779
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
>  d6d0523 
>   scripts/vm/hypervisor/xenserver/ovstunnel ddcaa5b 
>   scripts/vm/hypervisor/xenserver/xcposs/patch 4d07c76 
>   scripts/vm/hypervisor/xenserver/xcpserver/patch 7e92d5a 
>   scripts/vm/hypervisor/xenserver/xenserver56/patch 8abd6b2 
>   scripts/vm/hypervisor/xenserver/xenserver56fp1/patch 901f6de 
> 
> Diff: https://reviews.apache.org/r/12445/diff/
> 
> 
> Testing
> ---
> 
> 
> File Attachments
> 
> 
> Fix whitespace
>   https://reviews.apache.org/media/uploaded/files/2013/07/12/sdn1_1.patch
> 
> 
> Thanks,
> 
> tuna
> 
>



[GSoC] sdnextensions branch

2013-07-12 Thread Sebastien Goasguen
Hi, heads up that Nguyen has submitted patches to make the ovs gre tunnel 
manager work with XCP 1.6

The feature branch is sdnextensions

He will work in this branch until we call for final review and a merge in 4.3

-sebastien

Review Request 12498: CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update template API

2013-07-12 Thread Harikrishna Patnala

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

Review request for cloudstack, Abhinandan Prateek and edison su.


Bugs: CLOUDSTACK-2987


Repository: cloudstack-git


Description
---

CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update 
template API

This has to be fixed due to the merges post to my commit 
7b6b8d7a077478620232ea1ac4ec2304289e8661 which is working fine.


Diffs
-

  engine/schema/src/com/cloud/storage/VMTemplateVO.java 3e71191 
  server/src/com/cloud/template/TemplateAdapterBase.java fce2506 
  server/src/com/cloud/template/TemplateManagerImpl.java 5a54656 

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


Testing
---


Thanks,

Harikrishna Patnala



[ACS 4.2 with KVM 6.2]System VM's are failed to start with 'LibvirtException: internal error unknown timer name 'kvmclock'

2013-07-12 Thread Sailaja Mada
Hi,

I have RHEL 6.2 KVM host with libvirt (0.9.4-23.el6). This is added to 4.2 
Cloudstack Management server.

With this KVM host, system VM's are failed to start with error as:

2013-07-11 14:22:45,946 WARN  [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-1:null) LibvirtException
org.libvirt.LibvirtException: internal error unknown timer name 'kvmclock'
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.processError(Unknown Source)
at org.libvirt.Connect.domainCreateXML(Unknown Source)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1126)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3293)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1222)
at com.cloud.agent.Agent.processRequest(Agent.java:525)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
at com.cloud.utils.nio.Task.run(Task.java:83)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)


ASF Dev list there is a suggestion to upgrade Libvirt version to 1.0.2 to 
resolve this issue.  I am getting into lot of dependency failures to upgrade 
the libvirt version.

Has any one tried this  workaround?  Will it cause for any issues to existing 
environments(4.x /3.0.x with KVM 6.2) after upgrade to 4.2 ?

Thanks,
Sailaja.M


RE: Another ISO Question

2013-07-12 Thread Koushik Das
Should it fall back on the compute offering tags if disk offering tags cannot 
be satisfied? This will make the behavior compatible with that of deploying VM 
from template.

-Koushik

> -Original Message-
> From: Prachi Damle [mailto:prachi.da...@citrix.com]
> Sent: Friday, July 12, 2013 2:52 AM
> To: aemne...@gmail.com; Mike Tutkowski
> Cc: dev@cloudstack.apache.org
> Subject: RE: Another ISO Question
> 
> From the deployVM API I see that while deploying a VM from ISO, the
> diskOfferingId passed to the API is used to create the ROOT Disk Volume of
> the VM.
> The tags of this disk offering will be considered while choosing a pool for 
> the
> ROOT volume.
> 
> The tags of the compute offering will not be referred in this case.
> 
> Prachi
> 
> From: Ahmad Emneina [mailto:aemne...@gmail.com]
> Sent: Thursday, July 11, 2013 1:39 PM
> To: Mike Tutkowski; Prachi Damle
> Cc: dev@cloudstack.apache.org
> Subject: Re: Another ISO Question
> 
> Let me defer to +Prachi, she knows the tagging system better than I.
> 
> On Thu, Jul 11, 2013 at 1:33 PM, Mike Tutkowski
> mailto:mike.tutkow...@solidfire.com>>
> wrote:
> OK, thanks.
> 
> I wasn't sure if we were maybe only honoring the Storage Tags of the
> Compute Offering or the Disk Offering, but it sounds like we essentially are
> taking the subset of the two, if any.
> 
> On Thu, Jul 11, 2013 at 2:30 PM, Ahmad Emneina
> mailto:aemne...@gmail.com>> wrote:
> The vm wont deploy. There wont be any hosts found that overlap with the
> correct tagged storage.
> 
> 
> On Thu, Jul 11, 2013 at 1:23 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com>
> wrote:
> 
> > Hi,
> >
> > When trying to kick a VM off based on an ISO, I see you have to pick
> > the Compute Offering and the Disk Offering (as opposed to just picking
> > a Compute Offering for a template).
> >
> > What happens if the Compute Offering and Disk Offering you select have
> > incompatible Storage Tags?
> >
> > Thanks!
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud
> > *(tm)*
> >
> 
> 
> 
> --
> Mike Tutkowski
> Senior CloudStack Developer, SolidFire Inc.
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud(tm)



Re: Review Request 12497: CLOUDSTACK-3340: Removed test_deployVmSharedNetworkWithoutIpRange

2013-07-12 Thread Prasanna Santhanam


> On July 12, 2013, 6:32 a.m., Prasanna Santhanam wrote:
> > This test was moved to a separate suite : test_shared_network_offering.py
> >
> 
> Girish Shilamkar wrote:
> Was it just moved or it was changed to. Cause in any case without ip 
> range shared network cannot be created.

Moved. So your patch failed to apply as a result. Can you resubmit?


- Prasanna


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


On July 12, 2013, 6:15 a.m., Girish Shilamkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12497/
> ---
> 
> (Updated July 12, 2013, 6:15 a.m.)
> 
> 
> Review request for cloudstack and Prasanna Santhanam.
> 
> 
> Bugs: CLOUDSTACK-3340
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> CLOUDSTACK-3340: Removed a test which was invalid.
> 
> test_deployVmSharedNetworkWithoutIpRange is invalid because
> StartIp/endIp/gateway/netmask are required parameters
> when shared network is created.
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_network_offering.py a3e87f6 
> 
> Diff: https://reviews.apache.org/r/12497/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Girish Shilamkar
> 
>



Re: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 'LibvirtException: internal error unknown timer name 'kvmclock'

2013-07-12 Thread Prasanna Santhanam
Are you using the latest systemm vm template or the one from 3.0.x?
Try with the new template and let us know if this is still a problem.

On Fri, Jul 12, 2013 at 08:11:24AM +, Sailaja Mada wrote:
> Hi,
> 
> I have RHEL 6.2 KVM host with libvirt (0.9.4-23.el6). This is added to 4.2 
> Cloudstack Management server.
> 
> With this KVM host, system VM's are failed to start with error as:
> 
> 2013-07-11 14:22:45,946 WARN  [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-1:null) LibvirtException
> org.libvirt.LibvirtException: internal error unknown timer name 'kvmclock'
> at org.libvirt.ErrorHandler.processError(Unknown Source)
> at org.libvirt.Connect.processError(Unknown Source)
> at org.libvirt.Connect.domainCreateXML(Unknown Source)
> at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1126)
> at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3293)
> at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1222)
> at com.cloud.agent.Agent.processRequest(Agent.java:525)
> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> at com.cloud.utils.nio.Task.run(Task.java:83)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:679)
> 
> 
> ASF Dev list there is a suggestion to upgrade Libvirt version to 1.0.2 to 
> resolve this issue.  I am getting into lot of dependency failures to upgrade 
> the libvirt version.
> 
> Has any one tried this  workaround?  Will it cause for any issues to existing 
> environments(4.x /3.0.x with KVM 6.2) after upgrade to 4.2 ?
> 
> Thanks,
> Sailaja.M

-- 
Prasanna.,


Powered by BigRock.com



RE: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 'LibvirtException: internal error unknown timer name 'kvmclock'

2013-07-12 Thread Sailaja Mada
I tried with 4.2 new template. 
(systemvmtemplate-2013-06-25-master-kvm.qcow2.bz2)

-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org] 
Sent: Friday, July 12, 2013 2:02 PM
To: dev@cloudstack.apache.org
Subject: Re: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 
'LibvirtException: internal error unknown timer name 'kvmclock'

Are you using the latest systemm vm template or the one from 3.0.x?
Try with the new template and let us know if this is still a problem.

On Fri, Jul 12, 2013 at 08:11:24AM +, Sailaja Mada wrote:
> Hi,
> 
> I have RHEL 6.2 KVM host with libvirt (0.9.4-23.el6). This is added to 4.2 
> Cloudstack Management server.
> 
> With this KVM host, system VM's are failed to start with error as:
> 
> 2013-07-11 14:22:45,946 WARN  [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-1:null) LibvirtException
> org.libvirt.LibvirtException: internal error unknown timer name 'kvmclock'
> at org.libvirt.ErrorHandler.processError(Unknown Source)
> at org.libvirt.Connect.processError(Unknown Source)
> at org.libvirt.Connect.domainCreateXML(Unknown Source)
> at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1126)
> at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3293)
> at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1222)
> at com.cloud.agent.Agent.processRequest(Agent.java:525)
> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> at com.cloud.utils.nio.Task.run(Task.java:83)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:679)
> 
> 
> ASF Dev list there is a suggestion to upgrade Libvirt version to 1.0.2 to 
> resolve this issue.  I am getting into lot of dependency failures to upgrade 
> the libvirt version.
> 
> Has any one tried this  workaround?  Will it cause for any issues to existing 
> environments(4.x /3.0.x with KVM 6.2) after upgrade to 4.2 ?
> 
> Thanks,
> Sailaja.M

-- 
Prasanna.,


Powered by BigRock.com



[acs42] [live storage migration]

2013-07-12 Thread Paul Angus
I'm looking at the live storage migration feature in acs4.2

A request for suitable pools to migration
http://10.0.0.27:8080/client/api?command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373618623834

returns
{ "findstoragepoolsformigrationresponse" : { }

Is this a bug or is the feature still a Work In Progress ?


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]

Apache CloudStack Bootcamp training courses
19/20 June, 
London
22/23 June, Santa Clara  
CA
10/11 July, Bangalore, 
India
21/22 August, 
London

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


Re: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 'LibvirtException: internal error unknown timer name 'kvmclock'

2013-07-12 Thread Prasanna Santhanam
On Fri, Jul 12, 2013 at 08:45:43AM +, Sailaja Mada wrote:
> I tried with 4.2 new template.
> (systemvmtemplate-2013-06-25-master-kvm.qcow2.bz2)

Output of the following?

[root@apache-83-1 ~]# cat /etc/issue
[root@apache-83-1 ~]# virsh --version
0.10.2
[root@apache-83-1 ~]# rpm -qa | grep qemu
qemu-img-0.12.1.2-2.355.0.1.el6.centos.5.x86_64
qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.5.x86_64
gpxe-roms-qemu-0.9.7-6.9.el6.noarch
[root@apache-83-1 ~]# rpm -qa | grep agent
cloudstack-agent-4.2.0-SNAPSHOT.el6.x86_64

-- 
Prasanna.,


Powered by BigRock.com



Re: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 'LibvirtException: internal error unknown timer name 'kvmclock'

2013-07-12 Thread Wei ZHOU
Sailaja,

I think libvirt 0.10.2 is enough. You can get the RPMS from CentOS 6.4
repositories
http://isoredirect.centos.org/centos/6.4/os/x86_64/Packages/

Please tell us whether systemvms start successfully.
I changed something for CLOUDSTACK-2823 today.

-Wei


2013/7/12 Sailaja Mada 

> I tried with 4.2 new template.
> (systemvmtemplate-2013-06-25-master-kvm.qcow2.bz2)
>
> -Original Message-
> From: Prasanna Santhanam [mailto:t...@apache.org]
> Sent: Friday, July 12, 2013 2:02 PM
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS 4.2 with KVM 6.2]System VM's are failed to start with
> 'LibvirtException: internal error unknown timer name 'kvmclock'
>
> Are you using the latest systemm vm template or the one from 3.0.x?
> Try with the new template and let us know if this is still a problem.
>
> On Fri, Jul 12, 2013 at 08:11:24AM +, Sailaja Mada wrote:
> > Hi,
> >
> > I have RHEL 6.2 KVM host with libvirt (0.9.4-23.el6). This is added to
> 4.2 Cloudstack Management server.
> >
> > With this KVM host, system VM's are failed to start with error as:
> >
> > 2013-07-11 14:22:45,946 WARN  [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-1:null) LibvirtException
> > org.libvirt.LibvirtException: internal error unknown timer name
> 'kvmclock'
> > at org.libvirt.ErrorHandler.processError(Unknown Source)
> > at org.libvirt.Connect.processError(Unknown Source)
> > at org.libvirt.Connect.domainCreateXML(Unknown Source)
> > at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1126)
> > at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3293)
> > at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1222)
> > at com.cloud.agent.Agent.processRequest(Agent.java:525)
> > at
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> > at com.cloud.utils.nio.Task.run(Task.java:83)
> > at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> > at java.lang.Thread.run(Thread.java:679)
> >
> >
> > ASF Dev list there is a suggestion to upgrade Libvirt version to 1.0.2
> to resolve this issue.  I am getting into lot of dependency failures to
> upgrade the libvirt version.
> >
> > Has any one tried this  workaround?  Will it cause for any issues to
> existing environments(4.x /3.0.x with KVM 6.2) after upgrade to 4.2 ?
> >
> > Thanks,
> > Sailaja.M
>
> --
> Prasanna.,
>
> 
> Powered by BigRock.com
>
>


RE: [acs42] [live storage migration]

2013-07-12 Thread Devdeep Singh
In your setup, there may not have been a suitable storage pool available for a 
volume to be migrated too. That is why the list is empty. Which hypervisor (and 
version) are you trying? How may storage pools are there in the cluster?

Regards,
Devdeep

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Friday, July 12, 2013 2:20 PM
To: dev@cloudstack.apache.org; Srikanteswararao Talluri
Subject: [acs42] [live storage migration]

I'm looking at the live storage migration feature in acs4.2

A request for suitable pools to migration
http://10.0.0.27:8080/client/api?command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373618623834

returns
{ "findstoragepoolsformigrationresponse" : { }

Is this a bug or is the feature still a Work In Progress ?


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]

Apache CloudStack Bootcamp training courses
19/20 June, 
London
22/23 June, Santa Clara  
CA
10/11 July, Bangalore, 
India
21/22 August, 
London

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


Re: Review Request 9696: (CLOUDSTACK-1475) update keystore in SSVM and change download iso/template url after Update SSL Certificate

2013-07-12 Thread ASF Subversion and Git Services

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


Commit b2a077dfff5ba71723187ce970a4aa040794fe82 in branch refs/heads/4.2 from 
Wei Zhou
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b2a077d ]

CLOUDSTACK-1475: fix RegisterISO error after Update SSL Certificate


- ASF Subversion and Git Services


On March 15, 2013, 9:54 a.m., Wei Zhou wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9696/
> ---
> 
> (Updated March 15, 2013, 9:54 a.m.)
> 
> 
> Review request for cloudstack, Jayapal Reddy and Nitin Mehta.
> 
> 
> Bugs: CLOUDSTACK-1475
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This patch is for issue CLOUDSTACK-1475 (RegisterISO error after Update SSL 
> Certificate)
> on CloudStack 4.0.1. 
> 
> 
> Changes include:
> (1) update realhostip.keystore in SSVM (see the change in config_ssl.sh)
> (2) change suffix of download iso/template url rom realhostip.com to 
> domain_suffix in SSL Certificate.
> (3) validate download URL because ssvm publicip or domain suffix may change.
> 
> 
> Diffs
> -
> 
>   agent/src/com/cloud/agent/resource/consoleproxy/ConsoleProxyResource.java 
> 48f5079 
>   console-proxy/scripts/config_ssl.sh 8d80c47 
>   core/src/com/cloud/storage/resource/CifsSecondaryStorageResource.java 
> c606fca 
>   core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java 
> 155210d 
>   server/src/com/cloud/configuration/Config.java dbcc97a 
>   server/src/com/cloud/consoleproxy/AgentBasedConsoleProxyManager.java 
> 01b4720 
>   
> server/src/com/cloud/consoleproxy/AgentBasedStandaloneConsoleProxyManager.java
>  6172780 
>   server/src/com/cloud/consoleproxy/StaticConsoleProxyManager.java d2df83c 
>   server/src/com/cloud/server/ConfigurationServerImpl.java 3368c9b 
>   server/src/com/cloud/storage/download/DownloadMonitorImpl.java 2736777 
>   server/src/com/cloud/storage/upload/UploadMonitorImpl.java 4231be8 
> 
> Diff: https://reviews.apache.org/r/9696/diff/
> 
> 
> Testing
> ---
> 
> Testing manually ok.
> 
> 
> To test:
> (1) generate update the SSL certificate and it.  see "17.3.1. Changing the 
> Console Proxy SSL Certificate and Domain" part in CloudPlatform3.0.6AdminGuide
> http://support.citrix.com/servlet/KbServlet/download/33425-102-696517/CloudPlatform3.0.6AdminGuide.pdf
> 
> (2) visit instance via console. 
> 
> (3) Download ISO/Template. The browser will show the download url.
> Before patch: the domain suffix of url always be "realhostip.com"
> after patch: the domain suffix of url is "company.com" which you set in 
> step(1).
> 
> (4) Register ISO/Template using the url in step(3).
> Before patch: When the domain suffix is not "realhostip.com", it fails with 
> error message "sun.security.validator.ValidatorException: PKIX path building 
> failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to 
> find valid certification path to requested target".
> after patch: successful.
> 
> (5) Destroy SSVM, and a new one will be created. 
> Before patch: the url in step(3) does not change. the url still be the ip 
> address of old SSVM, and old domain suffix.
> after patch: the url will contain the ip address of new SSVM. If the 
> "company.com" changes, the url will also contain the new domain suffix.
> 
> (6) If you do not have a DNS server (which can resolve company.com domain), 
> please add an entry in /etc/hosts file of the client.
> aaa-bbb-ccc-ddd aaa-bbb-ccc-ddd.company.com# aaa.bbb.ccc.ddd is the 
> console proxy ip. and ssvm as well.
> 
> 
> We need to restart management-server after Update SSL Certificate.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>



RE: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 'LibvirtException: internal error unknown timer name 'kvmclock'

2013-07-12 Thread Sailaja Mada
[root@rhel19 ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.2 (Santiago)
Kernel \r on an \m

[root@rhel19 ~]# virsh --version
0.9.4
[root@rhel19 ~]# rpm -qa | grep qemu
qemu-img-0.12.1.2-3.209.el6.4.x86_64
gpxe-roms-qemu-0.9.7-6.9.el6.noarch
qemu-kvm-0.12.1.2-3.209.el6.4.x86_64
[root@rhel19 ~]#

Thanks,
Sailaja.M

-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org] 
Sent: Friday, July 12, 2013 2:24 PM
To: dev@cloudstack.apache.org
Subject: Re: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 
'LibvirtException: internal error unknown timer name 'kvmclock'

On Fri, Jul 12, 2013 at 08:45:43AM +, Sailaja Mada wrote:
> I tried with 4.2 new template.
> (systemvmtemplate-2013-06-25-master-kvm.qcow2.bz2)

Output of the following?

[root@apache-83-1 ~]# cat /etc/issue
[root@apache-83-1 ~]# virsh --version
0.10.2
[root@apache-83-1 ~]# rpm -qa | grep qemu
qemu-img-0.12.1.2-2.355.0.1.el6.centos.5.x86_64
qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.5.x86_64
gpxe-roms-qemu-0.9.7-6.9.el6.noarch
[root@apache-83-1 ~]# rpm -qa | grep agent
cloudstack-agent-4.2.0-SNAPSHOT.el6.x86_64

-- 
Prasanna.,


Powered by BigRock.com



RE: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 'LibvirtException: internal error unknown timer name 'kvmclock'

2013-07-12 Thread Sailaja Mada
Hi,

Edison applied the patch provided by you today to use as a temporary workaround 
. 

I will try with latest builds and update the details . 

Thanks,
Sailaja.M

-Original Message-
From: Wei ZHOU [mailto:ustcweiz...@gmail.com] 
Sent: Friday, July 12, 2013 2:26 PM
To: dev@cloudstack.apache.org
Subject: Re: [ACS 4.2 with KVM 6.2]System VM's are failed to start with 
'LibvirtException: internal error unknown timer name 'kvmclock'

Sailaja,

I think libvirt 0.10.2 is enough. You can get the RPMS from CentOS 6.4 
repositories http://isoredirect.centos.org/centos/6.4/os/x86_64/Packages/

Please tell us whether systemvms start successfully.
I changed something for CLOUDSTACK-2823 today.

-Wei


2013/7/12 Sailaja Mada 

> I tried with 4.2 new template.
> (systemvmtemplate-2013-06-25-master-kvm.qcow2.bz2)
>
> -Original Message-
> From: Prasanna Santhanam [mailto:t...@apache.org]
> Sent: Friday, July 12, 2013 2:02 PM
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS 4.2 with KVM 6.2]System VM's are failed to start 
> with
> 'LibvirtException: internal error unknown timer name 'kvmclock'
>
> Are you using the latest systemm vm template or the one from 3.0.x?
> Try with the new template and let us know if this is still a problem.
>
> On Fri, Jul 12, 2013 at 08:11:24AM +, Sailaja Mada wrote:
> > Hi,
> >
> > I have RHEL 6.2 KVM host with libvirt (0.9.4-23.el6). This is added 
> > to
> 4.2 Cloudstack Management server.
> >
> > With this KVM host, system VM's are failed to start with error as:
> >
> > 2013-07-11 14:22:45,946 WARN  
> > [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-1:null) LibvirtException
> > org.libvirt.LibvirtException: internal error unknown timer name
> 'kvmclock'
> > at org.libvirt.ErrorHandler.processError(Unknown Source)
> > at org.libvirt.Connect.processError(Unknown Source)
> > at org.libvirt.Connect.domainCreateXML(Unknown Source)
> > at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(Lib
> virtComputingResource.java:1126)
> > at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(Lib
> virtComputingResource.java:3293)
> > at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequ
> est(LibvirtComputingResource.java:1222)
> > at com.cloud.agent.Agent.processRequest(Agent.java:525)
> > at
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> > at com.cloud.utils.nio.Task.run(Task.java:83)
> > at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1110)
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:603)
> > at java.lang.Thread.run(Thread.java:679)
> >
> >
> > ASF Dev list there is a suggestion to upgrade Libvirt version to 
> > 1.0.2
> to resolve this issue.  I am getting into lot of dependency failures 
> to upgrade the libvirt version.
> >
> > Has any one tried this  workaround?  Will it cause for any issues to
> existing environments(4.x /3.0.x with KVM 6.2) after upgrade to 4.2 ?
> >
> > Thanks,
> > Sailaja.M
>
> --
> Prasanna.,
>
> 
> Powered by BigRock.com
>
>


Review Request 12499: CLOUDSTACK-3376: NPE: resource count calculation from the account manager on account cleanup

2013-07-12 Thread Sanjay Tripathi

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

Review request for cloudstack, Devdeep Singh and Prasanna Santhanam.


Bugs: CLOUDSTACK-3376


Repository: cloudstack-git


Description
---

CLOUDSTACK-3376: NPE: resource count calculation from the account manager 
on account cleanup

This issue is happing because of the steps the code follow to cleanup the 
account.
The cleanupAccount was deleting the entries from the resource_limit and
resource_count table and performing further cleaning afterwards. Ideally, 
deletion
of entries from resourceLimit and resourceCount should be the last step in
cleanupAccount process.


Diffs
-

  server/src/com/cloud/user/AccountManagerImpl.java 283e832 

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


Testing
---

Steps I followed to test account cleanup scenario:

1. Create a user account.
2. Login as user.
3. Register a template and deploy an instance using this registered template.
4. Create a project from this user account.
5. Go to project view
6. Register a template and create a volume in this project_account.
7. Logout and login as root-admin.
8. Delete the project manages by the user account.
9. Delete the user account.

In MS logs, verified that cleanupAccount is happing properly.


Thanks,

Sanjay Tripathi



RE: [acs42] [live storage migration]

2013-07-12 Thread Paul Angus
I'm using XenServer 6.2, I have 2 storage pools in that cluster and one in a 
separate cluster.

Looking in the logs I've got:

2013-07-12 10:23:44,330 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) 
===START===  10.0.0.33 -- GET  
command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373621024636
2013-07-12 10:23:44,342 ERROR [cloud.server.ManagementServerImpl] 
(catalina-exec-22:null) Capabilities for host Host[-6-Routing] couldn't be 
retrieved.

So it maybe I need to test against XenServer 6.1
However if I try and migrate the primary storage for STOPPED VM I get:

2013-07-12 10:21:33,378 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===START===  10.0.0.33 -- GET  
command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373620893684
2013-07-12 10:21:33,387 INFO  [cloud.server.ManagementServerImpl] 
(catalina-exec-10:null) Volume Vol[16|vm=16|ROOT] isn't attached to any running 
vm. Only volumes attached to a running VM can be migrated.
2013-07-12 10:21:33,392 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) 
===END===  10.0.0.33 -- GET  
command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373620893684



Regards,

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

-Original Message-
From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
Sent: 12 July 2013 09:56
To: dev@cloudstack.apache.org; Srikanteswararao Talluri
Subject: RE: [acs42] [live storage migration]

In your setup, there may not have been a suitable storage pool available for a 
volume to be migrated too. That is why the list is empty. Which hypervisor (and 
version) are you trying? How may storage pools are there in the cluster?

Regards,
Devdeep

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Friday, July 12, 2013 2:20 PM
To: dev@cloudstack.apache.org; Srikanteswararao Talluri
Subject: [acs42] [live storage migration]

I'm looking at the live storage migration feature in acs4.2

A request for suitable pools to migration
http://10.0.0.27:8080/client/api?command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%3D&_=1373618623834

returns
{ "findstoragepoolsformigrationresponse" : { }

Is this a bug or is the feature still a Work In Progress ?


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 
paul.an...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA 
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]

Apache CloudStack Bootcamp training courses
19/20 June, 
London
22/23 June, Santa Clara  
CA
10/11 July, Bangalore, 
India
21/22 August, 
London

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



Re: Review Request 9696: (CLOUDSTACK-1475) update keystore in SSVM and change download iso/template url after Update SSL Certificate

2013-07-12 Thread ASF Subversion and Git Services

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


Commit 3b5bcac81a14aa239e172f14f1819bd445063a6a in branch refs/heads/4.1 from 
Wei Zhou
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3b5bcac ]

CLOUDSTACK-1475: fix RegisterISO error after Update SSL Certificate


- ASF Subversion and Git Services


On March 15, 2013, 9:54 a.m., Wei Zhou wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9696/
> ---
> 
> (Updated March 15, 2013, 9:54 a.m.)
> 
> 
> Review request for cloudstack, Jayapal Reddy and Nitin Mehta.
> 
> 
> Bugs: CLOUDSTACK-1475
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This patch is for issue CLOUDSTACK-1475 (RegisterISO error after Update SSL 
> Certificate)
> on CloudStack 4.0.1. 
> 
> 
> Changes include:
> (1) update realhostip.keystore in SSVM (see the change in config_ssl.sh)
> (2) change suffix of download iso/template url rom realhostip.com to 
> domain_suffix in SSL Certificate.
> (3) validate download URL because ssvm publicip or domain suffix may change.
> 
> 
> Diffs
> -
> 
>   agent/src/com/cloud/agent/resource/consoleproxy/ConsoleProxyResource.java 
> 48f5079 
>   console-proxy/scripts/config_ssl.sh 8d80c47 
>   core/src/com/cloud/storage/resource/CifsSecondaryStorageResource.java 
> c606fca 
>   core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java 
> 155210d 
>   server/src/com/cloud/configuration/Config.java dbcc97a 
>   server/src/com/cloud/consoleproxy/AgentBasedConsoleProxyManager.java 
> 01b4720 
>   
> server/src/com/cloud/consoleproxy/AgentBasedStandaloneConsoleProxyManager.java
>  6172780 
>   server/src/com/cloud/consoleproxy/StaticConsoleProxyManager.java d2df83c 
>   server/src/com/cloud/server/ConfigurationServerImpl.java 3368c9b 
>   server/src/com/cloud/storage/download/DownloadMonitorImpl.java 2736777 
>   server/src/com/cloud/storage/upload/UploadMonitorImpl.java 4231be8 
> 
> Diff: https://reviews.apache.org/r/9696/diff/
> 
> 
> Testing
> ---
> 
> Testing manually ok.
> 
> 
> To test:
> (1) generate update the SSL certificate and it.  see "17.3.1. Changing the 
> Console Proxy SSL Certificate and Domain" part in CloudPlatform3.0.6AdminGuide
> http://support.citrix.com/servlet/KbServlet/download/33425-102-696517/CloudPlatform3.0.6AdminGuide.pdf
> 
> (2) visit instance via console. 
> 
> (3) Download ISO/Template. The browser will show the download url.
> Before patch: the domain suffix of url always be "realhostip.com"
> after patch: the domain suffix of url is "company.com" which you set in 
> step(1).
> 
> (4) Register ISO/Template using the url in step(3).
> Before patch: When the domain suffix is not "realhostip.com", it fails with 
> error message "sun.security.validator.ValidatorException: PKIX path building 
> failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to 
> find valid certification path to requested target".
> after patch: successful.
> 
> (5) Destroy SSVM, and a new one will be created. 
> Before patch: the url in step(3) does not change. the url still be the ip 
> address of old SSVM, and old domain suffix.
> after patch: the url will contain the ip address of new SSVM. If the 
> "company.com" changes, the url will also contain the new domain suffix.
> 
> (6) If you do not have a DNS server (which can resolve company.com domain), 
> please add an entry in /etc/hosts file of the client.
> aaa-bbb-ccc-ddd aaa-bbb-ccc-ddd.company.com# aaa.bbb.ccc.ddd is the 
> console proxy ip. and ssvm as well.
> 
> 
> We need to restart management-server after Update SSL Certificate.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>



systemVM templates

2013-07-12 Thread Abhinandan Prateek
The cloudstack community needs to find a online space to host system VM
templates. With 4.2 upgrade to new sytemVM templates is inevitable.

Can we request PMC to get us some space on apache infrastructure for the
same.

-abhi


Re: Review Request 12498: CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update template API

2013-07-12 Thread Abhinandan Prateek

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

Ship it!


Ship It!

- Abhinandan Prateek


On July 12, 2013, 8:03 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12498/
> ---
> 
> (Updated July 12, 2013, 8:03 a.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and edison su.
> 
> 
> Bugs: CLOUDSTACK-2987
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update 
> template API
> 
> This has to be fixed due to the merges post to my commit 
> 7b6b8d7a077478620232ea1ac4ec2304289e8661 which is working fine.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/storage/VMTemplateVO.java 3e71191 
>   server/src/com/cloud/template/TemplateAdapterBase.java fce2506 
>   server/src/com/cloud/template/TemplateManagerImpl.java 5a54656 
> 
> Diff: https://reviews.apache.org/r/12498/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Re: Review Request 12498: CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update template API

2013-07-12 Thread Harikrishna Patnala

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

(Updated July 12, 2013, 9:48 a.m.)


Review request for cloudstack, Abhinandan Prateek, edison su, and Nitin Mehta.


Bugs: CLOUDSTACK-2987


Repository: cloudstack-git


Description
---

CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update 
template API

This has to be fixed due to the merges post to my commit 
7b6b8d7a077478620232ea1ac4ec2304289e8661 which is working fine.


Diffs
-

  engine/schema/src/com/cloud/storage/VMTemplateVO.java 3e71191 
  server/src/com/cloud/template/TemplateAdapterBase.java fce2506 
  server/src/com/cloud/template/TemplateManagerImpl.java 5a54656 

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


Testing
---


Thanks,

Harikrishna Patnala



Re: Review Request 12469: WIP: New implementation of LDAP authentication

2013-07-12 Thread Abhinandan Prateek

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

Ship it!


Ship It!

- Abhinandan Prateek


On July 11, 2013, 1:32 p.m., Ian Duffy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12469/
> ---
> 
> (Updated July 11, 2013, 1:32 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Sebastien Goasguen.
> 
> 
> Bugs: CLOUDSTACK-2014
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adds a new implementation of the LDAP authenticator. 
> This is a work in progress and has been placed here to show my progress 
> within the GSoC program.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/configuration/ConfigurationService.java 381fcad 
>   api/src/org/apache/cloudstack/api/ApiConstants.java 83999b6 
>   api/src/org/apache/cloudstack/api/ResponseGenerator.java d8d07cb 
>   api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java 
> 38f58ec 
>   api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPRemoveCmd.java 
> 5159fba 
>   api/src/org/apache/cloudstack/api/response/LDAPConfigResponse.java bbeec63 
>   api/src/org/apache/cloudstack/api/response/LDAPRemoveResponse.java 0feec5b 
>   client/tomcatconf/applicationContext.xml.in 610fdfd 
>   client/tomcatconf/commands.properties.in f4b41a7 
>   client/tomcatconf/componentContext.xml.in 1fbec61 
>   client/tomcatconf/nonossComponentContext.xml.in ffa6281 
>   client/tomcatconf/simulatorComponentContext.xml.in 7225e84 
>   
> plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
>  7d1b43a 
>   plugins/user-authenticators/ldap/pom.xml 5c45f11 
>   
> plugins/user-authenticators/ldap/src/com/cloud/server/auth/LDAPUserAuthenticator.java
>  d928a5b 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapAddConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapDeleteConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListAllUsersCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapUserSearchCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapConfigurationResponse.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapUserResponse.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapAuthenticator.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfiguration.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfigurationVO.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapContextFactory.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManager.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUser.java 
> PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUserManager.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUtils.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoLdapUserMatchingQueryException.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoSuchLdapUserException.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDao.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDaoImpl.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/BasicNamingEnumerationImpl.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAddConfigurationCmdSpec.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAuthenticatorSpec.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationDaoImplSpec.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationResponseSpec.groovy

Re: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-12 Thread Sebastien Goasguen
FYI,

6 months ago there was a discuss on linked in with Gerry Havinga who apparently 
was working on the swiftstack integration:
http://www.linkedin.com/groups/Little-bit-help-installing-Cloudstack-3144859%2ES%2E203595045?qid=da98b8b1-6ebc-4218-a541-79982bc8cc1f&trk=group_items_see_more-0-b-ttl

And today I saw a post on twitter which claimed that softlayer was using swift 


On Jul 11, 2013, at 6:06 PM, Edison Su  wrote:

> Thanks in advance. I'll ping you offline.
> BTW, if there is no object, I'll write swift api against whatever supported 
> by Dreamhost objects, as they are the only vendor I can test.
> 
>> -Original Message-
>> From: Neil Levine [mailto:neil.lev...@inktank.com]
>> Sent: Thursday, July 11, 2013 1:27 PM
>> To: dev@cloudstack.apache.org
>> Subject: Re: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?
>> 
>> Dreamhost Objects runs Ceph on the backend which supports both the S3
>> and the Swift API. If you ping me offline, I can give you some test account
>> details.
>> 
>> Neil
>> 
>> 
>> On Thu, Jul 11, 2013 at 10:14 AM, Alex Huang 
>> wrote:
>> 
>>> Dave,
>>> 
>>> It also has to be with native swift API.  It can't be exposing S3 API
>>> or their own API but using swift in the back end.
>>> 
>>> --Alex
>>> 
 -Original Message-
 From: David Nalley [mailto:da...@gnsa.us]
 Sent: Thursday, July 11, 2013 7:45 AM
 To: dev@cloudstack.apache.org
 Subject: Re: Swift in 4.2 is broken, anybody wants it to be
 supported in
>>> 4.2?
 
 On Thu, Jul 11, 2013 at 10:42 AM, Chip Childers <
>>> chip.child...@sungard.com>
 wrote:
> On Thu, Jul 11, 2013 at 10:39 AM, David Nalley  wrote:
>> On Thu, Jul 11, 2013 at 10:37 AM, Joe Brockmeier 
 wrote:
>>> On Wed, Jul 10, 2013, at 05:53 PM, Edison Su wrote:
 Oh man, my two hours are wasted on devstack already. After
 installed devstack, there is no swift service at all.
>>> 
>>> For Edison, and anybody else who wants to use Swift with
>>> CloudStack, what about SwiftStack?
>>> 
>>> http://swiftstack.com/docs/install/index.html
>>> 
>>> I think you have to request a trial account, but it looks not
>>> overly difficult.
>>> 
>>> Best,
>>> 
>>> jzb
>>> --
>>> Joe Brockmeier
>>> j...@zonker.net
>>> Twitter: @jzb
>>> http://www.dissociatedpress.net/
>> 
>> I am curious why we'd set this up at all?
>> There are several public cloud providers offering swift as a service.
>> If all we are doing is testing, why wouldn't we just use one of them?
>> 
>> --David
>> 
> 
> Any *free* ones?  ;-)
 
 So I know of at least one project that has free access - let me
 confirm
>>> with
 the provider that they'd be amenable to us using it.
 
 --David
>>> 



Re: Review Request 12469: WIP: New implementation of LDAP authentication

2013-07-12 Thread Sebastien Goasguen


> On July 12, 2013, 9:50 a.m., Abhinandan Prateek wrote:
> > Ship It!

Abhi, I had already applied it to the ldapplugin branch. Did you apply the 
patch somewhere else ?


- Sebastien


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


On July 11, 2013, 1:32 p.m., Ian Duffy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12469/
> ---
> 
> (Updated July 11, 2013, 1:32 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Sebastien Goasguen.
> 
> 
> Bugs: CLOUDSTACK-2014
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adds a new implementation of the LDAP authenticator. 
> This is a work in progress and has been placed here to show my progress 
> within the GSoC program.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/configuration/ConfigurationService.java 381fcad 
>   api/src/org/apache/cloudstack/api/ApiConstants.java 83999b6 
>   api/src/org/apache/cloudstack/api/ResponseGenerator.java d8d07cb 
>   api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java 
> 38f58ec 
>   api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPRemoveCmd.java 
> 5159fba 
>   api/src/org/apache/cloudstack/api/response/LDAPConfigResponse.java bbeec63 
>   api/src/org/apache/cloudstack/api/response/LDAPRemoveResponse.java 0feec5b 
>   client/tomcatconf/applicationContext.xml.in 610fdfd 
>   client/tomcatconf/commands.properties.in f4b41a7 
>   client/tomcatconf/componentContext.xml.in 1fbec61 
>   client/tomcatconf/nonossComponentContext.xml.in ffa6281 
>   client/tomcatconf/simulatorComponentContext.xml.in 7225e84 
>   
> plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
>  7d1b43a 
>   plugins/user-authenticators/ldap/pom.xml 5c45f11 
>   
> plugins/user-authenticators/ldap/src/com/cloud/server/auth/LDAPUserAuthenticator.java
>  d928a5b 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapAddConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapDeleteConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListAllUsersCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapUserSearchCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapConfigurationResponse.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapUserResponse.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapAuthenticator.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfiguration.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfigurationVO.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapContextFactory.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManager.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUser.java 
> PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUserManager.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUtils.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoLdapUserMatchingQueryException.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoSuchLdapUserException.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDao.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDaoImpl.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/BasicNamingEnumerationImpl.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAddConfigurationCmdSpec.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAuthenticatorSpec.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationDaoImpl

Re: Review Request 12498: CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update template API

2013-07-12 Thread ASF Subversion and Git Services

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


Commit 5dd1a1dd8eec0a37db36b5c86d847fbbe4fcc41d in branch refs/heads/master 
from Harikrishna Patnala
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5dd1a1d ]

CLOUDSTACK-2987: Fixing dynamicallyScalable flag in register and update 
template API Previuos commit: 7b6b8d7a077478620232ea1ac4ec2304289e8661 This fix 
is due to some changes made by the merges after this commit.

Signed-off-by: Abhinandan Prateek 


- ASF Subversion and Git Services


On July 12, 2013, 9:48 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12498/
> ---
> 
> (Updated July 12, 2013, 9:48 a.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek, edison su, and Nitin Mehta.
> 
> 
> Bugs: CLOUDSTACK-2987
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update 
> template API
> 
> This has to be fixed due to the merges post to my commit 
> 7b6b8d7a077478620232ea1ac4ec2304289e8661 which is working fine.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/storage/VMTemplateVO.java 3e71191 
>   server/src/com/cloud/template/TemplateAdapterBase.java fce2506 
>   server/src/com/cloud/template/TemplateManagerImpl.java 5a54656 
> 
> Diff: https://reviews.apache.org/r/12498/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Review Request 12500: fix CLOUDSTACK-3495 xenserver 6.1 and 6.2 can not open vnc console

2013-07-12 Thread Hongtu Zang

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

Review request for cloudstack, Abhinandan Prateek and Devdeep Singh.


Bugs: CLOUDSTACK-3495


Repository: cloudstack-git


Description
---

change vmops getvncport function
xenserver 6.1 and 6.2 will find the vnc-port in the same path with 6.0


Diffs
-

  scripts/vm/hypervisor/xenserver/vmops 650e955 

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


Testing
---

can open vnc console in web UI


Thanks,

Hongtu Zang



Re: Review Request 12498: CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update template API

2013-07-12 Thread ASF Subversion and Git Services

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


Commit 8816d41d3b62fe50bbeb70e541f54f8e232c362e in branch refs/heads/4.2 from 
Harikrishna Patnala
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8816d41 ]

CLOUDSTACK-2987: Fixing dynamicallyScalable flag in register and update 
template API Previuos commit: 7b6b8d7a077478620232ea1ac4ec2304289e8661 This fix 
is due to some changes made by the merges after this commit.

Signed-off-by: Abhinandan Prateek 


- ASF Subversion and Git Services


On July 12, 2013, 9:48 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12498/
> ---
> 
> (Updated July 12, 2013, 9:48 a.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek, edison su, and Nitin Mehta.
> 
> 
> Bugs: CLOUDSTACK-2987
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-2987: Fixing dynamicallyscalable flag in register and update 
> template API
> 
> This has to be fixed due to the merges post to my commit 
> 7b6b8d7a077478620232ea1ac4ec2304289e8661 which is working fine.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/storage/VMTemplateVO.java 3e71191 
>   server/src/com/cloud/template/TemplateAdapterBase.java fce2506 
>   server/src/com/cloud/template/TemplateManagerImpl.java 5a54656 
> 
> Diff: https://reviews.apache.org/r/12498/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



RE: [acs42] [live storage migration]

2013-07-12 Thread Devdeep Singh
Hi Paul,

Please see inline.

Regards,
Devdeep

> -Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Friday, July 12, 2013 2:58 PM
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: RE: [acs42] [live storage migration]
> 
> I'm using XenServer 6.2, I have 2 storage pools in that cluster and one in a
> separate cluster.
> 
> Looking in the logs I've got:
> 
> 2013-07-12 10:23:44,330 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 22:null) ===START===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-
> 9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373621024636
> 2013-07-12 10:23:44,342 ERROR [cloud.server.ManagementServerImpl]
> (catalina-exec-22:null) Capabilities for host Host[-6-Routing] couldn't be
> retrieved.
[Devdeep] The hypervisor_capabilities table needs to be updated to add 
capabilities for xenserver 6.2. Can you open a bug for this? I'll fix the issue.
 
> 
> So it maybe I need to test against XenServer 6.1 However if I try and migrate
> the primary storage for STOPPED VM I get:
> 
> 2013-07-12 10:21:33,378 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 10:null) ===START===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-
> 9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373620893684
> 2013-07-12 10:21:33,387 INFO  [cloud.server.ManagementServerImpl]
> (catalina-exec-10:null) Volume Vol[16|vm=16|ROOT] isn't attached to any
> running vm. Only volumes attached to a running VM can be migrated.
> 2013-07-12 10:21:33,392 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 10:null) ===END===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-
> 9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373620893684
[Devdeep] The api needs to be improved to handle this. Please open another bug 
request for the same.
 
> 
> 
> 
> Regards,
> 
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784
> paul.an...@shapeblue.com
> 
> -Original Message-
> From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> Sent: 12 July 2013 09:56
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: RE: [acs42] [live storage migration]
> 
> In your setup, there may not have been a suitable storage pool available for a
> volume to be migrated too. That is why the list is empty. Which hypervisor
> (and version) are you trying? How may storage pools are there in the cluster?
> 
> Regards,
> Devdeep
> 
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Friday, July 12, 2013 2:20 PM
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: [acs42] [live storage migration]
> 
> I'm looking at the live storage migration feature in acs4.2
> 
> A request for suitable pools to migration
> http://10.0.0.27:8080/client/api?command=findStoragePoolsForMigration&id
> =fa1dc489-0414-4f91-9637-
> 9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373618623834
> 
> returns
> { "findstoragepoolsformigrationresponse" : { }
> 
> Is this a bug or is the feature still a Work In Progress ?
> 
> 
> Regards
> 
> Paul Angus
> Senior Consultant / Cloud Architect
> 
> [cid:image002.png@01CE1071.C6CC9C10]
> 
> S: +44 20 3603 0540 | M:
> +447711418784
> paul.an...@shapeblue.com |
> www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
> 
> ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference
> NA
> [https://cwiki.apache.org/confluence/download/attachments/30760149/Clou
> dStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?v
> ersion=3&modificationDate=1367282397297] net/>
> 
> Apache CloudStack Bootcamp training courses
> 19/20 June, London training-course/>
> 22/23 June, Santa Clara  CA bootcamp-training-course/>
> 10/11 July, Bangalore, India bootcamp-training-course/>
> 21/22 August, London training-course/>
> 
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based upon
> its contents, nor copy or show it to anyone. Please contact the sender if you
> believe you have received this email in error. Shape Blue Ltd is a company
> incorporated in England & Wales. ShapeBlue Services India LLP is operated
> under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> This email and any atta

RE: [acs42] [live storage migration]

2013-07-12 Thread Paul Angus
Will do.

Regards,

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

-Original Message-
From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
Sent: 12 July 2013 11:44
To: dev@cloudstack.apache.org; Srikanteswararao Talluri
Subject: RE: [acs42] [live storage migration]

Hi Paul,

Please see inline.

Regards,
Devdeep

> -Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Friday, July 12, 2013 2:58 PM
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: RE: [acs42] [live storage migration]
>
> I'm using XenServer 6.2, I have 2 storage pools in that cluster and
> one in a separate cluster.
>
> Looking in the logs I've got:
>
> 2013-07-12 10:23:44,330 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 22:null) ===START===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=fa1dc489-0414-4f91-9637-
> 9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373621024636
> 2013-07-12 10:23:44,342 ERROR [cloud.server.ManagementServerImpl]
> (catalina-exec-22:null) Capabilities for host Host[-6-Routing]
> couldn't be retrieved.
[Devdeep] The hypervisor_capabilities table needs to be updated to add 
capabilities for xenserver 6.2. Can you open a bug for this? I'll fix the issue.

>
> So it maybe I need to test against XenServer 6.1 However if I try and
> migrate the primary storage for STOPPED VM I get:
>
> 2013-07-12 10:21:33,378 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 10:null) ===START===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-
> 9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373620893684
> 2013-07-12 10:21:33,387 INFO  [cloud.server.ManagementServerImpl]
> (catalina-exec-10:null) Volume Vol[16|vm=16|ROOT] isn't attached to
> any running vm. Only volumes attached to a running VM can be migrated.
> 2013-07-12 10:21:33,392 DEBUG [cloud.api.ApiServlet] (catalina-exec-
> 10:null) ===END===  10.0.0.33 -- GET
> command=findStoragePoolsForMigration&id=0a3704cf-6a23-4c18-bf90-
> 9fd701da2223&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373620893684
[Devdeep] The api needs to be improved to handle this. Please open another bug 
request for the same.

>
>
>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784 paul.an...@shapeblue.com
>
> -Original Message-
> From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> Sent: 12 July 2013 09:56
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: RE: [acs42] [live storage migration]
>
> In your setup, there may not have been a suitable storage pool
> available for a volume to be migrated too. That is why the list is
> empty. Which hypervisor (and version) are you trying? How may storage pools 
> are there in the cluster?
>
> Regards,
> Devdeep
>
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Friday, July 12, 2013 2:20 PM
> To: dev@cloudstack.apache.org; Srikanteswararao Talluri
> Subject: [acs42] [live storage migration]
>
> I'm looking at the live storage migration feature in acs4.2
>
> A request for suitable pools to migration
> http://10.0.0.27:8080/client/api?command=findStoragePoolsForMigration&;
> id
> =fa1dc489-0414-4f91-9637-
> 9fb05462f0e7&response=json&sessionkey=RKyZ0iBJcDk11IUG7pLJs57wgTE%
> 3D&_=1373618623834
>
> returns
> { "findstoragepoolsformigrationresponse" : { }
>
> Is this a bug or is the feature still a Work In Progress ?
>
>
> Regards
>
> Paul Angus
> Senior Consultant / Cloud Architect
>
> [cid:image002.png@01CE1071.C6CC9C10]
>
> S: +44 20 3603 0540 | M:
> +447711418784
> paul.an...@shapeblue.com |
> www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> ShapeBlue are proud to be sponsoring CloudStack Collaboration
> Conference NA
> [https://cwiki.apache.org/confluence/download/attachments/30760149/Clo
> u
> dStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?v
> ersion=3&modificationDate=1367282397297] net/>
>
> Apache CloudStack Bootcamp training courses
> 19/20 June, London training-course/>
> 22/23 June, Santa Clara  CA bootcamp-training-course/>
> 10/11 July, Bangalore, India bootcamp-training-course/>
> 21/22 August, London training-course/>
>
> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed.
> Any views or opinions expressed are solely those of the author and do
> not necessarily represent those of Shape Blue Ltd or related
> companies. If you are not the intended recipient of this email, you
> must neither take any action based upon its contents, nor copy or show
> it to anyone

Review Request 12505: fix white-space

2013-07-12 Thread tuna

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

Review request for cloudstack and Sebastien Goasguen.


Repository: cloudstack-git


Description
---

i fixed white-space at my first patch.


Diffs
-

  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
 cda5711 
  scripts/vm/hypervisor/xenserver/ovstunnel 9a89630 

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


Testing
---


Thanks,

tuna



Review Request 12504: CLOUDSTACK-2757. Category not persisted when config items are added

2013-07-12 Thread Likitha Shetty

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

Review request for cloudstack and Kishan Kavala.


Bugs: CLOUDSTACK-2757


Repository: cloudstack-git


Description
---

Category is not being persisted when configuration items are added in 
ConfigurationDaoImpl.getValueAndInitIfNotExist. 
Hence it will be set to 'Advanced' which is the default which will lead to 
encryption failures if encryption is enabled. 
Also cleaned up the code to use VO/DAO instead of SQL.


Diffs
-

  engine/schema/src/com/cloud/configuration/dao/ConfigurationDaoImpl.java 
fe5f5ae 

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


Testing
---


Thanks,

Likitha Shetty



Re: Review Request 12469: WIP: New implementation of LDAP authentication

2013-07-12 Thread Abhinandan Prateek


> On July 12, 2013, 9:50 a.m., Abhinandan Prateek wrote:
> > Ship It!
> 
> Sebastien Goasguen wrote:
> Abhi, I had already applied it to the ldapplugin branch. Did you apply 
> the patch somewhere else ?

No thats fine. I realised that after I have marked "ship it". Maybe Ian can 
close this request now.


- Abhinandan


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


On July 11, 2013, 1:32 p.m., Ian Duffy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12469/
> ---
> 
> (Updated July 11, 2013, 1:32 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Sebastien Goasguen.
> 
> 
> Bugs: CLOUDSTACK-2014
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adds a new implementation of the LDAP authenticator. 
> This is a work in progress and has been placed here to show my progress 
> within the GSoC program.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/configuration/ConfigurationService.java 381fcad 
>   api/src/org/apache/cloudstack/api/ApiConstants.java 83999b6 
>   api/src/org/apache/cloudstack/api/ResponseGenerator.java d8d07cb 
>   api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java 
> 38f58ec 
>   api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPRemoveCmd.java 
> 5159fba 
>   api/src/org/apache/cloudstack/api/response/LDAPConfigResponse.java bbeec63 
>   api/src/org/apache/cloudstack/api/response/LDAPRemoveResponse.java 0feec5b 
>   client/tomcatconf/applicationContext.xml.in 610fdfd 
>   client/tomcatconf/commands.properties.in f4b41a7 
>   client/tomcatconf/componentContext.xml.in 1fbec61 
>   client/tomcatconf/nonossComponentContext.xml.in ffa6281 
>   client/tomcatconf/simulatorComponentContext.xml.in 7225e84 
>   
> plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
>  7d1b43a 
>   plugins/user-authenticators/ldap/pom.xml 5c45f11 
>   
> plugins/user-authenticators/ldap/src/com/cloud/server/auth/LDAPUserAuthenticator.java
>  d928a5b 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapAddConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapDeleteConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListAllUsersCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapUserSearchCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapConfigurationResponse.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapUserResponse.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapAuthenticator.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfiguration.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfigurationVO.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapContextFactory.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManager.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUser.java 
> PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUserManager.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUtils.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoLdapUserMatchingQueryException.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoSuchLdapUserException.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDao.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDaoImpl.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/BasicNamingEnumerationImpl.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAddConfigurationCmdSpec.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAuth

Re: Review Request 12500: fix CLOUDSTACK-3495 xenserver 6.1 and 6.2 can not open vnc console

2013-07-12 Thread Abhinandan Prateek

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

Ship it!


Ship It!

- Abhinandan Prateek


On July 12, 2013, 9:58 a.m., Hongtu Zang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12500/
> ---
> 
> (Updated July 12, 2013, 9:58 a.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Devdeep Singh.
> 
> 
> Bugs: CLOUDSTACK-3495
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> change vmops getvncport function
> xenserver 6.1 and 6.2 will find the vnc-port in the same path with 6.0
> 
> 
> Diffs
> -
> 
>   scripts/vm/hypervisor/xenserver/vmops 650e955 
> 
> Diff: https://reviews.apache.org/r/12500/diff/
> 
> 
> Testing
> ---
> 
> can open vnc console in web UI
> 
> 
> Thanks,
> 
> Hongtu Zang
> 
>



Re: Review Request 12504: CLOUDSTACK-2757. Category not persisted when config items are added

2013-07-12 Thread Kishan Kavala

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

Ship it!


Looks good to me

- Kishan Kavala


On July 12, 2013, 4:26 p.m., Likitha Shetty wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12504/
> ---
> 
> (Updated July 12, 2013, 4:26 p.m.)
> 
> 
> Review request for cloudstack and Kishan Kavala.
> 
> 
> Bugs: CLOUDSTACK-2757
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Category is not being persisted when configuration items are added in 
> ConfigurationDaoImpl.getValueAndInitIfNotExist. 
> Hence it will be set to 'Advanced' which is the default which will lead to 
> encryption failures if encryption is enabled. 
> Also cleaned up the code to use VO/DAO instead of SQL.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/configuration/dao/ConfigurationDaoImpl.java 
> fe5f5ae 
> 
> Diff: https://reviews.apache.org/r/12504/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Likitha Shetty
> 
>



Re: Review Request 12504: CLOUDSTACK-2757. Category not persisted when config items are added

2013-07-12 Thread Likitha Shetty


> On July 12, 2013, 11:08 a.m., Kishan Kavala wrote:
> > Looks good to me

Thanks for reviewing Kishan.


- Likitha


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


On July 12, 2013, 10:56 a.m., Likitha Shetty wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12504/
> ---
> 
> (Updated July 12, 2013, 10:56 a.m.)
> 
> 
> Review request for cloudstack and Kishan Kavala.
> 
> 
> Bugs: CLOUDSTACK-2757
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Category is not being persisted when configuration items are added in 
> ConfigurationDaoImpl.getValueAndInitIfNotExist. 
> Hence it will be set to 'Advanced' which is the default which will lead to 
> encryption failures if encryption is enabled. 
> Also cleaned up the code to use VO/DAO instead of SQL.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/configuration/dao/ConfigurationDaoImpl.java 
> fe5f5ae 
> 
> Diff: https://reviews.apache.org/r/12504/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Likitha Shetty
> 
>



Re: Review Request 12504: CLOUDSTACK-2757. Category not persisted when config items are added

2013-07-12 Thread ASF Subversion and Git Services

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


Commit 87df51356b8d3a00c1c7a8def753de052a471b3e in branch refs/heads/4.2 from 
Likitha Shetty
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=87df513 ]

CLOUDSTACK-2757. When configs are added the value of the property 'category' is 
not persisted.


- ASF Subversion and Git Services


On July 12, 2013, 10:56 a.m., Likitha Shetty wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12504/
> ---
> 
> (Updated July 12, 2013, 10:56 a.m.)
> 
> 
> Review request for cloudstack and Kishan Kavala.
> 
> 
> Bugs: CLOUDSTACK-2757
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Category is not being persisted when configuration items are added in 
> ConfigurationDaoImpl.getValueAndInitIfNotExist. 
> Hence it will be set to 'Advanced' which is the default which will lead to 
> encryption failures if encryption is enabled. 
> Also cleaned up the code to use VO/DAO instead of SQL.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/configuration/dao/ConfigurationDaoImpl.java 
> fe5f5ae 
> 
> Diff: https://reviews.apache.org/r/12504/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Likitha Shetty
> 
>



Re: Review Request 12504: CLOUDSTACK-2757. Category not persisted when config items are added

2013-07-12 Thread ASF Subversion and Git Services

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


Commit aaaf168f5a38294ef098bdf9c60657711f6655bf in branch refs/heads/master 
from Likitha Shetty
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=aaaf168 ]

CLOUDSTACK-2757. When configs are added the value of the property 'category' is 
not persisted.


- ASF Subversion and Git Services


On July 12, 2013, 10:56 a.m., Likitha Shetty wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12504/
> ---
> 
> (Updated July 12, 2013, 10:56 a.m.)
> 
> 
> Review request for cloudstack and Kishan Kavala.
> 
> 
> Bugs: CLOUDSTACK-2757
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Category is not being persisted when configuration items are added in 
> ConfigurationDaoImpl.getValueAndInitIfNotExist. 
> Hence it will be set to 'Advanced' which is the default which will lead to 
> encryption failures if encryption is enabled. 
> Also cleaned up the code to use VO/DAO instead of SQL.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/configuration/dao/ConfigurationDaoImpl.java 
> fe5f5ae 
> 
> Diff: https://reviews.apache.org/r/12504/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Likitha Shetty
> 
>



NULL entry in folder colum in volumes table

2013-07-12 Thread Sanjay Tripathi
Hi,

I have noticed a change in the "volumes" table that CloudStack is not setting 
up the any value in "folder" column. The entry used to tell us about the 
location of volume in the primary storage, but now it is NULL. So we can't 
figure out the location where this volume is located.

Can somebody clarify if this has been done purposefully or should we treat this 
as a bug.

--Sanjay


[ACS42]Regarding the Public IP availability Count with listAccounts

2013-07-12 Thread Sailaja Mada
Hi,

This is regarding the Public IP availability Count with listAccounts . I have 
an account created and tried to get the Public IPs usage using listAccounts API.

With this available IP's are listed as 14 .   ( This 14 is the total no of free 
Public IP's that are available @ Zone )

20
0
14

For all other resources (Templates/volumes/CPU/Memory etc .. )  availability is 
calculated as (Max Limit - Total usage) .  Public IP's availability is treated 
differently from other resources.  Why ?

Thanks,
Sailaja.M



Re: Review Request 12504: CLOUDSTACK-2757. Category not persisted when config items are added

2013-07-12 Thread ASF Subversion and Git Services

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


Commit 6e160d33361e2664f261fdc17d63e947b56105fe in branch 
refs/heads/master-6-17-stable from Likitha Shetty
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6e160d3 ]

CLOUDSTACK-2757. When configs are added the value of the property 'category' is 
not persisted.


- ASF Subversion and Git Services


On July 12, 2013, 10:56 a.m., Likitha Shetty wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12504/
> ---
> 
> (Updated July 12, 2013, 10:56 a.m.)
> 
> 
> Review request for cloudstack and Kishan Kavala.
> 
> 
> Bugs: CLOUDSTACK-2757
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Category is not being persisted when configuration items are added in 
> ConfigurationDaoImpl.getValueAndInitIfNotExist. 
> Hence it will be set to 'Advanced' which is the default which will lead to 
> encryption failures if encryption is enabled. 
> Also cleaned up the code to use VO/DAO instead of SQL.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/configuration/dao/ConfigurationDaoImpl.java 
> fe5f5ae 
> 
> Diff: https://reviews.apache.org/r/12504/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Likitha Shetty
> 
>



Re: Review Request 12469: WIP: New implementation of LDAP authentication

2013-07-12 Thread Ian Duffy


> On July 12, 2013, 9:50 a.m., Abhinandan Prateek wrote:
> > Ship It!
> 
> Sebastien Goasguen wrote:
> Abhi, I had already applied it to the ldapplugin branch. Did you apply 
> the patch somewhere else ?
> 
> Abhinandan Prateek wrote:
> No thats fine. I realised that after I have marked "ship it". Maybe Ian 
> can close this request now.

Does marking it as submitted not close it?


- Ian


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


On July 11, 2013, 1:32 p.m., Ian Duffy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12469/
> ---
> 
> (Updated July 11, 2013, 1:32 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Sebastien Goasguen.
> 
> 
> Bugs: CLOUDSTACK-2014
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adds a new implementation of the LDAP authenticator. 
> This is a work in progress and has been placed here to show my progress 
> within the GSoC program.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/configuration/ConfigurationService.java 381fcad 
>   api/src/org/apache/cloudstack/api/ApiConstants.java 83999b6 
>   api/src/org/apache/cloudstack/api/ResponseGenerator.java d8d07cb 
>   api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPConfigCmd.java 
> 38f58ec 
>   api/src/org/apache/cloudstack/api/command/admin/ldap/LDAPRemoveCmd.java 
> 5159fba 
>   api/src/org/apache/cloudstack/api/response/LDAPConfigResponse.java bbeec63 
>   api/src/org/apache/cloudstack/api/response/LDAPRemoveResponse.java 0feec5b 
>   client/tomcatconf/applicationContext.xml.in 610fdfd 
>   client/tomcatconf/commands.properties.in f4b41a7 
>   client/tomcatconf/componentContext.xml.in 1fbec61 
>   client/tomcatconf/nonossComponentContext.xml.in ffa6281 
>   client/tomcatconf/simulatorComponentContext.xml.in 7225e84 
>   
> plugins/api/rate-limit/src/org/apache/cloudstack/ratelimit/ApiRateLimitServiceImpl.java
>  7d1b43a 
>   plugins/user-authenticators/ldap/pom.xml 5c45f11 
>   
> plugins/user-authenticators/ldap/src/com/cloud/server/auth/LDAPUserAuthenticator.java
>  d928a5b 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapAddConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapDeleteConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListAllUsersCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListConfigurationCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapUserSearchCmd.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapConfigurationResponse.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapUserResponse.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapAuthenticator.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfiguration.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfigurationVO.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapContextFactory.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManager.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUser.java 
> PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUserManager.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUtils.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoLdapUserMatchingQueryException.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoSuchLdapUserException.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDao.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDaoImpl.java
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/BasicNamingEnumerationImpl.groovy
>  PRE-CREATION 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAddConfigurationCmdSpec.groovy
>  PRE-CREATION 
>   
> plugi

RE: systemVM templates

2013-07-12 Thread Donal Lafferty
+1



> -Original Message-
> From: Abhinandan Prateek [mailto:cloudst...@aprateek.com]
> Sent: 12 July 2013 10:46 AM
> To: dev@cloudstack.apache.org
> Subject: systemVM templates
> 
> The cloudstack community needs to find a online space to host system VM
> templates. With 4.2 upgrade to new sytemVM templates is inevitable.
> 
> Can we request PMC to get us some space on apache infrastructure for the
> same.
> 
> -abhi


Review Request 12509: Add integration test and apache license

2013-07-12 Thread Ian Duffy

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

Review request for cloudstack, Abhinandan Prateek and Sebastien Goasguen.


Repository: cloudstack-git


Description
---

Adds a integration test for the LDAP plugin.
Inserts the apache license on all newly created files relating to my work 
excluding LdapAddConfiguration.java(Kept getting an error when attempting to 
upload a patch that modified that file).


Diffs
-

  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapDeleteConfigurationCmd.java
 364b260 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListAllUsersCmd.java
 f261f74 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListConfigurationCmd.java
 d3239e6 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapUserSearchCmd.java
 a8d3308 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapConfigurationResponse.java
 12c6ed9 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapUserResponse.java
 24d8b4d 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapAuthenticator.java
 74a15b6 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfiguration.java
 07d4879 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfigurationVO.java
 e7fe0a9 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapContextFactory.java
 918fd20 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManager.java
 980beb7 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java
 77dd33e 
  plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUser.java 
046447f 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUserManager.java
 e53a320 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUtils.java 
d7c4831 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoLdapUserMatchingQueryException.java
 3194653 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoSuchLdapUserException.java
 c089664 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDao.java
 14f9947 
  
plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDaoImpl.java
 eaeae99 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/BasicNamingEnumerationImpl.groovy
 6dd81b8 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAddConfigurationCmdSpec.groovy
 225d660 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAuthenticatorSpec.groovy
 912df30 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationDaoImplSpec.groovy
 2ceae5d 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationResponseSpec.groovy
 899267a 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationSpec.groovy
 c0208a8 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationVO.groovy
 dabf805 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapContextFactorySpec.groovy
 1f97012 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapDeleteConfigurationCmdSpec.groovy
 31a2047 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapListAllUsersCmdSpec.groovy
 ee0808e 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapListConfigurationCmdSpec.groovy
 c3ca237 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapManagerImplSpec.groovy
 689c52b 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapSearchUserCmdSpec.groovy
 64f55c3 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUserManagerSpec.groovy
 1ee7d6f 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUserResponseSpec.groovy
 f96f33d 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUserSpec.groovy
 1293a0e 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUtilsSpec.groovy
 3133493 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/NoLdapUserMatchingQueryExceptionSpec.groovy
 e2b78dd 
  
plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/NoSuchLdapUserExceptionSpec.groovy
 ece8d4b 
  test/integration/component/test_ldap.py fc3bd48 

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


Testing
---

The integration test was executed against a windows active directory server. 

The following

RE: [ACS42] Regarding HyperV is support with 4.2

2013-07-12 Thread Donal Lafferty
AFAIK, the UI was updated for Master, and not 4.1 or 4.2, but...

You can make the message go away by installing the Hyper-V plugin's server 
component.  It is undergoing functional testing, and it should appear in a 
Review Board request towards the end of the day.
 
If you want to control a Hyper-V server, install the agent.  The source is at 
https://github.com/lafferty/cshv3.  An ASF-compatible build and deploy strategy 
should be worked out in the next week or so.  However, it's the agent is not 
production quality.

DL

> -Original Message-
> From: Sailaja Mada [mailto:sailaja.m...@citrix.com]
> Sent: 12 July 2013 6:24 AM
> To: dev@cloudstack.apache.org
> Subject: [ACS42] Regarding HyperV is support with 4.2
> 
> Hi,
> 
> This is regarding HyperV  support with 4.2.  While adding the cluster /Host ,
> Hyperv is getting listed in the dropdown for selection.
> 
> But when I tried to add It failed with "Could not find corresponding resource
> manager for Hyperv".
> 
> AFAIK, we do not support Hyperv with 4.2 .   Is it UI issue ?  Please correct 
> me
> about this.
> 
> Thanks,
> Sailaja.M
> 



Re: Review Request 12509: Add integration test and apache license

2013-07-12 Thread Sebastien Goasguen

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

Ship it!


applied cleanly to ldapplugin branch 215aa0372baafc28461e8e1b1fd25c258bfa8ed4
mark review as submitted
thx

- Sebastien Goasguen


On July 12, 2013, 12:20 p.m., Ian Duffy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12509/
> ---
> 
> (Updated July 12, 2013, 12:20 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Sebastien Goasguen.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adds a integration test for the LDAP plugin.
> Inserts the apache license on all newly created files relating to my work 
> excluding LdapAddConfiguration.java(Kept getting an error when attempting to 
> upload a patch that modified that file).
> 
> 
> Diffs
> -
> 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapDeleteConfigurationCmd.java
>  364b260 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListAllUsersCmd.java
>  f261f74 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapListConfigurationCmd.java
>  d3239e6 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapUserSearchCmd.java
>  a8d3308 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapConfigurationResponse.java
>  12c6ed9 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/response/LdapUserResponse.java
>  24d8b4d 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapAuthenticator.java
>  74a15b6 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfiguration.java
>  07d4879 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapConfigurationVO.java
>  e7fe0a9 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapContextFactory.java
>  918fd20 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManager.java
>  980beb7 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java
>  77dd33e 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUser.java 
> 046447f 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUserManager.java
>  e53a320 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapUtils.java
>  d7c4831 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoLdapUserMatchingQueryException.java
>  3194653 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/NoSuchLdapUserException.java
>  c089664 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDao.java
>  14f9947 
>   
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/dao/LdapConfigurationDaoImpl.java
>  eaeae99 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/BasicNamingEnumerationImpl.groovy
>  6dd81b8 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAddConfigurationCmdSpec.groovy
>  225d660 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapAuthenticatorSpec.groovy
>  912df30 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationDaoImplSpec.groovy
>  2ceae5d 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationResponseSpec.groovy
>  899267a 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationSpec.groovy
>  c0208a8 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapConfigurationVO.groovy
>  dabf805 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapContextFactorySpec.groovy
>  1f97012 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapDeleteConfigurationCmdSpec.groovy
>  31a2047 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapListAllUsersCmdSpec.groovy
>  ee0808e 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapListConfigurationCmdSpec.groovy
>  c3ca237 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapManagerImplSpec.groovy
>  689c52b 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapSearchUserCmdSpec.groovy
>  64f55c3 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack/ldap/LdapUserManagerSpec.groovy
>  1ee7d6f 
>   
> plugins/user-authenticators/ldap/test/groovy/org/apache/cloudstack

Re: Review Request 12505: fix white-space

2013-07-12 Thread Sebastien Goasguen

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

Ship it!


applied cleanly to sdnextensions branch 2b8389584963a76ee5d1f1e780d6f73a1a093a46
mark as submitted

- Sebastien Goasguen


On July 12, 2013, 10:57 a.m., tuna wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12505/
> ---
> 
> (Updated July 12, 2013, 10:57 a.m.)
> 
> 
> Review request for cloudstack and Sebastien Goasguen.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> i fixed white-space at my first patch.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
>  cda5711 
>   scripts/vm/hypervisor/xenserver/ovstunnel 9a89630 
> 
> Diff: https://reviews.apache.org/r/12505/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> tuna
> 
>



Re: Review Request 12469: WIP: New implementation of LDAP authentication

2013-07-12 Thread David Nalley
On Fri, Jul 12, 2013 at 7:58 AM, Ian Duffy  wrote:
>
>
>> On July 12, 2013, 9:50 a.m., Abhinandan Prateek wrote:
>> > Ship It!
>>
>> Sebastien Goasguen wrote:
>> Abhi, I had already applied it to the ldapplugin branch. Did you apply 
>> the patch somewhere else ?
>>
>> Abhinandan Prateek wrote:
>> No thats fine. I realised that after I have marked "ship it". Maybe Ian 
>> can close this request now.
>
> Does marking it as submitted not close it?
>
>
> - Ian
>

It was not marked as submitted when I looked. I have marked it as
submitted now.

--David


Re: Adding git commit ids to our packaging...

2013-07-12 Thread David Nalley
On Thu, Jul 11, 2013 at 11:05 PM, Alex Huang  wrote:
> Will work on making it nicer but do we want to put this information into 
> release?  Is there any harm to have this in the release build?  I can't think 
> of any off-hand.  If we don't want them, we can change build_asf.sh to  set 
> those two variables to something nicer.  If we want them, I might be able to 
> get it to read this information from a file instead.
>
> --Alex
>

Thanks for putting the work in to get this done.
I agree - no harm in having this in the release build, and could be
very useful to boot.
I personally would like to see this information, present - setting it
at tarball creation makes sense to me.

--David


Re: Adding git commit ids to our packaging...

2013-07-12 Thread Chip Childers
On Fri, Jul 12, 2013 at 09:48:12AM -0400, David Nalley wrote:
> On Thu, Jul 11, 2013 at 11:05 PM, Alex Huang  wrote:
> > Will work on making it nicer but do we want to put this information into 
> > release?  Is there any harm to have this in the release build?  I can't 
> > think of any off-hand.  If we don't want them, we can change build_asf.sh 
> > to  set those two variables to something nicer.  If we want them, I might 
> > be able to get it to read this information from a file instead.
> >
> > --Alex
> >
> 
> Thanks for putting the work in to get this done.
> I agree - no harm in having this in the release build, and could be
> very useful to boot.
> I personally would like to see this information, present - setting it
> at tarball creation makes sense to me.
> 
> --David
>

+1

The only reason it was removed previously was that it was breaking the
build process when someone tried to build from the release tarball.  If
we want to drop the details into the release archive before tar'ing,
great!

The only other minor concern would be the release verification process
will have to be updated to account for the fact that we'll have one file
(or some lines) that are different between the actual tagged commit in
the repo and what's in the tarball.  As far as I know, that's just a
process change for us.  Easy...

-chip


Optimising Google Searches

2013-07-12 Thread Donal Lafferty
Google often returns the .html version of cwiki, which is scary and ugly.

Does anyone know how to get it return only the 'confluence' version?

E.g.

Ugly:  
https://cwiki.apache.org/CLOUDSTACK/setting-up-a-cloudstack-dev-environment-on-windows.html

Confluence:  
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows


Review Request 12510: CLOUDSTACK 3476 : deleteDomain api should fail when release dedicated resource to that domain fails:

2013-07-12 Thread Saksham Srivastava

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

Review request for cloudstack, Alena Prokharchyk and Devdeep Singh.


Bugs: 3476


Repository: cloudstack-git


Description
---

In case the release dedicate resource fails, deletion of domain should not 
happen. 
Whenever deleting a domain all the resources dedicated to it must be released 
of dedication and moved to shared pool. 
Currently even if release API fails the deleteDomain API is executed 
successfully. 

Further if there are dedicated resources to a domiain and cleanup is not true, 
resources should not be released.
Added checks to prohibit this behaviour.


Diffs
-

  server/src/com/cloud/user/DomainManagerImpl.java aad5787 

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


Testing
---

If domain has dedicated resources, cleanup=true will release dedication and 
delete the domain.
cleanup=false will not release dedication and will not delete the domain.


Thanks,

Saksham Srivastava



Re: Optimising Google Searches

2013-07-12 Thread David Nalley
add inurl:https://cwiki.apache.org/confluence/display/CLOUDSTACK/  to
your search string in google.

That said, the exports are rapidly going away - I will inquire with
infra what the plan is about deprecating that.

--David


On Fri, Jul 12, 2013 at 9:57 AM, Donal Lafferty
 wrote:
> Google often returns the .html version of cwiki, which is scary and ugly.
>
> Does anyone know how to get it return only the 'confluence' version?
>
> E.g.
>
> Ugly:  
> https://cwiki.apache.org/CLOUDSTACK/setting-up-a-cloudstack-dev-environment-on-windows.html
>
> Confluence:  
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows


Review Request 12513: Add documentation for new ldap implementation.

2013-07-12 Thread Ian Duffy

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

Review request for cloudstack, Abhinandan Prateek and Sebastien Goasguen.


Repository: cloudstack-git


Description
---

Updates the documentation for the new implementation of the LDAP Plugin.
The plugin is a WIP and this documentation will be updated in parallel.


Diffs
-

  docs/en-US/LDAP-for-user-authentication.xml PRE-CREATION 
  docs/en-US/LDAPserver-for-user-authentication.xml 376631c 
  docs/en-US/accounts.xml aa62f68 
  docs/en-US/example-LDAP-configuration-commands.xml e557386 
  docs/en-US/example-activedirectory-configuration.xml PRE-CREATION 
  docs/en-US/example-openldap-configuration.xml PRE-CREATION 
  docs/en-US/images/add-ldap-configuration-ad.png PRE-CREATION 
  docs/en-US/images/add-ldap-configuration-openldap.png PRE-CREATION 
  docs/en-US/query-filter.xml 1c0e493 
  docs/en-US/search-user-bind-dn.xml a2d8b6a 

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


Testing
---

Complied with publican


Thanks,

Ian Duffy



Re: Specifying Storage Provider for Primary Storage Creation/Registration

2013-07-12 Thread La Motta, David
Mike, Edison, et al., this brings up the question of what UI will be displayed 
when the user selects a storage vendor's plugin implementation.  In other 
words, IMO the ideal scenario is to have the ability to allow the storage 
plugin's implementer to display a custom UI.  That way, the traditional 
add-primary-storage form is replaced with whatever the vendor decides to 
provide _to_meet_their_needs_.  This could be a longer form with different 
fields, a wizard, basically... anything.

Now, the one-or-nothing approach is a bit draconian, so the new implementation 
could be a bit flexible and display the default add-primary-storage form if the 
vendor isn't providing a UI.  This also means that a new mechanism has to be 
added to query a vendor's implementation to see if a UI is going to be provided 
or not.

In general, I believe this gives the most flexibility to storage [or any other] 
plugin implementers, since it gives them the ability to fulfill a UI request 
with something a little more custom.  And I'm not thinking in terms of branding 
or anything like that, I am thinking in terms of giving the ability to the 
vendor to capture other important info to be able to complete the request in 
the first place.


David La Motta
Technical Marketing Engineer
Citrix Solutions

NetApp
919.476.5042
dlamo...@netapp.com



On Jul 11, 2013, at 8:09 PM, Mike Tutkowski 
mailto:mike.tutkow...@solidfire.com>>
 wrote:

Yeah, I can log a bug on that.


On Thu, Jul 11, 2013 at 4:15 PM, Edison Su 
mailto:edison...@citrix.com>> wrote:

Definitely, we need to fire a bug for UI to show up all the storage
plugins, when adding primary storage.
Could you help to fire a bug, or fix it?:)

-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
Sent: Thursday, July 11, 2013 1:49 PM
To: dev@cloudstack.apache.org
Subject: Re: Specifying Storage Provider for Primary Storage
Creation/Registration

Oh, I see what you're asking. :)

At present, the GUI only supports the default plug-in (i.e. not the
SolidFire
one).

If you want to specify one that is not the default, it must be done via
the API.


On Thu, Jul 11, 2013 at 2:45 PM, SuichII, Christopher <
chris.su...@netapp.com> wrote:

But how do you specify it in the UI? The add primary storage popup
doesn't have a field for provider.

Chris

On Jul 11, 2013, at 4:43 PM, Mike Tutkowski
mailto:mike.tutkow...@solidfire.com>>
wrote:

If you leave it off (it's an optional parameter), you'll get the
default.

If you specify "SolidFire", you'll get mine.

If you'd like to specify the default, it is "DefaultPrimary".

Hope that helps. :)


On Thu, Jul 11, 2013 at 2:39 PM, SuichII, Christopher <
chris.su...@netapp.com> wrote:

I'm trying to figure out how to specify which storage provider
should be used when creating a new primary storage pool. Th
CreateStoragePoolCmd takes the parameter 'provider' which seems to
be what is used to pick
the
storage provider, but I can't find anywhere in the UI that this can
be specified or added to the createStoragePool API call.

Mike T or Edison (or anyone else), do you know how to actually
specify this?

Thanks,
Chris




--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*(tm)*




--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*(tm)*




--
*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 12513: Add documentation for new ldap implementation.

2013-07-12 Thread Sebastien Goasguen

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

Ship it!


I applied it to master with 48abf3c98dfe0f1aad6740e09366372136fccc69
Docs are fine in master, that will save us this in the merge

mark as submitted

thanks

- Sebastien Goasguen


On July 12, 2013, 2:13 p.m., Ian Duffy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12513/
> ---
> 
> (Updated July 12, 2013, 2:13 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Sebastien Goasguen.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Updates the documentation for the new implementation of the LDAP Plugin.
> The plugin is a WIP and this documentation will be updated in parallel.
> 
> 
> Diffs
> -
> 
>   docs/en-US/LDAP-for-user-authentication.xml PRE-CREATION 
>   docs/en-US/LDAPserver-for-user-authentication.xml 376631c 
>   docs/en-US/accounts.xml aa62f68 
>   docs/en-US/example-LDAP-configuration-commands.xml e557386 
>   docs/en-US/example-activedirectory-configuration.xml PRE-CREATION 
>   docs/en-US/example-openldap-configuration.xml PRE-CREATION 
>   docs/en-US/images/add-ldap-configuration-ad.png PRE-CREATION 
>   docs/en-US/images/add-ldap-configuration-openldap.png PRE-CREATION 
>   docs/en-US/query-filter.xml 1c0e493 
>   docs/en-US/search-user-bind-dn.xml a2d8b6a 
> 
> Diff: https://reviews.apache.org/r/12513/diff/
> 
> 
> Testing
> ---
> 
> Complied with publican
> 
> 
> Thanks,
> 
> Ian Duffy
> 
>



Re: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-12 Thread John Burwell
All,

I have assembled a wiki topic [1] that describes the process for creating Riak 
CS and Swift development/test environments using Vagrant and VirtualBox.  I 
created a  Devstack Vagrant configuration [2], and, following further testing 
and feedback, I plan to submit it to the OpenStack project.  Therefore, please 
let me know if you have any problems (or send a PR), and I will fix them.

Thanks,
-John

[1]: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Object+Storage+Dev-Test+Environments
[2]: https://github.com/jburwell/devstack

On Jul 12, 2013, at 5:53 AM, Sebastien Goasguen  wrote:

> FYI,
> 
> 6 months ago there was a discuss on linked in with Gerry Havinga who 
> apparently was working on the swiftstack integration:
> http://www.linkedin.com/groups/Little-bit-help-installing-Cloudstack-3144859%2ES%2E203595045?qid=da98b8b1-6ebc-4218-a541-79982bc8cc1f&trk=group_items_see_more-0-b-ttl
> 
> And today I saw a post on twitter which claimed that softlayer was using 
> swift 
> 
> 
> On Jul 11, 2013, at 6:06 PM, Edison Su  wrote:
> 
>> Thanks in advance. I'll ping you offline.
>> BTW, if there is no object, I'll write swift api against whatever supported 
>> by Dreamhost objects, as they are the only vendor I can test.
>> 
>>> -Original Message-
>>> From: Neil Levine [mailto:neil.lev...@inktank.com]
>>> Sent: Thursday, July 11, 2013 1:27 PM
>>> To: dev@cloudstack.apache.org
>>> Subject: Re: Swift in 4.2 is broken, anybody wants it to be supported in 
>>> 4.2?
>>> 
>>> Dreamhost Objects runs Ceph on the backend which supports both the S3
>>> and the Swift API. If you ping me offline, I can give you some test account
>>> details.
>>> 
>>> Neil
>>> 
>>> 
>>> On Thu, Jul 11, 2013 at 10:14 AM, Alex Huang 
>>> wrote:
>>> 
 Dave,
 
 It also has to be with native swift API.  It can't be exposing S3 API
 or their own API but using swift in the back end.
 
 --Alex
 
> -Original Message-
> From: David Nalley [mailto:da...@gnsa.us]
> Sent: Thursday, July 11, 2013 7:45 AM
> To: dev@cloudstack.apache.org
> Subject: Re: Swift in 4.2 is broken, anybody wants it to be
> supported in
 4.2?
> 
> On Thu, Jul 11, 2013 at 10:42 AM, Chip Childers <
 chip.child...@sungard.com>
> wrote:
>> On Thu, Jul 11, 2013 at 10:39 AM, David Nalley  wrote:
>>> On Thu, Jul 11, 2013 at 10:37 AM, Joe Brockmeier 
> wrote:
 On Wed, Jul 10, 2013, at 05:53 PM, Edison Su wrote:
> Oh man, my two hours are wasted on devstack already. After
> installed devstack, there is no swift service at all.
 
 For Edison, and anybody else who wants to use Swift with
 CloudStack, what about SwiftStack?
 
 http://swiftstack.com/docs/install/index.html
 
 I think you have to request a trial account, but it looks not
 overly difficult.
 
 Best,
 
 jzb
 --
 Joe Brockmeier
 j...@zonker.net
 Twitter: @jzb
 http://www.dissociatedpress.net/
>>> 
>>> I am curious why we'd set this up at all?
>>> There are several public cloud providers offering swift as a service.
>>> If all we are doing is testing, why wouldn't we just use one of them?
>>> 
>>> --David
>>> 
>> 
>> Any *free* ones?  ;-)
> 
> So I know of at least one project that has free access - let me
> confirm
 with
> the provider that they'd be amenable to us using it.
> 
> --David
 
> 



Re: [GSoC] sdnextensions branch

2013-07-12 Thread Nguyen Anh Tu
Hi guys,

I'm working on this branch to improve the current native sdn controller.
Firstly I already made it supports to XCP 1.6. Now I'm working on
integrating an open-source OpenFlow controller to control and manage
virtual switches via OpenFlow protocol. The current SDN controller is
missing amount of network services, so hopefully in the GSOC2013 period I
can add features as much as possible. Please feel free to review and
comment to my patches.

Thanks,


2013/7/12 Sebastien Goasguen 

> Hi, heads up that Nguyen has submitted patches to make the ovs gre tunnel
> manager work with XCP 1.6
>
> The feature branch is sdnextensions
>
> He will work in this branch until we call for final review and a merge in
> 4.3
>
> -sebastien




-- 

N.g.U.y.e.N.A.n.H.t.U


Re: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-12 Thread Chip Childers
On Fri, Jul 12, 2013 at 10:40 AM, John Burwell  wrote:
> All,
>
> I have assembled a wiki topic [1] that describes the process for creating 
> Riak CS and Swift development/test environments using Vagrant and VirtualBox. 
>  I created a  Devstack Vagrant configuration [2], and, following further 
> testing and feedback, I plan to submit it to the OpenStack project.  
> Therefore, please let me know if you have any problems (or send a PR), and I 
> will fix them.
>
> Thanks,
> -John
>
> [1]: 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Object+Storage+Dev-Test+Environments
> [2]: https://github.com/jburwell/devstack

John, this is awesome!

Edison, Does this help you out?


Re: [ACS42] Issues that are resolved but not closed yet

2013-07-12 Thread Chip Childers
Perhaps use a mass-update of these tickets to simply add a comment
asking for validation and closure?

On Fri, Jul 12, 2013 at 06:23:46AM +, Animesh Chaturvedi wrote:
> We have large number of issues (510) that are resolved but not closed yet. 
> Here is the list by reporter. Please review the issues and help bring them to 
> closure.
> 
> Abhinandan Prateek
>   CLOUDSTACK-2321
>   Fix the response of scaleVMCmd
>   CLOUDSTACK-3136
>   Support for "Ubuntu 11.04" and "Centos 6.3" guest OS type
> 
> Abhinav Roy
>   CLOUDSTACK-3395
>   [UI][VM_Snapshot] TypeError: json.reverttosnapshotresponse is undefined 
> ... when we try to revert to a VM snapshot from UI
> 
> Alena Prokharchyk
>   CLOUDSTACK-1551
>   Failed to list clusters due to NPE at 
> createClusterResponse(ApiResponseHelper.java:837) when cluster is added 
> automatically as a part of addHostCommand
>   CLOUDSTACK-1560
>   RSA key gets overridden on every management server startup
>   CLOUDSTACK-1582
>   Merge conflict caused by merging 
> 4ea36b82e9bb88e75f98982f8c302719f7520f2d from 4.1 to master, wasn't resolved 
> correctly
>   CLOUDSTACK-2743
>   [VPC UI] Create Internal LB rule: sourcePort/instancePort edit boxes 
> titles should begin with uppercase letter
>   CLOUDSTACK-2744
>   [VPC UI] Create Network offering (VPC): when Public type of the LB 
> selected, don't show internalLBVm in the list of providers
>   CLOUDSTACK-2745
>   [VPC UI] Internal LB rules view: display source and instance port info 
> on the general view
>   CLOUDSTACK-2746
>   [VPC UI]: when tier with Internal LB is created, UI doesn't let you 
> create the tier with public LB
>   CLOUDSTACK-2843
>   Support parallel VM deployment with CloudStack
>   CLOUDSTACK-2844
>   [VPC] [UI] - grey out "Internal LB" section on the tier where the 
> feature is not enabled. The same for Public LB
>   CLOUDSTACK-2883
>   Add default network offering with Internal LB support
>   CLOUDSTACK-3079
>   Unable to change interval of host PingCommand as global parameter 
> ping.timeout is not used in calculating interval
>   CLOUDSTACK-3119
>   Shared network removal doesn't cleanup corresponding IP ranges
>   CLOUDSTACK-3128
>   deployVm does not guearentee network interface order inside VM when 
> called with ipToNetwork list parameter
>   CLOUDSTACK-3169
>   [EIP/ELB] [Projects] associateIpAddress fails when executed by non-ROOT 
> admin account from projects view
>   CLOUDSTACK-3249
>   [Object_Store_Refactor] Unable to deployVm from template when the 
> management server was restarted in the middle of Secondary to Primary storage 
> template download
>   CLOUDSTACK-3455
>   deleteDomain doesn't cleanup the domain level networks
>   CLOUDSTACK-3458
>   Network GC thread - fails to stop the router in multiple Management 
> server cluster environment
> 
> angeline shen
>   CLOUDSTACK-1352
>   KVM 6.3 snapshot - when snapshot of ROOT volume is being created, 
> snapshot of data volume remains in Creating state
>   CLOUDSTACK-1439
>   Baremetal - UI/API security group unable to set egress rule > UI 
> displays args.context.networks is undefined
>   CLOUDSTACK-1440
>   Baremetal - Destroy VM fail due to 
> com.cloud.exception.OperationTimedoutException
>   CLOUDSTACK-1610
>   Baremetal API addBaremetalPxeKickStartServer fail to prepare PXE server 
> causing create instance with Kickstart style image to fail
>   CLOUDSTACK-1614
>   Baremetal - Reboot VM fail
>   CLOUDSTACK-1618
>   Baremetal - Stop VM fail
>   CLOUDSTACK-2197
>   Management Server unable to start up
>   CLOUDSTACK-2219
>   SRX - Unable to ssh VM even when TCP port 22 rule set, able to ping VM 
> even when no ICMP rule set
>   CLOUDSTACK-2220
>   SRX - By default, egress traffic is NOT BLOCKED from guest network to 
> public network
>   CLOUDSTACK-2614
>   PVLAN UbuntGu 13.04 host - Unable to start SSVM due to Cannot run 
> program on Ununtu host 
> "/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl : 
> Permission denied
>   CLOUDSTACK-2636
>   PVLAN UI: physical network> Guest network > Add IP range FAIL with 
> error 'Gateway netmask and zoneid have to be passed in for virtual and direct 
> untagged networks
>   CLOUDSTACK-2869
>   ASF 4.2.0 UI - network tab missing - undefined
>   CLOUDSTACK-2886
>   storage vmotion - vmware dvswitch - migrate VM to another primary 
> storage fail
>   CLOUDSTACK-2900
>   Ubuntu 13.04 - Migrate Virtual Router fail - Unable to find the VM by 
> id=
>   CLOUDSTACK-2901
>   Ubuntu 13.04 - Migrate guest VM fail - async jobs not completed
>   
> Bharat Kumar
>   CLOUDSTACK-1823
>   Cpu and ram are incorrectly set in the hypervisor guru base
>   CLOUDSTACK-2432
>   AES NI

RE: Optimising Google Searches

2013-07-12 Thread Donal Lafferty
Thanks Dave!

>From a marketing point of view, it will be good to have the .html URLs gone 
>altogether :)

> -Original Message-
> From: David Nalley [mailto:da...@gnsa.us]
> Sent: 12 July 2013 3:00 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Optimising Google Searches
> 
> add inurl:https://cwiki.apache.org/confluence/display/CLOUDSTACK/  to
> your search string in google.
> 
> That said, the exports are rapidly going away - I will inquire with infra what
> the plan is about deprecating that.
> 
> --David
> 
> 
> On Fri, Jul 12, 2013 at 9:57 AM, Donal Lafferty 
> wrote:
> > Google often returns the .html version of cwiki, which is scary and ugly.
> >
> > Does anyone know how to get it return only the 'confluence' version?
> >
> > E.g.
> >
> > Ugly:
> > https://cwiki.apache.org/CLOUDSTACK/setting-up-a-cloudstack-dev-
> enviro
> > nment-on-windows.html
> >
> > Confluence:
> >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+Cl
> > oudStack+dev+environment+on+Windows


Re: Specifying Storage Provider for Primary Storage Creation/Registration

2013-07-12 Thread John Burwell
David,

The capability you are describing is the generic properties idea that we 
discuss at Collab (see http://markmail.org/message/jtntptrouvvzsdgi for a 
capture).  Essentially, drivers would be alb to provide meta-data definition 
for a property bag associated with DataStore instances.  This metadata would be 
used to render additional fields on the UI based on the driver selected.   We 
would also add callbacks to the driver to validate the property bag before 
persisting it to ensure that validity of its contents.  Finally, this property 
bag would be passed into all driver operations -- allowing underlying 
operations to exploit the additional configuration information.

What do you think the requirements of such a facility would be?

Thanks,
-John

On Jul 12, 2013, at 10:40 AM, "La Motta, David"  
wrote:

> Mike, Edison, et al., this brings up the question of what UI will be 
> displayed when the user selects a storage vendor's plugin implementation.  In 
> other words, IMO the ideal scenario is to have the ability to allow the 
> storage plugin's implementer to display a custom UI.  That way, the 
> traditional add-primary-storage form is replaced with whatever the vendor 
> decides to provide _to_meet_their_needs_.  This could be a longer form with 
> different fields, a wizard, basically... anything.
> 
> Now, the one-or-nothing approach is a bit draconian, so the new 
> implementation could be a bit flexible and display the default 
> add-primary-storage form if the vendor isn't providing a UI.  This also means 
> that a new mechanism has to be added to query a vendor's implementation to 
> see if a UI is going to be provided or not.
> 
> In general, I believe this gives the most flexibility to storage [or any 
> other] plugin implementers, since it gives them the ability to fulfill a UI 
> request with something a little more custom.  And I'm not thinking in terms 
> of branding or anything like that, I am thinking in terms of giving the 
> ability to the vendor to capture other important info to be able to complete 
> the request in the first place.
> 
> 
> David La Motta
> Technical Marketing Engineer
> Citrix Solutions
> 
> NetApp
> 919.476.5042
> dlamo...@netapp.com
> 
> 
> 
> On Jul 11, 2013, at 8:09 PM, Mike Tutkowski 
> mailto:mike.tutkow...@solidfire.com>>
> wrote:
> 
> Yeah, I can log a bug on that.
> 
> 
> On Thu, Jul 11, 2013 at 4:15 PM, Edison Su 
> mailto:edison...@citrix.com>> wrote:
> 
> Definitely, we need to fire a bug for UI to show up all the storage
> plugins, when adding primary storage.
> Could you help to fire a bug, or fix it?:)
> 
> -Original Message-
> From: Mike Tutkowski 
> [mailto:mike.tutkow...@solidfire.com]
> Sent: Thursday, July 11, 2013 1:49 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Specifying Storage Provider for Primary Storage
> Creation/Registration
> 
> Oh, I see what you're asking. :)
> 
> At present, the GUI only supports the default plug-in (i.e. not the
> SolidFire
> one).
> 
> If you want to specify one that is not the default, it must be done via
> the API.
> 
> 
> On Thu, Jul 11, 2013 at 2:45 PM, SuichII, Christopher <
> chris.su...@netapp.com> wrote:
> 
> But how do you specify it in the UI? The add primary storage popup
> doesn't have a field for provider.
> 
> Chris
> 
> On Jul 11, 2013, at 4:43 PM, Mike Tutkowski
> mailto:mike.tutkow...@solidfire.com>>
> wrote:
> 
> If you leave it off (it's an optional parameter), you'll get the
> default.
> 
> If you specify "SolidFire", you'll get mine.
> 
> If you'd like to specify the default, it is "DefaultPrimary".
> 
> Hope that helps. :)
> 
> 
> On Thu, Jul 11, 2013 at 2:39 PM, SuichII, Christopher <
> chris.su...@netapp.com> wrote:
> 
> I'm trying to figure out how to specify which storage provider
> should be used when creating a new primary storage pool. Th
> CreateStoragePoolCmd takes the parameter 'provider' which seems to
> be what is used to pick
> the
> storage provider, but I can't find anywhere in the UI that this can
> be specified or added to the createStoragePool API call.
> 
> Mike T or Edison (or anyone else), do you know how to actually
> specify this?
> 
> Thanks,
> Chris
> 
> 
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *(tm)*
> 
> 
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *(tm)*
> 
> 
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@s

Re: [GSOC] Update to document

2013-07-12 Thread Nguyen Anh Tu
@Sebgoa: I added my first update progress report on blogspot. Like Ian
Duffy, It's also my primary channel to report. From now until the end, I
will frequently update to the blog and then transfer to ACS document.

Please take a look on it: http://ngtuna.blogspot.com/


2013/7/8 Dharmesh Kakadia 

> @sebgoa Thanks for the clear spec.
>
> 1. My intro post is already done.
> 2. install and run post will follow.
> 3. stackmate blog with whirr/provisionr comparison
>
> I will check whirr driver possibility.
>
> Thanks,
> Dharmesh
>
>
>
>
> On Mon, Jul 8, 2013 at 1:03 PM, Sebastien Goasguen 
> wrote:
>
> >
> > On Jul 6, 2013, at 7:14 AM, Dharmesh Kakadia 
> wrote:
> >
> > > I will update the report. I am aware that a "Intro to Mesos" post is
> also
> > > pending from my side. Want to write on my experience while doing
> changes
> > on
> > > large and active code base too, but that is gona take some time.
> > >
> > > I am little off in my timeline. I plan to get mesos on cloudstack
> working
> > > by midterm and shift focus on cloudformation from there. I would also
> > like
> > > to know if there is any particular expectation.
> > >
> >
> > In your case, I would like to see an intro to Mesos (your first post,
> plus
> > basic quick install steps, plus examples of running jobs in hadoop and
> > mpi), plus basic steps of starting VMs in cloudstack and setting up Mesos
> > on those VMs. Plus a discussions on how stackmate will help with the
> > deployment and how it differs from whirr/provisionr. While stackamte is
> an
> > interesting way to go, I also think that you could easily patch whirr to
> > provide a "driver" for Mesos, it would be a nice contribution to whirr.
> >
> > -sebastien
> >
> >
> > > Thanks,
> > > Dharmesh
> > >
> > >
> > > On Fri, Jul 5, 2013 at 6:48 PM, Sebastien Goasguen 
> > wrote:
> > >
> > >> Hi guys,
> > >>
> > >> I modified the format of our "report", I moved the proposals to a
> > chapter
> > >> and started a new chapter called "updates".
> > >> Each of you should use a section to write a small report/updates on
> your
> > >> progress so far.
> > >>
> > >> You can see the doc at:
> > >>
> > >>
> >
> http://jenkins.cloudstack.org/job/docs-4.3-gsoc-guide/lastSuccessfulBuild/artifact/Apache_CloudStack-4.2.0-CloudStack_GSoC_Guide-en-US.pdf
> > >>
> > >> Your respective sections should be self-explanatory when you checkout
> > the
> > >> code.
> > >>
> > >> We will use this for the mid-summer evaluation that Google
> wants/needs.
> > >>
> > >> A good example of progress report is from Ian at:
> > >>
> > >> http://imduffy15.blogspot.co.uk
> > >>
> > >> You can include specific things about your project but also things
> > related
> > >> to CloudStack itself, what you are learning (jira, git etc..) and what
> > you
> > >> contributed so far outside your project (e.g Meng gave us the quick
> > install
> > >> guide for 4.1 and Dharmesh is looking at a significant update to the
> > code
> > >> with CLOUDSTACK-212)
> > >>
> > >> Cheers,
> > >>
> > >> -Sebastien
> >
> >
>



-- 

N.g.U.y.e.N.A.n.H.t.U


Does the default Xen SystemVM Template understand S3?

2013-07-12 Thread Donal Lafferty
AFAIK, the database deploy script in Master sets the Xen SystemVM URL to 
http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2

Is this SystemVM image aware of S3 object store?

If now, can someone recommend a Xen image that both works and works with S3?


DL




Re: Review Request 12510: CLOUDSTACK 3476 : deleteDomain api should fail when release dedicated resource to that domain fails:

2013-07-12 Thread Alena Prokharchyk

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


1) Replace

hasDedicatedResources == false

with 

!hasDedicatedResources


and else if (hasDedicatedResources == true) {

with 

else if (hasDedicatedResources) {


2) Add "rollbackState=true" to this statement:

for (DedicatedResourceVO dr : dedicatedResources){
if (!_dedicatedDao.remove(dr.getId())) {
s_logger.warn("Fail to release dedicated 
resources for domain " + domain.getId());

return false;
}
}

- Alena Prokharchyk


On July 12, 2013, 2:01 p.m., Saksham Srivastava wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12510/
> ---
> 
> (Updated July 12, 2013, 2:01 p.m.)
> 
> 
> Review request for cloudstack, Alena Prokharchyk and Devdeep Singh.
> 
> 
> Bugs: 3476
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> In case the release dedicate resource fails, deletion of domain should not 
> happen. 
> Whenever deleting a domain all the resources dedicated to it must be released 
> of dedication and moved to shared pool. 
> Currently even if release API fails the deleteDomain API is executed 
> successfully. 
> 
> Further if there are dedicated resources to a domiain and cleanup is not 
> true, resources should not be released.
> Added checks to prohibit this behaviour.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/user/DomainManagerImpl.java aad5787 
> 
> Diff: https://reviews.apache.org/r/12510/diff/
> 
> 
> Testing
> ---
> 
> If domain has dedicated resources, cleanup=true will release dedication and 
> delete the domain.
> cleanup=false will not release dedication and will not delete the domain.
> 
> 
> Thanks,
> 
> Saksham Srivastava
> 
>



Re: [UI][[GSoC] Feedback on UI prototype with angular.js

2013-07-12 Thread Kelcey Jamison Damage
I went through some of the code and I like much of what I see, but I don't have 
a system right now that I can deploy and test this on. Does anyone have a demo 
build?

Thanks

- Original Message -
From: "Sebastien Goasguen" 
To: dev@cloudstack.apache.org, "Shiva Teja" 
Sent: Friday, July 12, 2013 12:45:11 AM
Subject: [UI][[GSoC] Feedback on UI prototype with angular.js

Hi folks,

Shiva Teja a GSoC student has a prototype of a UI using angular.js:

https://github.com/shivateja/cloudstack-ui/tree/angular-rawapi

While he worked on a REST interface early on, he switched to raw api calls.

Any feedback would be very much appreciated.

-sebastien


RE: NULL entry in folder colum in volumes table

2013-07-12 Thread Edison Su
It's changed to use the "path" only.

> -Original Message-
> From: Sanjay Tripathi [mailto:sanjay.tripa...@citrix.com]
> Sent: Friday, July 12, 2013 4:27 AM
> To: dev@cloudstack.apache.org
> Subject: NULL entry in folder colum in volumes table
> 
> Hi,
> 
> I have noticed a change in the "volumes" table that CloudStack is not setting
> up the any value in "folder" column. The entry used to tell us about the
> location of volume in the primary storage, but now it is NULL. So we can't
> figure out the location where this volume is located.
> 
> Can somebody clarify if this has been done purposefully or should we treat
> this as a bug.
> 
> --Sanjay


RE: Adding git commit ids to our packaging...

2013-07-12 Thread Alex Huang
I think it should be in both.  In fact, I am hoping to push them further down.

Before our switch to git, the build number, which with svn included the 
revision as the last octet, was pushed to every script, javascript, jar, and 
war.  I like to see that back again.  It's very useful when trying to figure 
out exactly what was deployed.  I will work toward that if there's no 
objections.  

I pushed in the changes to war file for now so QAs at least have some way to 
find the revision number to communicate in Jira.

--Alex

> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Friday, July 12, 2013 6:53 AM
> To: dev@cloudstack.apache.org
> Subject: Re: Adding git commit ids to our packaging...
> 
> On Fri, Jul 12, 2013 at 09:48:12AM -0400, David Nalley wrote:
> > On Thu, Jul 11, 2013 at 11:05 PM, Alex Huang 
> wrote:
> > > Will work on making it nicer but do we want to put this information into
> release?  Is there any harm to have this in the release build?  I can't think 
> of
> any off-hand.  If we don't want them, we can change build_asf.sh to  set
> those two variables to something nicer.  If we want them, I might be able to
> get it to read this information from a file instead.
> > >
> > > --Alex
> > >
> >
> > Thanks for putting the work in to get this done.
> > I agree - no harm in having this in the release build, and could be
> > very useful to boot.
> > I personally would like to see this information, present - setting it
> > at tarball creation makes sense to me.
> >
> > --David
> >
> 
> +1
> 
> The only reason it was removed previously was that it was breaking the build
> process when someone tried to build from the release tarball.  If we want to
> drop the details into the release archive before tar'ing, great!
> 
> The only other minor concern would be the release verification process will
> have to be updated to account for the fact that we'll have one file (or some
> lines) that are different between the actual tagged commit in the repo and
> what's in the tarball.  As far as I know, that's just a process change for us.
> Easy...
> 
> -chip


Re: Review Request 12481: DeployDatabase script need to skip add host in VMWARE

2013-07-12 Thread Rayees Namathponnan

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

(Updated July 12, 2013, 5:58 p.m.)


Review request for cloudstack, edison su and Prasanna Santhanam.


Changes
---

Added Vmware config file


Repository: cloudstack-git


Description
---

In Vmware zone, we no need add host; host will added as part of cluster


Diffs
-

  tools/marvin/marvin/deployDataCenter.py ac96d09 

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


Testing
---

Tested


File Attachments (updated)


VMware_Deploy_Config
  https://reviews.apache.org/media/uploaded/files/2013/07/12/Reg_Adv_Vmware.cfg


Thanks,

Rayees Namathponnan



Re: [ACS42] Regarding HyperV is support with 4.2

2013-07-12 Thread Mike Tutkowski
I am running in 4.2 for the purposes of testing my storage plug-in and I
have also noticed Hyper-V as a hypervisor option.


On Fri, Jul 12, 2013 at 6:19 AM, Donal Lafferty
wrote:

> AFAIK, the UI was updated for Master, and not 4.1 or 4.2, but...
>
> You can make the message go away by installing the Hyper-V plugin's server
> component.  It is undergoing functional testing, and it should appear in a
> Review Board request towards the end of the day.
>
> If you want to control a Hyper-V server, install the agent.  The source is
> at https://github.com/lafferty/cshv3.  An ASF-compatible build and deploy
> strategy should be worked out in the next week or so.  However, it's the
> agent is not production quality.
>
> DL
>
> > -Original Message-
> > From: Sailaja Mada [mailto:sailaja.m...@citrix.com]
> > Sent: 12 July 2013 6:24 AM
> > To: dev@cloudstack.apache.org
> > Subject: [ACS42] Regarding HyperV is support with 4.2
> >
> > Hi,
> >
> > This is regarding HyperV  support with 4.2.  While adding the cluster
> /Host ,
> > Hyperv is getting listed in the dropdown for selection.
> >
> > But when I tried to add It failed with "Could not find corresponding
> resource
> > manager for Hyperv".
> >
> > AFAIK, we do not support Hyperv with 4.2 .   Is it UI issue ?  Please
> correct me
> > about this.
> >
> > Thanks,
> > Sailaja.M
> >
>
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


Review Request 12517: Fix checks for already existing primary and secondary pvlan id on vmware DVS in pvlan setup

2013-07-12 Thread Venkata Siva Vijayendra Bhamidipati

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

Review request for cloudstack, Chip Childers, edison su, Kelven Yang, and 
Sateesh Chodapuneedi.


Bugs: CLOUDSTACK-3311


Repository: cloudstack-git


Description
---

An incorrect type check for an existing promiscuous pvlan id was causing 
Virtual Router reboot failure. Fixing the same. Also detected incomplete 
checking of existing secondary pvlan id on a VMWare DVS, so fixing that as well.


Diffs
-

  vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java 
dc1486a 

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


Testing
---

Created a pvlan setup in vmware. Created guest instances successfully. 
Restarted the virtual router of the pvlan shared network. The VR rebooted 
successfully without erroring out. Created multiple pvlan networks and 
associated guest VMs and restarted the VRs, all rebooted successfully. Created 
guest VMs with multiple pvlan networks in each and they also worked as expected.


Thanks,

Venkata Siva Vijayendra Bhamidipati



Re: systemVM templates

2013-07-12 Thread Rohit Yadav
Hi Abhi,

You may upload on your people.apache.org/~ hosting space (which is on
Apache infra as well) and give the links to the community?

After the release/voting process those appliances can be moved to official
ACS hosting space but I'm not sure how this will work because AFAIK for a
release we only vote and ship the source code, so we could just release
systemvm appliances (without voting) which is sort of binary?

Cheers.

On Fri, Jul 12, 2013 at 3:15 PM, Abhinandan Prateek  wrote:

> The cloudstack community needs to find a online space to host system VM
> templates. With 4.2 upgrade to new sytemVM templates is inevitable.
>
> Can we request PMC to get us some space on apache infrastructure for the
> same.
>
> -abhi
>


Re: Adding git commit ids to our packaging...

2013-07-12 Thread Rohit Yadav
+1 Would help users verify the git sha and for reference.

Cheers.

On Fri, Jul 12, 2013 at 6:06 AM, Alex Huang  wrote:

> Hi All,
>
> I added the branch and git commit id to the war file.  You can find it by
> opening the war file and retrieving the META-INF/MANIFEST.MF.  Inside,
> there is a Implementation-Revision which contains the git commit id and a
> Implementation-Branch which contains the branch.
>
> We should add these to all of our jira issues so developers can easily
> figure out the revision being tested and work appropriately.
>
> I will also cherry-pick this to 4.2.  I assume there's no objections.
>
> --Alex
>


Re: Another ISO Question

2013-07-12 Thread Mike Tutkowski
Either way, I think we have a usability problem here. :) It is not at all
obvious (without perhaps having to go to the docs) on what the behavior
will be.

I believe the problem here is related to Compute Offerings having knowledge
of storage. We talked a bit on the hackday at CCC 2013 about breaking this
dependency.


On Fri, Jul 12, 2013 at 2:21 AM, Koushik Das  wrote:

> Should it fall back on the compute offering tags if disk offering tags
> cannot be satisfied? This will make the behavior compatible with that of
> deploying VM from template.
>
> -Koushik
>
> > -Original Message-
> > From: Prachi Damle [mailto:prachi.da...@citrix.com]
> > Sent: Friday, July 12, 2013 2:52 AM
> > To: aemne...@gmail.com; Mike Tutkowski
> > Cc: dev@cloudstack.apache.org
> > Subject: RE: Another ISO Question
> >
> > From the deployVM API I see that while deploying a VM from ISO, the
> > diskOfferingId passed to the API is used to create the ROOT Disk Volume
> of
> > the VM.
> > The tags of this disk offering will be considered while choosing a pool
> for the
> > ROOT volume.
> >
> > The tags of the compute offering will not be referred in this case.
> >
> > Prachi
> >
> > From: Ahmad Emneina [mailto:aemne...@gmail.com]
> > Sent: Thursday, July 11, 2013 1:39 PM
> > To: Mike Tutkowski; Prachi Damle
> > Cc: dev@cloudstack.apache.org
> > Subject: Re: Another ISO Question
> >
> > Let me defer to +Prachi, she knows the tagging system better than I.
> >
> > On Thu, Jul 11, 2013 at 1:33 PM, Mike Tutkowski
> > mailto:mike.tutkow...@solidfire.com>>
> > wrote:
> > OK, thanks.
> >
> > I wasn't sure if we were maybe only honoring the Storage Tags of the
> > Compute Offering or the Disk Offering, but it sounds like we essentially
> are
> > taking the subset of the two, if any.
> >
> > On Thu, Jul 11, 2013 at 2:30 PM, Ahmad Emneina
> > mailto:aemne...@gmail.com>> wrote:
> > The vm wont deploy. There wont be any hosts found that overlap with the
> > correct tagged storage.
> >
> >
> > On Thu, Jul 11, 2013 at 1:23 PM, Mike Tutkowski <
> > mike.tutkow...@solidfire.com>
> > wrote:
> >
> > > Hi,
> > >
> > > When trying to kick a VM off based on an ISO, I see you have to pick
> > > the Compute Offering and the Disk Offering (as opposed to just picking
> > > a Compute Offering for a template).
> > >
> > > What happens if the Compute Offering and Disk Offering you select have
> > > incompatible Storage Tags?
> > >
> > > Thanks!
> > >
> > > --
> > > *Mike Tutkowski*
> > > *Senior CloudStack Developer, SolidFire Inc.*
> > > e: mike.tutkow...@solidfire.com
> > > o: 303.746.7302
> > > Advancing the way the world uses the
> > > cloud
> > > *(tm)*
> > >
> >
> >
> >
> > --
> > Mike Tutkowski
> > Senior CloudStack Developer, SolidFire Inc.
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud(tm)
>
>


-- 
*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: systemVM templates

2013-07-12 Thread David Nalley
The project can not host these images itself due to licensing issues.
>From a project perspective, just like with our, releases, we provide
the ability for users to build a systemVM.
However, you'll note that our community-provided binary repos also
host some systemvms today (the IPv6)

We merely need to publish them, and then to naturally update
documentation to point to this. This is also something that could be
greatly aided by the mirror system that others are discussing in other
threads so that this is well distributed across the world.

--David

On Fri, Jul 12, 2013 at 5:45 AM, Abhinandan Prateek
 wrote:
> The cloudstack community needs to find a online space to host system VM
> templates. With 4.2 upgrade to new sytemVM templates is inevitable.
>
> Can we request PMC to get us some space on apache infrastructure for the
> same.
>
> -abhi


Re: [ACS42] Issues that are resolved but not closed yet

2013-07-12 Thread Chip Childers
On Fri, Jul 12, 2013 at 11:59:29PM +0530, Rohit Yadav wrote:
> +1 what Chip suggests. Developers will have a habit to see the ticket
> they're assigned.
> You can actually automate this by forking my RBTool fork [1] for your
> benefit (idea would be write a tool for Release managers to keep a track on
> JIRA and RB, post msgs automatically all at once on JIRA etc.) or
> forking/writing a custom client using JIRA's APIs.
> 
> [1] https://github.com/bhaisaab/RBTool
> 
> Cheers.

I wasn't thinking about anything quite that complex...  ;-)

Just use Jira to search for the list (which is how he generated it to
start with), and use the bulk update to add a comment asking the
reporter to verify and close.  Leave the "email for updates" checkbox
checked to get the mails to go out.

-chip


Re: systemVM templates

2013-07-12 Thread Chip Childers
On Sat, Jul 13, 2013 at 12:10:08AM +0530, Rohit Yadav wrote:
> Hi Abhi,
> 
> You may upload on your people.apache.org/~ hosting space (which is on
> Apache infra as well) and give the links to the community?

That may not be something that Infra wants us to do in the p.a.o space,
but I could be wrong.

> 
> After the release/voting process those appliances can be moved to official
> ACS hosting space but I'm not sure how this will work because AFAIK for a
> release we only vote and ship the source code, so we could just release
> systemvm appliances (without voting) which is sort of binary?
> 
> Cheers.
> 
> On Fri, Jul 12, 2013 at 3:15 PM, Abhinandan Prateek  > wrote:
> 
> > The cloudstack community needs to find a online space to host system VM
> > templates. With 4.2 upgrade to new sytemVM templates is inevitable.
> >
> > Can we request PMC to get us some space on apache infrastructure for the
> > same.
> >
> > -abhi
> >


Re: sonar

2013-07-12 Thread Chip Childers
On Mon, Jul 8, 2013 at 3:25 PM, Chip Childers  wrote:
> On Mon, Jul 08, 2013 at 09:02:04PM +0200, Laszlo Hornyak wrote:
>> It usually runs from a CI job, but I haven't found anything like that
>> between the CS builds on builds.apache.org nor on jenkins.cloudstack.org.
>> It requires a JDBC connection to the database of the service, so it should
>> be on the apache infrastructure.
>
> I've asked on builds@a.o.

It's back to working:

https://analysis.apache.org/dashboard/index/100206

>
>>
>>
>> On Mon, Jul 8, 2013 at 8:22 PM, Chip Childers 
>> wrote:
>>
>> > On Fri, Jul 05, 2013 at 09:34:34PM +0200, Laszlo Hornyak wrote:
>> > > Hi,
>> > >
>> > > I have found CloudStack in the ASF sonar instance
>> > > https://analysis.apache.org/dashboard/index/100206?did=1
>> > >
>> > > But looks like it was not executed for a good while. Is it possible to
>> > > re-enable it? In general it often helps to spot problems.
>> > >
>> > > Thank you,
>> > > Laszlo
>> > > --
>> > >
>> > > EOF
>> >
>> > Not sure how this gets triggered, but obviously something is out of
>> > date.  Does anyone know how the sonar config is managed?
>> >
>>
>>
>>
>> --
>>
>> EOF


Instructions to *consume* events in another region?

2013-07-12 Thread Chip Childers
Hi all,

I've been slowly getting an environment up that can help me play with
the regions feature.

Do we have *any* docs out there (that I apparently can't find) that talk
about how to get the mgmt servers to actually subscribe to changes that
others are making?

-chip


Re: Does the default Xen SystemVM Template understand S3?

2013-07-12 Thread Chip Childers
AFAIK, yes.  That code is loaded when the agent software is updated by
the mgmt server.

On Fri, Jul 12, 2013 at 05:02:12PM +, Donal Lafferty wrote:
> AFAIK, the database deploy script in Master sets the Xen SystemVM URL to 
> http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2
> 
> Is this SystemVM image aware of S3 object store?
> 
> If now, can someone recommend a Xen image that both works and works with S3?
> 
> 
> DL
> 
> 


RE: Instructions to *consume* events in another region?

2013-07-12 Thread Sangeetha Hariharan
Management server can be configured to publish  CloudStack events to RabbitMQ 
server.
Documentation relating to Event Notification can found in - 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/events.html#event-framework


-Thanks
Sangeetha

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Friday, July 12, 2013 12:49 PM
To: dev@cloudstack.apache.org
Subject: Instructions to *consume* events in another region?

Hi all,

I've been slowly getting an environment up that can help me play with the 
regions feature.

Do we have *any* docs out there (that I apparently can't find) that talk about 
how to get the mgmt servers to actually subscribe to changes that others are 
making?

-chip


Re: Instructions to *consume* events in another region?

2013-07-12 Thread Chip Childers
On Fri, Jul 12, 2013 at 4:27 PM, Sangeetha Hariharan
 wrote:
> Management server can be configured to publish  CloudStack events to RabbitMQ 
> server.
> Documentation relating to Event Notification can found in - 
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/events.html#event-framework
>
>
> -Thanks
> Sangeetha

Right, got all that.

What I don't see is any implementation for how to consume the events
in another region's management server.  Perhaps that's work
outstanding?

>
> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Friday, July 12, 2013 12:49 PM
> To: dev@cloudstack.apache.org
> Subject: Instructions to *consume* events in another region?
>
> Hi all,
>
> I've been slowly getting an environment up that can help me play with the 
> regions feature.
>
> Do we have *any* docs out there (that I apparently can't find) that talk 
> about how to get the mgmt servers to actually subscribe to changes that 
> others are making?
>
> -chip
>


RE: Instructions to *consume* events in another region?

2013-07-12 Thread Sangeetha Hariharan
Currently , we have the following stated as known limitations in the FS - 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/AWS-Style+Regions+Functional+Spec#

Limitations

1. Account/User/Domain data propogation/sync has to be handled outside 
cloudstack

2. Only events will be generated by cloudstack

-Thanks
Sangeetha
--Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Friday, July 12, 2013 1:31 PM
To: 
Subject: Re: Instructions to *consume* events in another region?

On Fri, Jul 12, 2013 at 4:27 PM, Sangeetha Hariharan 
 wrote:
> Management server can be configured to publish  CloudStack events to RabbitMQ 
> server.
> Documentation relating to Event Notification can found in - 
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/A
> dmin_Guide/events.html#event-framework
>
>
> -Thanks
> Sangeetha

Right, got all that.

What I don't see is any implementation for how to consume the events in another 
region's management server.  Perhaps that's work outstanding?

>
> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Friday, July 12, 2013 12:49 PM
> To: dev@cloudstack.apache.org
> Subject: Instructions to *consume* events in another region?
>
> Hi all,
>
> I've been slowly getting an environment up that can help me play with the 
> regions feature.
>
> Do we have *any* docs out there (that I apparently can't find) that talk 
> about how to get the mgmt servers to actually subscribe to changes that 
> others are making?
>
> -chip
>


Re: Instructions to *consume* events in another region?

2013-07-12 Thread Chip Childers
Ah, right.

I'll play with it some then...  perhaps I can hack together a
prototype queue listener to process the events coming from other
regions.

On Fri, Jul 12, 2013 at 4:35 PM, Sangeetha Hariharan
 wrote:
> Currently , we have the following stated as known limitations in the FS - 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/AWS-Style+Regions+Functional+Spec#
>
> Limitations
>
> 1. Account/User/Domain data propogation/sync has to be handled outside 
> cloudstack
>
> 2. Only events will be generated by cloudstack
>
> -Thanks
> Sangeetha
> --Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Friday, July 12, 2013 1:31 PM
> To: 
> Subject: Re: Instructions to *consume* events in another region?
>
> On Fri, Jul 12, 2013 at 4:27 PM, Sangeetha Hariharan 
>  wrote:
>> Management server can be configured to publish  CloudStack events to 
>> RabbitMQ server.
>> Documentation relating to Event Notification can found in -
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/A
>> dmin_Guide/events.html#event-framework
>>
>>
>> -Thanks
>> Sangeetha
>
> Right, got all that.
>
> What I don't see is any implementation for how to consume the events in 
> another region's management server.  Perhaps that's work outstanding?
>
>>
>> -Original Message-
>> From: Chip Childers [mailto:chip.child...@sungard.com]
>> Sent: Friday, July 12, 2013 12:49 PM
>> To: dev@cloudstack.apache.org
>> Subject: Instructions to *consume* events in another region?
>>
>> Hi all,
>>
>> I've been slowly getting an environment up that can help me play with the 
>> regions feature.
>>
>> Do we have *any* docs out there (that I apparently can't find) that talk 
>> about how to get the mgmt servers to actually subscribe to changes that 
>> others are making?
>>
>> -chip
>>
>


Review Request 12519: Server-side portion of Hyper-V plugin

2013-07-12 Thread Donal Lafferty

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

Review request for cloudstack, Alex Huang, Devdeep Singh, Mike Tutkowski, and 
sailaja mada.


Repository: cloudstack-git


Description
---

Server-side portion of Hyper-V plugin.

Adds Hyper-V plugin's Server Component to build.  This allows users to add the 
Hyper-V plugin to their CloudStack deployment.
Source includes functional tests, but these are off by default.  To use them, 
run on a Hyper-V hypervisor using 'mvn clean install -DskipTests=false'
To use the plugin, update the list of Resource Discoverer's and Hypervisor 
Guru's in deployment configurations under ./client/component/tomcatconf to 
include HypervGuru and HypervServerDiscoverer. 


Diffs
-

  plugins/hypervisors/hyperv/pom.xml PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/discoverer/HypervServerDiscoverer.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/guru/HypervGuru.java 
PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDirectConnectResource.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/test/com/cloud/hypervisor/hyperv/test/HypervDirectConnectResourceTest.java
 PRE-CREATION 
  plugins/pom.xml 261e8e8fcc54e04725ba27e983bdced2a8bbea6a 

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


Testing
---

Basic integration test:  created Hyper-V zone, added cluster with single host.  
Verified that system VM template deployed and VM started.


Thanks,

Donal Lafferty



RE: [ACS42] Regarding HyperV is support with 4.2

2013-07-12 Thread Donal Lafferty
https://reviews.apache.org/r/12519/

PS.  Thanks for volunteering to review guys.  Remember to include the review 
dependencies when adding the diffs to 4.2 ;)


> -Original Message-
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: 12 July 2013 7:41 PM
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS42] Regarding HyperV is support with 4.2
> 
> I am running in 4.2 for the purposes of testing my storage plug-in and I have
> also noticed Hyper-V as a hypervisor option.
> 
> 
> On Fri, Jul 12, 2013 at 6:19 AM, Donal Lafferty
> wrote:
> 
> > AFAIK, the UI was updated for Master, and not 4.1 or 4.2, but...
> >
> > You can make the message go away by installing the Hyper-V plugin's
> > server component.  It is undergoing functional testing, and it should
> > appear in a Review Board request towards the end of the day.
> >
> > If you want to control a Hyper-V server, install the agent.  The
> > source is at https://github.com/lafferty/cshv3.  An ASF-compatible
> > build and deploy strategy should be worked out in the next week or so.
> > However, it's the agent is not production quality.
> >
> > DL
> >
> > > -Original Message-
> > > From: Sailaja Mada [mailto:sailaja.m...@citrix.com]
> > > Sent: 12 July 2013 6:24 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: [ACS42] Regarding HyperV is support with 4.2
> > >
> > > Hi,
> > >
> > > This is regarding HyperV  support with 4.2.  While adding the
> > > cluster
> > /Host ,
> > > Hyperv is getting listed in the dropdown for selection.
> > >
> > > But when I tried to add It failed with "Could not find corresponding
> > resource
> > > manager for Hyperv".
> > >
> > > AFAIK, we do not support Hyperv with 4.2 .   Is it UI issue ?  Please
> > correct me
> > > about this.
> > >
> > > Thanks,
> > > Sailaja.M
> > >
> >
> >
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *(tm)*


Review Request 12521: Include vmware in hypervisor list for volume resize support

2013-07-12 Thread Venkata Siva Vijayendra Bhamidipati

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

Review request for cloudstack and edison su.


Bugs: CLOUDSTACK-3509


Repository: cloudstack-git


Description
---

Put in vmware in a check filtering hypervisors supporting volume resize 
operations.


Diffs
-

  server/src/com/cloud/storage/VolumeManagerImpl.java 1618574 

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


Testing
---

Verified that volume resize of a non root volume of a guest VM in a vmware 
deployment works instead of throwing the exception pasted in the bug 
description.


Thanks,

Venkata Siva Vijayendra Bhamidipati



On Boarding wiki

2013-07-12 Thread Amogh Vasekar
Hi All,

Being new to the project and having gone through the on boarding process 
recently, I just documented things on : 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/OnBoarding

It is essentially an index page to all the info already on wiki.
This is still a work-in-progress, and any suggestions will be useful. Hopefully 
this will be of help to folks just starting on the project.

Thanks,
Amogh


Re: [ACS42] Three weeks to code freeze

2013-07-12 Thread Sheng Yang
There is one thing need attention:

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

Would involve lock mechanism improvement in the VR which has potential big
impact. I am planning to check-in the improvement soon(likely this weekend).

--Sheng


On Tue, Jul 9, 2013 at 7:59 PM, Animesh Chaturvedi <
animesh.chaturv...@citrix.com> wrote:

> Folks
>
>
> We are now just 3 weeks from ACS 4.2 code freeze on 7/29. We have around
> 400 open defects with 100+ blockers and critical and I expect another 200
> new defects to come in. As a community we have been fixing roughly 100
> defects per week, in order to clear up our backlog I request you to help
> out on aggressively fixing the issues. The unassigned issue list is
> available at http://s.apache.org/BlH/. When you fix a bug in 4.2 please
> make sure it is also fixed in master.
>
> Given the debate on system template changes in last few days of 4.1
> requiring big testing effort and potential regression, I would like to see
> that as community we lock down system templates for 4.2 pretty soon. If any
> changes are needed we should call it out now and get them resolved.
>
>
> The detailed bug status is captured below.
>
>   Bugs| This Week| Last Week
>
>  
> -+---+--+---+---+---+--+---+---
>   |   Blocker   Critical   Major   Total |   Blocker
> Critical   Major   Total
>
>  
> -+---+--+---+---+---+--+---+---
>   Incoming| 8 10  28  50 |11
>   34  24  72
>   Outgoing|26 23  34  86 |26
>   30  40 100
>   Open Unassigned | 7 49 129 222 | 6
>   49 119 184
>   Open Total  |25 84 232 403 |25
>   80 218 385
>
>
> The status for features or improvement is depicted in table below
>
> |-+---+---|
> | New Features / Improvements | Today | Last Week |
> |-+---+---|
> | Closed  |10 |10 |
> | Resolved|59 |57 |
> | In Progress |11 |13 |
> | Reopened| 1 | 1 |
> | Ready To Review | 1 | 1 |
> | Open|20 |20 |
> |-+---+---|
> | Total   |   102 |   102 |
> |-+---+---|
>
> Only few feature tickets were updates since I sent out the Open and In
> progress item list. If your contribution did not make it to 4.2 please take
> it out from 4.2
>
> There is some improvement in verifying and closing the resolved issues
> compared from last week but is still hovering close to 500. Please check
> Sudha's email from yesterday http://s.apache.org/mzj and help close out
> resolved issues.
>
>
>
>
> Thanks
> Animesh
>


Compilation failed in 4.2

2013-07-12 Thread Rayees Namathponnan
Compilation failed in 4.2 , someone please look this ?


[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-plugin-hypervisor-vmware ---
[INFO] Compiling 48 source files to 
/root/jenkins/build/workspace/CloudPlatform-4.2-rhel63/cloudplatform/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.2.0-SNAPSHOT/plugins/hypervisors/vmware/target/classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] VmwareResource.java:[2048,20] cannot find symbol
symbol  : variable routerIp
location: class com.cloud.hypervisor.vmware.resource.VmwareResource
[ERROR] VmwareResource.java:[2088,20] cannot find symbol
symbol  : variable routerIp
location: class com.cloud.hypervisor.vmware.resource.VmwareResource
[INFO] 2 errors
[INFO] -
[INFO] 


Regards,
Rayees


Re: Review Request 12521: Include vmware in hypervisor list for volume resize support

2013-07-12 Thread edison su

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

Ship it!


Ship It!

- edison su


On July 12, 2013, 9:02 p.m., Venkata Siva Vijayendra Bhamidipati wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12521/
> ---
> 
> (Updated July 12, 2013, 9:02 p.m.)
> 
> 
> Review request for cloudstack and edison su.
> 
> 
> Bugs: CLOUDSTACK-3509
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Put in vmware in a check filtering hypervisors supporting volume resize 
> operations.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/storage/VolumeManagerImpl.java 1618574 
> 
> Diff: https://reviews.apache.org/r/12521/diff/
> 
> 
> Testing
> ---
> 
> Verified that volume resize of a non root volume of a guest VM in a vmware 
> deployment works instead of throwing the exception pasted in the bug 
> description.
> 
> 
> Thanks,
> 
> Venkata Siva Vijayendra Bhamidipati
> 
>



Re: Review Request 12348: Fix for NPE when listing eligible primary storage pools for volume migration across primary storages

2013-07-12 Thread edison su

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

Ship it!


Ship It!

- edison su


On July 9, 2013, 10:15 p.m., Venkata Siva Vijayendra Bhamidipati wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12348/
> ---
> 
> (Updated July 9, 2013, 10:15 p.m.)
> 
> 
> Review request for cloudstack, Chip Childers, Kelven Yang, rajeshbabu 
> chintaguntla, and Sateesh Chodapuneedi.
> 
> 
> Bugs: CLOUDSTACK-3264
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> When listing zone wide primary storages for volume migration, a null pointer 
> exception is encountered because the listing of the eligible storage pools 
> missed taking into account the absence of cluster id for zone wide primary 
> pools. Fixing the same and putting in appropriate checks for other storage 
> type allocators.
> 
> Note: This fix is for the master-6-17-stable branch. It is to be seen whether 
> this fix is required for master and if so, needs to be ported/tested on the 
> same.
> 
> 
> Diffs
> -
> 
>   
> engine/storage/src/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java
>  e16703e 
>   
> engine/storage/src/org/apache/cloudstack/storage/allocator/ClusterScopeStoragePoolAllocator.java
>  0933adc 
>   
> engine/storage/src/org/apache/cloudstack/storage/allocator/LocalStoragePoolAllocator.java
>  ef9e84e 
>   
> plugins/storage-allocators/random/src/org/apache/cloudstack/storage/allocator/RandomStoragePoolAllocator.java
>  76ce663 
>   server/src/com/cloud/server/ManagementServerImpl.java da9d6a2 
> 
> Diff: https://reviews.apache.org/r/12348/diff/
> 
> 
> Testing
> ---
> 
> Created multiple zone wide primary storages and confirmed that they show up 
> as eligible destinations when attempting to migrate a volume currently 
> resident on a zone wide primary storage pool. Created mixed zone-wide and 
> cluster-wide primary storages to ensure nothing broke there. Observed that 
> volumes on a zone wide primary can only be moved to other zone wide primary 
> pools and similarly with cluster wide pools. Created new guest VM to confirm 
> that existing primary code paths work correctly with the changes in place.
> 
> 
> Thanks,
> 
> Venkata Siva Vijayendra Bhamidipati
> 
>



RE: Compilation failed in 4.2

2013-07-12 Thread Edison Su
I fixed it on my local branch already, let me check it in.

> -Original Message-
> From: Rayees Namathponnan [mailto:rayees.namathpon...@citrix.com]
> Sent: Friday, July 12, 2013 3:08 PM
> To: dev@cloudstack.apache.org
> Subject: Compilation failed in 4.2
> 
> Compilation failed in 4.2 , someone please look this ?
> 
> 
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-
> plugin-hypervisor-vmware --- [INFO] Compiling 48 source files to
> /root/jenkins/build/workspace/CloudPlatform-4.2-
> rhel63/cloudplatform/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.2.0-
> SNAPSHOT/plugins/hypervisors/vmware/target/classes
> [INFO] -
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] VmwareResource.java:[2048,20] cannot find symbol symbol  :
> variable routerIp
> location: class com.cloud.hypervisor.vmware.resource.VmwareResource
> [ERROR] VmwareResource.java:[2088,20] cannot find symbol symbol  :
> variable routerIp
> location: class com.cloud.hypervisor.vmware.resource.VmwareResource
> [INFO] 2 errors
> [INFO] -
> [INFO] 
> 
> 
> 
> Regards,
> Rayees


RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-12 Thread Edison Su


> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Friday, July 12, 2013 7:50 AM
> To: ; Edison Su
> Subject: Re: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?
> 
> On Fri, Jul 12, 2013 at 10:40 AM, John Burwell  wrote:
> > All,
> >
> > I have assembled a wiki topic [1] that describes the process for creating
> Riak CS and Swift development/test environments using Vagrant and
> VirtualBox.  I created a  Devstack Vagrant configuration [2], and, following
> further testing and feedback, I plan to submit it to the OpenStack project.
> Therefore, please let me know if you have any problems (or send a PR), and I
> will fix them.
> >
> > Thanks,
> > -John
> >
> > [1]:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Object+Storage+
> Dev-Test+Environments
> > [2]: https://github.com/jburwell/devstack
> 
> John, this is awesome!
> 
> Edison, Does this help you out?
It will help a little, but anyway, thanks John's help.
My current problem is that, swift doesn't have a client library, which can 
directly upload a template from an URL into swift storage.
I searched, there is a java library, called, http://joss.javaswift.org/, which 
can upload an object from an inputstream, but it only works with certain swift 
storage vendors.
Seems I have to download the template url into staging area, then upload the 
file into swift?


RE: Compilation failed in 4.2

2013-07-12 Thread Edison Su
Should be fixed.

> -Original Message-
> From: Edison Su [mailto:edison...@citrix.com]
> Sent: Friday, July 12, 2013 3:56 PM
> To: dev@cloudstack.apache.org
> Subject: RE: Compilation failed in 4.2
> 
> I fixed it on my local branch already, let me check it in.
> 
> > -Original Message-
> > From: Rayees Namathponnan [mailto:rayees.namathpon...@citrix.com]
> > Sent: Friday, July 12, 2013 3:08 PM
> > To: dev@cloudstack.apache.org
> > Subject: Compilation failed in 4.2
> >
> > Compilation failed in 4.2 , someone please look this ?
> >
> >
> > [INFO] Copying 3 resources
> > [INFO]
> > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
> > cloud- plugin-hypervisor-vmware --- [INFO] Compiling 48 source files
> > to
> > /root/jenkins/build/workspace/CloudPlatform-4.2-
> > rhel63/cloudplatform/cloudstack/dist/rpmbuild/BUILD/cloudstack-4.2.0-
> > SNAPSHOT/plugins/hypervisors/vmware/target/classes
> > [INFO] -
> > [ERROR] COMPILATION ERROR :
> > [INFO] -
> > [ERROR] VmwareResource.java:[2048,20] cannot find symbol symbol  :
> > variable routerIp
> > location: class com.cloud.hypervisor.vmware.resource.VmwareResource
> > [ERROR] VmwareResource.java:[2088,20] cannot find symbol symbol  :
> > variable routerIp
> > location: class com.cloud.hypervisor.vmware.resource.VmwareResource
> > [INFO] 2 errors
> > [INFO] -
> > [INFO]
> > --
> > --
> >
> >
> > Regards,
> > Rayees


Re: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-12 Thread Andrew Bayer
Don't forget Apache jclouds - we've got a robust Swift interface:
http://jclouds.incubator.apache.org/documentation/quickstart/openstack/

A.

On Fri, Jul 12, 2013 at 4:11 PM, Edison Su  wrote:

>
>
> > -Original Message-
> > From: Chip Childers [mailto:chip.child...@sungard.com]
> > Sent: Friday, July 12, 2013 7:50 AM
> > To: ; Edison Su
> > Subject: Re: Swift in 4.2 is broken, anybody wants it to be supported in
> 4.2?
> >
> > On Fri, Jul 12, 2013 at 10:40 AM, John Burwell 
> wrote:
> > > All,
> > >
> > > I have assembled a wiki topic [1] that describes the process for
> creating
> > Riak CS and Swift development/test environments using Vagrant and
> > VirtualBox.  I created a  Devstack Vagrant configuration [2], and,
> following
> > further testing and feedback, I plan to submit it to the OpenStack
> project.
> > Therefore, please let me know if you have any problems (or send a PR),
> and I
> > will fix them.
> > >
> > > Thanks,
> > > -John
> > >
> > > [1]:
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Object+Storage+
> > Dev-Test+Environments
> > > [2]: https://github.com/jburwell/devstack
> >
> > John, this is awesome!
> >
> > Edison, Does this help you out?
> It will help a little, but anyway, thanks John's help.
> My current problem is that, swift doesn't have a client library, which can
> directly upload a template from an URL into swift storage.
> I searched, there is a java library, called, http://joss.javaswift.org/,
> which can upload an object from an inputstream, but it only works with
> certain swift storage vendors.
> Seems I have to download the template url into staging area, then upload
> the file into swift?
>


RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-12 Thread Edison Su
I need the following functionalities from any swift client/library:
1. can directly upload an remote URL into swift, S3 has the API: 
http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/AmazonS3Client.html#putObject(java.lang.String,
 java.lang.String, java.io.InputStream, 
com.amazonaws.services.s3.model.ObjectMetadata)
2. can track the status of upload: like, 
http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/transfer/TransferManager.html
3. can upload file more than 5GB.
Do you know jclouds swift interface supports above functionalities?

> -Original Message-
> From: Andrew Bayer [mailto:andrew.ba...@gmail.com]
> Sent: Friday, July 12, 2013 5:31 PM
> To: dev@cloudstack.apache.org
> Cc: Chip Childers
> Subject: Re: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?
> 
> Don't forget Apache jclouds - we've got a robust Swift interface:
> http://jclouds.incubator.apache.org/documentation/quickstart/openstack/
> 
> A.
> 
> On Fri, Jul 12, 2013 at 4:11 PM, Edison Su  wrote:
> 
> >
> >
> > > -Original Message-
> > > From: Chip Childers [mailto:chip.child...@sungard.com]
> > > Sent: Friday, July 12, 2013 7:50 AM
> > > To: ; Edison Su
> > > Subject: Re: Swift in 4.2 is broken, anybody wants it to be
> > > supported in
> > 4.2?
> > >
> > > On Fri, Jul 12, 2013 at 10:40 AM, John Burwell 
> > wrote:
> > > > All,
> > > >
> > > > I have assembled a wiki topic [1] that describes the process for
> > creating
> > > Riak CS and Swift development/test environments using Vagrant and
> > > VirtualBox.  I created a  Devstack Vagrant configuration [2], and,
> > following
> > > further testing and feedback, I plan to submit it to the OpenStack
> > project.
> > > Therefore, please let me know if you have any problems (or send a
> > > PR),
> > and I
> > > will fix them.
> > > >
> > > > Thanks,
> > > > -John
> > > >
> > > > [1]:
> > >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Object+Storag
> > > e+
> > > Dev-Test+Environments
> > > > [2]: https://github.com/jburwell/devstack
> > >
> > > John, this is awesome!
> > >
> > > Edison, Does this help you out?
> > It will help a little, but anyway, thanks John's help.
> > My current problem is that, swift doesn't have a client library, which
> > can directly upload a template from an URL into swift storage.
> > I searched, there is a java library, called,
> > http://joss.javaswift.org/, which can upload an object from an
> > inputstream, but it only works with certain swift storage vendors.
> > Seems I have to download the template url into staging area, then
> > upload the file into swift?
> >


  1   2   >