Re: VmWare SDK to vijava

2013-09-23 Thread Min Chen
When I upgraded vmware sdk from 4.x to 5.1 before, I looked into the build script used by Vmware published SDK. It seems that besides normal jawxs generated client stubs from wsdl, Vmware sdk published build script has another post processing done on VimService.java class generated. The post proces

Re: VmWare SDK to vijava

2013-09-23 Thread Min Chen
s I never ran it though. One thing I ran into was that you >had to generate for jaxws 2.1. > >Darren > >> On Sep 23, 2013, at 11:25 AM, Min Chen wrote: >> >> When I upgraded vmware sdk from 4.x to 5.1 before, I looked into the >>build >> script used by Vmwar

Re: [ANNOUNCE] New committer: Rajesh Battala

2013-09-24 Thread Min Chen
Congrats, Rajesh. -min On 9/24/13 9:40 AM, "Sateesh Chodapuneedi" wrote: >Hearty Congratulations Rajesh:) > >Regards, >Sateesh >> -Original Message- >> From: Chip Childers [mailto:chip.child...@sungard.com] >> Sent: 24 September 2013 21:00 >> To: dev@cloudstack.apache.org >> Subject: [A

Re: LocalHostEndPoint seems to get called

2013-09-26 Thread Min Chen
I am only aware that before ssvm is up, you will see such message in StatCollector, but that is no hurt. I don't understand why you encountered this even if your ssvm is up? Is your s-1-VM entry in host db table is in Up state? Are you using devcloud or real hypervisor in your setup? We may need de

Re: LocalHostEndPoint seems to get called

2013-09-27 Thread Min Chen
: >> The state is 'RUNNING' not 'Up' . Maybe it is me out racing the >> computer. so don't deepdive. I just thought it was weird I got this >> message while the ssvm was up. >> >> once again, no hinder, Min. Thanks >> >> On Thu, Sep

Re: my two cents on RBAC/authorization

2013-09-29 Thread Min Chen
RBAC branch was created by Prachi and me to do some quick prototype on rbac feature we are going to propose in the community soon. Since it is not ready yet, we haven't proposed and published FS on the ML. In this prototype, we have group, accout, role, permission as our first class object. Unl

Re: my two cents on RBAC/authorization

2013-09-29 Thread Min Chen
o, I'll warn you that I'll probably disagree >>strongly with the implement >> >> Darren >> >>> On Sep 29, 2013, at 12:04 PM, Min Chen wrote: >>> >>> RBAC branch was created by Prachi and me to do some quick prototype on >>>rb

Re: my two cents on RBAC/authorization

2013-09-29 Thread Min Chen
ds.properties. If one adds a new api, >will they need to update the DB? > >Darren > >On Sep 29, 2013, at 5:15 PM, Min Chen wrote: > >>> >>> >>> >>> One random question, I'm interested in knowing what the relationship >>> betwe

Re: LocalHostEndPoint seems to get called

2013-09-30 Thread Min Chen
he >spot don't worry. when prio gets high I'll look at it myself. >https://issues.apache.org/jira/browse/CLOUDSTACK-4759 > >On Fri, Sep 27, 2013 at 7:07 PM, Min Chen wrote: >> Can you file a bug and attach your db dump and ms log with it? >> >> Thanks >>

Re: [ANNOUNCE] New PMC member: Daan Hoogland

2013-10-01 Thread Min Chen
Congratulations, Daan. -min On 10/1/13 7:47 AM, "Chip Childers" wrote: >The Project Management Committee (PMC) for Apache CloudStack has asked >Daan Hoogland to join the PMC and we are pleased to announce that they >have accepted. > >Join me in congratulating Daan! > >-The CloudStack PMC

Re: LocalHostEndPoint seems to get called

2013-10-02 Thread Min Chen
Can you check ssvm log to see if it can connect back to MS? I ran into this today and found the reason that in global setting variable 'host' is set to 'localhost' instead of my laptop IP address, and thus when SSVM is up, it cannot connect back to MS to set the entry in Host table as Up. What is t

Re: unable to get tiny linux template in ready state, DOWNLOAD ERROR

2013-10-03 Thread Min Chen
Punith, Your log shows that your ssvm cannot connect back to MS. As Wei mentioned, your host configuration may not be correct, and need to be changed to correct Ip. Do you see an entry in your db host table with type SecondaryStorageVM? Thanks -min On 10/3/13 7:36 AM, "We

[DISCUSS] listAll and recursive parameters for BaseListDomainResourceCmd should have default value as TRUE

2013-10-08 Thread Min Chen
Hi there, In working with RBAC design, I am really puzzled by the two query parameter "listAll" and "recursive" for all BaseListDomainResourceCmd. @Parameter(name = ApiConstants.LIST_ALL, type = CommandType.BOOLEAN, description = "If set to false, " + "list only resources belo

Re: [DISCUSS] listAll and recursive parameters for BaseListDomainResourceCmd should have default value as TRUE

2013-10-08 Thread Min Chen
contradictory to the meaning of listAll. Thanks -min >On 10/8/13 4:28 PM, "Min Chen" wrote: > >>Hi there, >> >>In working with RBAC design, I am really puzzled by the two query >>parameter "listAll" and "recursive" for all BaseListDomainReso

Re: [DISCUSS] listAll and recursive parameters for BaseListDomainResourceCmd should have default value as TRUE

2013-10-08 Thread Min Chen
Just simple listVMsCmd with page information, passing listAll=true or not passing listAll returns the same set of data. Thanks -min On 10/8/13 5:55 PM, "Alena Prokharchyk" wrote: >On 10/8/13 5:48 PM, "Min Chen" wrote: > >>Thanks Alena for the clarification.

Re: [PROPOSAL] Remove Setters from *JoinVO

2013-10-09 Thread Min Chen
+1 on this. As Chris mentioned, the intention of *JoinVOs are representation of MySQL views, which should not be editable after search. -min On 10/4/13 10:29 AM, "SuichII, Christopher" wrote: >*JoinVOs are used to store entries from MySQL views, which are not >editable. I think removing setters

Global setting "host" is not set to MS IP anymore on master

2013-10-10 Thread Min Chen
Hi there, Not sure if others experience the same issue. In 4.2, when MS starts, it will discover the IP address of MS and automatically set global setting "host" to that IP address. Now it seems broken on master, MS started but "host" is still set to "localhost", which caused my system vm canno

Re: Global setting "host" is not set to MS IP anymore on master

2013-10-10 Thread Min Chen
gt;On 10/10/13 2:46 PM, "Min Chen" wrote: > >>Hi there, >> >>Not sure if others experience the same issue. In 4.2, when MS starts, it >>will discover the IP address of MS and automatically set global setting >>"host" to that IP address. Now it

Re: Global setting "host" is not set to MS IP anymore on master

2013-10-11 Thread Min Chen
+, Prachi Damle wrote: >> I see it on Windows too. >> >> -Original Message- >> From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] >> Sent: Thursday, October 10, 2013 4:20 PM >> To: dev@cloudstack.apache.org; Min Chen >> Subject: Re: Global set

[DISCUSS] Add upgrade path from 4.2.1 to 4.3.0 in Master branch

2013-10-11 Thread Min Chen
Hi there, Based on my understanding, 4.2.1 is scheduled to come before 4.3.0 release. If this is true, should we add an upgrade path from 4.2.1 to 4.3.0 in Master? This will help us to cherry-pick some commits done in 4.2.1 branch that involves schema changes to master. Any objections on this?

Re: [DISCUSS] Add upgrade path from 4.2.1 to 4.3.0 in Master branch

2013-10-11 Thread Min Chen
Then what should we do to cherry-pick some commits from 4.2.1 to master? No cherry-pick until 4.3 is cut? Thanks -min On 10/11/13 5:25 PM, "Animesh Chaturvedi" wrote: >> -Original Message----- >> From: Min Chen [mailto:min.c...@citrix.com] >> Sent: Friday, Oc

Re: [ANNOUNCE] New PMC member: Animesh Chaturvedi

2013-10-21 Thread Min Chen
Congrats, Animesh. -min On 10/21/13 12:01 PM, "Chip Childers" wrote: >The Project Management Committee (PMC) for Apache CloudStack has asked >Animesh Chaturvedi to join the PMC and we are pleased to announce that >they >have accepted. > >Join me in congratulating Animesh! > >-The CloudStack PMC

Re: S3 API broken in 4.2

2013-10-22 Thread Min Chen
Darren, can you be specific what exact s3 API is not working in 4.2? Thanks -min On 10/22/13 5:14 AM, "Sanjeev Neelarapu" wrote: >Hi Darren, > >From 4.2 onwards we are using addImageStore API with provider parameter >for adding any secondary storage provider. > >-Sanjeev > >-Original Messag

Re: S3 API broken in 4.2

2013-10-22 Thread Min Chen
rks. The when you call S3, the init() method calls >getConfigValue() and a NPE is thrown. The below line needs to be >moved from getConfigValue() to the constructor. > >NameSearch.and("name", NameSearch.entity().getName(), >SearchCriteria.Op.EQ); > >Darren

Re: VolumeApiServiceImpl Question

2013-10-25 Thread Min Chen
Hi Mike, This was caused by missing initialization of _maxVolumeSizeInGb from configDao in configuring VolumeApiServiceImpl. I checked in a fix 694ec684a372c95abf8d1a798714b6f074862816 into master, which should have fixed this issue. Thanks -min On 10/24/13 4:35 PM, "Mike

Re: VolumeApiServiceImpl Question

2013-10-25 Thread Min Chen
; >Thanks! > > >On Fri, Oct 25, 2013 at 10:40 PM, Min Chen wrote: > >> Hi Mike, >> >> This was caused by missing initialization of _maxVolumeSizeInGb >> from >> configDao in configuring VolumeApiServiceImpl. I checked in a fix >> 694ec68

Re: S3 Secondary Storage fails with large files

2013-10-30 Thread Min Chen
For 4.2.0, you should be able to register template > 5GB. But we are aware of an issue you mentioned here: backup snapshot > 5GB will fail since that part of code is still using S3 single part upload api. This bug has been fixed in latest 4.2 branch, and will be available in 4.2.1 release. Thanks

Re: S3 Secondary Storage fails with large files

2013-10-30 Thread Min Chen
t to general public? > >Thanks > >Andrei >- Original Message - > >From: "Min Chen" >To: dev@cloudstack.apache.org, us...@cloudstack.apache.org >Sent: Wednesday, 30 October, 2013 4:40:48 PM >Subject: Re: S3 Secondary Storage fails with large files > >

Re: S3 Secondary Storage fails with large files

2013-10-30 Thread Min Chen
>Thanks > >Andrei >- Original Message - > >From: "Min Chen" >To: dev@cloudstack.apache.org, us...@cloudstack.apache.org >Sent: Wednesday, 30 October, 2013 4:40:48 PM >Subject: Re: S3 Secondary Storage fails with large files > >For 4.2.0, you

Re: Sending to LocalHostEndpoint, Is there any resolution for this?

2013-10-31 Thread Min Chen
Hi Darren, The logic of sending command to Local in case of no SSVM is up is to support S3 as secondary storage. In case of S3 as secondary storage, system vm template is automatically downloaded to S3 when S3 is added into CloudStack, unlike NFS secondary storage case where we used a scri

Re: Sending to LocalHostEndpoint, Is there any resolution for this?

2013-10-31 Thread Min Chen
// case of no ssvm existing >} >Collections.shuffle(ssAHosts); >HostVO host = ssAHosts.get(0); >return RemoteHostEndPoint.getHypervisorHostEndPoint(host.getId(), >host.getPrivateIpAddress(), >host.getPublicIpAddress()); >} >

Re: Sending to LocalHostEndpoint, Is there any resolution for this?

2013-10-31 Thread Min Chen
sends a command and it goes to LocalHostEndPoint. > >Darren > > >On Thu, Oct 31, 2013 at 10:28 AM, Min Chen wrote: > >> Yes, that is true, it is a bug in that case. The logic of choosing >> endpoint to send Command will not work properly for destroying/Stopping &

Re: ACS + Riak-CS, works?

2013-10-31 Thread Min Chen
Hi John, I have a related question on this issue for you regarding RiakCS. In 4.2.0 release, backup snapshot to S3 is done through your s3xen plugin, where S3 single part upload API is used. If customer is using RiakCS as their S3 object store, can they still backup snapshot larger than 5GB? Bas

Re: Sending to LocalHostEndpoint, Is there any resolution for this?

2013-10-31 Thread Min Chen
ink it is quite a bad >scenario >to mount NFS to the mgmt server. > >Darren > > >On Thu, Oct 31, 2013 at 10:48 AM, Min Chen wrote: > >> Delaying them until ssvm is up may not that easy to handle in current >> CloudStack. We may be able to send an error in this case by

Re: ACS + Riak-CS, works?

2013-10-31 Thread Min Chen
t;implementation in 4.1.0 didn't support multi-part uploads for templates. >Therefore, I didn't implement it in the s3xen plugin. Now that we >support it for all other operations, the s3xen plugin needs to be >retrofitted for multipart. > >Thanks, >-John > >On Oc

Re: S3 Secondary Storage fails with large files

2013-10-31 Thread Min Chen
und or do i need to wait for the 4.2.1 to come out? > >Thanks > >Andrei > >- Original Message - > >From: "Min Chen" >To: dev@cloudstack.apache.org, us...@cloudstack.apache.org >Sent: Wednesday, 30 October, 2013 5:39:15 PM >Subject: Re: S3 Secon

Re: race conditions in VolumeServiceImpl.createBaseImageAsync() creates NPE

2013-10-31 Thread Min Chen
: Darren Shepherd mailto:darren.s.sheph...@gmail.com>> Date: Thursday, October 31, 2013 11:39 AM To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" mailto:dev@cloudstack.apache.org>>, Min Chen mailto:min.c...@citrix.com>> Subject: race conditions in Volu

Marvin deploy failed on master

2013-11-01 Thread Min Chen
Hi there, Mavin deployment failed on master, localhost:devcloud minc$ python ../marvin/marvin/deployDataCenter.py -i min_xenvm_sec2.cfg Traceback (most recent call last): File "../marvin/marvin/deployDataCenter.py", line 19, in import configGenerator File "/Users/minc/dev/cloud-asf/tool

S3 as secondary storage is broken in master

2013-11-01 Thread Min Chen
Hi Marcus, Your commit a504c004bf10555e5ea67ec89fe7bf6f00fe4622 broke S3 functionality. With S3 as secondary storage, system vm cannot be started. Since for S3, copy template to primary will be from an ImageCache store. Your following line of code : if (srcData.getObjectType() == DataObj

Re: S3 as secondary storage is broken in master

2013-11-02 Thread Min Chen
e() == DataObjectType.TEMPLATE && > destData.getDataStore().getRole() == DataStoreRole.Primary)) { > > That broke CLVM, so I changed it to: > > if (srcData.getObjectType() == DataObjectType.TEMPLATE && > srcData.getDataStore().getRole() == DataStoreRole.Image && >

Re: S3 as secondary storage is broken in master

2013-11-02 Thread Min Chen
Checked in fix 99ead3419c80fc7135a95f34ced7650eda3572fd to master. Thanks -min From: Marcus Sorensen mailto:shadow...@gmail.com>> Date: Saturday, November 2, 2013 9:25 AM To: Min Chen mailto:min.c...@citrix.com>> Cc: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apac

Re: Marvin deploy failed on master

2013-11-04 Thread Min Chen
see if it works around. > >Thanks! >Santhosh > >From: Min Chen [min.c...@citrix.com] >Sent: Friday, November 01, 2013 8:10 PM >To: dev@cloudstack.apache.org >Subject: Marvin deploy failed on master > >Hi there, > >Mavin deployment failed o

Re: does master even work? Can't start SSVM/CP

2013-11-04 Thread Min Chen
<mailto:dev@cloudstack.apache.org>" mailto:dev@cloudstack.apache.org>> Cc: Min Chen mailto:min.c...@citrix.com>>, Edison Su mailto:edison...@citrix.com>> Subject: Re: does master even work? Can't start SSVM/CP For what it's worth, I rebased on top of master today and was

Re: does master even work? Can't start SSVM/CP

2013-11-04 Thread Min Chen
The last commit is eb9cfffd246267bbb5fe4befeb9afeaaf366874a Thanks -min On 11/4/13 3:36 PM, "Darren Shepherd" wrote: >What is the commit? > >Darren > > >On Mon, Nov 4, 2013 at 4:35 PM, Min Chen wrote: > >> Darren, your issue should be resolved. I checked

Re: does master even work? Can't start SSVM/CP

2013-11-04 Thread Min Chen
If you are not using S3 as secondary storage, it should work. For S3, it still requires mount on MS to start ssvm though to copy from S3 to NFS cache. Thanks -min On 11/4/13 3:38 PM, "Min Chen" wrote: >The last commit is eb9cfffd246267bbb5fe4befeb9afeaaf366874a > >Thanks &g

Re: [DISCUSS] rename nonoss to noredist

2013-11-05 Thread Min Chen
Is this change already in master? I tried to do a clean build on master using mvn clean install -Pdeveloper,systemvm -Dnoredist But then deploying a vmware zone failed with the following error: 2013-11-05 16:25:36,056 WARN [c.c.a.ApiServer] (1039076426@qtp-184764793-9:ctx-de0a2b48 ctx-4f586e61)

Re: [DISCUSS] rename nonoss to noredist

2013-11-05 Thread Min Chen
e figured out how to change my plugin >from nonoss by looking at other code in master. > >Ws > >On Tuesday, November 5, 2013, Min Chen wrote: > >> Is this change already in master? I tried to do a clean build on master >> using >> >> mvn clean install -Pd

Re: [DISCUSS] rename nonoss to noredist

2013-11-05 Thread Min Chen
CC Darren here, in case that he knows something about recent change on handling commands.properties in nonoss build. Thanks -min On 11/5/13 4:49 PM, "Min Chen" wrote: >I saw that vmware plugin is built with -Dnoredist option. But this >particular vmware API addVmwareDc is not w

Re: [DISCUSS] rename nonoss to noredist

2013-11-05 Thread Min Chen
Never mind. Found the problem, we also need to pass -Dnoredist flag in starting MS. Thanks -min On 11/5/13 4:54 PM, "Min Chen" wrote: >CC Darren here, in case that he knows something about recent change on >handling commands.properties in nonoss build. > >Thanks >-

Commit 25c8cee01a450ee924fe108cafe54b046485ab2b broke Vmware on Master

2013-11-05 Thread Min Chen
Hi Daan, Your commit https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=25c8cee01a450ee924fe108cafe54b046485ab2b broke Vmware advanced zone setup on Master, where system vm starts failed with "NumberFormatException", see details in https://issues.apache.org/jira/browse/CLOUDST

Re: S3 as secondary storage is broken in master

2013-11-06 Thread Min Chen
uid":"c6669280-c5ad-4e91-8cab-5d7cb2f1455b","id":2,"poolType":"CLVM"," >host":"localhost","path":"vg0","port":0}},"name":"ROOT-6","size":107374182 >4,"volumeId

Re: Commit 25c8cee01a450ee924fe108cafe54b046485ab2b broke Vmware on Master

2013-11-07 Thread Min Chen
integer. if it has the chance of being in the form of for instance >vlan:// , you should use: >vid = >Integer.parseInt(BroadcastDomainType.getValue(BroadcastDomainType.fromStri >ng(vlanId))); > >regards, >Daan > > >On Wed, Nov 6, 2013 at 3:25 AM, Min Chen wrote:

Re: Commit 25c8cee01a450ee924fe108cafe54b046485ab2b broke Vmware on Master

2013-11-07 Thread Min Chen
oogland" wrote: >Doesn't sound like a guarantee, If the stack is build otherwise there >might come in a different (non-integer-representing) string. > >On Thu, Nov 7, 2013 at 6:08 PM, Min Chen wrote: >> Yes. From callstack, >> BroadcastDomainType.getValue(BroadcastD

Re: Commit 25c8cee01a450ee924fe108cafe54b046485ab2b broke Vmware on Master

2013-11-08 Thread Min Chen
gt;current >> assumption of vlanId and secondaryVlanId are both numbers, not URI. >> >> Please revert it. >> >> --Sheng >> >> >> On Thu, Nov 7, 2013 at 4:07 PM, Min Chen wrote: >>> >>> Then we need to clearly define the semantic

Re: Secondary Storage - migrating from NFS to S3 for

2013-11-11 Thread Min Chen
Hi Andrei, This support is added in CloudStack 4.2.1, not released yet. See https://cwiki.apache.org/confluence/display/CLOUDSTACK/Migration+of+NFS+Sec ondary+Storage+to+Object+Store for details. Thanks -min On 11/11/13 8:50 AM, "Andrei Mikhailovsky" wrote: >Hello guy

Re: New Committer: Sanjeev Neelarapu

2013-11-14 Thread Min Chen
Congratulations, Sanjeev. -min On 11/14/13 9:14 AM, "Nitin Mehta" wrote: >Congrats Sanjeev !! > >On 14/11/13 7:30 AM, "Somesh Naidu" wrote: > >>Congratulations Sanjeev! >> >>Regards, >>Somesh >> >> >>-Original Message- >>From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] >>Sent: Thur

Re: [VOTE] Release Apache CloudStack 4.2.1

2013-11-15 Thread Min Chen
+1(binding) Tested on my local dev setup with one Xen host and basic zone, marvin vm test passed. Thanks -min On 11/15/13 3:21 PM, "Edison Su" wrote: >+1(binding) >Tested on my local machine with one KVM host, basic marvin vm test passed. > >> -Original Message- >> From: Abhinandan Prat

Re: [MERGE]object_store branch into master

2013-05-22 Thread Min Chen
John, Can you clarify a bit on your last comment about directly accessing S3 HTTP API? We are only invoking routines in S3Utils to perform operations with S3, not invoke any REST api if that is what you meant. Thanks -min On 5/22/13 2:49 PM, "John Burwell" wrote: >Ediso

Re: [MERGE]object_store branch into master

2013-05-23 Thread Min Chen
t;John > >On May 22, 2013, at 5:57 PM, Min Chen wrote: > >> John, >> >> Can you clarify a bit on your last comment about directly accessing S3 >> HTTP API? We are only invoking routines in S3Utils to perform operations >> with S3, not invoke any REST api

Re: [Urgent] Scheduling snapshot failed on CS 4.2.0-snapshot

2013-05-23 Thread Min Chen
We also encountered this issue when we ran test on object_store branch before sending merge request, then we realize that this has been broken in master and consider to fix that after merging object_store branch to master. But from looking through comments in https://issues.apache.org/jira/browse/C

Re: [Urgent] Scheduling snapshot failed on CS 4.2.0-snapshot

2013-05-23 Thread Min Chen
t; wrote: >On 05/23/2013 06:30 PM, Min Chen wrote: >> We also encountered this issue when we ran test on object_store branch >> before sending merge request, then we realize that this has been broken >>in >> master and consider to fix that after merging object_store bra

Re: [Urgent] Scheduling snapshot failed on CS 4.2.0-snapshot

2013-05-23 Thread Min Chen
>From the bug comments from Fang and Animesh, snapshot is not officially supported for KVM. Maybe they can shed more light on this? Thanks -min On 5/23/13 10:04 AM, "Chip Childers" wrote: >On Thu, May 23, 2013 at 05:03:04PM +, Min Chen wrote: >> Sorry, my bad. I

Re: Create View Question

2013-05-23 Thread Min Chen
It is related to this commit d1642a489ce76e055d60b2caf3ccfe4bb136b745. Schema-410to420.sql should have one section to define the new volume_view for 4.2.0. CC Nitin here to see if his new volume_view should be used or the one before his commit in this file. THanks -min On 5/23/13 12:50 PM, "Mik

Re: [MERGE]object_store branch into master

2013-05-23 Thread Min Chen
eraction tremendously (e.g. it builds the >PutRequest objects for you). > >Thanks, >-John > >On May 23, 2013, at 12:12 PM, Min Chen wrote: > >> John, sorry for my ignorance. In S3TemplateDownloader.download, we are >> only using HttpClient method to get the size an

[ACS41][Patch Request]CLOUDSTACK-2656

2013-05-23 Thread Min Chen
Hi Chip, Can you please cherry-pick the following commit from master to 4.1? This is to address empty UUID columns for pre-4.1 schema entities. We missed two "snapshot_policy" and "dc_storage_network_ip_range". commit a46b4d8273e9033e55172bf2d00845820bc9511a Author: M

Convention on UUID column

2013-05-23 Thread Min Chen
Hi there, During API refactoring efforts, Rohit and I run into several issues due to empty UUID column for existing DB entries. Since UUID was introduced later in 3.0.x, we have to always conditionally handle existing customers with empty UUID columns for different entities, causing much headac

Re: [Urgent] Scheduling snapshot failed on CS 4.2.0-snapshot

2013-05-23 Thread Min Chen
FYI. This issue has been fixed in object_store branch. Thanks -min On 5/23/13 10:16 AM, "Min Chen" wrote: >From the bug comments from Fang and Animesh, snapshot is not officially >supported for KVM. Maybe they can shed more light on this? > >Thanks >-min > >On 5

Re: [ANNOUNCE] New committer: Sangeetha Hariharan

2013-05-24 Thread Min Chen
Congratulations, Sangeetha. Well deserved. -min On 5/23/13 11:18 PM, "Alex Huang" wrote: >The Project Management Committee (PMC) for Apache CloudStack has asked >Sangeetha Hariharan to become a committer and we are pleased to announce >that they have accepted. > >Being a committer allows many

Re: [ACS41][Patch Request]CLOUDSTACK-2656

2013-05-24 Thread Min Chen
Thanks. -min On 5/24/13 8:26 AM, "Chip Childers" wrote: >On Thu, May 23, 2013 at 10:21:44PM +0000, Min Chen wrote: >> Hi Chip, >> Can you please cherry-pick the following commit from master to 4.1? >> This is to address empty UUID columns for pre-4.1 sc

Re: Convention on UUID column

2013-05-24 Thread Min Chen
hough - is that ok ? >> >> Thanks, >> -Nitin >> >> On 24/05/13 9:26 AM, "Koushik Das" wrote: >> >> > >> >It is better to add constraints in the db for all uuid fields. That way >> >uuid field will never get missed out. I s

Re: Create View Question

2013-05-30 Thread Min Chen
Please work with Jessica to consolidate the two views created by you two to come up with a final volume_view. Thanks -min On 5/30/13 6:46 AM, "Nitin Mehta" wrote: >Sorry for missing the mail. I would need the new volume view for my >feature to work. > >On 24/05/13 1:45

Re: Create View Question

2013-05-30 Thread Min Chen
day, May 30, 2013 9:58 AM To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" mailto:dev@cloudstack.apache.org>> Cc: Min Chen mailto:min.c...@citrix.com>> Subject: Re: Create View Question Hi Nitin, I left both of the "volumes" views in the code

Re: [MERGE]object_store branch into master

2013-06-03 Thread Min Chen
Chip/John, This thread has become very hard to follow due to several technical debates mixed together. Chip earlier made a good suggestion that we should start separate threads for several important architectural issues raised by John so that community can get clear grasp on the debating i

Re: [VOTE] Pushback 4.2.0 Feature Freeze

2013-06-03 Thread Min Chen
+1 We have spent the past one and half month working on object_store feature, it is very close to merge, just need some time to address review feedback and resolve any technical concerns. Thanks -min On 6/3/13 10:35 AM, "Sudha Ponnaganti" wrote: >+1 [binding] > >Given that there are around 47

Re: [MERGE]object_store branch into master

2013-06-03 Thread Min Chen
t;hypervisors created the need for it. With the wider expertise of the >list, we may be able to find solutions to these issues that either reduce >or eliminate the need for the cache. > >Thanks, >-John > >On Jun 3, 2013, at 1:11 PM, Chip Childers >wrote: > >>

[DISCUSS]OBJECT_STORE branch design: Error handling in case of S3 as native secondary storage

2013-06-03 Thread Min Chen
Hi there, This thread is to address John's comments about missing error handling in S3 as secondary storage in object_store branch implementation. From previous merge email thread, I realize that we may not explain clearly in FS how S3 should work in new object_store branch, so causing several c

[DISCUSS]Object_Store design: S3TemplateDownloader Implementation Issues

2013-06-03 Thread Min Chen
Hi there, This thread is to address John's review comments on S3TemplateDownloader implementation. From previous thread, there are two major concerns for this class implementation. 1. We have used HttpClient library in this class. For this comment, I can explain why I need that HttpClient dur

Re: Review Request: object storage refactor

2013-06-04 Thread Min Chen
> On May 28, 2013, 3:37 p.m., John Burwell wrote: > > core/src/com/cloud/storage/template/S3TemplateDownloader.java, line 69 > > > > > > 1. This class need to be formatted -- line lengths exceed wrap and the > > indent

Re: [DISCUSS]Object_Store design: S3TemplateDownloader Implementation Issues

2013-06-04 Thread Min Chen
ectRequest); upload.waitForCompletion(); Can you point out what I am doing wrong here? Previous code of using low-level S3 putObject api does not have this issue. Thanks -min On 6/3/13 11:35 AM, "Min Chen" mailto:min.c...@citrix.com>> wrote: Hi there, This thread is

