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 c

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 Date: 2014-02-24 19:19:57 + To: Darren Shepherd ,dev@cloudstack.apache.org Subject:

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
her 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

Re: Loading order of Adapter components

2013-12-19 Thread Darren Shepherd
the ‘id’ in the bean 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 Ada

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" wrote: > > Hi Darren, > > I am trying to add a new implementation of SecurityChecker interface which is > an Adapter. I am addin

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: cloudstack no longer monitoring log4j-cloud.xml?

2013-12-17 Thread Darren Shepherd
the open file handles 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.c

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" > 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. &g

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 cho

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

2013-11-25 Thread Darren Shepherd
rge > > P.S. I see the libraries/frameworks referenced as the building blocks to a > solution, but none of them (in whole or combination) solves the problem > completely. > > On Nov 25, 2013, at 12:29 PM, Darren Shepherd > wrote: > > I will ask one basic question. How do

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

2013-11-25 Thread Darren Shepherd
2:29 PM > To: dev@cloudstack.apache.org > Cc: Darren Shepherd ( > darren.s.sheph...@gmail.com) > Subject: Unable to add NetScaler in 4.3 branch builds > > Hi, > > I created noredist (non oss build from 4.3 branch ; and created > advanced zone in KVM. > > I am tr

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: Enabling AMQP/RabbitMQ Events on master

2013-11-25 Thread Darren Shepherd
he.org<mailto:dev@cloudstack.apache.org>" < > dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>, Alena > Prokharchyk alena.prokharc...@citrix.com>> > Cc: Darren Shepherd darren.sheph...@citrix.com>> > Subject: Re: Enabling AMQP/RabbitMQ E

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 > > &

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

2013-11-25 Thread Darren Shepherd
of the most scalable > and resilient cloud orchestration/management platforms available. > > Thanks, > -John > > [1]: > http://www.slideshare.net/JohnBurwell1/how-to-run-from-a-zombie-cloud-stack-distributed-process-management > [2]: http://lpd.epfl.ch/sgilbert/pubs/BrewersConjecture-Sig

Re: persistence layer

2013-11-23 Thread Darren Shepherd
to the operator in >> the future!?!? >> >> On Thu, Nov 21, 2013 at 7:03 AM, Darren Shepherd >> 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 en

Re: persistence layer

2013-11-23 Thread Darren Shepherd
abstracting 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 > wrote: >> I've done a lot of analysis on the data access layer, but just haven't had >> time to put together a discuss/re

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 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: Review Request 15344: Enabling DB HA for cloud stack data bases using mysql active-active solution

2013-11-08 Thread Darren Shepherd
e generated url - 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:/

Re: ComponentContext :: getComponent() ?

2013-11-07 Thread Darren Shepherd
ct: RE: ComponentContext :: 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, >

Re: ComponentContext :: getComponent() ?

2013-11-05 Thread Darren Shepherd
com.cloud.event.AlertGenerator.publishAlertOnEventBus(String, long, Long, > String, String) > com.cloud.event.ActionEventUtils.publishOnEventBus(long, long, String, > String, State, String) > com.cloud.event.UsageEventUtils.publishUsageEvent(String, Long, Long, > String, String) >

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 wrote: > > Hi, > > Before the Spring modul

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

2013-11-04 Thread Darren Shepherd
On 11/4/13 3:38 PM, "Min Chen" wrote: > > >The last commit is eb9cfffd246267bbb5fe4befeb9afeaaf366874a > > > >Thanks > >-min > > > >On 11/4/13 3:36 PM, "Darren Shepherd" > wrote: > > > >>What is the commit? > >> >

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

2013-11-04 Thread Darren Shepherd
t; 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 able to > create an environment from scratch using a XenServer host. > > > On Mon, Nov 4, 2013 at 4:30

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

2013-11-04 Thread Darren Shepherd
ent 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 st

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 t

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 t

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

2013-11-01 Thread Darren Shepherd
rren On Fri, Nov 1, 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 > wrote: > > > This is fixed now. > > Maybe i'm doing something really dumb... but i still see the prob

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 w

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

2013-10-31 Thread Darren Shepherd
u can write some tests that would be great. - Darren --- 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: > >

Re: ACS + Riak-CS, works?

2013-10-31 Thread Darren Shepherd
n, I would highly suggest 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 She

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

2013-10-31 Thread Darren Shepherd
;. If the state is > 'Starting', 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

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: ACS + Riak-CS, works?

2013-10-31 Thread Darren Shepherd
grant-riak-cs-cluster [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 > wrote: > > My template is less than

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

2013-10-31 Thread Darren Shepherd
ra/browse/CLOUDSTACK-4759). > > Thanks > -min > > > On 10/31/13 10:38 AM, "Darren Shepherd" > 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

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: ACS + Riak-CS, works?

2013-10-31 Thread Darren Shepherd
y to upload files larger than 5 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 > wrote: > > My template is less than 5gb and it still uses multipart. I actually

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

2013-10-31 Thread Darren Shepherd
> register template when ssvm is crashed? Directly reporting error instead > of trying anything. > > Thanks > -min > > On 10/31/13 10:18 AM, "Darren Shepherd" > wrote: > > >It's happening when I first create the zone. I'll debug it further to &g

Re: ACS + Riak-CS, works?

2013-10-31 Thread Darren Shepherd
tack with Riak-CS works fine. If we 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 &

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

2013-10-31 Thread Darren Shepherd
condary storage case where we used 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

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

2013-10-31 Thread Darren Shepherd
ne off on a total tangent, but yeah, we should talk. Darren On Thu, Oct 31, 2013 at 2:53 AM, Hugo Trippaers wrote: > > On 31 okt. 2013, at 03:48, Darren Shepherd > wrote: > >> Its important to remember that the definition of a Network in >> CloudStack is quite purposef

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

2013-10-31 Thread Darren Shepherd
No, that's not the problem. The problem is that the DownloadCommand is supposed to go to the SSVM, but it sending it to the LocalHostEndPoint which is the mgmt server. So the mgmt server can not create /var/cloudstack/mnt/ secStorage/64d6e26f-e656-3ba3-908f-ce6610ede011. I have my mgmt setup so

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

2013-10-31 Thread Darren Shepherd
rypt, some 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 wrote: > Ugh, I see what I did now. When I tested that code I changed the code > I didn't do a &q

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

2013-10-31 Thread Darren Shepherd
the old code. Darren On Thu, Oct 31, 2013 at 8:52 AM, Darren Shepherd 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 m

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 sho

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: /var/cloudstack/mnt/secStorage/64d6e

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 /buckets/bucket1/ob

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 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 > would tend to choose a s

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

2013-10-30 Thread Darren Shepherd
So I'd have to say 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 wrote: > > On Oct 30, 2013, at 11:08 AM, Darren Shepherd > wrote: > >&

Re: ifconfig and MacAddress

2013-10-30 Thread Darren Shepherd
>> Hi, >>> >>> I noticed other problem with the MacAddress, it appears that it does not >>> handle the Windows ipconfig output. >>> >>> (see related patch) https://reviews.apache.org/r/14514/ I tested it with >>> win8, 7, and XP outputs

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: [MERGE] network-guru-orchestration into master

2013-10-30 Thread Darren Shepherd
hink there should be more tie in between the NetworkElements and > NetworkGurus. 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.

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

2013-10-30 Thread Darren Shepherd
uld be in a abstract base class that handles the basic cases of traffic type, network type, etc. Darren On Wed, Oct 30, 2013 at 6:10 AM, Hugo Trippaers wrote: > > On 30 okt. 2013, at 02:09, Darren Shepherd > wrote: > >> First, I like the idea of consolidating logic. I could see al

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 i

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 th

Re: cloudmonkey exit value

2013-10-29 Thread Darren Shepherd
Sun, Oct 27, 2013 at 04: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

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 con

Re: Tiered Quality

2013-10-28 Thread Darren Shepherd
t corresponds to the >> component donated/committed. We don't have that for existing tests so >> it makes it hard to judge if a feature that comes with tests covers >> enough of itself. >> >>> On Sun, Oct 27, 2013 at 11:00:46PM +0100, Laszlo Hornyak w

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 onl

Re: Tiered Quality

2013-10-27 Thread Darren Shepherd
But then if you 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

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 w

Re: ifconfig and MacAddress

2013-10-26 Thread Darren Shepherd
n the IP. This messes things up because it > passes 'localhost' as the mgmt server to the system vms. > > On Sat, Oct 26, 2013 at 9:44 PM, Darren Shepherd > wrote: >> I completely agree and part of why I want to change it. On my machine my >> wifi and Ethernet

Re: ifconfig and MacAddress

2013-10-26 Thread Darren Shepherd
ress conversion to short), its 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

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 t

