RE: [DOCS] Documentation focused committers, and review processes

2013-04-14 Thread Radhika Puthiyetath
Thanks  Chip.  I thought what is the point in submitting half-cooked stuff ? I 
waited for almost a month before reverting my earlier commit and deciding to go 
ahead with Review Board!

My life as a writer is of course troublesome if the concerned has no time (max 
30 min - 1 hour !!!) to look at the doc/ reply to the queries/ explain 
features/ reviews. 

Any penalties for people who BLOCK documentation development ?


-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Thursday, April 11, 2013 6:35 PM
To: dev@cloudstack.apache.org
Cc: Radhika Puthiyetath
Subject: [DOCS] Documentation focused committers, and review processes

Hi all,

I've observed Radhika struggling to get reviews of her feature docs, and having 
to work to provide patch after patch for reviewboard submissions.

I have a proposal (which I think Joe hinted at in another thread):

Doc writers with commit rights shouldn't use reviewboard to elicit reviews from 
feature developers.  They have access to the repo directly.
Instead, commit away anything that would have previously been posted to 
reviewboard.  There's a reason that we try to move folks from contributor to 
committer on the project, right? ;-)

Radhika, perhaps you just commit what you have for review if you feel that it's 
close enough to publish.  Point people to jenkins.cs.o jobs to review the 
content if required.  Questions that block even the initial doc authoring 
process obviously continue to be raised on this list.

Would this make life easier for you Radhika?

-chip


[ACS42][Discuss] Netscaler as External LB Provider in VPC

2013-04-14 Thread Rajesh Battala
Hi All,

I would be working on implementing Netscaler as External LB Provider in vpc.

Jira ticket for the feature: 
https://issues.apache.org/jira/browse/CLOUDSTACK-869

FS location for the Netscaler as External LB Provider in VPC. 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+of+Netscaler+as+External+LoadBalancing+Provider+in+VPC

Please share your thoughts.

Thanks
Rajesh Battala


[DISCUSS] VM appliance with CS pre-installed

2013-04-14 Thread Musayev, Ilya
I'd like to simplify the CS onboarding expirience even further by providing vm 
images with CS pre-installed in appliance format (perhaps including system vms 
as bundle and nfs preconfigured)

I can automate this process completely hands off with or without vagrant (not a 
fan of vbox).

Im curious what people think? Should this be hosted externally?




GSoC 2013 Task Mentor

2013-04-14 Thread Radu Calin
Hello all,

 

I'm Radu , a 1st year MS student willing to work for the CloudStack project
through GSoC this summer.

 

