Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed"

2016-08-28 Thread B Prakash
Please ignore my previous email.   Building offline worked.


Thanks and regards,

 B Prakash



From: B Prakash <bpr...@hotmail.com>
Sent: Sunday, August 28, 2016 3:06 PM
To: dev@cloudstack.apache.org
Subject: Re: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi Rohit, I put-up another vm and built code on it, I got the same error.  I 
downloaded non oss jars and ran a build offline, I still get the same error, 
unable to fix this.


Thanks and regards,

 B Prakash



From: Rohit Yadav <rohit.ya...@shapeblue.com>
Sent: Tuesday, August 23, 2016 5:05 AM
To: dev@cloudstack.apache.org
Subject: Re: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi B,


This seems like a network issue to me, you may try changing networks and see if 
that works, or identify if there are any firewall policies in your network 
barring you to access those url resources.


Regards.

________
From: B Prakash <bpr...@hotmail.com>
Sent: 23 August 2016 10:22:45
To: dev@cloudstack.apache.org
Subject: Re: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi Rohit,  thank you!  I am using the main master branch.  I have all the 
latest files.  I am having this problem only since last few weeks, earlier my 
build was running fine.I tried this and I still have the same problem.  I 
will will install nonoss deps and try again, meanwhile, following is the build 
error I have now;



Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar
 (58 KB at 681.0 KB/sec)
Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar
 (107 KB at 1005.4 KB/sec)
Aug 22, 2016 9:15:13 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:15:13 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:15:21 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:15:21 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:30:55 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: No route to host
Aug 22, 2016 9:30:55 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:31:06 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: No route to host
Aug 22, 2016 9:31:06 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar
 (34 KB at 0.0 KB/sec)
Aug 22, 2016 9:46:47 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:46:47 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443


Thanks and regards,

 B Prakash



From: Rohit Yadav <rohit.ya...@shapeblue.com>
Sent: Monday, August 22, 2016 1:04 PM
To: dev@cloudstack.apache.org
Subject: Re: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi B, how are you building CloudStack? Which branch is it?

Can you try a full clean build: mvn clean install -Dnoredist -Dsimulator -P 
developer,systemvm

