Re: Very slow Virtual Router provisioning with 4.9.2.0

2017-05-03 Thread Jeff Hair
Hi Remi, Do you have a link to the PR that was reverted? And also possibly the code that makes the password updating more efficient? Jeff On Wed, May 3, 2017 at 10:36 AM, Remi Bergsma wrote: > Hi Wido, > > When we had similar issues last year, we found that for example comparing > the iptables

Re: Not able to setup source-nat for a regular router yet

2017-03-15 Thread Jeff Hair
the log came from [1]. I will check on it. > > [1] https://github.com/apache/cloudstack/blob/master/systemvm/ > patches/debian/config/opt/cloud/bin/cs/CsAddress.py > > Cheers, > Gabriel. > > > Em 15/03/2017 07:21, Jeff Hair escreveu: > >> Hi, >> >> I&#x

Re: [DISCUSS] Retirement of midonet plugin

2017-03-15 Thread Jeff Hair
Complete removal of the plugin was my solution to the problem of the jar file's dependencies. If it's not used or maintained, then it should be removed, in my opinion. Disabling it in the build is a good first step. *Jeff Hair* Technical Lead and Software Developer Tel: (+354)

Not able to setup source-nat for a regular router yet

2017-03-15 Thread Jeff Hair
Hi, I'm seeing this message in the logs when detaching IPs with disableStaticNat. This is on a network without redundant routers. What exactly dose "Not able to setup source-nat for a regular router yet" mean? Does this cause functionality problems for non-redundant routers? Jeff

Contrail Plugin Emitting Extra Action Events?

2017-03-14 Thread Jeff Hair
Hi, In my continuing quest to merge 4.9.2.0 into our fork, I'm noticing that the Juniper Contrail plugin has an "EventUtils" class which looks for methods with @ActionEvent on them and them emits over the event bus. This does the same thing as the more-standard ActionEventUtils class. Is there a r

Re: midonet-client and Guava dependency conflict

2017-03-10 Thread Jeff Hair
Yes, I already confirmed removing the guava classes from the Midonet jar works. Did that yesterday. I can't find any updated version of the jar on their cs-maven repository. The only one is 1.1.0. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqlou

Re: midonet-client and Guava dependency conflict

2017-03-10 Thread Jeff Hair
not happen. The OOBSerivceManagerImpl gets started before midonet, and loads its Equivalence.class from guava-19.0.jar. I'm guessing I'm dealing with some incorrect Tomcat configuration, despite my ordered classloader. *Jeff Hair* Technical Lead and Software Developer Tel: (+354)

Re: midonet-client and Guava dependency conflict

2017-03-10 Thread Jeff Hair
. Guava 19.0 is coming in as a transitive dependency of Reflections 0.9.10. This version was set in commit bb29b1d06. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Fri, Mar 10, 2017 at 1:34 PM, Rafael Weingärtner < rafaelwei

Re: midonet-client and Guava dependency conflict

2017-03-10 Thread Jeff Hair
. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Fri, Mar 10, 2017 at 9:25 AM, Rohit Yadav wrote: > +1 Retire unsupported plugins, with at least comment them from the default > build/packaging in plugins/pom.xml? > &g

Re: midonet-client and Guava dependency conflict

2017-03-09 Thread Jeff Hair
work. Any ideas? Jeff On Thu, Mar 9, 2017 at 1:43 PM, Jeff Hair wrote: > Hi, > > I'm deploying 4.9.2.0 (not the vanilla version, but rather an upgraded > version of our fork) on Tomcat 8. Management server startup fails with the > following error: > > java.lang.Incompati

midonet-client and Guava dependency conflict

2017-03-09 Thread Jeff Hair
Hi, I'm deploying 4.9.2.0 (not the vanilla version, but rather an upgraded version of our fork) on Tomcat 8. Management server startup fails with the following error: java.lang.IncompatibleClassChangeError: Found interface com.google.common.base.Equivalence, but class was expected I've traced th

Re: Removed IPs with add = true in /etc/cloudstack/ips.json on router

2017-03-02 Thread Jeff Hair
st. Can you clarify: Is the problem with 1907 still happening on 1908? This was my original fear, but as far as I can tell in my testing, it's not happening. Jeff *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Thu, Mar 2, 2017

Re: Removed IPs with add = true in /etc/cloudstack/ips.json on router

