Re: @ActionEvent generation doesn't work when method is called within the same manager context

2014-05-15 Thread Darren Shepherd
Any call to this.method() will not process @ActionEvent annotation. That is expected after the spring changes that were done. There's no change that can be done to change that behavior, it's just how spring AOP work because it's proxy based. If you want @ActionEvent to be processed you must

Re: Event Interceptor fix - contrail plugin : Review Request

2014-02-24 Thread Darren Shepherd
I'm sorry, I thought I did this weeks ago. Do you not see the commit in master? I'll double check, maybe I forgot to push. Darren From: Suresh Balineni sbalin...@juniper.net Date: 2014-02-24 19:19:57 + To: Darren Shepherd darren.sheph...@citrix.com,dev

Re: Review Request 17337: Contrail Event Interceptor fix

2014-02-10 Thread Darren Shepherd
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/17337/#review34170 --- Ship it! Commit c1cfaa2d1c553d86ae35443d15100b20c2d1b69f - Darren

Re: Upgrade to newer version of gson?

2014-01-04 Thread Darren Shepherd
this is the version I attempted. --Alex -Original Message- From: Edison Su Sent: Friday, January 3, 2014 5:53 PM To: dev@cloudstack.apache.org Cc: Alex Huang; Darren Shepherd Subject: RE: Upgrade to newer version of gson? Oh, a minor upgrade should be enough: https://code.google.com/p

Re: Loading order of Adapter components

2013-12-19 Thread Darren Shepherd
The names are cases sensitive. Is there a reason you put the name as lowercase in the global configuration? Darren On Dec 19, 2013, at 3:12 PM, Prachi Damle prachi.da...@citrix.com wrote: Hi Darren, I am trying to add a new implementation of SecurityChecker interface which is an

Re: Loading order of Adapter components

2013-12-19 Thread Darren Shepherd
definition in the order config? Thanks, Prachi From: Darren Shepherd [mailto:darren.s.sheph...@gmail.com] Sent: Thursday, December 19, 2013 2:30 PM To: Prachi Damle Cc: dev@cloudstack.apache.org Subject: Re: Loading order of Adapter components The names are cases sensitive

Re: cloudstack no longer monitoring log4j-cloud.xml?

2013-12-17 Thread Darren Shepherd
Cc'ing dev list from the right email Darren On Dec 17, 2013, at 10:14 PM, Darren Shepherd darren.sheph...@citrix.com wrote: I'll look at it, but that util method that loads the log4j-cloud.xml is still being called, I can't remember the api off the top of my head. My first guess would

Re: cloudstack no longer monitoring log4j-cloud.xml?

2013-12-17 Thread Darren Shepherd
with Sheng and couldn't find any open file handles to any log4j-cloud.xml, which if this was done, will always have an open file handle. --Alex -Original Message- From: Darren Shepherd [mailto:darren.s.sheph...@gmail.com] Sent: Tuesday, December 17, 2013 9:16 PM To: Alex Huang

Re: cloudstack no longer monitoring log4j-cloud.xml?

2013-12-17 Thread Darren Shepherd
I'll look at it, but that util method that loads the log4j-cloud.xml is still being called, I can't remember the api off the top of my head. My first guess would actually be that the file is getting loaded from a different place than /etc. ACS packages a lot of files twice and I often see the

Re: persistence layer

2013-12-02 Thread Darren Shepherd
Alright, this is long…. I have to say after the 10+ years of struggling with JDBC, Hibernate, JbdcTemplate, JPA, QueryDSL, and countless custom solutions, I've have never found a database access solution that has impressed me as much as jooq. If I was starting from scratch today I'd definitely

Re: Resource Management/Locking [was: Re: What would be your ideal solution?]

2013-11-25 Thread Darren Shepherd
PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: 140 characters are not productive. What would be your idea way to do distributed concurrency control? Simple use case. Server 1 receives a request to start a VM 1. Server 2 receives a request to delete VM 1. What do you do? Darren

Re: Resource Management/Locking [was: Re: What would be your ideal solution?]

