[gsoc-dev] [Ganeti Web Manager] Setting up Ganeti environment using Vagrant

Lance Albertson lance at osuosl.org
Wed Apr 10 18:20:33 UTC 2013


On Wed, Apr 10, 2013 at 10:04 AM, pranjal mittal
<mittal.pranjal at gmail.com>wrote:

> Yes, that works. But the root user does NOT have the password "oscon".
> (You mentioned  in your tutorial that the debian images have this password,
> what is it for the ubuntu ones)
>

The tutorial you should be using is this one [1]. The passwords should all
be 'vagrant' now. This tutorial at least gives you an idea of how Ganeti
works via the command line.

[1] 
http://www.lancealbertson.com/wp-content/uploads/2012/06/GanetiTutorialPDFSheet.pdf

Also, I would like to know, whether the Ubuntu 12.04 I am running can be a
> part of the cluster, which includes 2 other virtual nodes; or would you
> suggest performing all the actions on the virtual nodes itself.
>

I would run all the actions on the virtual nodes to ensure it works
properly. That environment is intended to act as a reproducible environment
that should work every time.

According to me, one thing peculiar (or rather recursive) about the ganeti
> tuorial you have put up is that NODE's which are actually supposed to be
> physical machines, are VM's and then we try to setup a further cluster on
> these nodes, in which each each Virtual Machine may be utilizing multiple
> "nodes"..
> (VM's indirectly utilizing distributed VM's) (Though this should never
> happen in production, and is just for test?)
> Am I getting this right?
>

This environment is only intended as a way to try out ganeti and help with
ganeti development. Its by no means a normal production environment.
Normally Ganeti runs on physical machines but that's difficult to do for
development, especially for GSoC. So the vagrant environment at least tries
to mimic most of what you need for Ganeti cluster without the need of a lot
of physical hardware. I don't expect the VMs you deploy inside of the
environment to run very fast or be working correctly.


> P.S:
> (Excuse me with these mundane questions, I did not have experience using
> Ganeti before)
> I just wanted to jump in to the Ganeti Web Manager (Django/Python) code,
> but I now presume familiarity with Ganeti first, is important.
>

No problem! I apologize for not having this explained in more detail on
the ideas page or elsewhere. Understanding Ganeti initially can be
daunting. 

-- 
Lance Albertson
Director
Oregon State University | Open Source Lab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/gsoc-dev/attachments/20130410/6302652c/attachment.html>


More information about the gsoc-dev mailing list