Statistics
| Branch: | Tag: | Revision:

root @ b212bf8b

# Date Author Comment
b212bf8b 08/21/2007 11:39 am Iustin Pop

Rename installing.sgml to install.sgml

This is more in line with the other document names.

Also, change the title to simply "Ganeti installation tutorial".

Reviewed-by: ultrotter

5cd0d9c0 08/20/2007 05:43 pm Iustin Pop

Add information about installing from source.

In case one installs from source, make, tar and gzip are also needed. tar and
gzip are almost always installed, but make not, so let's add a note about that.

Also remove a '>' in the apt-get install example so copy-paste works....

3899870e 08/20/2007 04:27 pm Iustin Pop

Disable hashing of the ssh keys.

In case we use StrictHostKeyChecking=ask, also add HashKnownHosts=no so that
debugging is easier. The nodes to which we are connecting are anyway visible in
/etc/ssh/ssh_known_hosts.

644eeef9 08/20/2007 03:17 pm Iustin Pop

Add support for listing instance disk sizes.

Reviewed-by: imsnah

a02bc76e 08/20/2007 02:29 pm Iustin Pop

A CheckPrereq method had one unconverted "return 1" statement. Change it to the
appropriate raise.

Reviewed-by: imsnah

ce482672 08/20/2007 11:21 am Iustin Pop

Add ganeti-master to sbin_SCRIPTS

This was forgotten when the init script was changed.

Reviewed-by: imsnah

16be8703 08/17/2007 12:14 pm Iustin Pop

Change cli.OutputTable to cli.GenerateTable

Since the table generation might be useful elsewhere, let's change it to
return the data instead of directly printing it.

Its callers have also been updated.

Reviewed-by: imsnah

1005b0c1 08/16/2007 06:23 pm Iustin Pop

Another documentation update.

This removes the section on packages from installing.sgml (until we have
packages) and adds/corrects informations about using the startup script.

It also adds notes about the ``--master-netdev`` option, which one needs
to use if the node doesn't have an interface named xen-br0 (or if it's...

8925faaa 08/16/2007 06:13 pm Iustin Pop

Some small fixes.

It fixes the main Makefile.am to create $localstatedir/{lib,log}/ganeti.
It fixes the testing Makefile.am after the rename fake_config.py ->
mocks.py. It strips the output of "ip link show" to have a nicer output
if the master netdev does not exist.

a7a19281 08/16/2007 04:06 pm Iustin Pop

Documentation updates.

This changes installing.sgml, adding details about required software and
OS instances. It also updates INSTALL and README to correspond with the
sgml manual.

Reviewed-by: ultrotter

5d6dd340 08/15/2007 06:15 pm Iustin Pop

Some changes to the installation manual.

The biggest change is that at configure time one must specify
--localstatedir=/var since the directories for ganeti (/var/log/ganeti,
/var/lib/ganeti) must be located here.

Reviewed-by: ultrotter

3ecf6786 08/14/2007 06:17 pm Iustin Pop

Style changes for pep-8 and python-3000 compliance.

This changes the raising of exceptions from:
raise Exception, value
to
raise Exception(value)

as the first form will be removed in python-3000 and the second form is
preferred now.

The changes also involve a few cases of changing from raising standard...

5c947f38 08/08/2007 12:37 pm Iustin Pop

Implement tag support for cluster, nodes and instances.

This is only the backend part, from the command line the tags can't be
read/modified yet.

Reviewed-by: imsnah

37d19eb2 08/06/2007 02:26 pm Michael Hanselmann

Don't bail out if node isn't there on “gnt-node volumes”.

Reviewed-by: iustinp

e00fb268 08/03/2007 06:04 pm Iustin Pop

Prepare for the tags implementation:
- add an Update method on the ConfigWriter class;
- make the AddInstance method not log disks for diskless types (helps with testing)
- implement limited testing for the ConfigWriter with focus on the new Update method

c2a62a33 08/03/2007 04:54 pm Michael Hanselmann

Import constants into gnt-cluster.

Reviewed-by: iustinp

fee9556c 08/03/2007 03:51 pm Iustin Pop

Re-stat the config file when we write it so that the next _OpenConfig()
won't reread it if not modified by someone else.

a0c3fea1 08/03/2007 03:35 pm Michael Hanselmann

Add instance name to LVM volume as a tag.

Reviewed-by: iustinp

62779dd0 08/03/2007 02:03 pm Iustin Pop

Implement a standard way of getting the cluster object from the
configuration.

Reviewed-by: imsnah

923b1523 08/03/2007 12:57 pm Iustin Pop

Change logival volume names to not be based on the instance's name, but
instead use an UUID prefix and a suffix denoting the disk iv_name
(sda/sdb) and possibly it's type (data/meta).

Reviewed-by: imsnah