2017-03-01 Thread Jeff Hair
#x27;ve seen it so far is on a router that doesn't have 1907 applied. But I'm not convinced that it won't happen ever after applying 1907... *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Wed, Mar 1, 2017 at 1:39

Removed IPs with add = true in /etc/cloudstack/ips.json on router

2017-03-01 Thread Jeff Hair
Hi, In the testing of PR 1908 (https://github.com/apache/cloudstack/pull/1908), it has come up that some IPs which are removed from the router get put into the /etc/cloudstack/ips.json data bag with add = True. This causes the IPs to be re-added to the interface and arpinged, breaking connectivity

Re: Handling of DB migrations on forks

2017-02-21 Thread Jeff Hair
e original developers didn't think any ORM on the market met their needs. I would love to leave DB migrations almost entirely behind. I believe Hibernate is smart enough to construct dynamic migrations when fields are added and removed from tables, right? *Jeff Hair* Technical Lead and Sof

Handling of DB migrations on forks

2017-02-14 Thread Jeff Hair
Hi all, Many people in the CS community maintain forks of CloudStack, and might have implemented features or bug fixes long before they get into mainline. I'm curious as to how people handle database migrations with their forks. To make a DB migration, the CS version must be updated. If a develope

Upgrading and Handling Guest OS Types

2017-01-13 Thread Jeff Hair
Hi, This is something I've considered a few times but never really thought of a good solution to. The API has the abiilty to register custom guest OS types. You can also insert them into the database manually. What happens when installations with custom guest OS types are upgraded to a new CS vers

Restarting the Management Server via Marvin

2016-11-18 Thread Jeff Hair
Hi, is there any facility in Marvin for restarting the management server? I need to write a test where I change a global setting and then see if functionality has changed based on me changing the setting. As far as I know, the only way to update the settings is to restart the management server. I'

Re: ConfigDepot vs the Config enum

2016-11-07 Thread Jeff Hair
Hi, That's what I thought was the case. Is there any particular process for moving configs to the depot besides just moving it out of the enum and into a manager bean somewhere? For example, would the pull request(s) need to have a database migration of some kind? Jeff *Jeff Hair* Tech

ConfigDepot vs the Config enum

2016-11-07 Thread Jeff Hair
onfigDepot items are defined on classes, while the Config enum is of course one giant list. Is there a plan to eventually use only one or the other? Or are they going to be kept separate? Is there actually a use case for having both in the codebase? Jeff Hair

Re: Adding a Config value to Cloudstack

2016-11-04 Thread Jeff Hair
https://github.com/greenqloud/cloudstack/commit/fa534ea9ce19db6ce4335aede2d9482d8c9b180f *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Fri, Nov 4, 2016 at 8:09 PM, Syed Ahmed wrote: > Yes, I've done exactly what you've

Re: Virtual Router execute python slowly

2016-08-20 Thread Jeff Hair
ve VM metadata/password entries, and hopefully that will speed things up a bit too. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Sat, Aug 20, 2016 at 5:30 AM, Gust wrote: > A port forward rule operation spent: > >

Re: Virtual Router Configuration Time Linearly Increases in 4.7

2016-08-10 Thread Jeff Hair
Hi, I did discover that PR while looking, but it's not that one. Our production system has that PR in it as well, yet we still see the issue with the virtual routers. Perhaps I am mis-remembering and I need to open a new bug report? Jeff *Jeff Hair* Technical Lead and Software Developer

Virtual Router Configuration Time Linearly Increases in 4.7

2016-08-10 Thread Jeff Hair
There is a problem in the virtual router in 4.7 where the time to execute router configuration commands linearly increases. This is because the router continually executes command updates for instances it no longer needs to care about, such as ones that were destroyed. The main culprits are SetStat

Re: stopVirtualMachine command ignores the forced parameter

2016-08-10 Thread Jeff Hair
Looks like Nathan has already opened a PR for this: https://github.com/apache/cloudstack/pull/1632 *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Wed, Aug 10, 2016 at 7:01 AM, Wei ZHOU wrote: > We also noticed this is

stopVirtualMachine command ignores the forced parameter

2016-08-09 Thread Jeff Hair
Hi, I'm looking at the documentation and then the code for stopVirtualMachine. The forced parameter is passed down into the VM manager, where it seems to be ignored. This means that cleanupEvenIfFailed during VM stop will always be false, despite what the API command says. Going back to commit a4f

Re: KVM Plugin Test JNA Failure on Master

2016-08-02 Thread Jeff Hair
Yeah. I'm on Ubuntu 14.04 at the moment. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Tue, Aug 2, 2016 at 4:03 PM, Rohit Yadav wrote: > Hi Jeff, > > > It depends on what base distro/OS you're using to

KVM Plugin Test JNA Failure on Master

2016-08-02 Thread Jeff Hair
Hi, Was there an upgrade or change to JNA on the master branch? If I run the unit tests on the KVM plugin (/plugins/hypervisors/kvm/), it fails unless I specify -Djna.nosys=true. This does not happen on the 4.8 branch. Tests run: 146, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.22 sec <<<

Re: Next Releases

2016-08-02 Thread Jeff Hair
Is 4.8 now the earliest supported release, or is it still 4.7? *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Tue, Aug 2, 2016 at 2:36 AM, John Burwell wrote: > All, > > First, thank you to Will for taking on 4.9 and g

Re: VMware compatibility

2016-07-14 Thread Jeff Hair
have issues (at least that's our experience). Once the mappings are in place, it will send the right guest OS type to VMware and the drivers etc will be correct. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Sat, Jul 9, 201

Re: VMware compatibility

2016-07-08 Thread Jeff Hair
6.0 is not officially supported, though we have found that it will work. But there are no guest OS mappings, for example. It's easy enough to just copy the 5.5 mappings over to 6.0 in the guest_os/guest_os_hypervisor_mapping tables. So I'd say it would not officially be supported in 4.9. On Fri, J

Re: VMware vSphere 6.0 support on CloudStack

2016-06-09 Thread Jeff Hair
problems in OSes like Windows. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Mon, Jun 6, 2016 at 3:51 PM, Jeff Hair wrote: > It works, although it's not officially documented. You should just be able > to hook it up.

Re: VMware vSphere 6.0 support on CloudStack

2016-06-06 Thread Jeff Hair
It works, although it's not officially documented. You should just be able to hook it up. The reason it's not in the documentation is because there is no official testing of it. Jeff On Mon, Jun 6, 2016 at 2:14 PM, Couto, Antonio wrote: > Hello everyone, I’d appreciate your kindly help. > > > >

Re: repository/nexus down

2016-05-18 Thread Jeff Hair
data synchronization." *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Wed, May 18, 2016 at 12:08 PM, Anton Vinogradov wrote: > Down again. > > On Tue, May 17, 2016 at 7:25 PM, Will Stevens > wrote: > > > Ever

Re: Juniper Build Failure

2016-05-17 Thread Jeff Hair
This connection error to the Apache Maven server is happening on our local builds as well. *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com On Tue, May 17, 2016 at 2:18 PM, Will Stevens wrote: > Thank you. I will grab your vers

Re: Feature proposal: Resource naming policies

2016-04-14 Thread Jeff Hair
rently there are functionalities that rely on the internal > naming convention. All such functionalities needs to be handled > appropriately. > > -Koushik > > ____ > From: Jeff Hair > Sent: Thursday, April 14, 2016 5:10 PM > To: dev@cloudstack.apach

Feature proposal: Resource naming policies

2016-04-14 Thread Jeff Hair
Yesterday, we submitted this pull request: https://github.com/apache/cloudstack/pull/1492 This originally grew out of making the VirtualMachineName class non-static (original PR is mentioned in the above link). We're presenting this as a refactoring of the existing code to enable more extensibilit

Re: [IMPORTANT] Huge Github PR Backlog

2016-03-19 Thread Jeff Hair
Sometimes they might seem old, but when interaction just sort of... stops, it can be hard to keep track of what is going on with the PRs. Currently we have 6 or 7 open PRs that no one has commented on or looked at in months. Two were recently updated with integration test results at least. One is m

Re: Controlling Load Order of Modules

2016-02-18 Thread Jeff Hair
ons as being worth no more > than they cost! > > Ron > > > On 18/02/2016 5:47 AM, Jeff Hair wrote: > >> Hi, >> >> We've run across an interesting case where we have the need to load a >> module before other modules. Normally this kind of thing is

Controlling Load Order of Modules

2016-02-18 Thread Jeff Hair
Hi, We've run across an interesting case where we have the need to load a module before other modules. Normally this kind of thing is handled by putting the module up higher in the hierarchy. Our problem is that this module is part of core, and to make it load first we'd have to put it above core.

Re: [Proposal] Concerning open PRs

2016-02-18 Thread Jeff Hair
is created but the person does not > contribute with testing an existing one, the new PR should be closed. > > What do you think? > > Cheers, > Wilder -- *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com

Re: VMware vSphere 6

2016-02-16 Thread Jeff Hair
1). There is > not a lot of test effort performed against vCenter/ESX 6.0 so we don’t know > if there are any subtle bugs. > > Thanks for the email, after checking the sdk version I think it’s time to > bump that version dependency to 6.0. Will send a PR soon. > > > On 16-Fe

Re: VMware vSphere 6

2016-02-16 Thread Jeff Hair
//shapeblue.com/csforge/> > CloudStack Consulting <http://shapeblue.com/cloudstack-consultancy/> | > CloudStack > Software Engineering > <http://shapeblue.com/cloudstack-software-engineering/> > CloudStack Infrastructure Support > <http://shapeblue.com/cloudstack-infrastructure-support/> | CloudStack > Bootcamp Training Courses <http://shapeblue.com/cloudstack-training/> > -- *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com

How to expunge a system VM volume without a system VM running?

2016-01-29 Thread Jeff Hair
Hi, This applies to CloudStack 4.6. The scenario: have one zone installed, and you want to delete the zone. Doing this requires deletion of everything under the host. When the system VMs are destroyed, their volumes go into Destroy state. The storage cleanup thread is constantly trying to expunge

Re: [4.2] System VM volumes stuck in expunging but not removed

2016-01-27 Thread Jeff Hair
Also this is even after waiting for the main expunge thread to run. The volumes remain non-removed after the expunger runs. On Wed, Jan 27, 2016 at 1:56 PM, Jeff Hair wrote: > Hi, > > In a 4.2 environment, after removing the last host from a zone and > destroying the system VMs

[4.2] System VM volumes stuck in expunging but not removed

2016-01-27 Thread Jeff Hair
Hi, In a 4.2 environment, after removing the last host from a zone and destroying the system VMs, they leave behind their volume in the database stuck in Expunging, but the removed column is non-NULL. This prevents the deletion of the primary storage. Was this fixed in later versions or does it st

Re: [PROPOSAL] LTS Release Cycle

2016-01-19 Thread Jeff Hair
tion, 'Is this on the right branch?'. That is my > >point. I am not against LTS. I want fixes to be traceable by their commit > >id over all branches. Backporting is killing in that respect.​ > > > >​I am not the release manager so rest assured I will not ​make an issue of > >this any more. I won't hold my peace either, though. > > > > > >-- > >Daan > -- *Jeff Hair* Technical Lead and Software Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com

Re: Mirroring CloudStack to internal MVN repository

2015-11-10 Thread Jeff Hair
ing now. It might be that you need to do magic in the pom for this to > work. or in MAVEN_OPTS. (what are the mirrors for? these are mirrors of > your local repo, right?) > > On Tue, Nov 10, 2015 at 4:47 PM, Jeff Hair wrote: > > > Yes. It's like this. Not all of this may make

Re: Mirroring CloudStack to internal MVN repository

2015-11-10 Thread Jeff Hair
t; > On Tue, Nov 10, 2015 at 3:27 PM, Jeff Hair wrote: > > > Also, mirroring is probably not the best term. We are not mirroring the > > build artifacts from the official build servers. We are attempting to > > deploy artifacts produced by our build system into Archiva. >

Re: Mirroring CloudStack to internal MVN repository

2015-11-10 Thread Jeff Hair
Also, mirroring is probably not the best term. We are not mirroring the build artifacts from the official build servers. We are attempting to deploy artifacts produced by our build system into Archiva. On Tue, Nov 10, 2015 at 2:23 PM, Jeff Hair wrote: > Hi, > > We are setting up an

Mirroring CloudStack to internal MVN repository

2015-11-10 Thread Jeff Hair
Hi, We are setting up an internal Maven repository to speed up our inhouse builds that depend on CloudStack on the 4.5 branch (which contains 4.5.3-SNAPSHOT right now). It's mostly working, but we are running into something very strange with the checkstyle dependency. After uploading all artifact

Building SNAPSHOT debian packages

2015-10-29 Thread Jeff Hair
Hi, We are building Debian packages on unstable branches (4.5 branch to be specific). The Debian source format 30. rejects the version 4.5.3-SNAPSHOT with an error "Can't build with source format 3.0 native: native package version may not have a revision." Source format 1.0 allows this value, and

Re: TransactionContextInterceptor Keeps Releasing My Lock

2015-10-28 Thread Jeff Hair
hod, instead of using the > proxy which applies AOP. > > Regards, > Frank > On 26 Oct 2015 12:53, "Jeff Hair" wrote: > > > I have narrowed it down to multithreading being the cause. I have a set > of > > workers running through an executor service, and it

Re: TransactionContextInterceptor Keeps Releasing My Lock

2015-10-26 Thread Jeff Hair
transaction, or if I remove the producer-consumer BlockingQueue. Is there a way that makes sense besides one of these two options? On Wed, Oct 14, 2015 at 5:04 PM, Jeff Hair wrote: > I'm using the DAO API to create a lock in the lock table as per > https://cwiki.apache.org/conflue

TransactionContextInterceptor Keeps Releasing My Lock

2015-10-14 Thread Jeff Hair
I'm using the DAO API to create a lock in the lock table as per https://cwiki.apache.org/confluence/display/CLOUDSTACK/Data+Access+Layer. However, the lock seems to mysteriously vanish after acquireInLockTable or lockInLockTable method returns. Looking at the code, I've discovered that TransactionC

Change account membership: non-VMs

2015-08-05 Thread Jeff Hair
Hi, I found this: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Change+account+membership For 4.2, changing ownership of VMs was implemented. Was the ability to move around snapshots, templates, ISOs, etc ever added? Jeff

Re: Trying to Run awsapi on 4.5 from Maven

2015-06-11 Thread Jeff Hair
The pull request has been submitted: https://github.com/apache/cloudstack/pull/389 On Thu, Jun 11, 2015 at 11:17 AM, Rohit Yadav wrote: > Cool, after you can make it work - send a PR. > > Cheers. > > > On 11-Jun-2015, at 2:01 pm, Jeff Hair wrote: > > > > Some

Re: Trying to Run awsapi on 4.5 from Maven

2015-06-11 Thread Jeff Hair
Some progress: by adding the MySQL connector dependency to the awsapi POM, the MySQL error was solved. I suspect it's something similar for the XML library problem. On Thu, Jun 11, 2015 at 10:32 AM, Jeff Hair wrote: > Hi, > > I'm trying to run the awsapi server on the 4.

Re: Trying to Run awsapi on 4.5 from Maven

2015-06-11 Thread Jeff Hair
2stack > > Avoid using awsapi. > > > On 11-Jun-2015, at 1:32 pm, Jeff Hair wrote: > > > > Hi, > > > > I'm trying to run the awsapi server on the 4.5 branch from Maven. > Normally > > we work with 4.2 and a deployed version of awsapi, so this is the

Trying to Run awsapi on 4.5 from Maven

2015-06-11 Thread Jeff Hair
Hi, I'm trying to run the awsapi server on the 4.5 branch from Maven. Normally we work with 4.2 and a deployed version of awsapi, so this is the first time I'm trying it from mvn. I'm using this command: mvn -Pawsapi -pl :cloud-awsapi jetty:run I have a few errors: 1. java.sql.SQLException: No s

Fresh Build of 4.5 in Eclipse Failing due to M2E jaxb-plugin Error

2015-05-19 Thread Jeff Hair
Hi, I'm setting up a new laptop and trying to get CloudStack 4.5 to build in Eclipse again. On my previous laptop I had no problem with this. I'm trying to figure out if it's something to do with newer commits to the 4.5 branch or Eclipse. It's a fresh installation of Eclipse Luna SR2. After impo

Re: vim25.jar missing from mvn repo?

2015-04-01 Thread Jeff Hair
nstall > > Am i missing something? the jar file is not in the remote maven repos .. > > Thanks! -- Jeff Hair Core Systems Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com

Re: Nordic / Scandinavian Users

2015-03-05 Thread Jeff Hair
ipants is decent we could try to organize a user group meeting or > more :-) > > > -- > Erik -- Jeff Hair Core Systems Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com