You may install nonoss dependencies from here: 
https://github.com/rhtyd/cloudstack-nonoss
[https://avatars1.githubusercontent.com/u/95203?v=3=400]<https://github.com/rhtyd/cloudstack-nonoss>

GitHub - rhtyd/cloudstack-no

Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed"

2016-08-28 Thread B Prakash
Hi Rohit, I put-up another vm and built code on it, I got the same error.  I 
downloaded non oss jars and ran a build offline, I still get the same error, 
unable to fix this.


Thanks and regards,

 B Prakash



From: Rohit Yadav <rohit.ya...@shapeblue.com>
Sent: Tuesday, August 23, 2016 5:05 AM
To: dev@cloudstack.apache.org
Subject: Re: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi B,


This seems like a network issue to me, you may try changing networks and see if 
that works, or identify if there are any firewall policies in your network 
barring you to access those url resources.


Regards.

________
From: B Prakash <bpr...@hotmail.com>
Sent: 23 August 2016 10:22:45
To: dev@cloudstack.apache.org
Subject: Re: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi Rohit,  thank you!  I am using the main master branch.  I have all the 
latest files.  I am having this problem only since last few weeks, earlier my 
build was running fine.I tried this and I still have the same problem.  I 
will will install nonoss deps and try again, meanwhile, following is the build 
error I have now;



Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar
 (58 KB at 681.0 KB/sec)
Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar
 (107 KB at 1005.4 KB/sec)
Aug 22, 2016 9:15:13 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:15:13 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:15:21 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:15:21 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:30:55 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: No route to host
Aug 22, 2016 9:30:55 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:31:06 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: No route to host
Aug 22, 2016 9:31:06 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar
 (34 KB at 0.0 KB/sec)
Aug 22, 2016 9:46:47 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:46:47 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443


Thanks and regards,

 B Prakash



From: Rohit Yadav <rohit.ya...@shapeblue.com>
Sent: Monday, August 22, 2016 1:04 PM
To: dev@cloudstack.apache.org
Subject: Re: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi B, how are you building CloudStack? Which branch is it?

Can you try a full clean build: mvn clean install -Dnoredist -Dsimulator -P 
developer,systemvm

You may install nonoss dependencies from here: 
https://github.com/rhtyd/cloudstack-nonoss
[https://avatars1.githubusercontent.com/u/95203?v=3=400]<https://github.com/rhtyd/cloudstack-nonoss>

GitHub - rhtyd/cloudstack-nonoss: Apache CloudStack - Non 
...<https://github.com/rhtyd/cloudstack-nonoss>
github.com
cloudstack-nonoss - Apache CloudStack - Non OSS libraries ... Clone with HTTPS 
Use Git or checkout with SVN using the web URL.





Regards.


From: B Prakash <bpr...@hotmail.com>
Sent: 22 August 2016 21:17:50
To: dev@cloudstack.apache.org
Subjec

Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed"

2016-08-22 Thread B Prakash
Hi Rohit,  thank you!  I am using the main master branch.  I have all the 
latest files.  I am having this problem only since last few weeks, earlier my 
build was running fine.I tried this and I still have the same problem.  I 
will will install nonoss deps and try again, meanwhile, following is the build 
error I have now;



Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar
 (58 KB at 681.0 KB/sec)
Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar
 (107 KB at 1005.4 KB/sec)
Aug 22, 2016 9:15:13 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:15:13 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:15:21 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:15:21 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:30:55 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: No route to host
Aug 22, 2016 9:30:55 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Aug 22, 2016 9:31:06 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: No route to host
Aug 22, 2016 9:31:06 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443
Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar
 (34 KB at 0.0 KB/sec)
Aug 22, 2016 9:46:47 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: I/O exception (java.net.SocketException) caught when processing request 
to {s}->https://repo.maven.apache.org:443: Connection timed out
Aug 22, 2016 9:46:47 PM 
org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
execute
INFO: Retrying request to {s}->https://repo.maven.apache.org:443


Thanks and regards,

 B Prakash



From: Rohit Yadav <rohit.ya...@shapeblue.com>
Sent: Monday, August 22, 2016 1:04 PM
To: dev@cloudstack.apache.org
Subject: Re: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi B, how are you building CloudStack? Which branch is it?

Can you try a full clean build: mvn clean install -Dnoredist -Dsimulator -P 
developer,systemvm

You may install nonoss dependencies from here: 
https://github.com/rhtyd/cloudstack-nonoss
[https://avatars1.githubusercontent.com/u/95203?v=3=400]<https://github.com/rhtyd/cloudstack-nonoss>

GitHub - rhtyd/cloudstack-nonoss: Apache CloudStack - Non 
...<https://github.com/rhtyd/cloudstack-nonoss>
github.com
cloudstack-nonoss - Apache CloudStack - Non OSS libraries ... Clone with HTTPS 
Use Git or checkout with SVN using the web URL.





Regards.


From: B Prakash <bpr...@hotmail.com>
Sent: 22 August 2016 21:17:50
To: dev@cloudstack.apache.org
Subject: Compilation error "Execution cloudstack-checklicence of goal 
com.mycila:license-maven-plugin:2.11:check failed"

Hi, I am unable to compile latest source due to the following error, please can 
someone help me with this?

[ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.11:check 
(cloudstack-checklicence) on project cloud-plugin-network-nvp: Execution 
cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check 
failed: Plugin com.mycila:license-maven-plugin:2.11 or one of its dependencies 
could not be resolved: Could not transfer artifact 
javax.enterprise:cdi-api:jar:1.0 from/to central 
(https://repo.maven.apache.org/maven2): Connection timed out -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following

Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed"

2016-08-22 Thread B Prakash
Hi, I am unable to compile latest source due to the following error, please can 
someone help me with this?

[ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.11:check 
(cloudstack-checklicence) on project cloud-plugin-network-nvp: Execution 
cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check 
failed: Plugin com.mycila:license-maven-plugin:2.11 or one of its dependencies 
could not be resolved: Could not transfer artifact 
javax.enterprise:cdi-api:jar:1.0 from/to central 
(https://repo.maven.apache.org/maven2): Connection timed out -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command




Thanks and regards,

     B Prakash


marvin functional test cases or junits for the api 'deployVirtualMachine' and 'resizeVolume'

2016-02-29 Thread B Prakash
I am looking for marvin functional test cases or junits for the api 
'deployVirtualMachine' and 'resizeVolume'.  Please could someone share this 
info?

Thanks and regards,

Prakash


Re: Help with JUnits

2016-01-20 Thread B Prakash
Ok.  I have extended rootdiskresize functionality for xenserver.  It was an 
existing KVM implementation and I extended it to include xenserver.  I was also 
hoping to reuse its junits but couldnt find.

Please let me know if you are aware of any means of finding junits for 
UserVmManagerImpl.commitUserVm.  If I am unable to trace this, I will write 
junits for this afresh.

From: Mike Tutkowski <mike.tutkow...@solidfire.com>
Sent: Wednesday, January 20, 2016 12:38 AM
To: dev@cloudstack.apache.org
Subject: Re: Help with JUnits

I'm not sure what CloudStack's test-coverage numbers look like (for either
unit or integration), but I suspect we are quite well below 100% coverage.

On Tue, Jan 19, 2016 at 10:34 PM, B Prakash <bpr...@hotmail.com> wrote:

> Yes it does, thanks.  Next I am going through the code to identify a
> pattern (like class name ending with TEST :-)) to identify junit code.   I
> am unable to zero in on few of the operations ie I am unable to find unit
> test for this operation UserVmManagerImpl.commitUserVm.   I am still
> looking for it.  Is the Junit coverage 100%?
>
> 
> From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> Sent: Tuesday, January 19, 2016 3:01 AM
> To: dev@cloudstack.apache.org
> Subject: Re: Help with JUnits
>
> So, yeah, unit tests are written in Java while integration tests are
> written in Python using Marvin...if that helps clarify things a bit more.
>
> On Tue, Jan 19, 2016 at 12:45 AM, B Prakash <bpr...@hotmail.com> wrote:
>
> > Thanks Mike, I read through the link and also saw the video, this answers
> > part of my question about executing the unit tests.  The other part of
> the
> > questions still remains ie were are junits written in Java for this class
> > and operation UserVmManagerImpl.commitUserVm.
> >
> > How do we check the junit coverage for a particular class and
> > implementation in it?  Where do I start looking for them and confirm if
> > they exist?
> >
> > 
> > From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> > Sent: Monday, January 18, 2016 11:51 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: Help with JUnits
> >
> > Here's a video of a presentation I gave about Marvin (from CloudStack
> Days
> > in Austin last year):
> >
> > https://www.youtube.com/watch?v=N_eKBA_TeOs
> >
> > On Mon, Jan 18, 2016 at 9:49 PM, Mike Tutkowski <
> > mike.tutkow...@solidfire.com> wrote:
> >
> > > Does this help?
> > >
> > >
> > >
> >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python
> > >
> > > On Mon, Jan 18, 2016 at 8:56 PM, B Prakash <bpr...@hotmail.com> wrote:
> > >
> > >> Hi,
> > >>
> > >>
> > >> Please can someone help me with identifying and amending junits
> for
> > >> UserVmManagerImpl.commitUserVm?  I see a test class called
> > >> UserVmManagerTest but I dont see a good junits coverage here.  Also
> > link in
> > >> the 'Developer > Testing > Unit testing with JUnit and Spring' doesnt
> > give
> > >> out lot of details on junits.
> > >>
> > >>   1.  Am I looking at the right place for junits for the class
> > >> UserVmManagerImpl.commitUserVm?
> > >>   2.  Is there any other link that provides more details on JUnits?
> > >>   3.  Any document or resource explaing cloudstack JUnit
> implementation
> > >> in greater detail would be of great help.
> > >>   4.  If I want to track junit of this class, how do I track and
> execute
> > >> them?
> > >>
> > >>
> > >> Regards,
> > >>
> > >> Prakash
> > >>
> > >
> > >
> > >
> > > --
> > > *Mike Tutkowski*
> > > *Senior CloudStack Developer, SolidFire Inc.*
> > > e: mike.tutkow...@solidfire.com
> > > o: 303.746.7302
> > > Advancing the way the world uses the cloud
> > > <http://solidfire.com/solution/overview/?video=play>*™*
> > >
> >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the cloud
> > <http://solidfire.com/solution/overview/?video=play>*™*
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*


Re: Help with JUnits

2016-01-19 Thread B Prakash
Yes it does, thanks.  Next I am going through the code to identify a pattern 
(like class name ending with TEST :-)) to identify junit code.   I am unable to 
zero in on few of the operations ie I am unable to find unit test for this 
operation UserVmManagerImpl.commitUserVm.   I am still looking for it.  Is the 
Junit coverage 100%?  


From: Mike Tutkowski <mike.tutkow...@solidfire.com>
Sent: Tuesday, January 19, 2016 3:01 AM
To: dev@cloudstack.apache.org
Subject: Re: Help with JUnits

So, yeah, unit tests are written in Java while integration tests are
written in Python using Marvin...if that helps clarify things a bit more.

On Tue, Jan 19, 2016 at 12:45 AM, B Prakash <bpr...@hotmail.com> wrote:

> Thanks Mike, I read through the link and also saw the video, this answers
> part of my question about executing the unit tests.  The other part of the
> questions still remains ie were are junits written in Java for this class
> and operation UserVmManagerImpl.commitUserVm.
>
> How do we check the junit coverage for a particular class and
> implementation in it?  Where do I start looking for them and confirm if
> they exist?
>
> 
> From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> Sent: Monday, January 18, 2016 11:51 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Help with JUnits
>
> Here's a video of a presentation I gave about Marvin (from CloudStack Days
> in Austin last year):
>
> https://www.youtube.com/watch?v=N_eKBA_TeOs
>
> On Mon, Jan 18, 2016 at 9:49 PM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
>
> > Does this help?
> >
> >
> >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python
> >
> > On Mon, Jan 18, 2016 at 8:56 PM, B Prakash <bpr...@hotmail.com> wrote:
> >
> >> Hi,
> >>
> >>
> >> Please can someone help me with identifying and amending junits for
> >> UserVmManagerImpl.commitUserVm?  I see a test class called
> >> UserVmManagerTest but I dont see a good junits coverage here.  Also
> link in
> >> the 'Developer > Testing > Unit testing with JUnit and Spring' doesnt
> give
> >> out lot of details on junits.
> >>
> >>   1.  Am I looking at the right place for junits for the class
> >> UserVmManagerImpl.commitUserVm?
> >>   2.  Is there any other link that provides more details on JUnits?
> >>   3.  Any document or resource explaing cloudstack JUnit implementation
> >> in greater detail would be of great help.
> >>   4.  If I want to track junit of this class, how do I track and execute
> >> them?
> >>
> >>
> >> Regards,
> >>
> >> Prakash
> >>
> >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the cloud
> > <http://solidfire.com/solution/overview/?video=play>*™*
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

Help with JUnits

2016-01-18 Thread B Prakash
Hi,


Please can someone help me with identifying and amending junits for 
UserVmManagerImpl.commitUserVm?  I see a test class called UserVmManagerTest 
but I dont see a good junits coverage here.  Also link in the 'Developer > 
Testing > Unit testing with JUnit and Spring' doesnt give out lot of details on 
junits.

  1.  Am I looking at the right place for junits for the class 
UserVmManagerImpl.commitUserVm?
  2.  Is there any other link that provides more details on JUnits?
  3.  Any document or resource explaing cloudstack JUnit implementation in 
greater detail would be of great help.
  4.  If I want to track junit of this class, how do I track and execute them?


Regards,

Prakash


Re: Help with JUnits

2016-01-18 Thread B Prakash
Thanks Mike, I read through the link and also saw the video, this answers part 
of my question about executing the unit tests.  The other part of the questions 
still remains ie were are junits written in Java for this class and operation 
UserVmManagerImpl.commitUserVm.  

How do we check the junit coverage for a particular class and implementation in 
it?  Where do I start looking for them and confirm if they exist?


From: Mike Tutkowski <mike.tutkow...@solidfire.com>
Sent: Monday, January 18, 2016 11:51 PM
To: dev@cloudstack.apache.org
Subject: Re: Help with JUnits

Here's a video of a presentation I gave about Marvin (from CloudStack Days
in Austin last year):

https://www.youtube.com/watch?v=N_eKBA_TeOs

On Mon, Jan 18, 2016 at 9:49 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> Does this help?
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python
>
> On Mon, Jan 18, 2016 at 8:56 PM, B Prakash <bpr...@hotmail.com> wrote:
>
>> Hi,
>>
>>
>> Please can someone help me with identifying and amending junits for
>> UserVmManagerImpl.commitUserVm?  I see a test class called
>> UserVmManagerTest but I dont see a good junits coverage here.  Also link in
>> the 'Developer > Testing > Unit testing with JUnit and Spring' doesnt give
>> out lot of details on junits.
>>
>>   1.  Am I looking at the right place for junits for the class
>> UserVmManagerImpl.commitUserVm?
>>   2.  Is there any other link that provides more details on JUnits?
>>   3.  Any document or resource explaing cloudstack JUnit implementation
>> in greater detail would be of great help.
>>   4.  If I want to track junit of this class, how do I track and execute
>> them?
>>
>>
>> Regards,
>>
>> Prakash
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*


Re: SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32]

2015-11-21 Thread B Prakash
Thanks Devdeep, I had missed seeding secondary storage, it is working fine 
after doing the same.
regards,
Prakash

From: Devdeep <devd...@gmail.com>
Sent: Saturday, November 21, 2015 3:22 AM
To: dev@cloudstack.apache.org
Subject: Re: SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount 
FileSR. Errno is 32]