Re: Review Request: object storage refactor

2013-06-04 Thread Min Chen
<https://reviews.apache.org/r/11277/#comment44412> Fixed. - Min Chen On May 20, 2013, 10:12 p.m., edison su wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request: object storage refactor

2013-06-04 Thread Min Chen
> On May 28, 2013, 3:37 p.m., John Burwell wrote: > > core/src/com/cloud/storage/template/S3TemplateDownloader.java, line 86 > > > > > > What are these attributes default visibility? It seems that they > > should be p

Re: Object based Secondary storage.

2013-06-05 Thread Min Chen
Welcome Tom. You can check out this FS https://cwiki.apache.org/confluence/display/CLOUDSTACK/Storage+Backup+Objec t+Store+Plugin+Framework for secondary storage architectural work done in object_store branch.You may also check out the following recent threads regarding 3 major technical questions

Re: [DISCUSS]Object_Store design: S3TemplateDownloader Implementation Issues

2013-06-05 Thread Min Chen
Never mind, I have resolved this issue. Thanks -min On 6/4/13 4:35 PM, "Min Chen" wrote: >John, > >I am trying to fix issue #2 mentioned here to handle multi-part upload >using TransferManager, but ran into the following issue >"2013-06-04 23:06:52,626 INFO [a

Re: StoragePoolForMigrationResponse and StoragePoolResponse