Re: adding Firewall Service to a network element

2015-02-27 Thread Jeff Hair
n adding a network >> offering. >> >> Any network guru here can help point out what I might have missed? >> >> Thanks! >> KC > -- Jeff Hair Core Systems Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com

[4.2.1] KVM/QEMU Snapshots crashing the virtual machines

2015-02-25 Thread Jeff Hair
Hi, We are using KVM (kernel version 3.12) and QEMU 2.0.0. We can execute snapshots of machines that have only a root volume. But when adding extra volumes, things get weird. When one volume is attached, making a snapshot of the volume fails every other time. Adding more volumes causes the machine

Re: Database locking code

2015-02-03 Thread Jeff Hair
meStringYouMadeUpThatIsUniqueForThisPurpose); >>> >>> throw new CloudRuntimeException("Couldn't acquire DB >>> lock"); >>> >>> } >>> >>> // do your work >>>

Re: Database locking code

2015-01-30 Thread Jeff Hair
s_logger.debug("Couldn't lock the db on the string >>> " + someStringYouMadeUpThatIsUniqueForThisPurpose); >>> >>> throw new CloudRuntimeException("Couldn't acquire DB >>> lock"); >>> >>>

Database locking code

2015-01-29 Thread Jeff Hair
I have some code I've added to CloudStack that I am currently synchronizing on in the traditional manner (synchronized block, ExecutorService, etc). I'm currently running a single instance of CloudStack so I don't have to deal with clustering. I've read the Data Access Layer documentation and am w

