Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-18 Thread Asanka sanjaya Herath
603 0540> +442036030540> | M: +447968161581 >> >> geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> >> >> From: Imesh Gunaratne [mailto:im...@apache.org] >> Sent: 18 November 2014 03:10 >> To: users@cloudstack.apache.org >> S

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-18 Thread Asanka sanjaya Herath
30540> | M: +447968161581 > > geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> > > From: Imesh Gunaratne [mailto:im...@apache.org] > Sent: 18 November 2014 03:10 > To: users@cloudstack.apache.org > Subject: Re: The Simplest way to Run CloudStack on Virt

RE: The Simplest way to Run CloudStack on VirtualBox

2014-11-18 Thread Geoff Higginbottom
Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> From: Imesh Gunaratne [mailto:im...@apache.org] Sent: 18 November 2014 03:10 To: users@cloudstack.apache.org Subject: Re: The Simplest way

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-17 Thread Imesh Gunaratne
Hi Ian, I just tried to create an instance with Tiny compute offering and Tiny disk offering and it worked. However I could not ssh into the instance. May be ssh was not configured when I imported the Ubuntu 12.04 ISO into CloudStack. I have few concerns, under System Capacity I can see the follo

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-17 Thread Imesh Gunaratne
Hi Ian, I thought the above error was raised because of limited resources allocated for the XenServer so I increased those by Memory 5 GB and CPUs 8. But I still get the same error: Following is the error I noticed in /var/log/cloudstack/management/management-server.log file: 014-11-18 01:59:14,

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-16 Thread Asanka sanjaya Herath
Hi Imesh, I also had the same issue. I assume that you got insufficient server capacity exception. If so Go to mysql database and navigate to vm_template table. If the hvm flag for your ISO has been set as 1, change it to 0. Then try to create an instance again. Thank you. On Mon, Nov 17, 2014

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-16 Thread Ian Duffy
Thomas, There's different setups here: 1) Basic - You are expected to run the management server on your host machine. Only a MySQL, NFS box is supplied along with a Hypervisor box. 2) Advanced - same as above 3) Binary-installation-basic - Full cloud within a virtual environment 4) Binary-install

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-16 Thread Thomas Munn
Just figured it out. I have go to the 'advanced' directory then run vagrant up! Might want to include that in docs! On Sun, Nov 16, 2014 at 2:50 PM, Thomas Munn wrote: > Can you just attach a 'proper' Vagrant file? I am a little confused what > things are supposed to look like? Might want to inc

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-16 Thread Thomas Munn
Can you just attach a 'proper' Vagrant file? I am a little confused what things are supposed to look like? Might want to include in your GIT repository!!! On Sun, Nov 16, 2014 at 4:37 AM, Ian Duffy wrote: > Great! Thanks for the information Thomas, you have pretty much the same > environment as

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-16 Thread Ian Duffy
Hi Imesh, I'm going to need a lot more logs than that. You should be able to find them in /var/log/cloudstack/management. On 16 November 2014 18:06, Imesh Gunaratne wrote: > Thanks again Ian! Appreciate all the help and information! > > I imported Ubuntu 12.04 64bit iso into the templates and t

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-16 Thread Imesh Gunaratne
Thanks again Ian! Appreciate all the help and information! I imported Ubuntu 12.04 64bit iso into the templates and tried to spawn an instance out of it, here I noticed the below error: Unable to create a deployment for VM[User|VM-dd218219-06c5-4b5e-affb-ae8a6f19f19e] I could find the following

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-16 Thread Ian Duffy
Great! Thanks for the information Thomas, you have pretty much the same environment as myself. Really unsure what is causing the issue. The error suggests its looking for a box labelled base, which is never specified in any of the vagrant files. Can you try something for me? In whatever folder yo

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Thomas Munn
I did do a 'vagrant init' and didn't change anything. On Sun, Nov 16, 2014 at 2:04 AM, Thomas Munn wrote: > I am using brew version of mac. Works fine with other vagrant boxes. > Vagrant 1.6.5 > > OSX Yosemite using brew (osx 10.10) > > Darwin lilly.munnster.com 14.0.0 Darwin Kernel Version 14.0

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Thomas Munn
I am using brew version of mac. Works fine with other vagrant boxes. Vagrant 1.6.5 OSX Yosemite using brew (osx 10.10) Darwin lilly.munnster.com 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64 Virtualbox 4.3.18 Ran your commands, but

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Ian Duffy
Thomas, Can you tell me more about your environment? OS? Vagrant Version? Vagrant plugin versions (onmibus and chef-librarian)? VirtualBox version? The error suggests some issue communicating with vagrant-cloud for downloading the box. On 16 November 2014 06:10, Thomas Munn wrote: > I also tr

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Thomas Munn
I also tried it. I cloned into git, did the bash scripts/vagrant_prep.sh vbox then I did a vagrant init and vagrant up and I get: vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'base' could not be found. Attempting to find and install... default: Box

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Ian Duffy
Great to hear Imesh. If you hit any more issues just shout. Thinks to keep in mind Devcloud runs VMs in PV mode. When you upload an ISO it will be registered as hvm only. There's a HVM flag in the DB under the templates table you can flick to 0 so it boots on PV. Ubuntu will install no proble

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Ian Duffy
Thomas all changes were pushed into the devcloud4 master. On 16 Nov 2014 01:06, "Thomas Munn" wrote: > What is the URL for the new branch? > > Sent from my iPad > > > On Nov 15, 2014, at 17:44, Ian Duffy wrote: > > > > That almost looks like a vagrant-omnibus book 11.16.0 is a valid > > vers

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Imesh Gunaratne
Hi Ian, Great! It worked! The vagrant binary advanced installation completed succefully and I was able to access the CloudStack client without any problem. It has also executed the deployment configuration with Marvin successfully. Thank you very much for your help! I'm now going to create an Ubu

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Imesh Gunaratne
Hi Ian, Thanks for the quick response, I just started a new installation with your latest changes. Will let you know the status soon. Appreciate it. Many Thanks On Sun, Nov 16, 2014 at 6:35 AM, Thomas Munn wrote: > What is the URL for the new branch? > > Sent from my iPad > > > On Nov 15, 2014

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Thomas Munn
What is the URL for the new branch? Sent from my iPad > On Nov 15, 2014, at 17:44, Ian Duffy wrote: > > That almost looks like a vagrant-omnibus book 11.16.0 is a valid > version. > > Anyways, I've changed it to use :latest. > > Can you do a git pull again? Should hopefully fix it. > > M

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Ian Duffy
That almost looks like a vagrant-omnibus book 11.16.0 is a valid version. Anyways, I've changed it to use :latest. Can you do a git pull again? Should hopefully fix it. My testing just finished, It worked successfully with the earlier changes. On 15 November 2014 22:08, Imesh Gunaratne wro

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Imesh Gunaratne
Hi Ian, I got your fix and did another test, I see the below error with the latest changes: ==> management: Machine booted and ready! ==> management: Checking for guest additions in VM... ==> management: Configuring and enabling network interfaces... ==> management: Mounting shared folders...

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Imesh Gunaratne
Great thanks Ian, will do a vagrant destroy, vagrant up now. Thanks On Sun, Nov 16, 2014 at 3:24 AM, Ian Duffy wrote: > > No problem at all, I really appreciate your help on this. > > No worries, the breaks are my fault. I often forget how many linking > dependencies are involved with devcloud.

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Ian Duffy
> No problem at all, I really appreciate your help on this. No worries, the breaks are my fault. I often forget how many linking dependencies are involved with devcloud. I'm after pushing a fix for the marvin issue, you can do a git pull and try do a vagrant destroy vagrant up if you wish. I'm te

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Imesh Gunaratne
Hi Ian, No problem at all, I really appreciate your help on this. Asanka: I tried your instructions but the marvin deploy command fails with the following: 2014-11-15 21:43:39,438 - DEBUG - Parsing Test data successful 2014-11-15 21:43:39,438 - DEBUG - Payload: {'account': 'admin', 'command': 'l

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Ian Duffy
Hi Imesh, Sorry about that. I've moved some things around recently. I will push out a fix for that. On 15 November 2014 21:27, Asanka sanjaya Herath wrote: > Hi Imesh, > > If the management server is up, I think you don't need to run 'vagrant up' > command again. So try follow these steps. > >

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Asanka sanjaya Herath
Hi Imesh, If the management server is up, I think you don't need to run 'vagrant up' command again. So try follow these steps. 1. Find the Marvin-0.1.0.tar.gz from a locally build repository of cloudstack. 2. Run this command. "pip install Marvin-0.1.0.tar.gz" 3. Change IPs in advanced/advanced.j

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Imesh Gunaratne
Hi Ian, Great! Thanks! Your suggestion worked, the advance binary installation went much far afterwards. Now I can see the below error, seems like the marvin tar is not there at the below link: http://ianduffy.ie/Marvin-0.1.0.tar.gz ==> management: [2014-11-15T19:26:55+00:00] INFO: template[/etc

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Ian Duffy
Hi Imesh, Yes use 192.168.22.1 - 192.168.24.1. Sorry I meant to add a /24 prefix in on my original email. On 15 November 2014 18:16, Imesh Gunaratne wrote: > Hi Ian, > > Thanks again for the quick feedback. Yes it was my fault, I have used some > other IPv4 addresses in hostonly vboxnet adapter

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Imesh Gunaratne
Hi Ian, Thanks again for the quick feedback. Yes it was my fault, I have used some other IPv4 addresses in hostonly vboxnet adapters. I just started another test with the ones you have mentioned. Just to clarify, the README file in the devcloud4 says to set these values to 192.168.22.1 - 192.168.

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-15 Thread Ian Duffy
Hi Imesh, That almost looks like a possible issue with the vboxnet adapters. Can you confirm you have 3 host only adapters assigned 192.168.22.0 - 192.168.24.0 with dhcp disabled on each? On 15 Nov 2014 02:19, "Imesh Gunaratne" wrote: > Hi Ian, > > Thanks for your quick response. This is the iss

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-14 Thread Imesh Gunaratne
Hi Ian, Thanks for your quick response. This is the issue I encountered when I executed devcloud4 (binary-installation-advanced): ==> management: [2014-11-15T02:09:23+00:00] INFO: Running queued delayed notifications before re-raising exception ==> management: [2014-11-15T02:09:23+00:00] ERROR: R

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-14 Thread Ian Duffy
Hi, I can help you get devcloud up. What issues did you have? On 14 Nov 2014 04:40, "Imesh Gunaratne" wrote: > Hi All, > > We recently introduced CloudStack support in Apache Stratos and trying to > figureout the best way to demonstrate this. > > Really appreciate if you could guide us on the si

Re: The Simplest way to Run CloudStack on VirtualBox

2014-11-13 Thread tejas . sheth
/14/2014 09:58 AM Subject:The Simplest way to Run CloudStack on VirtualBox Hi All, We recently introduced CloudStack support in Apache Stratos and trying to figureout the best way to demonstrate this. Really appreciate if you could guide us on the simplest way to install CloudStack on

The Simplest way to Run CloudStack on VirtualBox

2014-11-13 Thread Imesh Gunaratne
Hi All, We recently introduced CloudStack support in Apache Stratos and trying to figureout the best way to demonstrate this. Really appreciate if you could guide us on the simplest way to install CloudStack on VirtualBox (may be using Vagrant)? We tried following but did not work perfectly: - h