RE: [PROPOSAL] Storage Subsystem API Interface Additions

2013-09-18 Thread Alex Huang
That's my read on the proposal also but, Chris, please clarify. I don't think the end user will see the change. It's an optimization for interfacing with the storage backend. --Alex > -Original Message- > From: Marcus Sorensen [mailto:shadow...@gmail.com] > Sent: Wednesday, September

RE: [DISCUSS] Java 7, tomcat 7 and further upgrades

2013-09-18 Thread Alex Huang
I don't have much problem with switching to jdk1.7. My eclipse is running with jdk1.7 as the builder and it can't find any problems in cs code. The main question I think will come from the Linux variants. Are all of them shipping with jdk1.7 now? --Alex > -Original Message- > From:

RE: Apache CloudStack 4.2.0 (fifth round)

2013-09-18 Thread Alex Huang
+1(binding) followed release procedure and tested on devCloud. --Alex > -Original Message- > From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com] > Sent: Friday, September 13, 2013 4:13 PM > To: dev@cloudstack.apache.org > Subject: Apache CloudStack 4.2.0 (fifth round) > > >

RE: Removal of cloud-plugin-netapp

2013-09-18 Thread Alex Huang
I think it should be removed. --Alex > -Original Message- > From: SuichII, Christopher [mailto:chris.su...@netapp.com] > Sent: Wednesday, September 18, 2013 5:26 AM > To: > Subject: Removal of cloud-plugin-netapp > > I remember seeing/hearing some discussion about removing the cloud- >

RE: conflicting dependencies between CloudStack and Whirr

2013-09-18 Thread Alex Huang
I actually did a quick try to update cloudstack to use newest gson version about 3 months back. Had to roll it back but I didn't try very hard though. Part of the reason why I decided to rollback is due to gson is used differently by various components in CloudStack and I didn't have time to g

RE: DatabaseUpgradeChecker and running from eclipse

2013-09-19 Thread Alex Huang
Around 4.1 timeframe, Rohit added DatabaseCreator to call DatabaseUpgradeChecker to create and upgrade the database but forgot to remove it from the server configuration. We should simply add a DatabaseVesionChecker for the server configuration to check if the database is at the version expect

RE: DatabaseUpgradeChecker and running from eclipse

2013-09-19 Thread Alex Huang
y > looking > for 4.3.0-SNAPSHOT that is put in the MANIFEST.MF in the mvn build. The > patch I put on review board is to remove the getSuperclass() check as that > seems to be never a good idea. > > Darren > > > > On Thu, Sep 19, 2013 at 10:27 AM, Alex Huang >

RE: DatabaseUpgradeChecker and running from eclipse

2013-09-19 Thread Alex Huang
hat is this madness? Why are there two db > upgrade classes? > > Darren > > > On Thu, Sep 19, 2013 at 10:04 AM, Alex Huang > wrote: > > > Around 4.1 timeframe, Rohit added DatabaseCreator to call > > DatabaseUpgradeChecker to create and upgrade the dat

RE: cloudstack source code in build dir

2013-09-19 Thread Alex Huang
Hi黑洞, CloudStack has a few properties files with tokens within them. These tokens are usually replace during installation of cloudstack. For developers, replace.properties contains replacement values files for these tokens so that after you build, cloudstack already have the proper values for

RE: conflicting dependencies between CloudStack and Whirr

2013-09-19 Thread Alex Huang
> On Wed, Sep 18, 2013 at 4:42 PM, Darren Shepherd < > darren.s.sheph...@gmail.com> wrote: > > > I can do some analysis on this. I'm always up for a terribly painful > > refactor :) > > > > Darren > > > > > > On Wed, Sep 18, 2013 at 4

RE: Moved the systemvm to its own maven project

2013-09-20 Thread Alex Huang
Nice! Can't wait to look at this! --Alex > -Original Message- > From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers > Sent: Friday, September 20, 2013 3:40 AM > To: dev@cloudstack.apache.org > Subject: Moved the systemvm to its own maven project > > Hey all, > > Just a

Re: Review Request 13891: replaced volatile int values with AtomicInteger

2013-09-23 Thread Alex Huang
- > > (Updated Aug. 28, 2013, 7:40 p.m.) > > > Review request for cloudstack and Alex Huang. > > > Repository: cloudstack-git > > > Description > --- > > volatile int ++ and -- operations do not guarantee thread safety, these