Re: Communications link failure

2014-07-02 Thread Jeff Hair
eflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > > at > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) > > at $Proxy158.createPrivateTemplate(Unknown Source) > > at > > > > > org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:265) > > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) > > at > > > > > com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109) > > at > > com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66) > > at > > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) > > at > > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) > > at > > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > > at > > com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63) > > at > > > > > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509) > > at > > > > > org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) > > at > > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) > > at > > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) > > at > > > > > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > > at > > > > > org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) > > at > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > > at > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > > at > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > > at java.lang.Thread.run(Thread.java:679) > > 2014-07-02 15:22:47,464 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > > (Job-Executor-4:ctx-563bed9d) Complete async job-439, jobStatus: FAILED, > > resultCode: 530, result: > > > > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed > > to create templatecom.cloud.utils.exception.CloudRuntimeException: Failed > > to process event"} > > 2014-07-02 15:22:47,543 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > > (Job-Executor-4:ctx-563bed9d) Done executing > > org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for > > job-439 > > 2014-07-02 15:22:47,594 INFO [o.a.c.f.j.i.AsyncJobMonitor] > > (Job-Executor-4:ctx-563bed9d) Remove job-439 from job monitoring > > 2014-07-02 15:22:47,839 DEBUG [c.c.a.ApiServlet] > > (catalina-exec-10:ctx-9fe4fa22) ===START=== 192.168.160.191 -- GET > > > > > command=queryAsyncJobResult&jobId=4b904973-4cfb-4aa9-bcc9-16428d2d02e0&response=json&sessionkey=xoO20Yi%2B%2FGoLCRCprdi4C9Bpcto%3D&_=1404294767825 > > 2014-07-02 15:22:47,970 DEBUG [c.c.a.ApiServlet] > > (catalina-exec-10:ctx-9fe4fa22 ctx-c8470a57) ===END=== 192.168.160.191 > -- > > GET > > > > > command=queryAsyncJobResult&jobId=4b904973-4cfb-4aa9-bcc9-16428d2d02e0&response=json&sessionkey=xoO20Yi%2B%2FGoLCRCprdi4C9Bpcto > > > > > > > > Regards, > > Tejas > > > -- *Jeff Hair* Core Systems Developer Tel: (+354) 415 0200 j...@greenqloud.com www.greenqloud.com