Have you seeded the secondary storage with the default systemvm template?

Regards,
Devdeep

On Sat, Nov 21, 2015 at 8:33 AM, B Prakash <bpr...@hotmail.com> wrote:

> Thanks Jayapal, Abhinandan.
>
> log SMlog doesnt giveout much, I am able to mount and edit file on mount
> from both server and agent. I get the same error as follows (timestamp is
> different because I tried it again), is there anything else I am missing?:
>
> Nov 20 16:22:01 agent SM: [5432] ['mount', '--bind',
> '/var/cloud_mount/b61521bd-ad7b-3e95-91e8-00762b28aeeb/template/tmpl/1/1',
> '/var/run/sr-mount/e18ee8da-a45d-46b8-b361-ec50e9ddcb22']
> Nov 20 16:22:01 agent SM: [5432] FAILED in util.pread: (rc 32) stdout: '',
> stderr: 'mount: special device
> /var/cloud_mount/b61521bd-ad7b-3e95-91e8-00762b28aeeb/template/tmpl/1/1
> does not exist
> Nov 20 16:22:01 agent SM: [5432] '
> Nov 20 16:22:02 agent SM: [5432] Raising exception [61, File SR creation
> error [opterr=fail to mount FileSR. Errno is 32]]
> Nov 20 16:22:02 agent SM: [5432] lock: released
> /var/lock/sm/e18ee8da-a45d-46b8-b361-ec50e9ddcb22/sr
> Nov 20 16:22:02 agent SM: [5432] * generic exception: sr_attach:
> EXCEPTION SR.SROSError, File SR creation error [opterr=fail to mount
> FileSR. Errno is 32]
> Nov 20 16:22:02 agent SM: [5432]   File "/opt/xensource/sm/SRCommand.py",
> line 110, in run
> Nov 20 16:22:02 agent SM: [5432] return self._run_locked(sr)
> Nov 20 16:22:02 agent SM: [5432]   File "/opt/xensource/sm/SRCommand.py",
> line 159, in _run_locked
> Nov 20 16:22:02 agent SM: [5432] rv = self._run(sr, target)
> Nov 20 16:22:02 agent SM: [5432]   File "/opt/xensource/sm/SRCommand.py",
> line 322, in _run
> Nov 20 16:22:02 agent SM: [5432] return
> sr.attach(self.params['sr_uuid'])
> Nov 20 16:22:02 agent SM: [5432]   File "/opt/xensource/sm/FileSR", line
> 164, in attach
> Nov 20 16:22:02 agent SM: [5432] opterr='fail to mount FileSR. Errno
> is %s' % inst.code)
> Nov 20 16:22:02 agent SM: [5432]   File "/opt/xensource/sm/xs_errors.py",
> line 52, in __init__
> Nov 20 16:22:02 agent SM: [5432] raise SR.SROSError(errorcode,
> errormessage)
> Nov 20 16:22:02 agent SM: [5432]
> Nov 20 16:22:02 agent SM: [5432] lock: closed
> /var/lock/sm/e18ee8da-a45d-46b8-b361-ec50e9ddcb22/sr
> Nov 20 16:22:30 agent SM: [5587] lock: opening lock file
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr
> Nov 20 16:22:30 agent SM: [5587] lock: acquired
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr
> Nov 20 16:22:30 agent SM: [5587] sr_attach {'sr_uuid':
> '485be965-9bcd-4e76-8fa8-5881f0203645', 'subtask_of':
> 'DummyRef:|fd400425-8c78-85c2-949c-230c0c39e03f|SR.attach', 'args': [],
> 'host_ref': 'OpaqueRef:274f3e03-3513-61a8-40de-5b1ece53c1d7',
> 'session_ref': 'OpaqueRef:5706f0b6-0fcb-7c5c-defa-36e537655059',
> 'device_config': {'SRmaster': 'true', 'location':
> '/var/cloud_mount/b61521bd-ad7b-3e95-91e8-00762b28aeeb/template/tmpl/1/1'},
> 'command': 'sr_attach', 'sr_ref':
> 'OpaqueRef:5906daec-9b86-5fa3-58bc-e95969b77a4d'}
> Nov 20 16:22:30 agent SM: [5587] lock: opening lock file
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/running
> Nov 20 16:22:30 agent SM: [5587] lock: opening lock file
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr
> Nov 20 16:22:30 agent SM: [5587] lock: acquired
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/running
> Nov 20 16:22:30 agent SM: [5587] lock: acquired
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr
> Nov 20 16:22:30 agent SM: [5587] RESET for SR
> 485be965-9bcd-4e76-8fa8-5881f0203645 (master: True)
> Nov 20 16:22:30 agent SM: [5587] lock: released
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr
> Nov 20 16:22:30 agent SM: [5587] lock: released
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/running
> Nov 20 16:22:30 agent SM: [5587] lock: closed
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr
> Nov 20 16:22:30 agent SM: [5587] lock: closed
> /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/running
> Nov 20 16:22:30 agent SM: [5587] set_dirty
> 'OpaqueRef:5906daec-9b86-5fa3-58bc-e95969b77a4d' succeeded
> Nov 20 16:22:30 agent SM: [5587] ['mount', '--bind',
> '/var/cloud_mount/b61521bd-ad7b-3e95-91e8-00762b28aeeb/template/tmpl/1/1',
> '/var/run/sr-mount/485be965-9bcd-4e76-8fa8-5881f0203645']
> Nov 20 16:22:30 agent SM: [

Re: SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32]

