Debugging Hyper-V Agent maven build failures

2015-06-26 Thread Traiano Welcome
Hi List

I'm trying to build the  cloudstack for hyper-v as described here:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer

mvn clean succeeds but the mv install part fails:

---
$ mvn -X clean  > mvn_clean_debug.log

[INFO] Apache CloudStack Client UI  SUCCESS [  0.009 s]
[INFO] Apache CloudStack Console Proxy - RDP Client ... SUCCESS [  0.008 s]
[INFO] Apache CloudStack Console Proxy  SUCCESS [  0.008 s]
[INFO] Apache CloudStack Console Proxy - Server ... SUCCESS [  0.007 s]
[INFO] Apache CloudStack Framework - QuickCloud ... SUCCESS [  0.007 s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 3.781 s
[INFO] Finished at: 2015-06-26T23:28:20+03:00
[INFO] Final Memory: 50M/1238M
[INFO] 


---


However, "mvn -X -d install -P developer,systemvm" fails with
something like this"

---
[[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 50.625 s
[INFO] Finished at: 2015-06-26T23:54:07+03:00
[INFO] Final Memory: 60M/981M
[INFO] 
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(default-test) on project cloud-utils: There are test failures.
[ERROR]
[ERROR] Please refer to C:\cloudstack\utils\target\surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(default-test) on project cloud-utils: There are test failures.

Please refer to C:\cloudstack\utils\target\surefire-reports for the
individual test results.
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are
test failures.

Please refer to C:\cloudstack\utils\target\surefire-reports for the
individual test results.
at 
org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
at 
org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:254)
at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:854)
at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:722)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
[ERROR]
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :cloud-utils


---

Installer for CloudStack Hyper-V Compute Agent ?

2015-06-26 Thread Traiano Welcome
Hi List

 I'm going through the manual install process for the compute agent on
hyper-v here:

 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer

Needless to say, it's a pretty lengthy process.

Is there an automated installer existing or planned for configuring
new Hyper-V nodes to integrate with CloudStack?

Thanks,
Traiano


Re: certification

2015-06-26 Thread Erik Weber
Will give it a shot when available in English :-)

Erik

Den fredag 26. juni 2015 skrev kotipalli venkatesh <
venkateshcloudt...@gmail.com> følgende:

> Hi Guys,
>
> Is there anyone who has done  ApacheCloudStack certification?
>
> Please let me know ASAP.
>
> Regards,
> Venkatesh.k
> Red Hat System Engineer.
>


certification

2015-06-26 Thread kotipalli venkatesh
Hi Guys,

Is there anyone who has done  ApacheCloudStack certification?

Please let me know ASAP.

Regards,
Venkatesh.k
Red Hat System Engineer.


Odp: Re: Adding template problem

2015-06-26 Thread Robert Lasota
Dnia Piątek, 26 Czerwca 2015 17:09 Andrija Panic  
napisał(a)
> Are you sure you got no 302 from web server etc ?

I'm sure I didn't receive any error.


>  
> Can you make sure with WGET that the file really starts to download from
> that URL - CloudStack AFAIK doesnt support http redirects etc...

wget in CLI is working and downloading, I don't if webgui do this correctly 
beacuse I can't see it


>  
> On 26 June 2015 at 17:03, Robert Lasota  wrote:
>  
> > Hi,
> >
> > I installed newest Cloudstack on Centos with KVM. Cloud started but I have
> > problem with creating new instance, maybe even with adding template - I
> > don't know.
> >
> > I uploaded templates (Ubuntu and Centos), ISO of Debian and supposedly
> > successfuly because I had such information and even in Events I have e.g.
> > "successfully completed creaeting iso". BUT...during trying to install new
> > instance in second step, every of 4 tabs are empty! no matter if iso or
> > template, so why since I successfully uploaded them ?
> >
> > Also I must say, when I enter to details of uploaded ISO and my Uploaded
> > Debian in tab "Zones" of it I have following status of zone:
> > "Template content is unsupported, or mismatch between selected format and
> > template content. Found : HTML document, ASCII text, with very long lines,
> > with CRLF line terminators"
> >
> > Could anybody help me , tell me what is going on ?
> >
> > Thanks, Robert
> >
> >

 





Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread Andrija Panic
I think I use regular upstream repo for ACS RPMs (4.3.2) - but the
ghost-patched template from shapeblue... (4.3.2).

best

On 26 June 2015 at 13:42, France  wrote:

> Seems like this q. is related.
> Andria, which CS build would/do you use? Which would you personally
> recommend?
> I will go with 3.2.2 + patches from shapeblue.
>
> Official build: http://cloudstack.apt-get.eu/rhel/4.3/
> There also build in Shapeblue’s repo based on 4.3.2 :
> http://packages.shapeblue.com/cloudstack/upstream/centos/4.3/
> And they also provide additionally pached build via:
> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
>
> Regards,
> F.
>
> On 26 Jun 2015, at 13:01, Andrija Panic  wrote:
>
> > http://packages.shapeblue.com/tools/ghost-systemvm-upgrader.py is a
> > shapeblue's stuff, if they are fine - then no problem :)
> >
> > But I see inside the script, it's hardcoded to 4.3 and 4.4 vesions, and
> it
> > loads templates from shapeblue's repos only
> >
> > So again we might go back to the story (not sure what was decided there)
> of
> > hosting stuff on apt-get.eu or shapeblue, or both etc...
> >
> > Would be nice to have some general decision arround this...and then, yes,
> > make/update documentation...
> >
> > On 26 June 2015 at 12:52, Erik Weber  wrote:
> >
> >> Edit it and send a piller request :-)
> >>
> >> Erik
> >>
> >> Den fredag 26. juni 2015 skrev Andrija Panic 
> >> følgende:
> >>
> >>> I also used this approach - worked for me.
> >>>
> >>> It would be nice if we could put this somewhere in the official docs in
> >> ACS
> >>> repo...
> >>>
> >>> On 26 June 2015 at 12:35, France >
> >>> wrote:
> >>>
>  OK, I was able to find instructions for upgrading templates:
>  http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
>  it even has a nice script, which we will try this weekend.
> 
>  Also for vhd-utils link, I have found vhd-utils at:
>  http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
> 
>  If these are not correct for CS 4.3.* and XS 6.0.2*, someone please
> let
> >>> us
>  know.
>  Hopefully this mail will help others upgrade, if they see it.
> 
>  Regards,
>  F.
> 
>  On 26 Jun 2015, at 11:40, France >
> >>> wrote:
> 
> > Anyone?
> >
> >
> > On 24 Jun 2015, at 15:07, France  >> >
> >>> wrote:
> >
> >> Hi all,
> >>
> >> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using
> >>> RPMs
>  from shapeblue (
> >>> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
>  ).
> >>
> >> Following the instructions at:
> >>
> 
> >>>
> >>
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> >>
> >> First problem I notice, that there is no link provided for vhd-utils
>  from the last step of the upgrade.
> >> Where can we get the right vhd-utils as required?
> >>
> >> Also no step in upgrade docs is mentioning of the system-vm template
>  upgrade.
> >> I see Shapeblue provides a link to ?updated? templates:
>  http://packages.shapeblue.com/systemvmtemplate/4.3/
> >> But i failed to find instructions how to update them. Are they
> >> updated
>  when updating base RPMs? I doubt it.
> >> Please direct us, to the correct instructions for updating
> >> templates.
> >>
> >> Thank you for your help/responses.
> >> Regards,
> >> France.
> >
> 
> 
> >>>
> >>>
> >>> --
> >>>
> >>> Andrija Panić
> >>>
> >>
> >
> >
> >
> > --
> >
> > Andrija Panić
>
>


-- 

Andrija Panić


Re: Adding template problem

2015-06-26 Thread Andrija Panic
Are you sure you got no 302 from web server etc ?

Can you make sure with WGET that the file really starts to download from
that URL - CloudStack AFAIK doesnt support http redirects etc...

On 26 June 2015 at 17:03, Robert Lasota  wrote:

> Hi,
>
> I installed newest Cloudstack on Centos with KVM. Cloud started but I have
> problem with creating new instance, maybe even with adding template - I
> don't know.
>
> I uploaded templates (Ubuntu and Centos), ISO of Debian and supposedly
> successfuly because I had such information and even in Events I have e.g.
> "successfully completed creaeting iso". BUT...during trying to install new
> instance in second step, every of 4 tabs are empty! no matter if iso or
> template, so why since I successfully uploaded them ?
>
> Also I must say, when I enter to details of uploaded ISO and my Uploaded
> Debian in tab "Zones" of it I have following status of zone:
> "Template content is unsupported, or mismatch between selected format and
> template content. Found : HTML document, ASCII text, with very long lines,
> with CRLF line terminators"
>
> Could anybody help me , tell me what is going on ?
>
> Thanks, Robert
>
>
>
>
>
>
>


-- 

Andrija Panić


Adding template problem

2015-06-26 Thread Robert Lasota
Hi,

I installed newest Cloudstack on Centos with KVM. Cloud started but I have 
problem with creating new instance, maybe even with adding template - I don't 
know.

I uploaded templates (Ubuntu and Centos), ISO of Debian and supposedly 
successfuly because I had such information and even in Events I have e.g. 
"successfully completed creaeting iso". BUT...during trying to install new 
instance in second step, every of 4 tabs are empty! no matter if iso or 
template, so why since I successfully uploaded them ?

Also I must say, when I enter to details of uploaded ISO and my Uploaded Debian 
in tab "Zones" of it I have following status of zone:
"Template content is unsupported, or mismatch between selected format and 
template content. Found : HTML document, ASCII text, with very long lines, with 
CRLF line terminators"

Could anybody help me , tell me what is going on ?

Thanks, Robert



 