RE: VmWare SDK to vijava

2013-09-24 Thread Alex Huang
So this discussion took a big turn that I did not expect. I am very strongly against creating a "plugin" layer just to interface with VmWare. I appreciate both the effort from Darren and Hugo and each hold some merit. I think we should discuss this out and drive a consensus rather than spendi

RE: VmWare SDK to vijava

2013-09-24 Thread Alex Huang
> -Original Message- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent: Tuesday, September 24, 2013 4:23 PM > To: dev@cloudstack.apache.org > Subject: RE: VmWare SDK to vijava > > So this discussion took a big turn that I did not expect. I am very strongly

RE: VmWare SDK to vijava

2013-09-24 Thread Alex Huang
Agreed. If we can do it is the big question. Although, AFAIK, vijava is also generated from the same set of wsdl. So if we can't get the license, I have to wonder how did vijava get their BSD license? --Alex > -Original Message- > From: Darren Shepherd [mailto:darren.s.sheph...@gmail

RE: VmWare SDK to vijava

2013-09-24 Thread Alex Huang
Wow good guess...Hugo had me scratching my head on that oneIs Prussian some code name for Apache legalShould I askWould it make me look stupid if I askedall sorts of doubts going through my mind. --Alex > -Original Message- > From: Chiradeep Vittal [mailto:chiradeep.vit.

RE: [VOTE] Accept the donation of a Contrail plugin into Apache CloudStack

2013-09-26 Thread Alex Huang
+1 (binding) --Alex > -Original Message- > From: Chip Childers [mailto:chipchild...@apache.org] > Sent: Wednesday, September 25, 2013 10:13 AM > To: dev@cloudstack.apache.org > Subject: [VOTE] Accept the donation of a Contrail plugin into Apache > CloudStack > > Hi all! > > As stated in

RE: [DISCUSS] Release Managers for future ACS releases - enhacement

2013-09-26 Thread Alex Huang
Agreed. If you look at what a release manager has to do today - triage bugs - follow up on reviews and ask people to commit them - cherry-pick fixes To me it is a lot of work for one person to do for CloudStack. We can certainly divide up the work. For example, - One RM is responsible for o

RE: [PROPOSAL] Service monitoring tool in virtual router

2013-09-26 Thread Alex Huang
Using SNMP for alert notification is not a bad idea though. I don't see why we can't do that instead of posting to the management server. This is specifically referring to the second part of the proposal. Why reinvent that part of it? --Alex > -Original Message- > From: Chiradeep Vi

RE: NetworkElement and other *ServiceProviders often have useless return values

2013-09-27 Thread Alex Huang
mail.com] > Sent: Friday, September 27, 2013 11:07 AM > To: dev@cloudstack.apache.org; Chiradeep Vittal; Alex Huang > Subject: NetworkElement and other *ServiceProviders often have useless > return values > > On NetworkElement and many other *ServiceProvider interfaces (ie > DhcpS

RE: [PROPOSAL] Support OVA files with multiple disks for templates and uploaded volumes in VMWare

2013-09-30 Thread Alex Huang
Likitha, This is not of value to VmWare only. We should make sure it works or has plugin points for all of the hypervisors. In general, how we support this today is through hypervisor capabilities to determine during orchestration and then on the Resource for each hypervisor, it can determine

RE: [DISCUSS] Breaking out Marvin from CloudStack

2013-10-02 Thread Alex Huang
I don't really understand what purpose would this serve. Would we ever use newer marvin against older CloudStack or vice versa? What's the benefit? I can understand it for cloudmonkey because cloudmonkey is an admin cli tool and reving it differently is not a bad idea. I just don't see it f

RE: [DISCUSS] Breaking out Marvin from CloudStack

2013-10-02 Thread Alex Huang
Yeah...I'm more amendable to this proposal. I just don't see tests being separated from the source release. In fact, I see a lot of problems with matching versions and releases. I still question the value of separating out a framework where both ends (tests and the server it tests) stay in th

RE: [MERGE] spring-modularization to master - Spring Modularization

2013-10-02 Thread Alex Huang
+1 on running the BVT on it. We've been through this one once before. Should be careful. --Alex > -Original Message- > From: Kelven Yang [mailto:kelven.y...@citrix.com] > Sent: Wednesday, October 2, 2013 4:39 PM > To: dev@cloudstack.apache.org > Subject: Re: [MERGE] spring-modularizati

RE: [Proposal] Improve VR upgrades

2013-10-23 Thread Alex Huang
+1. That's the way to do it with no downtime. Tighter control needs to be formed on the VR to VR version compatibility though. It's one reason I always support that we break VR into smaller pieces. Redundant VRs work great as routing but then if you have to handle DHCP, DNS, Load Balancing,

RE: Command sequence logic in agent code

2013-10-24 Thread Alex Huang
m: Koushik Das > Sent: Thursday, October 24, 2013 2:11 AM > To: > Cc: Alex Huang > Subject: Re: Command sequence logic in agent code > > Created https://issues.apache.org/jira/browse/CLOUDSTACK-4944 to track > this issue. > > Alex, Any reason for adding requests based

RE: Metadata URL location

2013-10-24 Thread Alex Huang
In order to use an link local address inside the end user vm, that metadata service must be setup on every hypervisor's dom0 or it has to be proxied out of the dom0. That's not doable for VmWare. Instead, CloudStack uses VR to serve the data, which works for all three hypervisors. --Alex >

RE: Metadata URL location

2013-10-24 Thread Alex Huang
ructions that I gave in the earlier > email > was changes to the VR to serve metadata from the VR. > Regardless of hypervisor, it should work. > > Darren > > On Thu, Oct 24, 2013 at 10:54 AM, Alex Huang > wrote: > > In order to use an link local address inside the

failing unit tests....

2013-10-25 Thread Alex Huang
I'm getting this failing unit test when building with the latest from master. Anyone working on it or know what it is already? From the stack, it looks like it's a problem location the jdbc driver. This was working just yesterday. Test set: com.cloud.alert.AlertControlsUnitTest --

RE: failing unit tests....

2013-10-25 Thread Alex Huang
: failing unit tests > > I'll fix that. > > Darren > > On Fri, Oct 25, 2013 at 1:54 PM, Alex Huang wrote: > > I'm getting this failing unit test when building with the latest from > > master. > Anyone working on it or know what it is already? From the st

RE: failing unit tests....

2013-10-25 Thread Alex Huang
t; I'll fix that. > > > > Darren > > > > On Fri, Oct 25, 2013 at 1:54 PM, Alex Huang > wrote: > > > I'm getting this failing unit test when building with the latest > > > from > > master. Anyone working on it or know what it is

RE: ifconfig and MacAddress

2013-10-29 Thread Alex Huang
I can confirm the code's only there because Java didn't have it before. --Alex From: Laszlo Hornyak [mailto:laszlo.horn...@gmail.com] Sent: Monday, October 28, 2013 11:50 PM To: dev@cloudstack.apache.org Cc: Alex Huang; Kelven Yang Subject: Re: ifconfig and MacAddress Hi, I not

RE: [MERGE] network-guru-orchestration into master

2013-10-30 Thread Alex Huang
n NetworkElement can work with the L2-L3 technology deployed. --Alex > -Original Message- > From: Darren Shepherd [mailto:darren.s.sheph...@gmail.com] > Sent: Wednesday, October 30, 2013 10:11 AM > To: dev@cloudstack.apache.org; Alex Huang; Chiradeep Vittal > Subject: Re: [MER

uploading to maven repository

2013-11-12 Thread Alex Huang
Hi all, I have a chance to convince xenserver to upload their java stubs to maven so that we don't have to keep a copy of it in ours source code. They're stuck on the whole upload process as they've never dealt with maven before. Is there anyone who can walk me through how to do it? Reading

RE: Eclipse Question

2013-11-12 Thread Alex Huang
Usually problems like that goes away if you refresh your project or do a clean on the project. Eclipse just get confused. I never know which one helps for sure but when this gets really bad, these are the steps I do. Project->Turn off Build Automatically Project->Clean Highlight all projects ->

[ANNOUNCE] New committer: Sangeetha Hariharan

2013-05-23 Thread Alex Huang
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 contributors to contribute more autonomously. For developers, it makes it easier to submit chan

RE: Convention on UUID column

2013-05-24 Thread Alex Huang
+1 on adding the constraints. Just make sure you add them after upgrading the data. Populating with id in the upgrade prevents exactly the problem you've described. That's why we're doing it. --Alex > -Original Message- > From: Nitin Mehta [mailto:nitin.me...@citrix.com] > Sent: Thu

RE: master build breaks at com.cloud.vpc.NetworkACLServiceTest

2013-05-27 Thread Alex Huang
Daan, The other possibility is that the test is affected by another test so that it breaks when the tests are in a certain order. Have you noticed what's the order of the tests ran when it breaks? --Alex > -Original Message- > From: Daan Hoogland [mailto:dhoogl...@schubergphilis.com]

RE: master build breaks at com.cloud.vpc.NetworkACLServiceTest

2013-05-28 Thread Alex Huang
bject: RE: master build breaks at com.cloud.vpc.NetworkACLServiceTest > > Alex, > > Can this change out of the box? I had the problem on a clean checkout of > master. > > -Original Message- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent:

RE: PLEASE: master build breaks at com.cloud.vpc.NetworkACLServiceTest

2013-05-28 Thread Alex Huang
ceTest > > Alex, > > Can this change out of the box? I had the problem on a clean checkout of > master. > > -Original Message- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent: maandag 27 mei 2013 15:55 > To: dev@cloudstack.apache.org > Subj

RE: master build breaks at com.cloud.vpc.NetworkACLServiceTest

2013-05-29 Thread Alex Huang
turn(new NetworkACLItemVO()); _aclService.createNetworkACLItem(createACLItemCmd); } > -Original Message- > From: Kishan Kavala > Sent: Wednesday, May 29, 2013 4:48 AM > To: dev@cloudstack.apache.org > Cc: Alex Huang > Subject: RE: master build breaks at com.clou

RE: master build breaks at com.cloud.vpc.NetworkACLServiceTest

2013-05-29 Thread Alex Huang
t;)) > .thenReturn("one", "two"); > //is the same as: > when(mock.someMethod("some arg")) > .thenReturn("one") > .thenReturn("two"); > > Regards, > Daan (not new to unit-tests sec but to mockito though)