awsapi POM war plugin attachClasses property

2014-05-22 Thread Jeff Hair
Hi, I have a plugin that has a dependency on the awsapi, but it only produces a WAR file. In the past I've patched true into the awsapi POM, but now I'd like to do this without affecting any mainline POM file. The plugin uses cloudstack as its parent, and it's unclear on how to define the value in

GetHostStatsCommand on KVM/Libvirt inaccurate?

2014-05-16 Thread Jeff Hair
Watching the output of the GetHostStatsCommand shows that the CPU utilization is almost always the same. This is because the LibvirtComputingResource runs this script to calculate CPU Idle time: idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle Then it subtracts that number fr

GetHostStatsCommand on KVM/Libvirt inaccurate?

2014-05-11 Thread Jeff Hair
Watching the output of the GetHostStatsCommand shows that the CPU utilization is almost always the same. This is because the LibvirtComputingResource runs this script to calculate CPU Idle time: idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle Then it subtracts that number fr

Review Request 20522: Bugfix CLOUDSTACK-6467: User VM state listener publishes to event bus incompletely

2014-04-21 Thread Jeff Hair
the event description map, as well as receives post-transition events for virtual routers from the event bus. Thanks, Jeff Hair

Re: [PROPOSAL] Enhance the cloudstack events to include more information