I would like to know whether there's any mentor assigned for the DevCloud
Cloud in a Box project
(https://issues.apache.org/jira/browse/CLOUDSTACK-1781) yet? 

 

I'm asking this because I want to find out more details about the project,
like the mentor's vision about the end product functionality/UX and how the
workload is going to be structured throughout the given timeframe.  

 

Thanks for reading this,

Radu Calin



Re: [DOCS] Documentation focused committers, and review processes

2013-04-14 Thread Joe Brockmeier
On Sun, Apr 14, 2013, at 02:19 AM, Radhika Puthiyetath wrote:
> Any penalties for people who BLOCK documentation development ?

Are there rewards for the folks who aren't blocking documentation
development? It's not like we can dock their volunteer pay. ;-) 

In all seriousness - I'm sure that it's frustrating to do the work and
wait on feedback that is slow in coming. But every project suffers from
more work than hands to do it. I don't think we should be looking to
penalize or shame anybody, we just need to find ways to help people do
their work more efficiently.

We *could* revert features where the developer has not reviewed
documentation, but who does that help? Assuming a feature is complete
and isn't buggy, is it better for the user not to have a feature because
someone didn't have enough time to review docs? Probably not. 

In this case, I think Chip's proposal is the right one: docs folks
should do the docs to the best of their ability, commit, and raise the
new docs to the attention of the developer(s) specifically responsible
for the feature and the dev@ list in general. (And perhaps even the
user@ list.) 

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


Re: [DISCUSS] VM appliance with CS pre-installed

2013-04-14 Thread Joe Brockmeier
On Sun, Apr 14, 2013, at 02:19 PM, Musayev, Ilya wrote:
> I'd like to simplify the CS onboarding expirience even further by
> providing vm images with CS pre-installed in appliance format (perhaps
> including system vms as bundle and nfs preconfigured)
> 
> I can automate this process completely hands off with or without vagrant
> (not a fan of vbox).

+1 to the idea and +1 to not-VirtualBox. A Xen or KVM version that we
could install and go would be *awesome*.

> Im curious what people think? Should this be hosted externally?

I'd love this. We'd have to host it externally, and it'd have to be
clear it's not an "Official" Apache distribution. 

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


RE: [DISCUSS] VM appliance with CS pre-installed

2013-04-14 Thread Sailaja Mada
Hi,

Can you please share how it is going to be different from DevCloud.   Will you 
be automating the installation process of CS(oss & non-oss), So that it can be 
used with any hypervisor? 


Thanks,
Sailaja.M

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Monday, April 15, 2013 12:50 AM
To: dev@cloudstack.apache.org
Subject: [DISCUSS] VM appliance with CS pre-installed

I'd like to simplify the CS onboarding expirience even further by providing vm 
images with CS pre-installed in appliance format (perhaps including system vms 
as bundle and nfs preconfigured)

I can automate this process completely hands off with or without vagrant (not a 
fan of vbox).

Im curious what people think? Should this be hosted externally?




Fixed function list for Apache CloudStack 4.1

2013-04-14 Thread Kimihiko Kitase
Hello, 

Where can I find the fixed function list for Apache CloudStack 4.1?

Thakns
Kimi


RE: Fixed function list for Apache CloudStack 4.1

2013-04-14 Thread Sudha Ponnaganti
Do you mean feature list for 4.1?
You can use JIRA Query [1] to see new features and improvements done. 

[1] 
https://issues.apache.org/jira/issues/#?jql=project%20%3D%20CLOUDSTACK%20AND%20issuetype%20in%20(Improvement%2C%20%22New%20Feature%22)%20AND%20fixVersion%20%3D%20%224.1.0%22%20ORDER%20BY%20priority%20DESC%2C%20reporter%20ASC%2C%20status%20DESC%2C%20assignee%20ASC


-Original Message-
From: Kimihiko Kitase [mailto:kimihiko.kit...@citrix.co.jp] 
Sent: Sunday, April 14, 2013 9:10 PM
To: dev@cloudstack.apache.org
Subject: Fixed function list for Apache CloudStack 4.1

Hello, 

Where can I find the fixed function list for Apache CloudStack 4.1?

Thakns
Kimi


Re: Fixed function list for Apache CloudStack 4.1

2013-04-14 Thread Nitin Mehta
Refer to 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/4.1+Design+Documents
 


On 15/04/13 9:40 AM, "Kimihiko Kitase" 
wrote:

>Hello, 
>
>Where can I find the fixed function list for Apache CloudStack 4.1?
>
>Thakns
>Kimi



RE: [ACS42][Discuss] Netscaler as External LB Provider in VPC

2013-04-14 Thread Sailaja Mada
Hi Rajesh,

Few clarifications after going thru the FS :

1. Do we support autoscale in VPC if the Netscaler added has support for 
autoscale ? Please update FS if it is not
2. It is mentioned as - User should select the offering "Default VPC offering 
with NS" -  I guess user has flexibility to create the VPC offering ?
3. If I have both shared and dedicated mode Netscaler devices available, Do you 
have an implementation check to choose only dedicated mode Netscaler device if 
it is VPC webtier? How are you finding that it is of type VPC . Is it thru the 
Network offering which is selected to create Tier ?  
   How about providing new parameter while adding Netscaler device if it is 
meant to be used for VPC.  Just a thought. 
4. With Restart VPC/Remove VPC - Will you be taking care of cleanup @ Netscaler 
? - Please provide the details about it. 
5.  UI flow , Currently we enable only VPC VR while creating VPC Network 
offering. Now we should enable Netscaler while selecting Loadbalancer service.  
FS need to be updated with this.

Thanks,
Sailaja.M 

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
Sent: Sunday, April 14, 2013 11:23 PM
To: dev@cloudstack.apache.org
Subject: [ACS42][Discuss] Netscaler as External LB Provider in VPC

Hi All,

I would be working on implementing Netscaler as External LB Provider in vpc.

Jira ticket for the feature: 
https://issues.apache.org/jira/browse/CLOUDSTACK-869

FS location for the Netscaler as External LB Provider in VPC. 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+of+Netscaler+as+External+LoadBalancing+Provider+in+VPC

Please share your thoughts.

Thanks
Rajesh Battala


Re: [MERGE] ASA 1000v as external firewall in isolated guest networks

2013-04-14 Thread Prasanna Santhanam
On Fri, Apr 12, 2013 at 12:54:17PM -0400, Chip Childers wrote:
> > >
> > >Koushik,
> > >
> > >I think that it will require working with Prasanna to get a Marvin test
> > >suite for the feature ready to go.  I'd personally like to see that
> > >*prior* to the merge into master.  We need to "up our game" on automated
> > >testing of new features, so that we stop digging ourselves deeper and
> > >deeper into a hole.
> > >
> > >-chip
> > 
> > But this approach isn't scalable either.
> > 
> > Every new whiz bang network device will require infrastructure / licenses
> > / etc. 
> > 
> > 
> > I think if there's component level tests of the code introduced (at least
> > the network elements) that should be a good first step.
> > 
> > --
> > Chiradeep
> 
> Agreed that it would be a good first step, absolutely.  We really do
> need to think about how we deal with all of these integrations...  and
> how we do ongoing testing.  It's going to be a challenge either way.
> 
> The point of having a marvin test, IMO, isn't necessarily tied to the CI
> infrastructure.  Instead, it allows for a regression test to be run when
> and if there is an appropriate target infrastructure.  I'm sort of
> breaking the problem into two parts: having tests to run if you have the
> required setup, and figuring out how we get the required setup.
> 