2013-11-25 Thread Darren Shepherd
, 2013 at 10:16 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: You bring up some interesting points. I really need to digest this further. From a high level I think I agree, but there are a lot of implied details of what you've said. Darren On Mon, Nov 25, 2013 at 8:39 AM, John

Re: Enabling AMQP/RabbitMQ Events on master

2013-11-25 Thread Darren Shepherd
alena.prokharc...@citrix.commailto: alena.prokharc...@citrix.com Cc: Darren Shepherd darren.sheph...@citrix.commailto: darren.sheph...@citrix.com Subject: Re: Enabling AMQP/RabbitMQ Events on master CC Darren here, I am having the same question on current master. Thanks -min On 11/21/13

what's the procedure for committing to 4.3?

2013-11-25 Thread Darren Shepherd
What's the procedure for making changes to 4.3? Obviously commit to master and then cherry-pick but at this point is there any other control around it? If I need to commit something in 4.3 do I just do it myself? Darren

Re: Unable to add NetScaler in 4.3 branch builds - Automation blocker

2013-11-25 Thread Darren Shepherd
/ ELB automation blocked due to this https://issues.apache.org/jira/browse/CLOUDSTACK-5224 Regards, Rayees -Original Message- From: Rayees Namathponnan [mailto:rayees.namathpon...@citrix.com] Sent: Wednesday, November 20, 2013 2:29 PM To: dev@cloudstack.apache.org Cc: Darren

Re: Resource Management/Locking [was: Re: What would be your ideal solution?]

2013-11-25 Thread Darren Shepherd
that operation? Darren On Mon, Nov 25, 2013 at 10:16 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: You bring up some interesting points. I really need to digest this further. From a high level I think I agree, but there are a lot of implied details of what you've said

Re: persistence layer

2013-11-23 Thread Darren Shepherd
away from it so we can leave db choice to the operator in the future!?!? On Thu, Nov 21, 2013 at 7:03 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I've done a lot of analysis on the data access layer, but just haven't had time to put together a discuss/recommendation. In the end

Re: persistence layer

2013-11-23 Thread Darren Shepherd
, 2013 at 7:03 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I've done a lot of analysis on the data access layer, but just haven't had time to put together a discuss/recommendation. In the end I'd propose we move to jOOQ. It's an excellent framework that will be very natural

Re: persistence layer

2013-11-20 Thread Darren Shepherd
I've done a lot of analysis on the data access layer, but just haven't had time to put together a discuss/recommendation. In the end I'd propose we move to jOOQ. It's an excellent framework that will be very natural to the style of data access that CloudStack uses and we can slowly migrate to

Re: Review Request 15344: Enabling DB HA for cloud stack data bases using mysql active-active solution

2013-11-08 Thread Darren Shepherd
- Darren Shepherd On Nov. 8, 2013, 8:48 a.m., Damodar Reddy Talakanti wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15344

Re: Review Request 14605: Fill the creationMonitors based on priority

2013-11-08 Thread Darren Shepherd
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14605/#review28546 --- Ship it! Laszlo can you commit this? - Darren Shepherd On Oct

Re: ComponentContext :: getComponent() ?

2013-11-07 Thread Darren Shepherd
:: getComponent() ? I used to call getComponent() to get the current list of AffinityGroupProcessors enabled by the admin. The injected processor list was added later to the class, I think I can use that for this purpose. Thanks, Prachi -Original Message- From: Darren Shepherd

Re: ComponentContext :: getComponent() ?

2013-11-05 Thread Darren Shepherd
Can you point me to the code that is failing. The short of it is that you shouldn't use ComponentContext. If you show me the failing code I can offer a better solution or if needed a work around. Darren On Nov 5, 2013, at 4:18 PM, Prachi Damle prachi.da...@citrix.com wrote: Hi,

Re: ComponentContext :: getComponent() ?