2015-11-20 Thread B Prakash
fies that the creation of file storage repository failed on 
xenserver, check that the nfs can be mounted and is writable.
The log file mentioned by Jayapal will give you further clues to the problem.

Regards,

Abhinandan Prateek

M: +91 9701199011



abhinandan.prat...@shapeblue.com







On 20/11/15, 9:30 AM, "Jayapal Reddy Uradi" <jayapalreddy.ur...@citrix.com> 
wrote:

>Hi Prakash,
>
>Can you also check the xenserver logs at /var/log/SMLog when this error is 
>coming.
>
>Thanks,
>Jayapal
>> On 20-Nov-2015, at 9:23 am, B Prakash <bpr...@hotmail.com> wrote:
>>
>> Please can someone help me with this?  I am trying to setup NFS secondary 
>> storage on ACS 4.6 hosted on Ubuntu 14.04 with host XS 6.5.
>>
>>
>> NFS mount and its access is working fine on both the servers, but when I try 
>> to set up a secondary storage, I get this exception;
>>
>>
>> 2015-11-19 13:24:00,841 WARN  [c.c.h.x.r.XenServerStorageProcessor] 
>> (DirectAgent-62:ctx-c53368c0) createFileSR failed! due to the following: 
>> SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. 
>> Errno is 32]
>> SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. 
>> Errno is 32]
>> at com.xensource.xenapi.Types.checkResponse(Types.java:2021)
>> at com.xensource.xenapi.Connection.dispatch(Connection.java:395)
>> at 
>> com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:457)
>> at com.xensource.xenapi.PBD.plug(PBD.java:457)
>> at 
>> com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.createFileSR(Xenserver625StorageProcessor.java:129)
>> at 
>> com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.createFileSr(Xenserver625StorageProcessor.java:162)
>> at 
>> com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.copyTemplateToPrimaryStorage(Xenserver625StorageProcessor.java:196)
>> at 
>> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:82)
>> at 
>> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:54)
>> at 
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:36)
>> at 
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:30)
>> at 
>> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122)
>> at 
>> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1676)
>> at 
>> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
>> 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.run(FutureTask.java:262)
>> at 
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>> at 
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>> at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:745)
>>
>>
>
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://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 Co

SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32]

2015-11-19 Thread B Prakash
Please can someone help me with this?  I am trying to setup NFS secondary 
storage on ACS 4.6 hosted on Ubuntu 14.04 with host XS 6.5.


NFS mount and its access is working fine on both the servers, but when I try to 
set up a secondary storage, I get this exception;


2015-11-19 13:24:00,841 WARN  [c.c.h.x.r.XenServerStorageProcessor] 
(DirectAgent-62:ctx-c53368c0) createFileSR failed! due to the following: 
SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno 
is 32]
SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno 
is 32]
at com.xensource.xenapi.Types.checkResponse(Types.java:2021)
at com.xensource.xenapi.Connection.dispatch(Connection.java:395)
at 
com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:457)
at com.xensource.xenapi.PBD.plug(PBD.java:457)
at 
com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.createFileSR(Xenserver625StorageProcessor.java:129)
at 
com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.createFileSr(Xenserver625StorageProcessor.java:162)
at 
com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.copyTemplateToPrimaryStorage(Xenserver625StorageProcessor.java:196)
at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:82)
at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:54)
at 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:36)
at 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:30)
at 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122)
at 
com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1676)
at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302)
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.run(FutureTask.java:262)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)




Re: "Unable to add the host" error, CS host XS

2015-11-11 Thread B Prakash
Thanks Mike, Remi.  Cluster was up.  I followed your instructions and got it 
working!!  three changes 1. changing network configuration to bridge and 
2.increasing the xenserver heatbeat timeout 3.global settings for 
secstorage.allowed.internal.sites and system.vm.use.local.storage... got the 
setup working. 
Thanks againg!  I really appreciate your patience and help.
- Prakash.

From: Remi Bergsma <rberg...@schubergphilis.com>
Sent: Wednesday, November 11, 2015 12:38 AM
To: dev@cloudstack.apache.org
Subject: Re: "Unable to add the host" error, CS host XS

Make sure management server can talk to the xenserver (xapi) over port 443 
(firewalls?). Right now it says it cannot due to a timeout:

Failed to read server's response: connect timed out

@mike From the logs this seems the first host to be added to this zone.

Sent from my iPhone

