experience's and issues with setting up cloudstack 4.3 and xenserver 6.2

2014-06-29 Thread Ian Marshall
Hi All

Openstack is now dumped as the preferred route to a private cloud solution.
Due to the issues with getting that installed, I need to get buy-in to
consider redeployment using Cloudstack.

We have got xenserver 6.2 running with EQLX as shared storage, so no issues
with these.

What I am struggling with is being able to list the benefits of CS over
just XS deployment. So if anyone has migrated from XS to CS due to
restrictions, plase advise what these were.

We need to be able to deploy across multiple sites and isolate 'projects'
and future expectations is SaaS/PaaS requirements as we diversify our
product ranges.

Regards
Ian


Re: experience's and issues with setting up cloudstack 4.3 and xenserver 6.2

2014-06-29 Thread Rohit Yadav

Hi Ian,


Hi All

Openstack is now dumped as the preferred route to a private cloud solution.
Due to the issues with getting that installed, I need to get buy-in to
consider redeployment using Cloudstack.

We have got xenserver 6.2 running with EQLX as shared storage, so no issues
with these.

What I am struggling with is being able to list the benefits of CS over
just XS deployment. So if anyone has migrated from XS to CS due to
restrictions, plase advise what these were.


You can control a cluster of XS hosts using XenCenter but it may not be
scalable and manageable since you mention that in future you may need to
support multiple sites, need account/project management etc.

OpenStack is not a turn-key solution, I think it's more like a
toolkit/framework so it usually takes a lot of time. Apache CloudStack
on the other hand is a turn-key solution. You may google why people
chose CloudStack, see this for example:
http://insights.wired.com/profiles/blogs/why-cloudstack

As for list of features, some of the them are listed here:
http://cloudstack.apache.org/software/features.html


We need to be able to deploy across multiple sites and isolate 'projects'
and future expectations is SaaS/PaaS requirements as we diversify our
product ranges.


If it gives you some assurance, there are large number of hosting,
IaaS/Paas/SaaS companies using it:
http://shapeblue.com/cloudstack/are-these-people-really-all-using-cloudstack/

You may checkout following case studies where people are doing PaaS/SaaS
work using CloudStack:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Case+Studies

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
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 
is a registered trademark.


Re: experience's and issues with setting up cloudstack 4.3 and xenserver 6.2

2014-06-29 Thread Nux!
Hi,

We have both standalone XS and ACS. Off the top of my head, the best few 
reasons to use ACS:
- user management and resource limit enforcement as well as tracking (eg we 
always seem to "lose"/misplace IPs with standalone HVs) and statistics
- HV agnostic (almost), we use XS and KVM
- network management
- virtual router more advanced features (VPN, load balancer etc)
- powerful API that can be used to automate stuff dramatically

With just XS the biggest PITA is tracking and setting network related info. 
With ACS I just give it a few IP and VLAN ranges and tell it to just use them.
Additionally, ACS has the concept of (resource limited) "projects" which 
multiple users can participate in. Not to mention additional goodies like 
cloud-init which can help with automation quite a bit (ie running user scripts 
at boot, setting SSH keys, root passwords etc).

It will change the way you work and once you get it off the ground and running, 
it will save you significant time and stress.

BUT, before you start using ACS in production: TEST, TEST, TEST! I can't stress 
this enough. 
IMHO cloud is hard, the software is big and complex and there are rough edges 
here and there, so take your time, get to know it; to know its weaknesses and 
strengths and use them appropriately.

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


- Original Message -
> From: "Ian Marshall" 
> To: users@cloudstack.apache.org
> Sent: Sunday, 29 June, 2014 12:33:28 PM
> Subject: experience's and issues with setting up cloudstack 4.3 and xenserver 
> 6.2
> 
> Hi All
> 
> Openstack is now dumped as the preferred route to a private cloud solution.
> Due to the issues with getting that installed, I need to get buy-in to
> consider redeployment using Cloudstack.
> 
> We have got xenserver 6.2 running with EQLX as shared storage, so no issues
> with these.
> 
> What I am struggling with is being able to list the benefits of CS over
> just XS deployment. So if anyone has migrated from XS to CS due to
> restrictions, plase advise what these were.
> 
> We need to be able to deploy across multiple sites and isolate 'projects'
> and future expectations is SaaS/PaaS requirements as we diversify our
> product ranges.
> 
> Regards
> Ian
> 