Re: [DISCUSS] 4.5.2 bugfix sprint

2015-06-26 Thread Tomasz Zięba
Template Issue in 4.5.1
-
http://comments.gmane.org/gmane.comp.apache.cloudstack.user/18735
After manual creating systemVM using actual code from git everything is OK.

Fail to create load-balancing service on VPC
--
https://issues.apache.org/jira/browse/CLOUDSTACK-8231


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/



2015-06-25 21:35 GMT+02:00 Rohit Yadav :

> Hi all,
>
> Now that 4.4.4 has passed, I would like to start a 4.5.2 release effort
> soon. Please share any blockers, critical issues and other problems you may
> have discovered with 4.5.1 that we should try to fix in ACS 4.5.2.
>
> Thanks.
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> 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
> CloudStack Consulting
> CloudStack Software Engineering<
> http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>


Re: DR service for CloudStack

2015-06-26 Thread mvs babu
I asked Alena and she replied me “shoot a mail in Apache CloudStack mailing 
list to get current state of the project”.


And my DR (Disaster Recovery) requirement is below,


I have hosted entire CloudStack setup in a datacenter. Suppose the datacenter 
is crashed, how can I up the same environment in a different datacenter within 
hours?




Thank you,
Suneel Mallela.






From: Daan Hoogland
Sent: ‎Friday‎, ‎June‎ ‎26‎, ‎2015 ‎6‎:‎21‎ ‎PM
To: cloudusersusers





I think you would have to ask Alena or Ctrix support. Also you would
have to specify what you mean by DR service for me to make an educated
guess. It can mean to many things.

On Fri, Jun 26, 2015 at 2:38 PM, mvs babu  wrote:
> Hello Daan, Thank you for your information.
>
>
> Is there any other sources to achieve DR solution for CloudStack?
>
>
>
>
> Thank you,
>
> Suneel Mallela
>
>
>
>
>
>
> From: Daan Hoogland
> Sent: ‎Friday‎, ‎June‎ ‎26‎, ‎2015 ‎3‎:‎25‎ ‎PM
> To: cloudusersusers
> Cc: d...@cloudstack.apache.org
>
>
>
>
>
> Suneel, Alena had written this for cloudplatform, citrix' product
> based on cloudstack. I don't think it has been contributed back.
>
> On Fri, Jun 26, 2015 at 8:25 AM, mvs babu  wrote:
>> Hello,
>>
>>
>> I would like to use DR service for CloudSrtack. Found below useful video.
>>
>>
>> https://www.youtube.com/watch?v=2YEXC3WNL0s
>>
>>
>> Where can I get the status of this project and the source code?
>>
>>
>> And can any one suggest how to achieve DR solution in CloudSrtack.
>>
>>
>> Thank you,
>>
>> Suneel Mallela.
>>
>>
>>
>>
>>
>>
>> Sent from Windows Mail
>
>
>
> --
> Daan



-- 
Daan

Re: DR service for CloudStack

2015-06-26 Thread Daan Hoogland
I think you would have to ask Alena or Ctrix support. Also you would
have to specify what you mean by DR service for me to make an educated
guess. It can mean to many things.

On Fri, Jun 26, 2015 at 2:38 PM, mvs babu  wrote:
> Hello Daan, Thank you for your information.
>
>
> Is there any other sources to achieve DR solution for CloudStack?
>
>
>
>
> Thank you,
>
> Suneel Mallela
>
>
>
>
>
>
> From: Daan Hoogland
> Sent: ‎Friday‎, ‎June‎ ‎26‎, ‎2015 ‎3‎:‎25‎ ‎PM
> To: cloudusersusers
> Cc: d...@cloudstack.apache.org
>
>
>
>
>
> Suneel, Alena had written this for cloudplatform, citrix' product
> based on cloudstack. I don't think it has been contributed back.
>
> On Fri, Jun 26, 2015 at 8:25 AM, mvs babu  wrote:
>> Hello,
>>
>>
>> I would like to use DR service for CloudSrtack. Found below useful video.
>>
>>
>> https://www.youtube.com/watch?v=2YEXC3WNL0s
>>
>>
>> Where can I get the status of this project and the source code?
>>
>>
>> And can any one suggest how to achieve DR solution in CloudSrtack.
>>
>>
>> Thank you,
>>
>> Suneel Mallela.
>>
>>
>>
>>
>>
>>
>> Sent from Windows Mail
>
>
>
> --
> Daan



-- 
Daan


Re: DR service for CloudStack

2015-06-26 Thread mvs babu
Hello Daan, Thank you for your information.


Is there any other sources to achieve DR solution for CloudStack?




Thank you,

Suneel Mallela






From: Daan Hoogland
Sent: ‎Friday‎, ‎June‎ ‎26‎, ‎2015 ‎3‎:‎25‎ ‎PM
To: cloudusersusers
Cc: d...@cloudstack.apache.org





Suneel, Alena had written this for cloudplatform, citrix' product
based on cloudstack. I don't think it has been contributed back.