RE: maintenance mode for secondary storage?

2013-05-30 Thread Alex Huang
Daan, We have a procedure for doing that. The problem in general has to do with the large capacity of the secondary storage so it's actually better to do migration of data outside of cloudstack with some manual process in stages and then just fix up the secondary storage in the database. I

RE: [VOTE] Pushback 4.2.0 Feature Freeze

2013-06-03 Thread Alex Huang
+1 [binding] --Alex > -Original Message- > From: Will Chan [mailto:will.c...@citrix.com] > Sent: Monday, June 3, 2013 11:08 AM > To: dev@cloudstack.apache.org > Subject: RE: [VOTE] Pushback 4.2.0 Feature Freeze > > +1 [Binding] > > It looks like there are a couple of last minute feature

RE: [ANNOUNCE] New CloudStack PMC Member: John Burwell

2013-06-04 Thread Alex Huang
Congrats! Well deserved! --Alex > -Original Message- > From: Chip Childers [mailto:chipchild...@apache.org] > Sent: Tuesday, June 4, 2013 6:35 AM > To: dev@cloudstack.apache.org > Subject: [ANNOUNCE] New CloudStack PMC Member: John Burwell > > The Apache CloudStack PMC has invited John

RE: [DISCUSS] code-freeze and integration tests

2013-06-06 Thread Alex Huang
It should not affect tests. We want to move to mostly if not all automated tests. If we freeze the tests that means no more testing for the release. :P --Alex > -Original Message- > From: Prasanna Santhanam [mailto:t...@apache.org] > Sent: Wednesday, June 5, 2013 10:20 PM > To: CloudS