StartupRoutingCommand gets wrong private_ip_address

2014-06-29 Thread Gerolamo Valcamonica

Hi, in my CS 4.3.0 (KVM) I just added a new host.

But it seems to me there is an issue in my configuration

Indeed, on DB, table "hosts", i have both private_ip_address and 
storage_ip_address with same IP and in log i can see:


[{"com.cloud.agent.api.StartupRoutingCommand":
[...]
 "privateIpAddress":"10.0.2.109",
 "privateMacAddress":"5e:63:56:74:5c:90",
 "privateNetmask":"255.255.255.0",
 "storageIpAddress":"10.0.2.109",
 "storageNetmask":"255.255.255.0",
 "storageMacAddress":"5e:63:56:74:5c:90",
[...]

I double checked host configuration and it seems to be ok

[...]
auto storage
iface storage inet static
address 10.0.2.109
netmask 255.255.255.0
network 10.0.2.0
broadcast 10.2.0.255

auto management
iface management inet static
address 10.0.1.109
netmask 255.255.255.0
network 10.0.1.0
broadcast 10.1.0.255
[...]

So, my question is:
where do management server get network configuration on hosts to answere 
to StartupRoutingCommand?


--
Gerolamo Valcamonica


Re: Downloading templates from HTTPS

2014-06-29 Thread Ian Duffy
> Not aware of any, see if something comes up in global settings.

Had a look through them didn't find anything that seemed related.

> We also have a limitation - that kinda bugs me, we are forced to use
either port 80 or 443, but lots of folks run webservers on non-standard
ports..

Yes, I have ran into this many times before. 8080 is allowed too.

It would be nice to see the ports specified via a global settings variable.
I think I recall conversation about this on the list a very long time ago.


On 29 June 2014 02:52, ilya musayev  wrote:

> Not aware of any, see if something comes up in global settings.
>
> We also have a limitation - that kinda bugs me, we are forced to use
> either port 80 or 443, but lots of folks run webservers on non-standard
> ports..
>
>
>
> On 6/27/14, 8:40 PM, Ian Duffy wrote:
>
>> Hi all,
>>
>> I'm seeing the following error when trying to download a template from a
>> https site: (Loading the same url in my browser doesn't throw any ssl
>> issues.)
>>
>> sun.security.validator.ValidatorException: PKIX path building failed:
>> sun.security.provider.certpath.SunCertPathBuilderException: unable to
>> find
>> valid certification path to requested target
>>
>> Other than downloading and serving the template on my own local webserver,
>> are there any workarounds?
>>
>> Thanks,
>>
>> Ian
>>
>>
>


Re: Maximum template upload size

2014-06-29 Thread Abhinandan Prateek
max.template.iso.size global param defines the max size for template
upload. 


On 28/06/14 12:53 pm, "Tejas Gadaria"  wrote:

>Hi
>
>What is the maximum size of template we can upload to secondary storage
>through "register template" using http ?
>
>Regards,
>Tejas



Wrong timing when a Windows VM boots-up

2014-06-29 Thread Indra Pramana
Dear all,

We are using CloudStack 4.2.0 and KVM hypervisor. We are based in
Singapore, GMT +0800.

Recently we had some issues whenever a Windows-based guest VM under
CloudStack is being restarted, the time will move behind by 8 hours. For
example, if a VM was rebooted at 8am Singapore time, after reboot the clock
will show 12am Singapore time, which is the GMT equivalent. However, the
time zone is correctly stated as Singapore time, causing the whole system
clock to be 8 hour behind upon reboot and will stay that way until we
manually modify the time or synchronise with the Windows Internet time
server.

This issue may be related but it's for XenServer though. I am using KVM:

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

Anyone knows how to fix the problem? The issue seems to be only affecting
Windows guests (both Windows servers 2008 and 2012) and do not affect Unix
guests.

Looking forward to your reply, thank you.

Cheers.


Re: Wrong timing when a Windows VM boots-up

2014-06-29 Thread Abhinandan Prateek
The issue fixed here CLOUDSTACK-3443 is about persisting time across
restarts.
>From your description it appears that the time that is saved is
consistently moving behind by 8-hours.
After stopping a affected VM from cloudstack you can look at the time
offset value in user_vm_details
That will give you insight into what is happening.

-abhi
 

On 30/06/14 10:37 am, "Indra Pramana"  wrote:

>Dear all,
>
>We are using CloudStack 4.2.0 and KVM hypervisor. We are based in
>Singapore, GMT +0800.
>
>Recently we had some issues whenever a Windows-based guest VM under
>CloudStack is being restarted, the time will move behind by 8 hours. For
>example, if a VM was rebooted at 8am Singapore time, after reboot the
>clock
>will show 12am Singapore time, which is the GMT equivalent. However, the
>time zone is correctly stated as Singapore time, causing the whole system
>clock to be 8 hour behind upon reboot and will stay that way until we
>manually modify the time or synchronise with the Windows Internet time
>server.
>
>This issue may be related but it's for XenServer though. I am using KVM:
>
>https://issues.apache.org/jira/browse/CLOUDSTACK-3443
>
>Anyone knows how to fix the problem? The issue seems to be only affecting
>Windows guests (both Windows servers 2008 and 2012) and do not affect Unix
>guests.
>
>Looking forward to your reply, thank you.
>
>Cheers.



RE: 4.4 upgrade issues

2014-06-29 Thread Sudha Ponnaganti
Hi Carlos,

Were you able to resolve the following? Was your upgrade successful?

Thanks
/sudha

-Original Message-
From: Carlos Reátegui [mailto:create...@gmail.com] 
Sent: Friday, June 27, 2014 8:55 PM
To: CloudStack-Users
Cc: d...@cloudstack.apache.org
Subject: 4.4 upgrade issues

I am trying out the upgrade instructions from 
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.3/rnotes.html#upgrade-from-4-1-x-to-4-3
 but going to 4.4 built from source today.

My setup: XenServer 6.0.2 Hosts, Management Server on Ubuntu 12.04, Primary and 
Secondary on NFS, Basic Network, no security groups

-
Notes on the docs:

8.4 - 8.6: This is only for hosts that use the cloudstack agent. Does not apply 
to KVM. In general this whole section does not do a good job of explaining what 
is on the MS vs the Hosts.

13: This fails on ubuntu because: cloudstack-sysvmadm sources 
/etc/rc.d/init.d/functions which does not exist on ubuntu/debian systems.

14: Copy vhf-util from where? Also the path 
/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver does not exist on 
the hosts so I am assuming this is on the MS, however the MS already has it 
since it is an upgrade and was put there by the original install.  Or is this a 
new version that needs to be grabbed from somewhere?

Other: earlier versions like 4.1 worked with JDK 1.6 current releases require 
1.7 but the Upgrade doc does not mention that.

--
Issues:

Saw the following in catalina.out, not sure if it is an issues:
Jun 27, 2014 5:28:42 PM org.apache.catalina.loader.WebappClassLoader 
validateJarFile
INFO: 
validateJarFile(/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/servlet-api-2.5-20081211.jar)
 - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
javax/servlet/Servlet.class Jun 27, 2014 5:28:42 PM 
org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: 
validateJarFile(/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/tomcat-embed-core-7.0.30.jar)
 - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
javax/servlet/Servlet.class

Since the above script in step 13 did not work is it ok to do "xe vm-shutdown 
vm=." on each of the system vms?  Will CloudStack notice they are ton and start 
new ones?

Here are my log files (please note I stopped the service prior to capturing 
these logs in case you are wondering):
Management server log: 
https://www.dropbox.com/s/7xhkutt8e724il1/management-server.log
Catalina log: https://www.dropbox.com/s/f45ypkbazhkogyj/catalina.2014-06-27.log