In general the way we've taken care of external devices for other
network appliances, NetScaler for instance, is to assume the
deployment contains the network element present (inline, side-by-side,
thingamajig mode) and test the services it provides as a tenant would
use it. We don't test the actual deployment itself and assume the
admin has provisioned and registered the appliance appropriately.

-- 
Prasanna.,


Re: Review Request: (CLOUDSTACK-2017) implement network bandwidth rate limits for VMs for KVM

2013-04-14 Thread Prasanna Santhanam


> On April 12, 2013, 1:27 p.m., Chip Childers wrote:
> > Wei,
> > 
> > Any chance you can provide unit tests and / or a marvin test that covers 
> > this functionality? I know it's a bit of an odd part of the code to have an 
> > automated test for, but we'd love to see something added with each 
> > incremental functional change we make.
> > 
> > -chip

Wido has setup some basic tests over which one can build further unit-tests. 
Checkout LibvirtVMDefTest.java in 
plugins/hypervisors/kvm/test/com/cloud/hypervisor/kvm/resource


- Prasanna


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10428/#review19072
---


On April 12, 2013, 6:33 a.m., Wei Zhou wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10428/
> ---
> 
> (Updated April 12, 2013, 6:33 a.m.)
> 
> 
> Review request for cloudstack.
> 
> 
> Description
> ---
> 
> Adding bandwidth inbound and outbound limitations in VM XML file to implement 
> network bandwidth rate limits for VMs for KVM.
> It is supported since libvirt 0.9.4.
> 
> The patch only applies on CloudStack 4.0.1 branch.
> If commited, I will change it to support 4.1 and master branch.
> 
> 
> This addresses bug CLOUDSTACK-2017.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
>  f406c86 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtDomainXMLParser.java
>  b622b6d 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
>  ba6c715 
> 
> Diff: https://reviews.apache.org/r/10428/diff/
> 
> 
> Testing
> ---
> 
> Testing manually ok.
> The VMs need to stop and start to make network bandwidth limits effective.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>