RE: Quick DB Question

2013-06-07 Thread Alex Huang
Mike, The Data Access Layer page[1] have the answer to this. Specifically this particular part in the example. // getters and setters must follow the Java // convention of putting get/set in front of // the field name. public String getText() { return text; } get_i

Re: Review Request: The equals method checks type against Pair

2013-06-10 Thread Alex Huang
: a1a68ed0c4b722f6f83733d0b110debde2a1041e - Alex Huang On June 8, 2013, 9:12 p.m., Laszlo Hornyak wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request: use commons-lang StringUtils

2013-06-10 Thread Alex Huang
to resubmit anyways, I think why not just change all of the code to use the commons.lang version. I see no point in keeping the method in StringUtils if it's replaceable by one in a standard library. - Alex Huang On June 9, 2013, 7:47 p.m., Laszlo Hornyak

RE: Contributing as a non-committer

2013-06-10 Thread Alex Huang
Paul, That line is old. You should follow this page. https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment --Alex > -Original Message- > From: Paul Angus [mailto:paul.an...@shapeblue.com] > Sent: Monday, June 10, 2013 6:41 AM > To: dev@clo

RE: Contributing as a non-committer

2013-06-10 Thread Alex Huang
> Forget about eclipse for now :) just use vi :) Why don't we just go back to ed? --Alex