e31c43f7 08/03/2007 12:18 pm Michael Hanselmann

Put synchronization speed into constant.

Reviewed-by: iustinp

a5d17f9f 08/03/2007 12:08 pm Michael Hanselmann

- Check for docbook2man and print warning if it's not there
- Cleanup

Reviewed-by: iustinp

4aae7c5a 08/03/2007 12:05 pm Michael Hanselmann

Update svn:ignore.

Reviewed-by: iustinp

53b78ba4 08/03/2007 01:04 am Guido Trotter

Add disk template information to the admin manual
Add warning about avoiding xm commands for instance creation
Also fix a man page reference in installing.sgml to use the docbook format

Reviewed-By: iustinp

60edf71e 08/02/2007 07:40 pm Michael Hanselmann

Implement --dry-run for cfgupgrade.

Reviewed-by: iustinp

cf62a272 08/02/2007 06:54 pm Michael Hanselmann

Put default bridge into constant.

Reviewed-by: iustinp

0006af7d 08/02/2007 04:45 pm Michael Hanselmann

Add configuration upgrade utility.

Reviewed-by: iustinp

47c28c5b 08/02/2007 03:51 pm Michael Hanselmann

Implement setitem for ConfigObject to add container protocol compatibility.

6bf0c9bb 08/02/2007 03:50 pm Guido Trotter

Add the ganeti admin manual
Refer to the glossary from the installing guide

Reviewed-By: iustinp

bdb8c997 08/02/2007 12:41 pm Guido Trotter

Fix a function's doc string

Reviewed-By: iustinp

f1a808df 07/30/2007 05:30 pm Guido Trotter

Ganeti installation tutorial

Reviewed-By: iustinp, imsnah

ecb215b5 07/30/2007 03:40 pm Michael Hanselmann

Fix issues reported by pylint.

Reviewed-by: iustinp

606d909d 07/27/2007 04:26 pm Michael Hanselmann

Use OutputTable for “gnt-os list”.

Reviewed-by: iustinp

396e1b78 07/27/2007 03:28 pm Michael Hanselmann

Unify environment variables for instance related hooks.

Reviewed-by: iustinp

db915bd1 07/27/2007 01:00 pm Michael Hanselmann

Check for instances on “gnt-cluster destroy”.

Reviewed-by: iustinp

739ecd56 07/27/2007 12:34 pm Michael Hanselmann

Remove defectiv comma.

Reviewed-by: iustinp

d0834de3 07/27/2007 12:05 pm Michael Hanselmann

- Implement “gnt-instance reinstall --os-type=…”
- Add the command to gnt-instance.sgml

Reviewed-by: iustinp

59322403 07/27/2007 11:15 am Iustin Pop

Fix the "gnt-cluster getmaster" command by making the LuQueryClusterInfo
runnable on non-master nodes (and remove the list of instances and nodes
returned by it, that information can be retrieved by other opcodes).

Also, remove the node/instance list from "gnt-cluster info" as it...

5fcdc80d 07/27/2007 10:41 am Iustin Pop

Move the cluster name from ConfigWriter to SimpleStore.

Reason: if left ConfigWriter, nodes don't know to which cluster they belong.
This will bite us later when we'll revisit node join operation.

Cons: we lose the cluster name from the config file, which means a...

fe7b0351 07/26/2007 07:09 pm Michael Hanselmann

- Move --force option to cli.py
- Implement “gnt-instance reinstall”
- Fix two typos

Reviewed-by: iustinp

330cda58 07/26/2007 06:26 pm Michael Hanselmann

Don't pass master_node

Reviewed-by: iustinp

098c0958 07/26/2007 02:40 pm Michael Hanselmann

Comment formatting updates.

Reviewed-by: iustinp

b2fddf63 07/26/2007 11:48 am Iustin Pop

The master_node is no longer stored in the config file (but in sstore)
and all users have been converted, let's remove it from the slots of the
cluster object.

Also let's move the tcpudp_port_pool to the cluster object.

Reviewed-by: imsnah

264bb3c5 07/25/2007 07:16 pm Michael Hanselmann

Get ports from configuration if there are some.

Reviewed-by: iustinp

821afb13 07/25/2007 04:34 pm Iustin Pop

It seems the _CheckNodesDirs function is no longer used. Let's remove it.

cb91d46e 07/25/2007 02:46 pm Iustin Pop

Since the watcher can run on all nodes, let's get rid of the cron file
handling, as it can be static and outside of ganeti.

This also means we can get rid of a lot of infrastructure too:
- the master/node config files checkers
- one rpc function

ee7d831d 07/25/2007 01:27 pm Michael Hanselmann

Update for the new tests.

e9e35aaa 07/25/2007 01:12 pm Michael Hanselmann