[ACS41][DOCS] Summarize Javelin?

2013-04-14 Thread Joe Brockmeier
Hi all, 

For the release notes, can someone summarize what *exactly* Javelin is
and how it impacts the user in, say, two paragraphs or less? (In other
words, what's the layperson description that will make sense to
non-developers?) 

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


RE: Fixed function list for Apache CloudStack 4.1

2013-04-14 Thread Kimihiko Kitase
Nitin, Sudha,

Thank you very much.

My understanding is the design documents is exactly not same as feature lits of 
ACS. 
I saw the following link.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Design+Documents+Not+Committed+to+a+Release

According to this link, when function is committed, its moved to release page 
like the following page.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.1+Release
https://issues.apache.org/jira/issues/?filter=12323168

But I thought the number of feature in this list is few.. That's why I asked.

According to Sudha Ponnaganti, now I understood I can get from JIRA with 
filtering "improvement" and "new feature"

If I am wrong, please correct me...

Thanks
Kimi


> -Original Message-
> From: Nitin Mehta [mailto:nitin.me...@citrix.com]
> Sent: Monday, April 15, 2013 1:47 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Fixed function list for Apache CloudStack 4.1
> 
> Refer to
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/4.1+Design+Docu
> ments
> 
> 
> 
> On 15/04/13 9:40 AM, "Kimihiko Kitase" 
> wrote:
> 
> >Hello,
> >
> >Where can I find the fixed function list for Apache CloudStack 4.1?
> >
> >Thakns
> >Kimi



RE: [QA]question on cloudstack-usage service

2013-04-14 Thread Suresh Sadhu
Wido/Kelven,

This issue  noticed on master build please find few more details below:.
 http://jenkins-ccp.citrix.com/job/ASF-build-master-nonoss-rhel63/211/


root@centos63 usage]# which jsvc
/usr/bin/jsvc
[root@centos63 usage]# /usr/bin/jsvc status
15/04/2013 06:53:11 14280 jsvc error: Cannot locate Java Home
Manually set the JAVA_HOME classpath but still see the problem

[root@centos63 usage]# export JAVA_HOME=/usr/lib/jvm/jre-1.6.0
[root@centos63 usage]# echo $JAVA_HOME
/usr/lib/jvm/jre-1.6.0
[root@centos63 usage]# /usr/bin/jsvc status
[root@centos63 usage]# /usr/bin/jsvc start

Content of  Cloudstack-usage file (FYI)

SCP=""
DCP=""
UCP=`ls /usr/share/cloudstack-usage/cloud-usage-*.jar`":"`ls 
/usr/share/cloudstack-usage/lib/* | tr '\n' ':'`
JCP="/usr/share/java/commons-daemon.jar"

# We need to append the JSVC daemon JAR to the classpath
# AgentShell implements the JSVC daemon methods
export CLASSPATH="$SCP:$DCP:$UCP:$JCP:/etc/cloudstack/usage"


Its looks like it's similar to the following issue:

 https://issues.apache.org/jira/browse/CLOUDSTACK-1746


regards
sadhu




-Original Message-
From: Kelven Yang [mailto:kelven.y...@citrix.com] 
Sent: 13 April 2013 00:11
To: dev@cloudstack.apache.org
Subject: Re: [QA]question on cloudstack-usage service

It looks like to UsageDao has some trouble to initialize itself. On which 
branch does this problem happen?

Kelven

On 4/12/13 11:05 AM, "Wido den Hollander"  wrote:

>
>
>On 04/12/2013 01:33 PM, Suresh Sadhu wrote:
>> HI,
>>
>>
>> Any idea why usage server is stopped with unexpected exception(is 
>>there any issue exits/logged already),do we need to add any additional 
>>packages/rpm/configurations other than installing the usage server 
>>monitor"
>> Seen this issue on master build.
>>
>
>Hmm, that is weird. Could you print the classpath what is submitted to 
>the JSVC process?
>
>Wondering what it is generating.
>
>Wido
>
>>
>> [root@rhel631 ~]# service cloudstack-usage start
>> Starting CloudStack Usage Monitor cloudstack-usage [  OK  ]
>> [root@rhel631 ~]# service cloudstack-usage status cloudstack-usage 
>> (pid  20999) is running...
>> [root@rhel631 ~]# service cloudstack-usage status cloudstack-usage is 
>> stopped
>>
>>
>> Content of cloudstack-usage.err:
>> *
>>
>> log4j:WARN No appenders could be found for logger 
>>(org.springframework.core.env.StandardEnvironment).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
>>for more info.
>> java.lang.reflect.InvocationTargetException
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>>ava
>>:57)
>>  at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>>orI
>>mpl.java:43)
>>  at java.lang.reflect.Method.invoke(Method.java:616)
>>  at
>>org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java
>>:17
>>7)
>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>Error creating bean with name 'portForwardingUsageParser': Injection 
>>of autowired dependencies failed; nested exception is
>>org.springframework.beans.factory.BeanCreationException: Could not 
>>autowire field: private com.cloud.usage.dao.UsageDao 
>>com.cloud.usage.parser.PortForwardingUsageParser._usageDao; nested 
>>exception is org.springframework.beans.factory.BeanCreationException:
>>Error creating bean with name 'usageDaoImpl' defined in URL 
>>[jar:file:/usr/share/cloudstack-usage/lib/cloud-server-4.2.0-SNAPSHOT.
>>jar
>>!/com/cloud/usage/dao/UsageDaoImpl.class]: BeanPostProcessor before 
>>instantiation of bean failed; nested exception is
>>net.sf.cglib.core.CodeGenerationException:
>>java.lang.ExceptionInInitializerError-->null
>>  at
>>org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPo
>>stP 
>>rocessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcesso
>>r.j
>>ava:287)
>>  at
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>>act
>>ory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
>>  at
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>>act
>>ory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
>>  at
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>>act
>>ory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>>  at
>>org.springframework.beans.factory.support.AbstractBeanFactory$1.getObj
>>ect
>>(AbstractBeanFactory.java:294)
>>  at
>>org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
>>.ge
>>tSingleton(DefaultSingletonBeanRegistry.java:225)
>>  at
>>org.springframework.beans.factory.support.AbstractBeanFactory.doGetBea
>>n(A
>>bstractBeanFactory.java:291)
>>   

RE: [QA]question on cloudstack-usage service

2013-04-14 Thread Abhinav Roy
Same issue is seen in my setup also.

Thanks and regards,
Abhinav

-Original Message-
From: Suresh Sadhu [mailto:suresh.sa...@citrix.com] 
Sent: Monday, April 15, 2013 11:15 AM
To: dev@cloudstack.apache.org
Subject: RE: [QA]question on cloudstack-usage service

Wido/Kelven,

This issue  noticed on master build please find few more details below:.
 http://jenkins-ccp.citrix.com/job/ASF-build-master-nonoss-rhel63/211/


root@centos63 usage]# which jsvc
/usr/bin/jsvc
[root@centos63 usage]# /usr/bin/jsvc status
15/04/2013 06:53:11 14280 jsvc error: Cannot locate Java Home Manually set the 
JAVA_HOME classpath but still see the problem

[root@centos63 usage]# export JAVA_HOME=/usr/lib/jvm/jre-1.6.0
[root@centos63 usage]# echo $JAVA_HOME
/usr/lib/jvm/jre-1.6.0
[root@centos63 usage]# /usr/bin/jsvc status
[root@centos63 usage]# /usr/bin/jsvc start

Content of  Cloudstack-usage file (FYI)

SCP=""
DCP=""
UCP=`ls /usr/share/cloudstack-usage/cloud-usage-*.jar`":"`ls 
/usr/share/cloudstack-usage/lib/* | tr '\n' ':'` 
JCP="/usr/share/java/commons-daemon.jar"