RE: Build failed in Jenkins: cloudstack-rat-master #1468

2013-06-11 Thread Alex Huang
I don't know much about Jenkins. Can this be fix? It's not good to keep getting these build errors. It hides actual errors. Anyone know how to fix it? --Alex > -Original Message- > From: Hugo Trippaers [mailto:htrippa...@schubergphilis.com] > Sent: Tuesday, June 11, 2013 1:43 AM > To

RE: Review Request: use commons-lang StringUtils

2013-06-11 Thread Alex Huang
Ok...please resubmit. --Alex > -Original Message- > From: Laszlo Hornyak [mailto:nore...@reviews.apache.org] On Behalf Of > Laszlo Hornyak > Sent: Tuesday, June 11, 2013 11:48 AM > To: cloudstack; Laszlo Hornyak; Alex Huang > Subject: Re: Review Request: use common

Please run with assert on when you're developing...

2013-06-11 Thread Alex Huang
Hi All, CloudStack code have many asserts to guarantee code is written correctly for the developers. I recently realized that since we've converted to maven, we no longer run with assert on as developers. It is very important that we do because it will find problems for you during load time a

RE: Hadoop cluster running in cloudstack

2013-06-12 Thread Alex Huang
I thought about this a bit yesterday after Chiradeep talked to me. The first fix is definitely allow multiple local storage per host. That requires some work on cloudstack but I don't see it as a big problem. Then a storage-pool allocator can be written such that it always allocates separate l

RE: Chip and David elected ASF Members

2013-06-12 Thread Alex Huang
Congratulations Chip and Dave! --Alex > -Original Message- > From: Sebastien Goasguen [mailto:run...@gmail.com] > Sent: Wednesday, June 12, 2013 1:31 AM > To: dev@cloudstack.apache.org > Subject: Chip and David elected ASF Members > > Congratulations to Chip and David for being elected m

RE: UI Development

2013-06-12 Thread Alex Huang
Soheil, Yes there is. Look under the plugins folder for all the current plugins. CloudStack plugins allow not only code to be inserted to add functionality but APIs can be added to facilitate new functionalities. I do ask everyone who are developing plugins to consider and discuss end user

RE: Please run with assert on when you're developing...

2013-06-12 Thread Alex Huang
esting of the server anyways because you can easily attach for debugging purposes. The drawback to doing it this way is that the unit tests that are ran during the install stage do not hit asserts. (I think but haven't confirmed yet.) --Alex > -Original Message- > From: Alex Huan

RE: tests for projects

2013-06-12 Thread Alex Huang
Dan, It's tough to write unit tests for engine-schema because the requirement is for all unit tests to work without a DB so testing DB access without a DB is kinda useless. The tests themselves probably won't be very interesting anyways. All of the classes are actually based off one class, Ge

RE: help on db code wanted

2013-06-12 Thread Alex Huang
Daan, You can enable trace logging on the category "com.cloud.utils.db.Transaction.Statement" in log4j-cloud.xml. It will log every SQL statement sent to the DB. Look for update to the specific table, that will give you an indication what the db layer thinks is being set. The logs grow very

RE: help on db code wanted

2013-06-12 Thread Alex Huang
didn't think of live stock yet, but that is a good backronym as well. The > original is latin : lectori salutem (I hope I have the inclinations right) > meaning > readers be greeted > > -Original Message- > From: Alex Huang [mailto:alex.hu...@citrix.

RE: [MERGE] disk_io_throttling to MASTER

2013-06-12 Thread Alex Huang
Hi All, I didn't follow this thread as much so maybe it's already been discussed. If so, let me know. I don't see why these limits should be used as a way to do allocation. CS already supports storage tiering through tags. Why not reuse that concept? A use case would be. An admin wants to u

RE: help on db code wanted

2013-06-12 Thread Alex Huang
them. I suppose I chose the one > from secondary-storage and they all get picked up? I also see some .in files. > No need to worry about those? > > -Original Message- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent: donderdag 13 juni 2013 0:44 > To: dev@clouds

RE: help on db code wanted

2013-06-12 Thread Alex Huang
om] > Sent: donderdag 13 juni 2013 1:08 > To: dev@cloudstack.apache.org > Subject: RE: help on db code wanted > > Ok, > > 2013-06-13 00:54:21,841 INFO [cloud.utils.LogUtils] (main:null) log4j > configuration found at > C:\Users\dhoogland\cloudstack\cloudstack\client\t