> On 11 Nov 2015, at 04:36, B Prakash <bpr...@hotmail.com> wrote:
>
> There are two more exceptions printed in vmops.log as follows;
>
> 2015-11-10 19:12:55,075 DEBUG [c.c.a.ApiServlet] 
> (1034892751@qtp-1967400458-7:ctx-23ec1109) ===START===  0:0:0:0:0:0:0:1 -- 
> POST  command=addHost=json
> 2015-11-10 19:12:55,124 WARN  [c.c.a.d.ParamGenericValidationWorker] 
> (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) Received unknown 
> parameters for command addHost. Unknown parameters : clustertype
> 2015-11-10 19:12:55,160 INFO  [c.c.r.ResourceManagerImpl] 
> (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) Trying to add a new 
> host at http://192.168.0.19 in data center 1
> 2015-11-10 19:12:56,041 DEBUG [c.c.c.ConsoleProxyManagerImpl] 
> (consoleproxy-1:ctx-620ccc56) Skip capacity scan as there is no Primary 
> Storage in 'Up' state
> 2015-11-10 19:12:56,436 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] 
> (secstorage-1:ctx-8341054e) Zone 1 is not ready to launch secondary storage 
> VM yet
> 2015-11-10 19:12:57,366 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
> Timer:ctx-c19ba5d9) Resetting hosts suitable for reconnect
> 2015-11-10 19:12:57,370 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
> Timer:ctx-c19ba5d9) Completed resetting hosts suitable for reconnect
> 2015-11-10 19:12:57,370 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
> Timer:ctx-c19ba5d9) Acquiring hosts for clusters already owned by this 
> management server
> 2015-11-10 19:12:57,372 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
> Timer:ctx-c19ba5d9) Completed acquiring hosts for clusters already owned by 
> this management server
> 2015-11-10 19:12:57,372 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
> Timer:ctx-c19ba5d9) Acquiring hosts for clusters not owned by any management 
> server
> 2015-11-10 19:12:57,373 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
> Timer:ctx-c19ba5d9) Completed acquiring hosts for clusters not owned by any 
> management server
> 2015-11-10 19:13:00,405 DEBUG [c.c.h.x.r.XenServerConnectionPool] 
> (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) Unable to create 
> master connection to host(192.168.0.19) , due to 
> org.apache.xmlrpc.XmlRpcException: Failed to read server's response: connect 
> timed out
> 2015-11-10 19:13:00,406 DEBUG [c.c.h.x.d.XcpServerDiscoverer] 
> (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) other exceptions: 
> com.cloud.utils.exception.CloudRuntimeException: Unable to create master 
> connection to host(192.168.0.19) , due to org.apache.xmlrpc.XmlRpcException: 
> Failed to read server's response: connect timed out
> com.cloud.utils.exception.CloudRuntimeException: Unable to create master 
> connection to host(192.168.0.19) , due to org.apache.xmlrpc.XmlRpcException: 
> Failed to read server's response: connect timed out
>at 
> com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool.getConnect(XenServerConnectionPool.java:168)
>at 
> com.cloud.hypervisor.xenserver.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:217)
>at 
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:748)
>at 
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:599)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>at java.lang.reflect.Method.invoke(Method.java:497)
>at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>at 
&g

"Unable to add the host" error, CS host XS

2015-11-10 Thread B Prakash
Issue while adding XS host, I get this "Unable to add the host" in the UI.  I 
am have pool and pool master configured, XS is with local storage, CS logs is 
as follows, am I missing something?


WARN  [c.c.a.d.ParamGenericValidationWorker] 
(615054626@qtp-36819918-8:ctx-1a6ba54a ctx-73611d66) Received unknown 
parameters for command addHost. Unknown parameters : clustertype
INFO  [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a 
ctx-73611d66) Trying to add a new host at http://192.168.0.19 in data center 1
INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) 
Begin cleanup expired async-jobs
INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) 
End cleanup expired async-jobs
WARN  [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a 
ctx-73611d66) Unable to find the server resources at http://192.168.0.19
INFO  [c.c.u.e.CSExceptionErrorCode] (615054626@qtp-36819918-8:ctx-1a6ba54a 
ctx-73611d66) Could not find exception: com.cloud.exception.DiscoveryException 
in error code list for exceptions
WARN  [o.a.c.a.c.a.h.AddHostCmd] (615054626@qtp-36819918-8:ctx-1a6ba54a 
ctx-73611d66) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804)




Re: "Unable to add the host" error, CS host XS

2015-11-10 Thread B Prakash
Thanks Mike.  I have added the host to its resource pool with the same host as 
pool master.  I am able to ping XS host and the machine running CS.  But when I 
try to configuring the XS host in CS, it doesnt identify the host ip.
Thanks,
Prakash.

From: Mike Tutkowski <mike.tutkow...@solidfire.com>
Sent: Tuesday, November 10, 2015 8:34 PM
To: dev@cloudstack.apache.org
Subject: Re: "Unable to add the host" error, CS host XS

In more recent versions of CloudStack, you have to add the XenServer host
to its Resource Pool before adding it to its CloudStack cluster. Were you
trying to do it that way?

On Tue, Nov 10, 2015 at 6:23 PM, B Prakash <bpr...@hotmail.com> wrote:

> Issue while adding XS host, I get this "Unable to add the host" in the
> UI.  I am have pool and pool master configured, XS is with local storage,
> CS logs is as follows, am I missing something?
>
>
> WARN  [c.c.a.d.ParamGenericValidationWorker] 
> (615054626@qtp-36819918-8:ctx-1a6ba54a
> ctx-73611d66) Received unknown parameters for command addHost. Unknown
> parameters : clustertype
> INFO  [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a
> ctx-73611d66) Trying to add a new host at http://192.168.0.19 in data
> center 1
> INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) Begin cleanup expired async-jobs
> INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) End cleanup expired async-jobs
> WARN  [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a
> ctx-73611d66) Unable to find the server resources at http://192.168.0.19
> INFO  [c.c.u.e.CSExceptionErrorCode] (615054626@qtp-36819918-8:ctx-1a6ba54a
> ctx-73611d66) Could not find exception:
> com.cloud.exception.DiscoveryException in error code list for exceptions
> WARN  [o.a.c.a.c.a.h.AddHostCmd] (615054626@qtp-36819918-8:ctx-1a6ba54a
> ctx-73611d66) Exception:
> com.cloud.exception.DiscoveryException: Unable to add the host
> at
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804)
>
>
>


--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

Re: "Unable to add the host" error, CS host XS

2015-11-10 Thread B Prakash
I am running XS 6.5 and CS 4.6.  XS is on virtualbox.  CS 4.6 is built/run on 
windows 10.  


From: Mike Tutkowski <mike.tutkow...@solidfire.com>
Sent: Tuesday, November 10, 2015 9:14 PM
To: dev@cloudstack.apache.org
Subject: Re: "Unable to add the host" error, CS host XS

Which versions of XS and CloudStack are you running?

On Tue, Nov 10, 2015 at 7:00 PM, B Prakash <bpr...@hotmail.com> wrote:

> Thanks Mike.  I have added the host to its resource pool with the same
> host as pool master.  I am able to ping XS host and the machine running
> CS.  But when I try to configuring the XS host in CS, it doesnt identify
> the host ip.
> Thanks,
> Prakash.
> 
> From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> Sent: Tuesday, November 10, 2015 8:34 PM
> To: dev@cloudstack.apache.org
> Subject: Re: "Unable to add the host" error, CS host XS
>
> In more recent versions of CloudStack, you have to add the XenServer host
> to its Resource Pool before adding it to its CloudStack cluster. Were you
> trying to do it that way?
>
> On Tue, Nov 10, 2015 at 6:23 PM, B Prakash <bpr...@hotmail.com> wrote:
>
> > Issue while adding XS host, I get this "Unable to add the host" in the
> > UI.  I am have pool and pool master configured, XS is with local storage,
> > CS logs is as follows, am I missing something?
> >
> >
> > WARN  [c.c.a.d.ParamGenericValidationWorker] (615054626@qtp-36819918-8
> :ctx-1a6ba54a
> > ctx-73611d66) Received unknown parameters for command addHost. Unknown
> > parameters : clustertype
> > INFO  [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a
> > ctx-73611d66) Trying to add a new host at http://192.168.0.19 in data
> > center 1
> > INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) Begin cleanup expired async-jobs
> > INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) End cleanup expired async-jobs
> > WARN  [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a
> > ctx-73611d66) Unable to find the server resources at http://192.168.0.19
> > INFO  [c.c.u.e.CSExceptionErrorCode] (615054626@qtp-36819918-8
> :ctx-1a6ba54a
> > ctx-73611d66) Could not find exception:
> > com.cloud.exception.DiscoveryException in error code list for exceptions
> > WARN  [o.a.c.a.c.a.h.AddHostCmd] (615054626@qtp-36819918-8:ctx-1a6ba54a
> > ctx-73611d66) Exception:
> > com.cloud.exception.DiscoveryException: Unable to add the host
> > at
> >
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804)
> >
> >
> >
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*