2013-06-06 Thread Min Chen
I agree with Prasanna on this. We don't need to introduce several Storage pool related responses just for some specific apis. In some way, suitableFormigration is some kind of attribute that can be set on a storage pool or not. If you don't want to show it to listStoragePool call, you can set that

Re: Object based Secondary storage.

2013-06-06 Thread Min Chen
s a bit more. > >Meanwhile, feel free to hit me up with any S3 questions you have. I'm >looking forward to playing with the object_store branch and testing it >out. > >Tom. > >On Wed, 2013-06-05 at 16:14 +, Min Chen wrote: >> Welcome Tom. You can check out thi

Re: Object based Secondary storage.

2013-06-06 Thread Min Chen
/s3tools/discussion/618865/thread/50a00c18. But the resolution there seems not working for me. Any advise? Thanks -min On 6/6/13 2:02 PM, "John Burwell" wrote: >Min, > >Are you calculating the MD5 or letting the Amazon client do it? > >Thanks, >-Jo

Re: Object based Secondary storage.

2013-06-06 Thread Min Chen
;: '8DFF5D8025E58E99', 'cache-control': 'proxy-revalidate', >> 'date': 'Thu, 06 Jun 2013 22:39:47 GMT', 'content-type': 'application/xml'}, >> 'reason': 'OK', 'data': '> encoding=&qu