FW: [ANNOUNCE] New committer: Mike Tutkowski

2013-06-19 Thread Alex Huang
The Project Management Committee (PMC) for Apache CloudStack has asked Mike Tutkowski to become a committer and we are pleased to announce that they have accepted. Being a committer allows many contributors to contribute more autonomously. For developers, it makes it easier to submit changes a

RE: IRC meeting today

2013-06-19 Thread Alex Huang
Sorry. I had to drop out due to day job as well. --Alex > -Original Message- > From: John Kinsella [mailto:j...@stratosec.co] > Sent: Wednesday, June 19, 2013 10:19 AM > To: > Subject: Re: IRC meeting today > > We had about 4 of us in the meeting, so we just dropped it until next week.

RE: [MERGE] Merge VMSync improvement branch into master

2013-06-26 Thread Alex Huang
Hi All, Kelven had an emergency so I'm submitting the changes on vmsync for him. The patch are on https://reviews.apache.org/r/12126. Hugo took a look and already had some questions on why so many files were changed and added/deleted, So I like to explain a bit in this email. As part of the

RE: [MERGE] Merge VMSync improvement branch into master

2013-06-27 Thread Alex Huang
Dave, Chip has asked this before and we also stated specifically that we won't merge it in unless we see equivalent pass rate on the BVT as master. We're doing that right now. --Alex > -Original Message- > From: David Nalley [mailto:da...@gnsa.us] > Sent: Thursday, June 27, 2013 4:34

RE: [MERGE] Merge VMSync improvement branch into master

2013-06-27 Thread Alex Huang
>>>>> a reviewer to increase the probability that a feature will make a > >>>>> particular > >> release train. > >>>>> Finally, it appears that reviewers are growing less and less > >>>>> tolerant of large patches that appear just

RE: [MERGE] Merge VMSync improvement branch into master

2013-06-27 Thread Alex Huang
entation and stability. Without wanting to rip open old wounds, i can > imagine we all want to avoid a javelin incident. > > > > I respect the work going into this and the effort it will take to keep this > > up > to date with the current speed of master, but still i&#x

[DISCUSS] If BVT breaks, revert the commits...

2013-06-28 Thread Alex Huang
After Dave's complain in the vmsync [MERGE] thread about BVT in horrible shape on master, I went around to figure out what exactly happened. The best I can figure is that after a certain merge (I will leave out which merge as that's not important), BVT no longer runs automatically. It was prom

RE: [DISCUSS] If BVT breaks, revert the commits...

2013-06-28 Thread Alex Huang
> This only thing i'm a bit afraid of is the technical side of reverting a > merge. It's > one of those this that you need to be careful with in git. I think this means all merges must come in as one big squashed patch. If they come in as multiple commits or rebase, then it gets reverted automa

RE: [MERGE] Merge VMSync improvement branch into master

2013-06-28 Thread Alex Huang
Given the current state of BVT, I don't think we can reliably merge this into master. It will have to wait for 4.3. I apologize to those who really want to see this feature in. I myself have slaved over this for some weeks, including missing the collab conference, but I just cannot conscienti

RE: [MERGE] Merge VMSync improvement branch into master

2013-07-01 Thread Alex Huang
op on the progress. If its > functional to some extent - i.e. at least build succeeds without errors and > major functionality is there, I can merge the code into CloudSand CS distro - > to test it out and share it with whoever wants to try it. > > Thanks > ilya > >