2013-11-05 Thread Darren Shepherd
, Long, String, String) com.cloud.event.ActionEventUtils.publishOnEventBus(long, long, String, String, State, String) com.cloud.event.UsageEventUtils.publishUsageEvent(String, Long, Long, String, String) -Original Message- From: Darren Shepherd [mailto:darren.s.sheph...@gmail.com

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

2013-11-04 Thread Darren Shepherd
I can't get an environment setup on master, basically everytime it goes to start the SSVM or CP it tries to stage the template, then that fails because the command is routed to LocalHostEndpoint and my mgmt server can't mount NFS. Isn't there some special logic somewhere that knows the system VM

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

2013-11-04 Thread Darren Shepherd
an environment from scratch using a XenServer host. On Mon, Nov 4, 2013 at 4:30 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I can't get an environment setup on master, basically everytime it goes to start the SSVM or CP it tries to stage the template, then that fails because

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

2013-11-04 Thread Darren Shepherd
...@citrix.commailto: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 able to create an environment from scratch using a XenServer host. On Mon, Nov 4, 2013 at 4:30 PM, Darren Shepherd darren.s.sheph

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

2013-11-04 Thread Darren Shepherd
PM, Min Chen min.c...@citrix.com wrote: The last commit is eb9cfffd246267bbb5fe4befeb9afeaaf366874a Thanks -min On 11/4/13 3:36 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: What is the commit? Darren On Mon, Nov 4, 2013 at 4:35 PM, Min Chen min.c...@citrix.com wrote

Re: note to devcloud users on db.properties.override

2013-11-01 Thread Darren Shepherd
, 2013 at 6:34 PM, Pedro Roque Marques pedro.r.marq...@gmail.com wrote: Darren, On Oct 31, 2013, at 9:27 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: This is fixed now. Maybe i'm doing something really dumb... but i still see the problem. I do see the commit afaf637 in the branch

opencontrail in master

2013-11-01 Thread Darren Shepherd
I just noticed that opencontrail is in master. There is some small work that needs to be done to make org.apache.cloudstack.network.contrail.management.EvenUtils.EventInterceptor work in the new Spring model. Is somebody working on this? Additionally the new spring config needs to be setup for

Sending to LocalHostEndpoint, Is there any resolution for this?

2013-10-31 Thread Darren Shepherd
Edison, Min, When creating a Zone and there is no SSVM so it sends to LocalHostEndPoint. I always get the below error. Is there some fix for this? ERROR [o.a.c.s.r.NfsSecondaryStorageResource] (pool-4-thread-1:ctx-fb095de0) Unable to create local folder for:

Re: note to devcloud users on db.properties.override

2013-10-31 Thread Darren Shepherd
I'll fix that. Gimme ten mintues. I specifically looked at that code and thought I didn't change the behavior, but I guess I screwed it up. Just a general comment. There's too many ways to do the same thing in CloudStack. Especially the database. The way databases are setup for developers

Re: note to devcloud users on db.properties.override

2013-10-31 Thread Darren Shepherd
, 2013 at 8:52 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I'll fix that. Gimme ten mintues. I specifically looked at that code and thought I didn't change the behavior, but I guess I screwed it up. Just a general comment. There's too many ways to do the same thing in CloudStack

Re: note to devcloud users on db.properties.override

2013-10-31 Thread Darren Shepherd
wouldn't, some ignored if the file was not found, some would just throw a NPE. So I consolidated all that code. Darren On Thu, Oct 31, 2013 at 9:07 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: Ugh, I see what I did now. When I tested that code I changed the code I didn't do a mvn

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

2013-10-31 Thread Darren Shepherd
a script to pre-populate system vm template. The thing I don't get is: what scenario are you trying to do to trigger DownloadCommand when SSVM is not up? Thanks -min On 10/31/13 9:32 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: No, that's not the problem

Re: ACS + Riak-CS, works?

2013-10-31 Thread Darren Shepherd
register template more than 5GB we use multipart upload to push the files to Riak. But this does not work for snapshots and volumes. This will be fixed in CS4.2.1 . But for template registration it should work fine. Thanks, Sanjeev -Original Message- From: Darren Shepherd

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

2013-10-31 Thread Darren Shepherd
is crashed? Directly reporting error instead of trying anything. Thanks -min On 10/31/13 10:18 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: It's happening when I first create the zone. I'll debug it further to tell you exactly what its happening. But I don't understand how

Re: ACS + Riak-CS, works?

2013-10-31 Thread Darren Shepherd
GB. Have you tried to upload the file to Riak CS using s3cmd outside of CloudStack? Thanks, -John On Oct 31, 2013, at 1:23 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: My template is less than 5gb and it still uses multipart. I actually don't think this is a CloudStack issue

why system.vm.use.local.storage?

2013-10-31 Thread Darren Shepherd
Why do we have the configuration system.vm.use.local.storage? Why would somebody care if they systemvm is on local storage? I'm guessing the idea here is if it's on local storage we can't bring it back in a host failure situation? But don't we just recreate the systemvm? Darren

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

2013-10-31 Thread Darren Shepherd
/CLOUDSTACK-4759). Thanks -min On 10/31/13 10:38 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: The behaviour should be to delay until there is a SSVM available. I don't know if that is even possible in CloudStack, I don't want you to sleep(). Is there any way to delay