# We need to append the JSVC daemon JAR to the classpath # AgentShell 
implements the JSVC daemon methods export 
CLASSPATH="$SCP:$DCP:$UCP:$JCP:/etc/cloudstack/usage"


Its looks like it's similar to the following issue:

 https://issues.apache.org/jira/browse/CLOUDSTACK-1746


regards
sadhu




-Original Message-
From: Kelven Yang [mailto:kelven.y...@citrix.com]
Sent: 13 April 2013 00:11
To: dev@cloudstack.apache.org
Subject: Re: [QA]question on cloudstack-usage service

It looks like to UsageDao has some trouble to initialize itself. On which 
branch does this problem happen?

Kelven

On 4/12/13 11:05 AM, "Wido den Hollander"  wrote:

>
>
>On 04/12/2013 01:33 PM, Suresh Sadhu wrote:
>> HI,
>>
>>
>> Any idea why usage server is stopped with unexpected exception(is 
>>there any issue exits/logged already),do we need to add any additional 
>>packages/rpm/configurations other than installing the usage server 
>>monitor"
>> Seen this issue on master build.
>>
>
>Hmm, that is weird. Could you print the classpath what is submitted to 
>the JSVC process?
>
>Wondering what it is generating.
>
>Wido
>
>>
>> [root@rhel631 ~]# service cloudstack-usage start
>> Starting CloudStack Usage Monitor cloudstack-usage [  OK  ]
>> [root@rhel631 ~]# service cloudstack-usage status cloudstack-usage 
>> (pid  20999) is running...
>> [root@rhel631 ~]# service cloudstack-usage status cloudstack-usage is 
>> stopped
>>
>>
>> Content of cloudstack-usage.err:
>> *
>>
>> log4j:WARN No appenders could be found for logger 
>>(org.springframework.core.env.StandardEnvironment).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
>>for more info.
>> java.lang.reflect.InvocationTargetException
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>>ava
>>:57)
>>  at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>>orI
>>mpl.java:43)
>>  at java.lang.reflect.Method.invoke(Method.java:616)
>>  at
>>org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java
>>:17
>>7)
>> Caused by: org.springframework.beans.factory.BeanCreationException:
>>Error creating bean with name 'portForwardingUsageParser': Injection 
>>of autowired dependencies failed; nested exception is
>>org.springframework.beans.factory.BeanCreationException: Could not 
>>autowire field: private com.cloud.usage.dao.UsageDao 
>>com.cloud.usage.parser.PortForwardingUsageParser._usageDao; nested 
>>exception is org.springframework.beans.factory.BeanCreationException:
>>Error creating bean with name 'usageDaoImpl' defined in URL 
>>[jar:file:/usr/share/cloudstack-usage/lib/cloud-server-4.2.0-SNAPSHOT.
>>jar
>>!/com/cloud/usage/dao/UsageDaoImpl.class]: BeanPostProcessor before 
>>instantiation of bean failed; nested exception is
>>net.sf.cglib.core.CodeGenerationException:
>>java.lang.ExceptionInInitializerError-->null
>>  at
>>org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPo
>>stP
>>rocessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcesso
>>r.j
>>ava:287)
>>  at
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>>act
>>ory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
>>  at
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>>act
>>ory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
>>  at
>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
>>act
>>ory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>>  at
>>org.springframework.beans.factory.support.AbstractBeanFactory$1.getObj
>>ect
>>(AbstractBeanFactory.java:294)
>>  

Re: What should be the expected behaviour when VM is deployed (not through CloudStack) on CloudStack managed hosts? Was" [IP Reservation] Is VM creation using the reserved IPs on cloudstack managed h

2013-04-14 Thread Saksham Srivastava

I believe Abhinav's  plan was to test a scenario in which:
1.) User applies IP Reservation, then
2.) Try to deploy a VM via XenCenter on a Host which is managed by 
Cloudstack,
3.) Assign static IP to this VM from reserved range (the range of IPs 
not assigned to CloudStack guest VMs)