Re: Object based Secondary storage.

2013-06-07 Thread Min Chen
be more lenient for Riak. The Basho guys might either like to change their format or talk to the different tool vendors about changing the tools to work with Riak. For Cloudian, we choose to try to keep it similar to AWS so we could avoid stuff like this. Tom. On Fri, 2013-06-07 at 04:02 +, Min

Re: StoragePoolForMigrationResponse and StoragePoolResponse

2013-06-07 Thread Min Chen
y isn't an attribute of a storage pool and I >believe it doesn't belong in the StoragePoolResponse object. > >Regards, >Devdeep > >> -Original Message- >> From: Min Chen [mailto:min.c...@citrix.com] >> Sent: Friday, June 07, 2013 2:20 AM >

Re: Review Request: Windows 8 (64 bit) guest OS enablement for KVM deployments in cloudstack

2013-06-10 Thread Min Chen
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/11611/#review21670 --- The code looks fine to me, what about test results? - Min Chen

Object_Store storage refactor GoToMeeting Tomorrow

2013-06-10 Thread Min Chen
Hi there, To reach consensus on some remaining NFS cache issues on object_store storage refactor work in a more effective manner, John, Edison and I have scheduled a GoToMeeting tomorrow to discuss them over the phone, any interested parties are welcome to join and brainstorm. Here are detailed