Re: failing unit tests....

2013-10-26 Thread Darren Shepherd
n...@gmail.com] >> > Sent: Friday, October 25, 2013 3:19 PM >> > To: dev@cloudstack.apache.org >> > Subject: Re: failing unit tests >> > >> > I have just sent a fix for that, looks like everything is green now. >> Please check! >> > &g

Re: CS-Management HA Networking

2013-10-26 Thread Darren Shepherd
ng Setup: >>> eth0 eth1 -> bond0 >>> bond0.11 -> vlan11 >>> bond0.12 -> vlan12 >>> >>> Many thanks, >>> Marty >>> >>> >>>> On Wed, Oct 23, 2013 at 7:44 AM, Marty Sweet >> wrote: >>>>

Re: CS-Management HA Networking

2013-10-26 Thread Darren Shepherd
gt; > >> On Wed, Oct 23, 2013 at 7:44 AM, Marty Sweet wrote: >> >> Hi Darren, >> >> Thanks for getting back to me. I will set the networking config up again >> and run the commands you sent me over the next couple of days. >> >> Thanks, >> Mar

Re: failing unit tests....

2013-10-25 Thread Darren Shepherd
ng the driver on the classpath helps prevent accidentally connecting to the DB on desktops where you might have a local MySQL. Darren On Fri, Oct 25, 2013 at 3:19 PM, Laszlo Hornyak wrote: > I have just sent a fix for that, looks like everything is green now. Please > check! > >

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 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 driver. This was worki