On Fri, Jun 26, 2015 at 8:25 AM, mvs babu  wrote:
> Hello,
>
>
> I would like to use DR service for CloudSrtack. Found below useful video.
>
>
> https://www.youtube.com/watch?v=2YEXC3WNL0s
>
>
> Where can I get the status of this project and the source code?
>
>
> And can any one suggest how to achieve DR solution in CloudSrtack.
>
>
> Thank you,
>
> Suneel Mallela.
>
>
>
>
>
>
> Sent from Windows Mail



-- 
Daan

{ANNOUNCE] Apache CloudSack 4.4.4 released

2015-06-26 Thread Daan Hoogland

CloudStack v4.4.4 is a minor release with several fixes and backports.

A complete overview of all new enhancements can be found in the project 
release notes at
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.4.4/ 



CloudStack v4.4.4 is available immediately as a free download from
http://cloudstack.apache.org/downloads.html 
. Apache CloudStack

software is released under the Apache License v2.0.

please meetup with us at

CloudStack Days Seattle 2015 , 20th August 2015,
http://events.linuxfoundation.org/events/cloudstack-seattle 



and

CloudStack Collaboration Conference 2015 in Dublin, 8th and 9th of
October 2015, http://cloudstackcollab.org


kind regards,

--
Daan Hoogland



Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread France
Seems like this q. is related.
Andria, which CS build would/do you use? Which would you personally recommend?
I will go with 3.2.2 + patches from shapeblue.

Official build: http://cloudstack.apt-get.eu/rhel/4.3/
There also build in Shapeblue’s repo based on 4.3.2 : 
http://packages.shapeblue.com/cloudstack/upstream/centos/4.3/
And they also provide additionally pached build via: 
http://packages.shapeblue.com/cloudstack/main/centos/4.3/

Regards,
F.

On 26 Jun 2015, at 13:01, Andrija Panic  wrote:

> http://packages.shapeblue.com/tools/ghost-systemvm-upgrader.py is a
> shapeblue's stuff, if they are fine - then no problem :)
> 
> But I see inside the script, it's hardcoded to 4.3 and 4.4 vesions, and it
> loads templates from shapeblue's repos only
> 
> So again we might go back to the story (not sure what was decided there) of
> hosting stuff on apt-get.eu or shapeblue, or both etc...
> 
> Would be nice to have some general decision arround this...and then, yes,
> make/update documentation...
> 
> On 26 June 2015 at 12:52, Erik Weber  wrote:
> 
>> Edit it and send a piller request :-)
>> 
>> Erik
>> 
>> Den fredag 26. juni 2015 skrev Andrija Panic 
>> følgende:
>> 
>>> I also used this approach - worked for me.
>>> 
>>> It would be nice if we could put this somewhere in the official docs in
>> ACS
>>> repo...
>>> 
>>> On 26 June 2015 at 12:35, France >
>>> wrote:
>>> 
 OK, I was able to find instructions for upgrading templates:
 http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
 it even has a nice script, which we will try this weekend.
 
 Also for vhd-utils link, I have found vhd-utils at:
 http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
 
 If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let
>>> us
 know.
 Hopefully this mail will help others upgrade, if they see it.
 
 Regards,
 F.
 
 On 26 Jun 2015, at 11:40, France >
>>> wrote:
 
> Anyone?
> 
> 
> On 24 Jun 2015, at 15:07, France > >
>>> wrote:
> 
>> Hi all,
>> 
>> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using
>>> RPMs
 from shapeblue (
>>> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
 ).
>> 
>> Following the instructions at:
>> 
 
>>> 
>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
>> 
>> First problem I notice, that there is no link provided for vhd-utils
 from the last step of the upgrade.
>> Where can we get the right vhd-utils as required?
>> 
>> Also no step in upgrade docs is mentioning of the system-vm template
 upgrade.
>> I see Shapeblue provides a link to ?updated? templates:
 http://packages.shapeblue.com/systemvmtemplate/4.3/
>> But i failed to find instructions how to update them. Are they
>> updated
 when updating base RPMs? I doubt it.
>> Please direct us, to the correct instructions for updating
>> templates.
>> 
>> Thank you for your help/responses.
>> Regards,
>> France.
> 
 
 
>>> 
>>> 
>>> --
>>> 
>>> Andrija Panić
>>> 
>> 
> 
> 
> 
> -- 
> 
> Andrija Panić



Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread Andrija Panic
http://packages.shapeblue.com/tools/ghost-systemvm-upgrader.py is a
shapeblue's stuff, if they are fine - then no problem :)

But I see inside the script, it's hardcoded to 4.3 and 4.4 vesions, and it
loads templates from shapeblue's repos only

So again we might go back to the story (not sure what was decided there) of
hosting stuff on apt-get.eu or shapeblue, or both etc...

Would be nice to have some general decision arround this...and then, yes,
make/update documentation...

On 26 June 2015 at 12:52, Erik Weber  wrote:

> Edit it and send a piller request :-)
>
> Erik
>
> Den fredag 26. juni 2015 skrev Andrija Panic 
> følgende:
>
> > I also used this approach - worked for me.
> >
> > It would be nice if we could put this somewhere in the official docs in
> ACS
> > repo...
> >
> > On 26 June 2015 at 12:35, France >
> > wrote:
> >
> > > OK, I was able to find instructions for upgrading templates:
> > > http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
> > > it even has a nice script, which we will try this weekend.
> > >
> > > Also for vhd-utils link, I have found vhd-utils at:
> > > http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
> > >
> > > If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let
> > us
> > > know.
> > > Hopefully this mail will help others upgrade, if they see it.
> > >
> > > Regards,
> > > F.
> > >
> > > On 26 Jun 2015, at 11:40, France >
> > wrote:
> > >
> > > > Anyone?
> > > >
> > > >
> > > > On 24 Jun 2015, at 15:07, France  >
> > wrote:
> > > >
> > > >> Hi all,
> > > >>
> > > >> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using
> > RPMs
> > > from shapeblue (
> > http://packages.shapeblue.com/cloudstack/main/centos/4.3/
> > > ).
> > > >>
> > > >> Following the instructions at:
> > > >>
> > >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> > > >>
> > > >> First problem I notice, that there is no link provided for vhd-utils
> > > from the last step of the upgrade.
> > > >> Where can we get the right vhd-utils as required?
> > > >>
> > > >> Also no step in upgrade docs is mentioning of the system-vm template
> > > upgrade.
> > > >> I see Shapeblue provides a link to ?updated? templates:
> > > http://packages.shapeblue.com/systemvmtemplate/4.3/
> > > >> But i failed to find instructions how to update them. Are they
> updated
> > > when updating base RPMs? I doubt it.
> > > >> Please direct us, to the correct instructions for updating
> templates.
> > > >>
> > > >> Thank you for your help/responses.
> > > >> Regards,
> > > >> France.
> > > >
> > >
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>



-- 

Andrija Panić


Re: ACS 4.5.1 mgmt DB HA - not working - invalid load balancing strategy

2015-06-26 Thread Andrija Panic
Thx Raja for detailed steps - I have a problem of NOT compiling ACS
with non-oss
stuff - so I'm missing this JAR file completely :)

But other than that, yes, this is fine.

Thanks again!

On 26 June 2015 at 10:12, raja sekhar  wrote:

> Andrija,
>
> file is missing in that path.
>
> Follow the steps to enable the database high availability in cloudstack.
>
> 1)   Go to the path:
>
> *“/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/”*
>
> Find the *“cloud-plugin-database-mysqlha-4.3.1.jar”  *file.
>
> 2)   Create the path:
>
> *“/usr/share/cloudstack-mysql-ha/lib/”*
>
> Copy the above file to this path.
>
> 3)   Edit the file *“/etc/cloudstack/management/catalina.properties”*
>
> check the *“common.loader” *line looks like:
>
>
> *“common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar,/usr/share/cloudstack-mysql-ha/lib/*.jar”*
>
> 4)   Edit the file *“/etc/cloudstack/management/db.properties”*
>
> *db.ha.enabled=true*
>
> *db.cloud.slaves=*
>
> *db.usage.slaves=*
>
> 5)   Restart the management server.
>
> *“Service cloudstack-management restart”*
>
>
>
> *Regards,*
>
> *Rajasekhar.*
>
> On Thu, Jun 11, 2015 at 8:52 PM, Andrija Panic 
> wrote:
>
> > HI Marcus, yes I'm familiar with that, that was my guess, based on some
> > other ML thread :(
> >
> > Thx for confirmation...
> >
> > On 11 June 2015 at 17:03, Marcus  wrote:
> >
> > > When I build CloudStack RPMs on 4.5 branch I get mysql ha RPMs. Looking
> > at
> > > the specfile:
> > >
> > > %if "%{_ossnoss}" == "noredist"
> > >
> > > %package mysql-ha
> > >
> > > Summary: Apache CloudStack Balancing Strategy for MySQL
> > >
> > > Requires: mysql-connector-java
> > >
> > > Requires: %{_tomcatversion}
> > >
> > > Group: System Environmnet/Libraries
> > >
> > > %description mysql-ha
> > >
> > > Apache CloudStack Balancing Strategy for MySQL
> > >
> > >
> > > %endif
> > >
> > >
> > > Looks like you need to "./package.sh -p noredist" when packaging. Not
> > sure
> > > what the equivalent is for .deb packaging.  That means you also have to
> > be
> > > set up with the non-oss dependencies. If you're not familiar with that
> > let
> > > us know.
> > >
> > > On Thu, Jun 11, 2015 at 7:06 AM, Andrija Panic <
> andrija.pa...@gmail.com>
> > > wrote:
> > >
> > > > Actually, on another ACS installation, there is file:
> > > >
> > > >
> > >
> >
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-database-mysqlha-4.3.2.jar
> > > > (acs 4.3.2 :) )
> > > >
> > > > But on this 4.5.1 there is no such file.
> > > >
> > > > Is it possible that we didnt compile 4.5.1 in appropriate way ?
> > > >
> > > > Thanks,
> > > > Andrija
> > > >
> > > > On 11 June 2015 at 15:14, Andrija Panic 
> > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I'm trying the DB HA setup, by chaning 3 lines in db.properties
> file
> > > > > (enable HA, define slaves for cloud, define slaves for usage DB)
> > > > >
> > > > > After restart, mgmt server doesn start with folowing error, as it
> > seems
> > > > > invalid load balancing strategy variable...
> > > > >
> > > > > Any clues on this ?
> > > > >
> > > > > mysql setup is galera 3 node cluster, 1st node being used as master
> > in
> > > > > db.properties, and only second node being used as slave (galera2
> > node)
> > > > > I confirmed I can telnet, login etc... also mysql login from mgmt
> to
> > > > these
> > > > > master/slaves works of course...
> > > > >
> > > > >
> > > > >
> > > > > 2015-06-11 14:25:03,149 INFO  [c.c.u.d.T.Transaction] (main:null)
> Is
> > > Data
> > > > > Base High Availiability enabled? Ans : true
> > > > > 2015-06-11 14:25:03,191 INFO  [c.c.u.d.T.Transaction] (main:null)
> The
> > > > > slaves configured for Cloud Data base is/are : 10.20.10.6
> > > > > 2015-06-11 14:25:03,269 ERROR [c.c.u.d.Merovingian2] (main:null)
> > Unable
> > > > to
> > > > > get a new db connection
> > > > > java.sql.SQLException: Invalid load balancing strategy
> > > > > 'com.cloud.utils.db.StaticStrategy'.
> > > > > at
> > > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
> > > > > at
> > > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
> > > > > at com.mysql.jdbc.Util.loadExtensions(Util.java:602)
> > > > > at
> > > > >
> > > >
> > >
> >
> com.mysql.jdbc.LoadBalancingConnectionProxy.(LoadBalancingConnectionProxy.java:285)
> > > > > at
> > > > >
> > > >
> > >
> >
> com.mysql.jdbc.FailoverConnectionProxy.(FailoverConnectionProxy.java:67)
> > > > > at
> > > > >
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connectFailover(NonRegisteringDriver.java:430)
> > > > > at
> > > > >
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:343)
> > > > > at
> > java.sql.DriverManager.getConnection(DriverManager.java:571)
> > > > > at
> > java.sql.DriverManager.getConnect

Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread Erik Weber
Edit it and send a piller request :-)

Erik

Den fredag 26. juni 2015 skrev Andrija Panic 
følgende:

> I also used this approach - worked for me.
>
> It would be nice if we could put this somewhere in the official docs in ACS
> repo...
>
> On 26 June 2015 at 12:35, France >
> wrote:
>
> > OK, I was able to find instructions for upgrading templates:
> > http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
> > it even has a nice script, which we will try this weekend.
> >
> > Also for vhd-utils link, I have found vhd-utils at:
> > http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
> >
> > If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let
> us
> > know.
> > Hopefully this mail will help others upgrade, if they see it.
> >
> > Regards,
> > F.
> >
> > On 26 Jun 2015, at 11:40, France >
> wrote:
> >
> > > Anyone?
> > >
> > >
> > > On 24 Jun 2015, at 15:07, France >
> wrote:
> > >
> > >> Hi all,
> > >>
> > >> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using
> RPMs
> > from shapeblue (
> http://packages.shapeblue.com/cloudstack/main/centos/4.3/
> > ).
> > >>
> > >> Following the instructions at:
> > >>
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> > >>
> > >> First problem I notice, that there is no link provided for vhd-utils
> > from the last step of the upgrade.
> > >> Where can we get the right vhd-utils as required?
> > >>
> > >> Also no step in upgrade docs is mentioning of the system-vm template
> > upgrade.
> > >> I see Shapeblue provides a link to ?updated? templates:
> > http://packages.shapeblue.com/systemvmtemplate/4.3/
> > >> But i failed to find instructions how to update them. Are they updated
> > when updating base RPMs? I doubt it.
> > >> Please direct us, to the correct instructions for updating templates.
> > >>
> > >> Thank you for your help/responses.
> > >> Regards,
> > >> France.
> > >
> >
> >
>
>
> --
>
> Andrija Panić
>


Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread Andrija Panic
I also used this approach - worked for me.

It would be nice if we could put this somewhere in the official docs in ACS
repo...

On 26 June 2015 at 12:35, France  wrote:

> OK, I was able to find instructions for upgrading templates:
> http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
> it even has a nice script, which we will try this weekend.
>
> Also for vhd-utils link, I have found vhd-utils at:
> http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
>
> If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let us
> know.
> Hopefully this mail will help others upgrade, if they see it.
>
> Regards,
> F.
>
> On 26 Jun 2015, at 11:40, France  wrote:
>
> > Anyone?
> >
> >
> > On 24 Jun 2015, at 15:07, France  wrote:
> >
> >> Hi all,
> >>
> >> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using RPMs
> from shapeblue (http://packages.shapeblue.com/cloudstack/main/centos/4.3/
> ).
> >>
> >> Following the instructions at:
> >>
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> >>
> >> First problem I notice, that there is no link provided for vhd-utils
> from the last step of the upgrade.
> >> Where can we get the right vhd-utils as required?
> >>
> >> Also no step in upgrade docs is mentioning of the system-vm template
> upgrade.
> >> I see Shapeblue provides a link to ?updated? templates:
> http://packages.shapeblue.com/systemvmtemplate/4.3/
> >> But i failed to find instructions how to update them. Are they updated
> when updating base RPMs? I doubt it.
> >> Please direct us, to the correct instructions for updating templates.
> >>
> >> Thank you for your help/responses.
> >> Regards,
> >> France.
> >
>
>


-- 

Andrija Panić


Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread France
OK, I was able to find instructions for upgrading templates:
http://www.shapeblue.com/cloudstack-and-the-ghost-vulnerabilitystack/
it even has a nice script, which we will try this weekend.

Also for vhd-utils link, I have found vhd-utils at:
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util

If these are not correct for CS 4.3.* and XS 6.0.2*, someone please let us know.
Hopefully this mail will help others upgrade, if they see it.

Regards,
F.

On 26 Jun 2015, at 11:40, France  wrote:

> Anyone?
> 
> 
> On 24 Jun 2015, at 15:07, France  wrote:
> 
>> Hi all,
>> 
>> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using RPMs from 
>> shapeblue (http://packages.shapeblue.com/cloudstack/main/centos/4.3/).
>> 
>> Following the instructions at:
>> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
>> 
>> First problem I notice, that there is no link provided for vhd-utils from 
>> the last step of the upgrade.
>> Where can we get the right vhd-utils as required?
>> 
>> Also no step in upgrade docs is mentioning of the system-vm template upgrade.
>> I see Shapeblue provides a link to ?updated? templates: 
>> http://packages.shapeblue.com/systemvmtemplate/4.3/ 
>> But i failed to find instructions how to update them. Are they updated when 
>> updating base RPMs? I doubt it.
>> Please direct us, to the correct instructions for updating templates.
>> 
>> Thank you for your help/responses.
>> Regards,
>> France.
> 



Re: DR service for CloudStack

2015-06-26 Thread Daan Hoogland
Suneel, Alena had written this for cloudplatform, citrix' product
based on cloudstack. I don't think it has been contributed back.

On Fri, Jun 26, 2015 at 8:25 AM, mvs babu  wrote:
> Hello,
>
>
> I would like to use DR service for CloudSrtack. Found below useful video.
>
>
> https://www.youtube.com/watch?v=2YEXC3WNL0s
>
>
> Where can I get the status of this project and the source code?
>
>
> And can any one suggest how to achieve DR solution in CloudSrtack.
>
>
> Thank you,
>
> Suneel Mallela.
>
>
>
>
>
>
> Sent from Windows Mail



-- 
Daan


Re: Upgrading 4.3.1 to 4.3.2 including system templates - quick help please

2015-06-26 Thread France
Anyone?


On 24 Jun 2015, at 15:07, France  wrote:

> Hi all,
> 
> we got CS 4.3.1 which we will upgrade to 4.3.2 this weekend, using RPMs from 
> shapeblue (http://packages.shapeblue.com/cloudstack/main/centos/4.3/).
> 
> Following the instructions at:
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3.2/rnotes.html#upgrade-from-4-3-1-to-4-3-2
> 
> First problem I notice, that there is no link provided for vhd-utils from the 
> last step of the upgrade.
> Where can we get the right vhd-utils as required?
> 
> Also no step in upgrade docs is mentioning of the system-vm template upgrade.
> I see Shapeblue provides a link to ?updated? templates: 
> http://packages.shapeblue.com/systemvmtemplate/4.3/ 
> But i failed to find instructions how to update them. Are they updated when 
> updating base RPMs? I doubt it.
> Please direct us, to the correct instructions for updating templates.
> 
> Thank you for your help/responses.
> Regards,
> France.



Re: ACS 4.5.1 mgmt DB HA - not working - invalid load balancing strategy

2015-06-26 Thread raja sekhar
Andrija,

file is missing in that path.

Follow the steps to enable the database high availability in cloudstack.

1)   Go to the path:

*“/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/”*

Find the *“cloud-plugin-database-mysqlha-4.3.1.jar”  *file.

2)   Create the path:

*“/usr/share/cloudstack-mysql-ha/lib/”*

Copy the above file to this path.

3)   Edit the file *“/etc/cloudstack/management/catalina.properties”*

check the *“common.loader” *line looks like:

*“common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar,/usr/share/cloudstack-mysql-ha/lib/*.jar”*

4)   Edit the file *“/etc/cloudstack/management/db.properties”*

*db.ha.enabled=true*

*db.cloud.slaves=*

*db.usage.slaves=*

5)   Restart the management server.

*“Service cloudstack-management restart”*



*Regards,*

*Rajasekhar.*

On Thu, Jun 11, 2015 at 8:52 PM, Andrija Panic 
wrote:

> HI Marcus, yes I'm familiar with that, that was my guess, based on some
> other ML thread :(
>
> Thx for confirmation...
>
> On 11 June 2015 at 17:03, Marcus  wrote:
>
> > When I build CloudStack RPMs on 4.5 branch I get mysql ha RPMs. Looking
> at
> > the specfile:
> >
> > %if "%{_ossnoss}" == "noredist"
> >
> > %package mysql-ha
> >
> > Summary: Apache CloudStack Balancing Strategy for MySQL
> >
> > Requires: mysql-connector-java
> >
> > Requires: %{_tomcatversion}
> >
> > Group: System Environmnet/Libraries
> >
> > %description mysql-ha
> >
> > Apache CloudStack Balancing Strategy for MySQL
> >
> >
> > %endif
> >
> >
> > Looks like you need to "./package.sh -p noredist" when packaging. Not
> sure
> > what the equivalent is for .deb packaging.  That means you also have to
> be
> > set up with the non-oss dependencies. If you're not familiar with that
> let
> > us know.
> >
> > On Thu, Jun 11, 2015 at 7:06 AM, Andrija Panic 
> > wrote:
> >
> > > Actually, on another ACS installation, there is file:
> > >
> > >
> >
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-database-mysqlha-4.3.2.jar
> > > (acs 4.3.2 :) )
> > >
> > > But on this 4.5.1 there is no such file.
> > >
> > > Is it possible that we didnt compile 4.5.1 in appropriate way ?
> > >
> > > Thanks,
> > > Andrija
> > >
> > > On 11 June 2015 at 15:14, Andrija Panic 
> wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm trying the DB HA setup, by chaning 3 lines in db.properties file
> > > > (enable HA, define slaves for cloud, define slaves for usage DB)
> > > >
> > > > After restart, mgmt server doesn start with folowing error, as it
> seems
> > > > invalid load balancing strategy variable...
> > > >
> > > > Any clues on this ?
> > > >
> > > > mysql setup is galera 3 node cluster, 1st node being used as master
> in
> > > > db.properties, and only second node being used as slave (galera2
> node)
> > > > I confirmed I can telnet, login etc... also mysql login from mgmt to
> > > these
> > > > master/slaves works of course...
> > > >
> > > >
> > > >
> > > > 2015-06-11 14:25:03,149 INFO  [c.c.u.d.T.Transaction] (main:null) Is
> > Data
> > > > Base High Availiability enabled? Ans : true
> > > > 2015-06-11 14:25:03,191 INFO  [c.c.u.d.T.Transaction] (main:null) The
> > > > slaves configured for Cloud Data base is/are : 10.20.10.6
> > > > 2015-06-11 14:25:03,269 ERROR [c.c.u.d.Merovingian2] (main:null)
> Unable
> > > to
> > > > get a new db connection
> > > > java.sql.SQLException: Invalid load balancing strategy
> > > > 'com.cloud.utils.db.StaticStrategy'.
> > > > at
> > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
> > > > at
> > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
> > > > at com.mysql.jdbc.Util.loadExtensions(Util.java:602)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.LoadBalancingConnectionProxy.(LoadBalancingConnectionProxy.java:285)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.FailoverConnectionProxy.(FailoverConnectionProxy.java:67)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connectFailover(NonRegisteringDriver.java:430)
> > > > at
> > > >
> > >
> >
> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:343)
> > > > at
> java.sql.DriverManager.getConnection(DriverManager.java:571)
> > > > at
> java.sql.DriverManager.getConnection(DriverManager.java:215)
> > > > at
> > > >
> > >
> >
> org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
> > > > at
> > > >
> > >
> >
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
> > > > at
> > > >
> > >
> >
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
> > > > at
> > > >
> > >
> >
> org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
> > > > at
> > > 

Unable to Deploy Own Router in CS 4.5.1

2015-06-26 Thread raja sekhar
Hi All,

I am using CS 4.5.1 and xen 6.2.
I want to deploy my own router instead of default CS router.
for that i have uploaded vyatta router into cloudstack as template. enabled
routing feature. changed global parameter " router.template.xenserver  "
to template id/uuid.
router is deployed from that template but it is still stuck at Starting
stage for a long time in CS UI, but it is running in xencenter.
What is the correct procedure to deploy our own router in cloudstack?
Is cloudstack support Vyatta router?
If not which 3rd party routers will support?
when vm is deployed under this router it is also stuck at starting stage.


Regards,
Rajasekhar.