- Use new --master-netdev parameter on gnt-cluster init
- Split up info tests and add more of them
- Replace map() by [x for x in y]

Reviewed-by: iustinp

033b7b64 07/25/2007 12:44 pm Michael Hanselmann

Implement “cd /” and “cd” to get to the root directory.

Reviewed-by: iustinp

38242904 07/25/2007 11:05 am Iustin Pop

Make the ganeti-watcher exit gracefully if it's not run on the master.

Reviewed-by: imsnah

83120a01 07/24/2007 05:10 pm Michael Hanselmann

Add description, fix indentation.

Reviewed-by: iustinp

588d1da3 07/24/2007 04:43 pm Michael Hanselmann

Fix parameter formatting.

Reviewed-by: iustinp

28cc354f 07/24/2007 04:29 pm Iustin Pop

Add small security considerations file.

Reviewed-by: imsnah

137161c9 07/24/2007 04:29 pm Michael Hanselmann

Use generic function to output tables.

Reviewed-by: iustinp

9bd7f742 07/24/2007 03:18 pm Iustin Pop

Update the init script to start both the node daemon and the master.

Reviewed-by: imsnah

dcb93971 07/24/2007 02:45 pm Michael Hanselmann

- Implement “gnt-node volumes”
- Create all --output options using a constant
- Put node checking code from opcodes into a single function
- Do the same for output fields

Reviewed-by: iustinp

880478f8 07/23/2007 05:38 pm Iustin Pop

Big change/cleanup in relation to the master startup:
- move the master node name from the ConfigWriter to SimpleStore (all
nodes need this, and it was the only thing pulled in from the
ConfigWriter on nodes)
- fix mcpu.py and the testing w.r.t. this change; for testing, rename...

5b7b5d49 07/23/2007 03:14 pm Guido Trotter

Do the secondary check and subsequently allocate the drive on all available
logival volumes. This lets you use more than one when none of them can support
your full drive size.

Reviewed-By: iustinp

191a8385 07/23/2007 02:33 pm Guido Trotter

Fix a typo in an error message, and actually pass it its parameters.

Reviewed-By: imsnah

d0b3526f 07/23/2007 01:27 pm Michael Hanselmann

Output instance name in error message instead of object representation.

Reviewed-by: iustinp

79f7be7b 07/23/2007 11:53 am Iustin Pop

Fix small typo.

Reviewed-by: imsnah

dd4b1106 07/23/2007 10:45 am Iustin Pop

Add the gnt-backup script and man-pages.

Reviewed-by: imsnah

dbdfdaf2 07/23/2007 10:44 am Michael Hanselmann

Update svn:ignore

72d6c464 07/23/2007 10:44 am Michael Hanselmann

Fix calls to _GenerateMDDRBDBranch.

Reviewed-by: iustinp

6f11f250 07/23/2007 10:43 am Michael Hanselmann

Allow default bridge to be configured.

Reviewed-by: iustinp

7e84d392 07/23/2007 10:43 am Michael Hanselmann

- Describe b option for "gnt-cluster init"
Fix typo

3a7c308e 07/19/2007 05:41 pm Guido Trotter

Check for memory size requirements before failing over an instance.

Reviewed-By: iustinp

16ebf761 07/19/2007 04:58 pm Iustin Pop

Rename the config dir to autotools

ed1ebc60 07/19/2007 03:08 pm Guido Trotter

Implement space requirement checking before creating/importing an instance.

Reviewed-By: iustinp

afbc6d8e 07/19/2007 03:01 pm Michael Hanselmann

Ignore *.pyc.

c9f24aca 07/19/2007 02:40 pm Michael Hanselmann

Ignore automatically generated files.

8e4c1ae2 07/18/2007 06:54 pm Michael Hanselmann

Move files

b903da6e 07/18/2007 06:52 pm Michael Hanselmann

Add new directories.

3c9a0742 07/18/2007 03:07 pm Michael Hanselmann

Replace tabs with spaces.

Reviewed-by: iustinp

9f13fc7a 07/18/2007 02:55 pm Iustin Pop

Fix burnin - when removed from cmdlib, it lost locking functionality.

Also improve the burnin by doing an optional replace-disks.

bd785ecd 07/18/2007 12:44 pm Michael Hanselmann

Fix casings of program names, add URLs, add info about PyYAML.

Reviewed-by: iustinp

47cdf8b9 07/18/2007 11:38 am Michael Hanselmann

Add autogen.bash, move some files to config/

7f2778e7 07/17/2007 03:50 pm Alexander Schreiber

added drbd to list of requirements listed in INSTALL file

Reviewed-by: iustinp

a8083063 07/16/2007 04:39 pm Iustin Pop

Initial commit.

676f2b54 07/16/2007 03:29 pm Iustin Pop

Create ganeti dir under trunk