Ahmad replied : "cloudstack doesnt allow vm's to be created, on hosts it 
manages, outside of
its knowledge. this is expected default behavior"

So by design it does not qualify to be valid test case.

Thanks,
Saksham

On Friday 12 April 2013 10:17 PM, Chiradeep Vittal wrote:
> Still not clear :(
> Can you give a detailed step by step procedure of
> "creation of VMs using the reserved IP (after doing IP reservation) on
> cloudstack managed hosts supported?"
>
> On 4/12/13 8:00 AM, "Saksham Srivastava" 
> wrote:
>
>> Changing the subject  and reposting.
>>
>> -Original Message-
>> From: Abhinav Roy [mailto:abhinav@citrix.com]
>> Sent: Tuesday, April 02, 2013 10:36 AM
>> To: dev@cloudstack.apache.org
>> Subject: RE: [IP Reservation] Is VM creation using the reserved IPs on
>> cloudstack managed hosts supported?
>>
>>
>> Hi,
>>
>> Is creation of VMs using the reserved IP (after doing IP reservation) on
>> cloudstack managed hosts supported? Because when I tried to do that the
>> VM got destroyed as soon as it was created.
>> While on hosts which are not managed by cloudstack VM creation using
>> reserved IPs went through.
>>
>>
>>
>> Thanks and regards,
>> Abhinav


Re: Review Request: Enhance resize volume tests to support xenserver hypervisor and fix few test flow errors

2013-04-14 Thread SrikanteswaraRao Talluri

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10393/
---

(Updated April 15, 2013, 6:08 a.m.)


Review request for cloudstack, Prasanna Santhanam and Marcus Sorensen.


Changes
---

incorporated review comments and added cleanup part


Description
---

 Based on hypervisor, resizeVolume needs VM to be in stopped state for 
xenserver.

Earlier tests had volume not attached, Hence, resize is failing 


This addresses bug CLOUDSTACK-1995.


Diffs (updated)
-

  test/integration/smoke/test_volumes.py 36eb5de 

Diff: https://reviews.apache.org/r/10393/diff/


Testing
---

Tested with KVM and XenServer hypervisors with local storage. I couldn't test 
on shared storage because of a bug related to primary storage


Thanks,

SrikanteswaraRao Talluri



Re: Review Request: Enhance resize volume tests to support xenserver hypervisor and fix few test flow errors

2013-04-14 Thread SrikanteswaraRao Talluri


> On April 12, 2013, 8:33 a.m., Prasanna Santhanam wrote:
> > test/integration/smoke/test_volumes.py, line 570
> > 
> >
> > Why would a sleep be required here? Can you add a comment for why?

removed it


> On April 12, 2013, 8:33 a.m., Prasanna Santhanam wrote:
> > test/integration/smoke/test_volumes.py, line 576
> > 
> >
> > This sleep can also be removed since virtual_machine.stop returns only 
> > after the VM moves to stopped state.

removed it


> On April 12, 2013, 8:33 a.m., Prasanna Santhanam wrote:
> > test/integration/smoke/test_volumes.py, line 612
> > 
> >
> > Same as above.

removed it


- SrikanteswaraRao


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10393/#review19057
---


On April 15, 2013, 6:08 a.m., SrikanteswaraRao Talluri wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10393/
> ---
> 
> (Updated April 15, 2013, 6:08 a.m.)
> 
> 
> Review request for cloudstack, Prasanna Santhanam and Marcus Sorensen.
> 
> 
> Description
> ---
> 
>  Based on hypervisor, resizeVolume needs VM to be in stopped state for 
> xenserver.
> 
> Earlier tests had volume not attached, Hence, resize is failing 
> 
> 
> This addresses bug CLOUDSTACK-1995.
> 
> 
> Diffs
> -
> 
>   test/integration/smoke/test_volumes.py 36eb5de 
> 
> Diff: https://reviews.apache.org/r/10393/diff/
> 
> 
> Testing
> ---
> 
> Tested with KVM and XenServer hypervisors with local storage. I couldn't test 
> on shared storage because of a bug related to primary storage
> 
> 
> Thanks,
> 
> SrikanteswaraRao Talluri
> 
>



Re: What should be the expected behaviour when VM is deployed (not through CloudStack) on CloudStack managed hosts? Was" [IP Reservation] Is VM creation using the reserved IPs on cloudstack managed h

2013-04-14 Thread Abhinandan Prateek
Yes, I think if the test case requires a VM to be deployed outside of
cloudstack knowledge then it is not a valid test case.

-abhi

On 15/04/13 11:27 AM, "Saksham Srivastava" 
wrote:

>
>I believe Abhinav's  plan was to test a scenario in which:
>1.) User applies IP Reservation, then
>2.) Try to deploy a VM via XenCenter on a Host which is managed by
>Cloudstack,
>3.) Assign static IP to this VM from reserved range (the range of IPs
>not assigned to CloudStack guest VMs)
>
>Ahmad replied : "cloudstack doesnt allow vm's to be created, on hosts it
>manages, outside of
>its knowledge. this is expected default behavior"
>
>So by design it does not qualify to be valid test case.
>
>Thanks,
>Saksham
>
>On Friday 12 April 2013 10:17 PM, Chiradeep Vittal wrote:
>> Still not clear :(
>> Can you give a detailed step by step procedure of
>> "creation of VMs using the reserved IP (after doing IP reservation) on
>> cloudstack managed hosts supported?"
>>
>> On 4/12/13 8:00 AM, "Saksham Srivastava" 
>> wrote:
>>
>>> Changing the subject  and reposting.
>>>
>>> -Original Message-
>>> From: Abhinav Roy [mailto:abhinav@citrix.com]
>>> Sent: Tuesday, April 02, 2013 10:36 AM
>>> To: dev@cloudstack.apache.org
>>> Subject: RE: [IP Reservation] Is VM creation using the reserved IPs on
>>> cloudstack managed hosts supported?
>>>
>>>
>>> Hi,
>>>
>>> Is creation of VMs using the reserved IP (after doing IP reservation)
>>>on
>>> cloudstack managed hosts supported? Because when I tried to do that the
>>> VM got destroyed as soon as it was created.
>>> While on hosts which are not managed by cloudstack VM creation using
>>> reserved IPs went through.
>>>
>>>
>>>
>>> Thanks and regards,
>>> Abhinav




Re: Review Request: Enhance resize volume tests to support xenserver hypervisor and fix few test flow errors

2013-04-14 Thread Prasanna Santhanam

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10393/#review19177
---

Ship it!


commit 0abfe240c31e410e286169ac1f75aa564f267280
Author: Talluri 
Date:   Mon Apr 15 16:47:34 2013 +0530

CLOUDSTACK-1995: Enhance resize volume tests to support xenserver 
hypervisor and fix few test flow errors

Signed-off-by: Prasanna Santhanam 


- Prasanna Santhanam


On April 15, 2013, 6:08 a.m., SrikanteswaraRao Talluri wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10393/
> ---
> 
> (Updated April 15, 2013, 6:08 a.m.)
> 
> 
> Review request for cloudstack, Prasanna Santhanam and Marcus Sorensen.
> 
> 
> Description
> ---
> 
>  Based on hypervisor, resizeVolume needs VM to be in stopped state for 
> xenserver.
> 
> Earlier tests had volume not attached, Hence, resize is failing 
> 
> 
> This addresses bug CLOUDSTACK-1995.
> 
> 
> Diffs
> -
> 
>   test/integration/smoke/test_volumes.py 36eb5de 
> 
> Diff: https://reviews.apache.org/r/10393/diff/
> 
> 
> Testing
> ---
> 
> Tested with KVM and XenServer hypervisors with local storage. I couldn't test 
> on shared storage because of a bug related to primary storage
> 
> 
> Thanks,
> 
> SrikanteswaraRao Talluri
> 
>