Hi Geoff, When I started playing with Cloudstack a few months back, I was looking to create a vagrant based Cloudstack IaaS for Apache Stratos (PaaS) developers. The journey has been very long, but not completely wasted because it has given me quite a bit of exposure to the Cloudstack codebase and architecture.
With my vagrant+virtualbox+debian+xen environment, I'm able to deploy a devcloud tiny Linux instance, but that's about as far as I have been able to get with Xen and Cloudstack in a virtualbox guest. Creating an instance from a distro ISO is proving to be quite difficult - this is where I was hoping Cloudstack + Qemu would make things easier. A Cloudstack user appliance sounds great! Will you use vagrant, or create standalone virtual machines? Will it be VMware only? Many thanks, Chris On Mon, Apr 7, 2014 at 10:34 AM, Geoff Higginbottom <geoff.higginbot...@shapeblue.com> wrote: > Hi Chris, > > That SQL command is simply to allow you to add a non HVM Xen Host into > CloudStack, so if you have added the host this is your first hurdle overcome. > > The problem is really with VirtualBox and its limitations. For example I > also run XenServer 6.2 test hosts, but running on VMware boxes as VMware > supports nested virtualisation whereas VirtualBox does not. > > We are working on an alternate 'CloudStack Appliance' for our Bootcamps > factoring in the new way Console Proxy access now works (removing reliance on > realhostip.com is actually a help for this type of build) and we may be able > to share that with the community. It's being 'road tested' as colab this week > so assuming its successful, we may be able to share it within the next couple > of weeks. > > Regards > > Geoff Higginbottom > > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 > > geoff.higginbot...@shapeblue.com > > -----Original Message----- > From: chris snow [mailto:chsnow...@gmail.com] > Sent: 07 April 2014 10:16 > To: users@cloudstack.apache.org > Subject: Re: CloudStack on qemu > > Hi Geoff, > > I had run that command, but I still received errors such as VM_HVM_REQUIRED > (from XCP), INVALID_SOURCE [1] and host automatically > rebooting. Some of the issues were probably due to my customised > version of DevCloud [2] and the Xen setup. > > I was hoping that qemu would give me full virtualisation inside virtualbox, > so would eliminate my newbie errors such as creating templates using the > wrong OS Type flag. > > Has there been any discussion within the CloudStack community to provide a > virtualbox/vmware (+vagrant) envrionment that people new to cloudstack can > download and immediately get started playing with a > pre-configured Cloudstack. Maybe, a sister project to DevCloud, > something like UserCloud? I see Simstack [3] has created an environment > using the simulator, but that won't let you play with real instances. > > Many thanks, > > Chris > > --- > [1] [INVALID_SOURCE, Unable to access a required file in the specified > repository: file:///tmp/cdrom-repo-j5Socp/isolinux/vmlinuz., ] [2] > https://github.com/snowch/cloudstack-vagrant-box > [3] https://github.com/runseb/simstack > > On Mon, Apr 7, 2014 at 9:43 AM, Geoff Higginbottom > <geoff.higginbot...@shapeblue.com> wrote: >> Chris, >> >> To use a XenServer which does not have HVM support you need to run >> this command to update the CloudStack DB. Replacing [password] & >> [account] with your MySQL Credentials (this assumes the command is run >> on the local MySQL Server so add -h [IPADDRESS] if running remotely >> etc) >> >> mysql -p[password] [account] -e \ "INSERT INTO cloud.configuration >> (category, instance, component, name, value, description) VALUES >> ('Advanced', 'DEFAULT', 'management-server', 'xen.check.hvm', 'false', >> 'Shoud we allow only the XenServers support HVM');" >> >> We run our CloudStack Bootcamp >> (http://shapeblue.com/cloudstack-training/) on Virtual Box using >> XenServer as the HyperVisor and CloudStack on a CentOS VM, this way we >> get the full feature set of an Advanced Zone including Console Proxy >> etc >> >> Regards >> >> Geoff Higginbottom >> >> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 >> >> geoff.higginbot...@shapeblue.com >> >> -----Original Message----- >> From: chris snow [mailto:chsnow...@gmail.com] >> Sent: 07 April 2014 07:00 >> To: users@cloudstack.apache.org >> Subject: Re: CloudStack on qemu >> >> Yes, I have been using devcloud2 as the basis of building a vagrant box with >> xen and CloudStack. >> On 7 Apr 2014 01:49, "OutBackDingo" <outbackdi...@gmail.com> wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> >>> >>> On 04/06/2014 06:56 PM, chris snow wrote: >>> > I have been trying to get a CloudStack and xen development >>> > environment running inside virtualbox, but xen without hvm doesn't >>> > seem to be straightforward. >>> > >>> > I have seen a post [1] discussing some options for running >>> > CloudStack using qemu instead of xen as the hypervisor, but I'm not >>> > clear on the outcome of the discussion. >>> > >>> > - What is the status of qemu support? >>> > >>> > - Are there any instructions for setting up CloudStack with qemu >>> > instead of kvm? >>> >>> Have you considered trying devcloud2 >>> >>> > >>> > Many thanks, Chris >>> > >>> > --- [1] >>> > http://permalink.gmane.org/gmane.comp.apache.cloudstack.devel/13036 >>> > >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.14 (GNU/Linux) >>> >>> iQEcBAEBAgAGBQJTQfYSAAoJEIDt1R73EZ6RZnMIAI8LBEin2EG3kD7EmuIP3J7O >>> 1ts9nsMNhi96QomNmsb/Dv9YfLSlsvNIhmJJM6zSyKAsDUud7Gq4YcqJ/Z1tNK7H >>> SHjMCvi7QqtZ8HY+Cr2Tjt80wpsaLKay7dlK52ugu3zZNn0Ram6VekgBqMuRMy3T >>> 5mUnxG/LvM75pb9YQdgDIyVtCrCc1I0wbrMlYdJLZ3S7CAdsWE8XMW4jzyYVf9bQ >>> xkLtEDHDmnsIEqvQInNoPU7oG4dDF8kC2tyKaeV5vxOrHgFcEAd/qYau0lzW7WrR >>> 6IVPxVhsbNmKY96tUle1RIzDbxVXqZIUt0pxYdAFEepkg/Nt2ZBX6YETZ3niBDs= >>> =Nm7P >>> -----END PGP SIGNATURE----- >>> >> Need Enterprise Grade Support for Apache CloudStack? >> Our CloudStack Infrastructure >> Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the >> best 24/7 SLA for CloudStack Environments. >> >> Apache CloudStack Bootcamp training courses >> >> **NEW!** CloudStack 4.2.1 >> training<http://shapeblue.com/cloudstack-training/> >> 28th-29th May 2014, Bangalore. >> Classromm<http://shapeblue.com/cloudstack-training/> >> 16th-20th June 2014, Region A. Instructor led, >> On-line<http://shapeblue.com/cloudstack-training/> >> 23rd-27th June 2014, Region B. Instructor led, >> On-line<http://shapeblue.com/cloudstack-training/> >> 15th-20th September 2014, Region A. Instructor led, >> On-line<http://shapeblue.com/cloudstack-training/> >> 22nd-27th September 2014, Region B. Instructor led, >> On-line<http://shapeblue.com/cloudstack-training/> >> 1st-6th December 2014, Region A. Instructor led, >> On-line<http://shapeblue.com/cloudstack-training/> >> 8th-12th December 2014, Region B. Instructor led, >> On-line<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 is a registered >> trademark. > > > > -- > Check out my professional profile and connect with me on LinkedIn. > http://lnkd.in/cw5k69 > 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. -- Check out my professional profile and connect with me on LinkedIn. http://lnkd.in/cw5k69