Re: Object_Store storage refactor GoToMeeting Tomorrow

2013-06-10 Thread Min Chen
- its too late here ? > >Thanks, >-Nitin > >On 11/06/13 11:06 AM, "Min Chen" wrote: > >>Hi there, >> >>To reach consensus on some remaining NFS cache issues on object_store >>storage refactor work in a more effective manner, John, Edison and I have

Re: NFS Cache storage query

2013-06-14 Thread Min Chen
Hi Sanjeev, In 4.2 release, we require that a NFS cache storage has to be added if you choose S3 as the storage provider since we haven't refactored hypervisor side code to handle s3 directly by bypassing NFS caching, which is the goal for 4.3 release. I see an issue with current UI, where

Re: Object_Store storage refactor Meeting Notes

2013-06-14 Thread Min Chen
>> >> On 13/06/13 10:08 PM, "John Burwell" wrote: >> >>> All, >>> >>> Edison Su, Min Chen, Animesh Chaturvedi, and myself met via >>> teleconference on 11 June 2013 @ 1:30 PM EDT. The goal of the meeting >>> was determine

Re: Object based Secondary storage.

2013-06-14 Thread Min Chen
HI Tom, You can file JIRA ticket for object_store branch by prefixing your bug with "Object_Store_Refactor" and mentioning that it is using build from object_store. Here is an example bug filed from Sangeetha against object_store branch build: https://issues.apache.org/jira/browse/CLOUDSTA