Re: Metadata URL location

2013-10-25 Thread Darren Shepherd
e everything 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 wrote: > Hmm. Windows may not work then? Needs testing > > On 10/24/13 5:04 PM, "Darren Shepherd" wrote: > >&g

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 properti

Re: Anyone ever get this exception?

2013-10-24 Thread Darren Shepherd
On Thu, Oct 24, 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 c

Re: Metadata URL location

2013-10-24 Thread Darren Shepherd
here the VR is not the > default gateway, we would 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

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: 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 Tu

Re: is marvin on master broken?

2013-10-24 Thread Darren Shepherd
ited with relevant help text to console if there are any > dependencies. It seems there were other checks also missing. In any case, we > are planning to do some changes to logging facility under marvin. > > Thanks! > Santhosh > > F

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: how to use hashes on c.a.o?

2013-10-24 Thread Darren Shepherd
; | tr '[:upper:]' '[:lower:]') Darren On Thu, Oct 24, 2013 at 3:05 PM, David Nalley wrote: > On Thu, Oct 24, 2013 at 5:43 PM, Darren Shepherd > wrote: >> Chip, >> >> Do you care if we switch to GNU coreutils format for the hashes? The &

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 wrote: > Currently any new API extension to CloudStack must e

Re: Metadata URL location

2013-10-24 Thread Darren Shepherd
ss 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: how to use hashes on c.a.o?

2013-10-24 Thread Darren Shepherd
.org/confluence/display/CLOUDSTACK/Release+test+procedure > > On Oct 24, 2013, at 12:53 AM, Darren Shepherd > mailto: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

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

2013-10-24 Thread Darren Shepherd
Currently any new API extension to CloudStack must edit commands.properties to add the appropriate ACLs. This generally works fine for ACS as we control the contents of that file and distribute all the code ourself. The hang up comes when somebody develops code outside of ACS and want to add thei

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

2013-10-24 Thread Darren Shepherd
g >> or uninstalling the plugin (also error prone and scary). >> >> -- >> Chris Suich >> chris.su...@netapp.com >> NetApp Software Engineer >> Data Center Platforms – Cloud Solutions >> Citrix, Cisco & Red Hat >> >> On Oct 9, 2013, at 1:0

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: 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: Metadata URL location

2013-10-24 Thread Darren Shepherd
nded recipient(s) and may contain confidential information. If > you have 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, &

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, substit

Re: is marvin on master broken?

2013-10-24 Thread Darren Shepherd
ck frame > in the below trace as what lead to this trace? > > I just pulled the latest 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

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

2013-10-24 Thread Darren Shepherd
Procedure > > > On Oct 17, 2013, at 7:56 PM, Darren Shepherd > 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 >>

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 deploy.deploy() File "./tools/marvin/marvin/deployDataCenter.py", line 596, in deploy self.loadCfg() File "./tools/marvin/marvin/deployDataCenter.p

Re: [ASF4.2.1] default to 64-bit system VM template

2013-10-23 Thread Darren Shepherd
Slightly off topic but I've noticed that the scripts used to create the vm templates are slightly out of sync between 32bit and 64bit. I just assumed nobody used 64bit and that's why it got out of sync. Darren > On Oct 23, 2013, at 7:21 AM, Marty Sweet wrote: > > What would be the main reaso

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 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 > >

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
e Engineer > Data Center Platforms – Cloud Solutions > Citrix, Cisco & Red Hat > > On Oct 23, 2013, at 6:39 PM, Darren Shepherd > wrote: > >> So your asking to not use the sorting logic and instead do the style of >> >> Priority highestPriority = Priority.CA

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
s I made were due to discussion in the reviews. It should be > simpler, cleaner and more efficient logic than using comparators. > > -- > Chris Suich > chris.su...@netapp.com > NetApp Software Engineer > Data Center Platforms – Cloud Solutions > Citrix, Cisco & Red Hat

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
eer >> Data Center Platforms – Cloud Solutions >> Citrix, Cisco & Red Hat >> >> On Oct 23, 2013, at 5:48 PM, Darren Shepherd >> wrote: >> >>> I fixed all the compilation errors in engine/storage/integration-test. >>> I don't know ho

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:30 PM, Darren Shepherd > wrote: > >> Okay let me look at that. Are you 100% sure your looking at a clean version

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
ult. This logic was lost in the merge. > > -- > 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 >> wrote: >> >> The trans

Re: StrategyPriority changes w/ Spring Changes

2013-10-23 Thread Darren Shepherd
ich > chris.su...@netapp.com > NetApp Software Engineer > Data Center Platforms – Cloud Solutions > Citrix, Cisco & Red Hat > > On Oct 23, 2013, at 3:52 PM, Darren Shepherd > wrote: > >> Chris, Edison, >> >> You guys just committed 'Support Revert VM Di

  1   2   3   4   >