2014-04-16 Thread Jeff Hair
>> >> Infrastructure Management – 2010 ● Outstanding Excellence in > Business > > >> >> Continuity – 2008 ● Business Continuity Provider of the Year (BCM > > >> >> Service) – 2013 BCI Global Awards ● Business Continuity Provider of > > the >

Re: CloudMonkey - Exit Status and Print Parameters Support

2014-03-26 Thread Jeff Hair
CloudMonkey should obey the standard rules for exit statuses. It would help especially with error detection from async jobs. If an error result is returned, non-zero exit status. Better than analyzing the JSON contents programmatically anyway. On Wed, Mar 26, 2014 at 4:55 PM, ilya musayev wrote:

Re: [PROPOSAL] More Flexible Security Group Implementation

2014-03-25 Thread Jeff Hair
f hypervisor-specific gurus (network gurus should be > agnostic of the hypervisor) > > From: Jeff Hair mailto:j...@greenqloud.com>> > Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" < > dev@cloudstack.apache.org<mailto:d

[PROPOSAL] More Flexible Security Group Implementation

2014-03-24 Thread Jeff Hair
Hi, Currently the security group manager has a very specific implementation that requires an agent running on the other end. This works for KVM but not for other hypervisors such as VMware. The validation mechanisms are also very tightly coupled to the large methods in the NetworkManager and UserV