Re: Object based Secondary storage.

2013-06-17 Thread Min Chen
ter and file the bug >as my machine got rebooted over the weekend. > >The multipart upload looks like it is working correctly though and I can >verify the checksums etc are correct with what they should be. > >Tom. > >On Fri, 2013-06-14 at 16:55 +, Min Chen w

Re: Object based Secondary storage.

2013-06-17 Thread Min Chen
r url provided user is not compressed format, we will just send uncompressed version to S3. Thanks -min On 6/17/13 9:45 AM, "John Burwell" wrote: >Min, > >Why are objects being compressed before being sent to S3? > >Thanks, >-John > >On Jun 17, 2013

Query String Request Authentication(QSRA) support by S3 providers

2013-06-17 Thread Min Chen
Tom filed a very good bug for ACL setting change on S3 object when users issue extractTemplate API (https://issues.apache.org/jira/browse/CLOUDSTACK-3030), and his recommendation of using Query String Request Authentication (QSRA) alternative sounds like a right approach to fix this bug. Before

Re: Query String Request Authentication(QSRA) support by S3 providers

2013-06-17 Thread Min Chen
Amazon S3 resource. This is along the same line as QSRA mentioned by Tom, by wrapped in AmazonS3Client for easy consumption. By using this method, I think that I don't need to change ACL of S3 object to open a security hole. Thanks -min From: John Burwell mailto:jburw...@basho.com>>

Re: Query String Request Authentication(QSRA) support by S3 providers

2013-06-18 Thread Min Chen
3 8:07 AM To: Min Chen mailto:min.c...@citrix.com>> Cc: Thomas O'Dowd mailto:tpod...@cloudian.com>>, "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" mailto:dev@cloudstack.apache.org>> Subject: Re: Query String Request Authentication(QSRA) suppo

  1   2   3   4   5   >