RE: Async Job / Event Bus issue

2013-07-02 Thread Alex Huang
Ryan, There's explicit code to remove those two columns. IIRC, the reason is because asyncjob actually uses those two fields to sequence jobs on the same id and type. So when the job is done, then it removes those two fields so it doesn't block the next job. --Alex > -Original Message--

Coding Convention Reminder

2013-07-02 Thread Alex Huang
I like to remind everyone to review our coding conventions. Our coding conventions have been going all over the place recently. Please take a look. https://cwiki.apache.org/confluence/display/CLOUDSTACK/Coding+conventions I also like to propose that we extend the 120 column limit to 180 column

RE: Coding Convention Reminder

2013-07-02 Thread Alex Huang
ate for reference. > > > > > >-Original Message- > > >From: Edison Su [mailto:edison...@citrix.com] > > >Sent: Tuesday, July 02, 2013 5:08 PM > > >To: dev@cloudstack.apache.org > > >Subject: RE: Coding Convention Reminder > > > >

[ECLIPSE] Atlassian plugin...

2013-07-02 Thread Alex Huang
Hi All, Hugo showed me this really cool eclipse plugin from Atlassian which makes Jira. It allows you to list all of the bugs assigned to you and then changes the workspace and the files opened based on which bug you're working on. You can also make changes to the bug itself. Very cool! Tha

RE: [MERGE] Merge VMSync improvement branch into master

2013-07-03 Thread Alex Huang
these changes, I will not be asking for review requests. They're refactoring done by Eclipse.. --Alex > -Original Message- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent: Monday, July 1, 2013 10:20 AM > To: dev@cloudstack.apache.org > Subject: RE: [MERGE]

RE: Coding Convention Reminder

2013-07-03 Thread Alex Huang
he > resource is not on the include path of a javascript project" > > Thanks! > Ian > > On 3 July 2013 07:36, Wido den Hollander wrote: > > On 07/03/2013 12:11 AM, Alex Huang wrote: > >> > >> I like to remind everyone to review our coding conventions

RE: How to evaluate performance of a resource allocation policy?

2013-07-09 Thread Alex Huang
> > Consider using the simulator plugin, which will simulate hosts. You can > follow > the testing instructions on the Marvin testing page [1], but modify your setup > to implement whatever number of hosts you want to test against. From > there, you would need to modify the allocator that's ena

RE: [DISCUSS] If BVT breaks, revert the commits...

2013-07-09 Thread Alex Huang
STACK/Automated+Tests+Rules+and+Guidelines > -Original Message- > From: David Nalley [mailto:da...@gnsa.us] > Sent: Friday, June 28, 2013 8:44 PM > To: dev@cloudstack.apache.org > Subject: Re: [DISCUSS] If BVT breaks, revert the commits... > > On Fri, Jun 28, 2013 at

RE: [DISCUSS] What other "features" or code is sitting around that might be suffering from bit rot?

2013-07-10 Thread Alex Huang
Thanks Chip for starting this thread. I can at least think of the netapp plugin integration as something that was tried before ASF but no longer tested and used. I'm all for coming up with this list but I don't see how this list can be conclusive. The problem that Edison dealt with in swift su

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

2013-07-10 Thread Alex Huang
John, I'm concerned that object store implementations that's going into 4.2 will repeat this fate if we don't add them into the automated test environment. Perhaps, you, me, Edison, Prassana, and perhaps Thomas can work together about how to add the current implementations into the regression

RE: Expanding a volume on a SAN

2013-07-10 Thread Alex Huang
You might have to force a reconnection to the xenserver in order for CS to see it. On every connection, CS checks these items and updates its database. --Alex > -Original Message- > From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] > Sent: Wednesday, July 10, 2013 2:14 PM > To:

RE: [DISCUSS] What other "features" or code is sitting around that might be suffering from bit rot?

2013-07-10 Thread Alex Huang
> > > On Jul 10, 2013, at 5:06 PM, Chip Childers > wrote: > > > On Wed, Jul 10, 2013 at 08:44:24PM +, Alex Huang wrote: > >> Thanks Chip for starting this thread. > >> > >> I can at least think of the netapp plugin integration as something tha