Re: [PROPOSAL] Enhance the cloudstack events to include more information

2014-03-18 Thread Jeff Hair
I just noticed this here. I'm working on a plugin that we've chosen to implement in an event-based fashion, using the event bus. The event bus events have basically no information on them, and the database-recorded events have non-standard description formats which usually have useful information.

CloudStack 4.2 and components.xml

2014-02-11 Thread Jeff Hair
Hi, I'm reading through the upgrade instructions for 4.0 to 4.1 and it says that components.xml was moved to componentContext.xml. The upgrade instructions from 4.1.x to 4.2 say components.xml exists again: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Release_Notes/upgrade-

Re: EC2 Rest Servlet "domain cannot be null!!" Error In Advanced Networking Mode

2014-01-31 Thread Jeff Hair
8 . > > BTW you mentioned that you trying EC2 Query API against a setup with > Advanced networking? I just want to point out that AFAIK, we have never > tested EC2 REST/SOAP API compatibility in a setup with Advanced networking. > > Thanks, > Likitha > > >-Original

Re: EC2 Rest Servlet "domain cannot be null!!" Error In Advanced Networking Mode

2014-01-30 Thread Jeff Hair
he API tools > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Instal > lation_Guide/aws-ec2-user-setup.html > > > On 1/30/14 1:42 PM, "Jeff Hair" wrote: > > >I should clarify that we are using 4.2.1 stable release with VMWare. > &g

Re: EC2 Rest Servlet "domain cannot be null!!" Error In Advanced Networking Mode

2014-01-30 Thread Jeff Hair
I should clarify that we are using 4.2.1 stable release with VMWare. On Thu, Jan 30, 2014 at 1:07 PM, Jeff Hair wrote: > Hi, > > We're trying to query the EC2 REST API. Most of it works, but we're > running into an issue when calling describe addresses. It returns a fault

EC2 Rest Servlet "domain cannot be null!!" Error In Advanced Networking Mode

2014-01-30 Thread Jeff Hair
Hi, We're trying to query the EC2 REST API. Most of it works, but we're running into an issue when calling describe addresses. It returns a fault with "domain cannot be null!!" as the error text. I've traced this down to CloudStack not setting the EC2 domain (standard or vpc) in the EC2SoapService