--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*


Re: "Unable to add the host" error, CS host XS

2015-11-10 Thread B Prakash
(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:124)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
2015-11-10 19:13:00,419 INFO  [c.c.a.ApiServer] 
(1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) Unable to add the host
2015-11-10 19:13:00,422 DEBUG [c.c.a.ApiServlet] 
(1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) ===END===  
0:0:0:0:0:0:0:1 -- POST  command=addHost=json


From: Mike Tutkowski <mike.tutkow...@solidfire.com>
Sent: Tuesday, November 10, 2015 10:24 PM
To: dev@cloudstack.apache.org
Subject: Re: "Unable to add the host" error, CS host XS

Are there several exceptions printed out in vmops.log or just the one you
posted in your original e-mail?

On Tue, Nov 10, 2015 at 8:15 PM, B Prakash <bpr...@hotmail.com> wrote:

> I am adding this host to cluster in basic zone.  I had bridge adapter for
> network, I also ran this command.  My CS still doesnt identify XS host ip.
> 
> From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> Sent: Tuesday, November 10, 2015 9:39 PM
> To: dev@cloudstack.apache.org
> Subject: Re: "Unable to add the host" error, CS host XS
>
> Are you adding this host to a cluster in a basic zone? If so, have you run
> this command on your XS host? xe-switch-network-backend bridge
>
> On Tue, Nov 10, 2015 at 7:22 PM, B Prakash <bpr...@hotmail.com> wrote:
>
> > I am running XS 6.5 and CS 4.6.  XS is on virtualbox.  CS 4.6 is
> built/run
> > on windows 10.
> >
> > 
> > From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> > Sent: Tuesday, November 10, 2015 9:14 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: "Unable to add the host" error, CS host XS
> >
> > Which versions of XS and CloudStack are you running?
> >
> > On Tue, Nov 10, 2015 at 7:00 PM, B Prakash <bpr...@hotmail.com> wrote:
> >
> > > Thanks Mike.  I have added the host to its resource pool with the same
> > > host as pool master.  I am able to ping XS host and the machine running
> > > CS.  But when I try to configuring the XS host in CS, it doesnt
> identify
> > > the host ip.
> > > Thanks,
> > > Prakash.
> > > 
> > > From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> > > Sent: Tuesday, November 10, 2015 8:34 PM
> > > To: dev@cloudstack.apache.org
> > > Subject: Re: "Unable to add the host" error, CS host XS
> > >
> > > In more recent versions of CloudStack, you have to add the XenServer
> host
> > > to its Resource Pool before adding it to its CloudStack cluster. Were
> you
> > > trying to do it that way?
> > >
> > > On Tue, Nov 10, 2015 at 6:23 PM, B Prakash <bpr...@hotmail.com> wrote:
> > >
> > > > Issue while adding XS host, I get this "Unable to add the host" in
> the
> > > > UI.  I am have pool and pool mast

Re: "Unable to add the host" error, CS host XS

2015-11-10 Thread B Prakash
I am adding this host to cluster in basic zone.  I had bridge adapter for 
network, I also ran this command.  My CS still doesnt identify XS host ip.

From: Mike Tutkowski <mike.tutkow...@solidfire.com>
Sent: Tuesday, November 10, 2015 9:39 PM
To: dev@cloudstack.apache.org
Subject: Re: "Unable to add the host" error, CS host XS

Are you adding this host to a cluster in a basic zone? If so, have you run
this command on your XS host? xe-switch-network-backend bridge

On Tue, Nov 10, 2015 at 7:22 PM, B Prakash <bpr...@hotmail.com> wrote:

> I am running XS 6.5 and CS 4.6.  XS is on virtualbox.  CS 4.6 is built/run
> on windows 10.
>
> 
> From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> Sent: Tuesday, November 10, 2015 9:14 PM
> To: dev@cloudstack.apache.org
> Subject: Re: "Unable to add the host" error, CS host XS
>
> Which versions of XS and CloudStack are you running?
>
> On Tue, Nov 10, 2015 at 7:00 PM, B Prakash <bpr...@hotmail.com> wrote:
>
> > Thanks Mike.  I have added the host to its resource pool with the same
> > host as pool master.  I am able to ping XS host and the machine running
> > CS.  But when I try to configuring the XS host in CS, it doesnt identify
> > the host ip.
> > Thanks,
> > Prakash.
> > 
> > From: Mike Tutkowski <mike.tutkow...@solidfire.com>
> > Sent: Tuesday, November 10, 2015 8:34 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: "Unable to add the host" error, CS host XS
> >
> > In more recent versions of CloudStack, you have to add the XenServer host
> > to its Resource Pool before adding it to its CloudStack cluster. Were you
> > trying to do it that way?
> >
> > On Tue, Nov 10, 2015 at 6:23 PM, B Prakash <bpr...@hotmail.com> wrote:
> >
> > > Issue while adding XS host, I get this "Unable to add the host" in the
> > > UI.  I am have pool and pool master configured, XS is with local
> storage,
> > > CS logs is as follows, am I missing something?
> > >
> > >
> > > WARN  [c.c.a.d.ParamGenericValidationWorker] (615054626@qtp-36819918-8
> > :ctx-1a6ba54a
> > > ctx-73611d66) Received unknown parameters for command addHost. Unknown
> > > parameters : clustertype
> > > INFO  [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8
> :ctx-1a6ba54a
> > > ctx-73611d66) Trying to add a new host at http://192.168.0.19 in data
> > > center 1
> > > INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> > > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) Begin cleanup expired async-jobs
> > > INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> > > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) End cleanup expired async-jobs
> > > WARN  [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8
> :ctx-1a6ba54a
> > > ctx-73611d66) Unable to find the server resources at
> http://192.168.0.19
> > > INFO  [c.c.u.e.CSExceptionErrorCode] (615054626@qtp-36819918-8
> > :ctx-1a6ba54a
> > > ctx-73611d66) Could not find exception:
> > > com.cloud.exception.DiscoveryException in error code list for
> exceptions
> > > WARN  [o.a.c.a.c.a.h.AddHostCmd] (615054626@qtp-36819918-8
> :ctx-1a6ba54a
> > > ctx-73611d66) Exception:
> > > com.cloud.exception.DiscoveryException: Unable to add the host
> > > at
> > >
> >
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804)
> > >
> > >
> > >
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the cloud
> > <http://solidfire.com/solution/overview/?video=play>*™*
>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*


Re: Build error

2015-10-31 Thread B Prakash
This is breaking my build, is there a work around for this?


From: Remi Bergsma <rberg...@schubergphilis.com>
Sent: Friday, October 30, 2015 4:00 AM
To: dev@cloudstack.apache.org; Wido den Hollander
Subject: Re: Build error

Please propose it as a new PR and we will include it soon. Easy enough to 
review, like last time.



On 30/10/15 08:34, "Daan Hoogland" <daan.hoogl...@gmail.com> wrote:

>@wido, is this one due to the temp dir path on windows thing as well?
>
>On Fri, Oct 30, 2015 at 7:55 AM, B Prakash <bpr...@hotmail.com> wrote:
>
>> I am new to this and hence might be missing something, please could
>> someone help me with this build error?  I am having the latest build and
>> getting the following error;
>>
>>
>> 2015-10-29 23:37:07,435 INFO  [utils.net.NetUtilsTest] (main:) IP is
>> 1234:5678::c3d9:fa56:870:77a3
>> 2015-10-29 23:37:07,560 ERROR [utils.net.NetUtils] (main:) Failed to
>> convert a string to an IPv6 address
>> java.lang.IllegalArgumentException: can not parse []
>> at
>> com.googlecode.ipv6.IPv6Address.tryParseStringArrayIntoLongArray(IPv6Address.java:94)
>> at com.googlecode.ipv6.IPv6Address.fromString(IPv6Address.java:80)
>> at com.cloud.utils.net.NetUtils.countIp6InRange(NetUtils.java:1316)
>> at
>> com.cloud.utils.net.NetUtilsTest.testCountIp6InRangeWithNullStart(NetUtilsTest.java:152)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>
>>
>> I am using a windows 10 machine running on java 8, I tried build on both
>> cygwin and eclipse, getting similar error (I know it no different but just
>> to make sure till I get familiar).  Complete build(mvn install) log, just
>> in case this helps;
>>
>>
>> [INFO] Scanning for projects...
>> [INFO]
>> 
>> [INFO] Reactor Build Order:
>> [INFO]
>> [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration
>> [INFO] Apache CloudStack
>> [INFO] Apache CloudStack Maven Conventions Parent
>> [INFO] Apache CloudStack Framework - Managed Context
>> [INFO] Apache CloudStack Utils
>> [INFO] Apache CloudStack Framework
>> [INFO] Apache CloudStack Framework - Event Notification
>> [INFO] Apache CloudStack Framework - Configuration
>> [INFO] Apache CloudStack API
>> [INFO] Apache CloudStack Framework - REST
>> [INFO] Apache CloudStack Framework - IPC
>> [INFO] Apache CloudStack Cloud Engine
>> [INFO] Apache CloudStack Cloud Engine API
>> [INFO] Apache CloudStack Framework - Security
>> [INFO] Apache CloudStack Core
>> [INFO] Apache CloudStack Agents
>> [INFO] Apache CloudStack Framework - Clustering
>> [INFO] Apache CloudStack Framework - Event Notification
>> [INFO] Apache CloudStack Cloud Engine Schema Component
>> [INFO] Apache CloudStack Framework - Jobs
>> [INFO] Apache CloudStack Cloud Engine Internal Components API
>> [INFO] Apache CloudStack Server
>> [INFO] Apache CloudStack Usage Server
>> [INFO] Apache CloudStack Cloud Engine Orchestration Component
>> [INFO] Apache CloudStack Cloud Services
>> [INFO] Apache CloudStack Secondary Storage
>> [INFO] Apache CloudStack Secondary Storage Service
>> [INFO] Apache CloudStack Engine Storage Component
>> [INFO] Apache CloudStack Engine Storage Volume Component
>> [INFO] Apache CloudStack Engine Storage Image Component
>> [INFO] Apache CloudStack Engine Storage Data Motion Component
>> [INFO] Apache CloudStack Engine Storage Cache Component
>> [INFO] Apache CloudStack Engine Storage Snapshot Component
>> [INFO] Apache CloudStack Cloud Engine API
>> [INFO] Apache CloudStack Cloud Engine Service
>> [INFO] Apache CloudStack Plugin POM
>> [INFO] Apache CloudStack Plugin - API Rate Limit
>> [INFO] Apache CloudStack Plugin - Storage Volume default provider
>> [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider
>> [INFO] Apache CloudStack Plugin - API SolidFire
>> [INFO] Apache CloudStack Plugin - API Discovery
>> [INFO] Apache CloudStack Plugin - ACL Static Role Based
>> [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor
>> [INFO] Apache CloudStack Plugin - Explicit Dedication Processor
>> [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
>> [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
>> [INFO] Apache CloudStack Plugin - Implicit Dedication Planner
>> [INFO] Apache CloudStack Plugin - Skip Heures

Build error

2015-10-30 Thread B Prakash
I am new to this and hence might be missing something, please could someone 
help me with this build error?  I am having the latest build and getting the 
following error;


2015-10-29 23:37:07,435 INFO  [utils.net.NetUtilsTest] (main:) IP is 
1234:5678::c3d9:fa56:870:77a3
2015-10-29 23:37:07,560 ERROR [utils.net.NetUtils] (main:) Failed to convert a 
string to an IPv6 address
java.lang.IllegalArgumentException: can not parse []
at 
com.googlecode.ipv6.IPv6Address.tryParseStringArrayIntoLongArray(IPv6Address.java:94)
at com.googlecode.ipv6.IPv6Address.fromString(IPv6Address.java:80)
at com.cloud.utils.net.NetUtils.countIp6InRange(NetUtils.java:1316)
at 
com.cloud.utils.net.NetUtilsTest.testCountIp6InRangeWithNullStart(NetUtilsTest.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)


I am using a windows 10 machine running on java 8, I tried build on both cygwin 
and eclipse, getting similar error (I know it no different but just to make 
sure till I get familiar).  Complete build(mvn install) log, just in case this 
helps;


[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration
[INFO] Apache CloudStack
[INFO] Apache CloudStack Maven Conventions Parent
[INFO] Apache CloudStack Framework - Managed Context
[INFO] Apache CloudStack Utils
[INFO] Apache CloudStack Framework
[INFO] Apache CloudStack Framework - Event Notification
[INFO] Apache CloudStack Framework - Configuration
[INFO] Apache CloudStack API
[INFO] Apache CloudStack Framework - REST
[INFO] Apache CloudStack Framework - IPC
[INFO] Apache CloudStack Cloud Engine
[INFO] Apache CloudStack Cloud Engine API
[INFO] Apache CloudStack Framework - Security
[INFO] Apache CloudStack Core
[INFO] Apache CloudStack Agents
[INFO] Apache CloudStack Framework - Clustering
[INFO] Apache CloudStack Framework - Event Notification
[INFO] Apache CloudStack Cloud Engine Schema Component
[INFO] Apache CloudStack Framework - Jobs
[INFO] Apache CloudStack Cloud Engine Internal Components API
[INFO] Apache CloudStack Server
[INFO] Apache CloudStack Usage Server
[INFO] Apache CloudStack Cloud Engine Orchestration Component
[INFO] Apache CloudStack Cloud Services
[INFO] Apache CloudStack Secondary Storage
[INFO] Apache CloudStack Secondary Storage Service
[INFO] Apache CloudStack Engine Storage Component
[INFO] Apache CloudStack Engine Storage Volume Component
[INFO] Apache CloudStack Engine Storage Image Component
[INFO] Apache CloudStack Engine Storage Data Motion Component
[INFO] Apache CloudStack Engine Storage Cache Component
[INFO] Apache CloudStack Engine Storage Snapshot Component
[INFO] Apache CloudStack Cloud Engine API
[INFO] Apache CloudStack Cloud Engine Service
[INFO] Apache CloudStack Plugin POM
[INFO] Apache CloudStack Plugin - API Rate Limit
[INFO] Apache CloudStack Plugin - Storage Volume default provider
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider
[INFO] Apache CloudStack Plugin - API SolidFire
[INFO] Apache CloudStack Plugin - API Discovery
[INFO] Apache CloudStack Plugin - ACL Static Role Based
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
[INFO] Apache CloudStack Plugin - Implicit Dedication Planner
[INFO] Apache CloudStack Plugin - Skip Heurestics Planner
[INFO] Apache CloudStack Plugin - Host Allocator Random
[INFO] Apache CloudStack Plugin - Dedicated Resources
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM
[INFO] Apache CloudStack Plugin - Open vSwitch
[INFO] Apache CloudStack Plugin - Hypervisor XenServer
[INFO] Apache CloudStack Plugin - Hypervisor KVM
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus
[INFO] Apache CloudStack Plugin - In Memory Event Bus
[INFO] Apache CloudStack Plugin - Kafka Event Bus
[INFO] Apache CloudStack Plugin - Hypervisor Baremetal
[INFO] Apache CloudStack Plugin - Hypervisor UCS
[INFO] Apache CloudStack Plugin - Hypervisor Hyper-V
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM3
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
[INFO] Apache CloudStack Plugin - Network Internal Load Balancer
[INFO] Apache CloudStack Framework - Spring Life Cycle
[INFO] Apache CloudStack Plugin - Network Juniper Contrail
[INFO] Apache CloudStack Plugin - Palo Alto
[INFO] Apache CloudStack Plugin - Network Netscaler
[INFO] Apache CloudStack Plugin - Network Nicira NVP
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
[INFO] Apache CloudStack Plugin - Network Brocade VCS
[INFO] Apache CloudStack Plugin - Midokura Midonet
[INFO] Apache CloudStack Plugin - Stratosphere SSP
[INFO] Apache 

Mentor

2015-10-27 Thread B Prakash
Hi, I am an experience Java EE professional (new to cloudstack though).


   I am interested in contributing to the development.  As suggested in the 
newcomer section, I have been following the jira and the dev emails for a few 
days now, but I haven't been successful in identifying an opportunity to start. 
 Please can someone help me identify/share a newcomer task/feature to 
implement?  A good starting point perhaps.


Thanks,

B Prakash


Re: Mentor

2015-10-27 Thread B Prakash
Thanks Daan, Erik for your help, I really appreciate it!

Also of these three tasks ie;
1. Refactoring massive blobs
2. Upgrading dependency
3. Root disk resize support for XenServer

Do you have a priority of which one would be preferred first?  I am glad to 
start with it first.   Otherwise I will go in the order you shared it with me. 

Thanks,
Prakash.


From: Erik Weber <terbol...@gmail.com>
Sent: Tuesday, October 27, 2015 3:42 AM
To: dev
Subject: Re: Mentor

On Tue, Oct 27, 2015 at 7:57 AM, B Prakash <bpr...@hotmail.com> wrote:

> Hi, I am an experience Java EE professional (new to cloudstack though).
>
>
>I am interested in contributing to the development.  As suggested
> in the newcomer section, I have been following the jira and the dev emails
> for a few days now, but I haven't been successful in identifying an
> opportunity to start.  Please can someone help me identify/share a newcomer
> task/feature to implement?  A good starting point perhaps.
>
>
Of you're looking for ideas of what you could do, I would really appreciate
root disk resize support for XenServer :-)


It was partially completed a long time ago (it might still exist on our old
reviewboard somewhere), but never commited to master.


--
Erik


Re: Mentor

2015-10-27 Thread B Prakash
Thanks Daan.

Hi Erik, I am really eager to start work on 'Root disk resize support for 
XenServer', I am going through the preliminary setup documentation to keep 
everything ready.  Would it please be possible to mentor me on this activity? 
Thanks,
Prakash.


From: Daan Hoogland <daan.hoogl...@gmail.com>
Sent: Tuesday, October 27, 2015 5:28 PM
To: dev
Subject: Re: Mentor

I think you will find most satisfaction with obliging Erik as it is a real
user problem which is always more rewarding when done. The others are
merely very good to get acquainted with the system.

this is a volunteer job so if you don't have a boss telling you what is
more important it is what you deem so.

regards,

On Tue, Oct 27, 2015 at 10:05 PM, B Prakash <bpr...@hotmail.com> wrote:

> Thanks Daan, Erik for your help, I really appreciate it!
>
> Also of these three tasks ie;
> 1. Refactoring massive blobs
> 2. Upgrading dependency
> 3. Root disk resize support for XenServer
>
> Do you have a priority of which one would be preferred first?  I am glad
> to start with it first.   Otherwise I will go in the order you shared it
> with me.
>
> Thanks,
> Prakash.
>
> 
> From: Erik Weber <terbol...@gmail.com>
> Sent: Tuesday, October 27, 2015 3:42 AM
> To: dev
> Subject: Re: Mentor
>
> On Tue, Oct 27, 2015 at 7:57 AM, B Prakash <bpr...@hotmail.com> wrote:
>
> > Hi, I am an experience Java EE professional (new to cloudstack though).
> >
> >
> >I am interested in contributing to the development.  As suggested
> > in the newcomer section, I have been following the jira and the dev
> emails
> > for a few days now, but I haven't been successful in identifying an
> > opportunity to start.  Please can someone help me identify/share a
> newcomer
> > task/feature to implement?  A good starting point perhaps.
> >
> >
> Of you're looking for ideas of what you could do, I would really appreciate
> root disk resize support for XenServer :-)
>
>
> It was partially completed a long time ago (it might still exist on our old
> reviewboard somewhere), but never commited to master.
>
>
> --
> Erik
>



--
Daan

Re: Mentor

2015-10-27 Thread B Prakash
Sure Tim, thankyou.  I dont know XenServer, I am looking forward to knowing it 
well while I work on this.

Regards,
Prakash.

From: Tim Mackey <tmac...@gmail.com>
Sent: Tuesday, October 27, 2015 7:05 PM
To: dev@cloudstack.apache.org
Subject: Re: Mentor

Prakash,

As you go through this, if you have questions related to how XenServer
works, do feel free to ask me. Another good avenue is the xs-devel list on
xenserver.org.
On Oct 27, 2015 6:27 PM, "Erik Weber" <terbol...@gmail.com> wrote:

> On Tue, Oct 27, 2015 at 10:34 PM, David Willard <dwillard...@gmail.com>
> wrote:
>
> > Hi B. Prakash, Daan, Erik,
> >
> > I have emailed many time requesting a mentor and still no responses. I
> > have been following cloudstack for a few months. I am entry-level java
> > completed a Java class as I have earned my bachelor in IT from
> Northeastern
> > University. I earned a 4.0 for the Java course. Even if I have to start
> > troubleshooting code I am a quick learner and in a few months be able to
> > code. I am a member of the OSI and my ultimate goal is to obtain a job in
> > information security.
> >
> >
> Hi David,
>
> I am sorry that your efforts to get into the community hasn't given the
> wanted results yet.
>
> Coding CloudStack is beyond my skill set, so I can't really offer any
> mentoring, but if you are looking for simple tasks to carry out to get more
> familiar with the project I am sure we could come up with some issues for
> you :-)
>
> Your first matter of business should be to get a CloudStack cloud up and
> running so that you can test any changes you do.
> This can be done on a single machine if needed.
>
> --
> Erik
>