RE: Expanding a volume on a SAN

2013-07-10 Thread Alex Huang
; When you say, "force a reconnection," I'm not sure to what part of the > system you're referring. Is this an action performed on the CloudStack side? > > Thanks! > > > On Wed, Jul 10, 2013 at 4:10 PM, Alex Huang wrote: > > > You might have to force

RE: [DISCUSS] What other "features" or code is sitting around that might be suffering from bit rot?

2013-07-10 Thread Alex Huang
> > I agree with your points above, but think that we need to take this step by > step. Let's figure out what code isn't actually in shape, based on historical > understanding first. We then at least have a target to ask the next question: > what's covered by testing (automated or manual) for ea

RE: Expanding a volume on a SAN

2013-07-10 Thread Alex Huang
n maintenance mode to evacuate the VM, > when you cancel maintenance mode for the primary storage, CS will get the > new size of the primary storage. > > > Anthony > > -----Original Message- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent: Wednesday, July

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

2013-07-11 Thread Alex Huang
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: Sw

Adding git commit ids to our packaging...

2013-07-11 Thread Alex Huang
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 the

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

2013-07-11 Thread Alex Huang
Branch: UNKNOWN_BRANCH > > Archiver-Version: Plexus Archiver > > > > --David > > > > On Thu, Jul 11, 2013 at 9:01 PM, Chip Childers > > wrote: > >> Is it off by default? > >> > >> Our releases aren't from git. > >&g

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

2013-07-12 Thread Alex Huang
m: 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

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

2013-07-15 Thread Alex Huang
> -Original Message- > From: Chip Childers [mailto:chip.child...@sungard.com] > Sent: Monday, July 15, 2013 7:25 AM > To: dev@cloudstack.apache.org > Cc: Edison Su > Subject: Re: RE: Swift in 4.2 is broken, anybody wants it to be supported in > 4.2? > > On Fri, Jul 12, 2013 at 07:08:41PM

RE: Invoking an API from an API plugin

2013-07-15 Thread Alex Huang
Chris, You should be able to just create the command instances yourself and feed it to the service class. It does not require the handler. --Alex > -Original Message- > From: Chiradeep Vittal > Sent: Monday, July 15, 2013 7:36 PM > To: dev@cloudstack.apache.org > Cc:

RE: [discuss] 80 char max length leads to illegiable source

2013-07-16 Thread Alex Huang
Donal, Our coding convention says 180. It was discussed about a week or two back. https://cwiki.apache.org/confluence/display/CLOUDSTACK/Coding+conventions --Alex > -Original Message- > From: Donal Lafferty [mailto:donal.laffe...@citrix.com] > Sent: Tuesday, July 16, 2013 6:02 AM > To:

RE: Invoking an API from an API plugin

2013-07-16 Thread Alex Huang
Chris, If it is then it was written wrong. You can change it to public and send in a patch. --Alex > -Original Message- > From: SuichII, Christopher [mailto:chris.su...@netapp.com] > Sent: Monday, July 15, 2013 9:23 PM > To: > Cc: Alex Huang; Chiradeep Vittal; Min Che

RE: [discuss] 80 char max length leads to illegiable source

2013-07-16 Thread Alex Huang
s are already using it. --Alex > -Original Message- > From: Joe Brockmeier [mailto:j...@zonker.net] > Sent: Tuesday, July 16, 2013 7:26 AM > To: dev@cloudstack.apache.org > Subject: Re: [discuss] 80 char max length leads to illegiable source > > On Tue, Jul 16, 201

RE: code formatting for enums

2013-07-17 Thread Alex Huang
Windows->Preferences Java->Formatter Click on Edit in Active Profiles Line Wrapping tab Look for 'enum' declaration->Constants Select Wrap all elements, every element on a new line in the "Line Wrapping policy:" drop down --Alex > -Original Message- > From: Daan Hoogland [mailto:daan.ho

RE: code formatting for enums

2013-07-17 Thread Alex Huang
com] > Sent: Wednesday, July 17, 2013 8:23 AM > To: dev > Subject: Re: code formatting for enums > > thanks, > it doesn't correct back to the one per line format, but at least it doesn't > garble the enum when right anymore. > > > > On Wed, Jul 17, 2013 at 4

  1   2   3   4   >