Re: ACS + Riak-CS, works?

2013-10-31 Thread Darren Shepherd
[1] project to build local instances for development and testing. Thanks, -John [1]: https://github.com/basho/vagrant-riak-cs-cluster On Oct 31, 2013, at 1:23 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: My template is less than 5gb and it still uses multipart. I actually

race conditions in VolumeServiceImpl.createBaseImageAsync() creates NPE

2013-10-31 Thread Darren Shepherd
The following code results in a NPE in bad situations templatePoolRef = _tmpltPoolDao.acquireInLockTable(templatePoolRefId, storagePoolMaxWaitSeconds); if (templatePoolRef == null) { if (s_logger.isDebugEnabled()) { s_logger.info(Unable to acquire lock

Re: why system.vm.use.local.storage?

2013-10-31 Thread Darren Shepherd
', or 'Started'/'Running' then no actions are taken. In your scenario, the system VM would still be 'Started' in the database even though communication is lost to the host, so no automatic action would be taken. - Original Message - From: Darren Shepherd darren.s.sheph

Re: ACS + Riak-CS, works?

2013-10-31 Thread Darren Shepherd
given the vagrant project a go (increase the memory in vagrant-overrides.conf to 2 GB). In addition to be a known good configuration, it is a common reference point for support. Thanks, -John On Oct 31, 2013, at 2:14 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote

Re: Review Request 15108: Grab MacAddress in a more deterministic fashion

2013-10-31 Thread Darren Shepherd
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15108/#review27875 --- On Oct. 31, 2013, 12:18 a.m., Darren Shepherd wrote: --- This is an automatically

Re: parallel mvn builds

2013-10-31 Thread Darren Shepherd
I use it all the time with -T 1.5C and it makes my build twice as fast. But I do it with the assumption that it may void your warranty. Sometimes things blow up, and then I go back to single threaded. So it kinda works, but it does blow up. I wouldn't recommend most people use it. For people

Re: Docker?

2013-10-30 Thread Darren Shepherd
This would be a great thing to try at the CCC hackathon. Docker poses some interesting challenges and to do a useful integration is going to take some careful design. There's two things to consider. First, docker's #1 feature in my mind is that it is a paradigm shift. You interact with docker

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

2013-10-30 Thread Darren Shepherd
class that handles the basic cases of traffic type, network type, etc. Darren On Wed, Oct 30, 2013 at 6:10 AM, Hugo Trippaers h...@trippaers.nl wrote: On 30 okt. 2013, at 02:09, Darren Shepherd darren.s.sheph...@gmail.com wrote: First, I like the idea of consolidating logic. I could see also

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

2013-10-30 Thread Darren Shepherd
. For example, whether a certain 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

Review Request 15108: Grab MacAddress in a more deterministic fashion

2013-10-30 Thread Darren Shepherd
Diffs - utils/src/com/cloud/utils/net/MacAddress.java 15350c8 Diff: https://reviews.apache.org/r/15108/diff/ Testing --- Thanks, Darren Shepherd

Re: ifconfig and MacAddress

2013-10-30 Thread Darren Shepherd
, 2013 at 1:11 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: Is there a specific reason that in MacAddress it uses ifconfig or other utilities to grab the Mac Address as opposed to the java API java.net.NetworkInterface? There's a comment in that code that says that code was copied

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

2013-10-30 Thread Darren Shepherd
I'm neutral on this change. I don't care too much either way as I think down the line this all needs to change. Darren On Wed, Oct 30, 2013 at 11:36 AM, Pedro Roque Marques pedro.r.marq...@gmail.com wrote: On Oct 30, 2013, at 11:08 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I

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

2013-10-30 Thread Darren Shepherd
On Wed, Oct 30, 2013 at 11:36 AM, Pedro Roque Marques pedro.r.marq...@gmail.com wrote: Why ? That seems to me the most obvious way to do it. There are different networking solutions: e.g. VLANs and overlays such as OpenContrail that assume an L3 switching topology. For a deployment one

ACS + Riak-CS, works?

2013-10-30 Thread Darren Shepherd
Has anybody gotten CloudStack and Riak-CS to work together. No matter what I try when it goes to download and save the template, after its posted a series of multi part uploads it ends up sending a 403. The access log looks like 127.0.0.1 - - [31/Oct/2013:05:41:11 +] PUT

Re: [Merge] hyperv branch to master

2013-10-29 Thread Darren Shepherd
+1 When you merge you will get a conflict in the spring configuration. componentContext.xml and others are gone now in master. You will need to update to the new style. The easiest will be to refer to XenServer spring config for an example of how to do it. You can largely copy and paste the

Re: cloudmonkey exit value

2013-10-29 Thread Darren Shepherd
:49:35PM -0700, Darren Shepherd wrote: It would be really nice if the API failed if cloudmonkey exited with !=0 exit code. I've been scripting some stuff with cloud monkey and this makes it difficult. It would also be nice to somehow specific which field you want printed. So when I do a create

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

2013-10-29 Thread Darren Shepherd
First, I like the idea of consolidating logic. I could see also implementing this as just an abstract base class that handles this common logic. I'm not sure which approach I prefer. Exactly what is the problem that you are trying to solve? Without more details, I'd lean towards implementing

Re: Tiered Quality

2013-10-28 Thread Darren Shepherd
that comes with tests covers enough of itself. On Sun, Oct 27, 2013 at 11:00:46PM +0100, Laszlo Hornyak wrote: Ok, makes sense, but that sounds like even more work :) Can you share the plan on how will this work? On Sun, Oct 27, 2013 at 7:54 PM, Darren Shepherd darren.s.sheph...@gmail.com

Tiered Quality

2013-10-27 Thread Darren Shepherd
I don't know if a similar thing has been talked about before but I thought I'd just throws this out there. The ultimate way to ensure quality is that we have unit test and integration test coverage on all functionality. That way somebody authors some code, commits to, for example, 4.2, but then

Re: Tiered Quality

2013-10-27 Thread Darren Shepherd
want to go deeper, then you need a bigger effort testing the components. On Sun, Oct 27, 2013 at 4:51 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I don't know if a similar thing has been talked about before but I thought I'd just throws this out there. The ultimate way

cloudmonkey exit value

2013-10-27 Thread Darren Shepherd
It would be really nice if the API failed if cloudmonkey exited with !=0 exit code. I've been scripting some stuff with cloud monkey and this makes it difficult. It would also be nice to somehow specific which field you want printed. So when I do a create command I can say just echo id value

Re: CS-Management HA Networking

2013-10-26 Thread Darren Shepherd
up again and run the commands you sent me over the next couple of days. Thanks, Marty On Tue, Oct 22, 2013 at 11:39 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: Well that wasn't very useful message. If you can find the cloud-utils jar on your server run java -cp PATH

Re: CS-Management HA Networking

2013-10-26 Thread Darren Shepherd
, Darren Shepherd darren.s.sheph...@gmail.com wrote: Glad that helped. Seems that we should change CloudStack to ignore mac addresses that are 00:..:00. If you want to put in a bug you can assign it me and I'll look into changing that. Darren On Oct 26, 2013, at 5:35 AM, Marty Sweet

Re: failing unit tests....

2013-10-26 Thread Darren Shepherd
! On Fri, Oct 25, 2013 at 11:52 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I'll fix that. Darren On Fri, Oct 25, 2013 at 1:54 PM, Alex Huang alex.hu...@citrix.com wrote: I'm getting this failing unit test when building with the latest from master

ifconfig and MacAddress

2013-10-26 Thread Darren Shepherd
Is there a specific reason that in MacAddress it uses ifconfig or other utilities to grab the Mac Address as opposed to the java API java.net.NetworkInterface? There's a comment in that code that says that code was copied from some public domain utility. So I'm guessing its there just because

Re: ifconfig and MacAddress

2013-10-26 Thread Darren Shepherd
bitten me in the past. It doesn't tolerate new NICs well, for example in development when a mgmt server is also a host and a link local bridge is created. Seems bad form to just run ifconfig and grab the first Mac you find. On Oct 26, 2013 5:12 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote

Re: ifconfig and MacAddress

2013-10-26 Thread Darren Shepherd
, Oct 26, 2013 at 9:44 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I completely agree and part of why I want to change it. On my machine my wifi and Ethernet devices sometimes swap as being first in the list and it doesn't seem to like that at all. I don't know if it's because my

Re: Metadata URL location

2013-10-25 Thread Darren Shepherd
is FE:FF:FF:FF:FF:FF. So all packets leaving your VM go to the same place and then EC2 magic ensues Darren On Fri, Oct 25, 2013 at 7:51 AM, Chiradeep Vittal chiradeep.vit...@citrix.com wrote: Hmm. Windows may not work then? Needs testing On 10/24/13 5:04 PM, Darren Shepherd darren.s.sheph...@gmail.com

Re: failing unit tests....

2013-10-25 Thread Darren Shepherd
I'll fix that. Darren On Fri, Oct 25, 2013 at 1:54 PM, Alex Huang alex.hu...@citrix.com 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 stack, it looks like it's a problem location the jdbc

Re: failing unit tests....

2013-10-25 Thread Darren Shepherd
PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I'll fix that. Darren On Fri, Oct 25, 2013 at 1:54 PM, Alex Huang alex.hu...@citrix.com 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

is marvin on master broken?

2013-10-24 Thread Darren Shepherd
Whenever I use marvin on master I get Traceback (most recent call last): File ./tools/marvin/marvin/deployDataCenter.py, line 610, in module deploy.deploy() File ./tools/marvin/marvin/deployDataCenter.py, line 596, in deploy self.loadCfg() File

Re: how to use hashes on c.a.o?

2013-10-24 Thread Darren Shepherd
, 2013, at 7:56 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: The hashes that are on c.a.o for the releases have a format like http://www.apache.org/dist/cloudstack/releases/4.2.0/apache-cloudstack-4.2.0-src.tar.bz2.sha apache-cloudstack-4.2.0-src.tar.bz2: CC487DF3 7E7B6800 F9DC05A3

Re: is marvin on master broken?

2013-10-24 Thread Darren Shepherd
from master branch and used marvin to deploy few cloudstack entities and it worked. Can you please provide the command you are using to run marvin tests? or what command lead to the below trace? Regards, Santhosh From: Darren Shepherd [darren.s.sheph

Re: Metadata URL location

2013-10-24 Thread Darren Shepherd
My guess, I don't really know, would be because its hard. The VR uses link local for the control network so 169.254/16 is bound to the wrong nic. To fix this you just need some ip routing magic in linux (credit goes to Kris Lindgren who showed me how to do this). Add the below to a file,

Re: Metadata URL location

2013-10-24 Thread Darren Shepherd
received this email in error, please immediately notify the sender and permanently delete the original and any copy of this message and its attachments. On 10/24/13 9:12 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: My guess, I don't really know, would be because its hard. The VR

Re: Modularized Spring Modules

2013-10-24 Thread Darren Shepherd
Let me clarify some terms first, this might be confusing. There is instantiation and then there is initialization. Instantiation is calling the constructor. Initialization is calling the @PostConstruct. Beyond that there is what I've been calling CloudStack Extended Lifecycle, This for bean

Re: Modularized Spring Modules

2013-10-24 Thread Darren Shepherd
Yes avoid ComponentContext.inject() at all costs. It is really bad. The problem with ComponentContext.inject(), besides that it is a bad programming pattern, is that it doesn't know which spring context you are in. So ComponentContext.inject() will inject only beans that are defined in the core

Re: [DISCUSS] make commands.properties the exception, not the rule

2013-10-24 Thread Darren Shepherd
– Cloud Solutions Citrix, Cisco Red Hat On Oct 9, 2013, at 1:08 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: So I'm saying if you want to disable a command you put myBadCmd=0 in the commands.properties. So yes, a blacklist over a whitelist. For people paranoid about maybe some

Re: how to use hashes on c.a.o?

2013-10-24 Thread Darren Shepherd
/CLOUDSTACK/Release+test+procedure On Oct 24, 2013, at 12:53 AM, Darren Shepherd darren.s.sheph...@gmail.commailto:darren.s.sheph...@gmail.com wrote: But how does one validate it? I just wrote a dumb script to concatenation, remove whitespace, lowercase and then pass to sha512sum -c. I've

Re: Metadata URL location

2013-10-24 Thread Darren Shepherd
- From: Darren Shepherd [mailto:darren.s.sheph...@gmail.com] Sent: Thursday, October 24, 2013 8:13 AM To: dev@cloudstack.apache.org Cc: klindg...@godaddy.com Subject: Re: Metadata URL location My guess, I don't really know, would be because its hard. The VR uses link local for the control

Re: [PROPOSAL] Enable non-ACS distributed API extension to be added CloudStack w/o modifying commands.properties

2013-10-24 Thread Darren Shepherd
Chris, This change was simple enough I just put up a review for it https://reviews.apache.org/r/14914/ You want to download the patch and see if that works for you? Darren On Thu, Oct 24, 2013 at 2:28 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: Currently any new API extension

Review Request 14914: Make commands.properties optional for non-ACS code

2013-10-24 Thread Darren Shepherd
/StaticRoleBasedAPIAccessChecker.java affcf91 Diff: https://reviews.apache.org/r/14914/diff/ Testing --- Thanks, Darren Shepherd

Re: is marvin on master broken?

2013-10-24 Thread Darren Shepherd
to logging facility under marvin. Thanks! Santhosh From: Darren Shepherd [darren.s.sheph...@gmail.com] Sent: Thursday, October 24, 2013 11:00 AM To: dev@cloudstack.apache.org Subject: Re: is marvin on master broken? Traceback (most recent call last

Re: Anyone ever get this exception?

2013-10-24 Thread Darren Shepherd
Never seen that, but yeah that's an issue. It's possible given the current initialization in ACS to somebody tries to lock something before the lock manager is created. That should change let me look at that. I can probably fix it on master. Darren On Thu, Oct 24, 2013 at 11:19 AM, Mike

Re: how to use hashes on c.a.o?

2013-10-24 Thread Darren Shepherd
Is there a reason not to verify authenticity and validity of the tarball with the gpg sig? Nope, just laziness. Darren

Re: Metadata URL location

2013-10-24 Thread Darren Shepherd
have to send another (169.254.0.0/16) route in the DHCP response to point to the VR. Additionally in basic zone the anti-spoof filters in dom0 would have to be adjusted to let 169.254.169.254 addresses On 10/24/13 8:51 AM, Darren Shepherd darren.s.sheph...@gmail.com wrote: So additionally

Re: Anyone ever get this exception?

2013-10-24 Thread Darren Shepherd
, 2013 at 4:19 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: Never seen that, but yeah that's an issue. It's possible given the current initialization in ACS to somebody tries to lock something before the lock manager is created. That should change let me look at that. I can

Re: About component.xml and applicationContext.xml.in

2013-10-24 Thread Darren Shepherd
Refer to https://cwiki.apache.org/confluence/display/CLOUDSTACK/Extensions https://cwiki.apache.org/confluence/display/CLOUDSTACK/Plug-ins%2C+Modules%2C+and+Extensions In short your can either add/remove jars from the classpath or use the *exclude properties to disable elements. Exclude

maven parallel builds

2013-10-23 Thread Darren Shepherd
Just throwing this out there. We all know the maven build is slow. It never donned on me until now that maybe maven would have a parallel build option and it does [1]. I wouldn't recommend this for official builds or jenkins jobs, but for developers use the parallel build option. Basically add

Re: Review Request 14823: Refactor StrategyPriority

2013-10-23 Thread Darren Shepherd
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14823/#review27296 --- On Oct. 22, 2013, 3:34 a.m., Darren Shepherd wrote

StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
Chris, Edison, You guys just committed 'Support Revert VM Disk from Snapshot.' At the same time I was merging both my txn-refactor and spring-modularization branches. They are really tricky merges and each time I have to rebase it takes awhile to figure out. Anyhow, your change + my changes

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
, Darren Shepherd darren.s.sheph...@gmail.com wrote: Chris, Edison, You guys just committed 'Support Revert VM Disk from Snapshot.' At the same time I was merging both my txn-refactor and spring-modularization branches. They are really tricky merges and each time I have to rebase it takes

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
NetApp Software Engineer Data Center Platforms – Cloud Solutions Citrix, Cisco Red Hat On Oct 23, 2013, at 3:52 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: Chris, Edison, You guys just committed 'Support Revert VM Disk from Snapshot.' At the same time I was merging both my txn

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
. -- Chris Suich chris.su...@netapp.com NetApp Software Engineer Data Center Platforms – Cloud Solutions Citrix, Cisco Red Hat On Oct 23, 2013, at 4:13 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: The transaction API was changed in the merge. I could have maybe missed

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
chris.su...@netapp.com NetApp Software Engineer Data Center Platforms – Cloud Solutions Citrix, Cisco Red Hat On Oct 23, 2013, at 4:30 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: Okay let me look at that. Are you 100% sure your looking at a clean version of master? Darren

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
:48 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I fixed all the compilation errors in engine/storage/integration-test. I don't know how to run those test though, so I can't validate the changes. Darren On Wed, Oct 23, 2013 at 1:53 PM, SuichII, Christopher chris.su...@netapp.com

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
Citrix, Cisco Red Hat On Oct 23, 2013, at 5:48 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: I fixed all the compilation errors in engine/storage/integration-test. I don't know how to run those test though, so I can't validate the changes. Darren On Wed, Oct 23, 2013 at 1:53 PM

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
Platforms – Cloud Solutions Citrix, Cisco Red Hat On Oct 23, 2013, at 6:39 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: So your asking to not use the sorting logic and instead do the style of Priority highestPriority = Priority.CANT_HANDLE; Priority priority = strategy.canHandle

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
Updated f3e968b9830a667cb3b55477f1fe8259e56ceffb Darren On Wed, Oct 23, 2013 at 4:23 PM, Darren Shepherd darren.s.sheph...@gmail.com wrote: Frankly, I don't really care, I'll just change it to how it was before. I'll remove the get methods that return a collection. Darren On Wed, Oct 23

issues with storage capacity on mgmt restart

2013-10-22 Thread Darren Shepherd
I've noticed that when I bring up my mgmt server theres a period of time in which the storage capacity numbers are wrong. When the mgmt server starts I deploy a VM and it fails because the below message indicates storage is at 124% used Checking pool 2 for storage, totalSize: 33808039936,

  1   2   3   4   >