Statistics
| Branch: | Tag: | Revision:

root / doc @ 1e82bc80

# Date Author Comment
1e82bc80 08/11/2009 05:05 pm Michael Hanselmann

rapi: Add /2/nodes/[node_name]/storage/modify resource

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

7a95a954 08/11/2009 02:55 pm Michael Hanselmann

rapi: Add /2/nodes/[node_name]/storage resource

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

9164cec9 08/10/2009 06:12 pm Guido Trotter

init script: handle ganeti-confd as well

Adding ganeti-confd to the example init script. The daemon itself will
only start on master candidates, but the init script can just try to
start it on all nodes.

Signed-off-by: Guido Trotter <>...

4dfac6af 08/08/2009 09:57 am Guido Trotter

design-2.1: Change OS Flavours with OS Variants

This is the terminology used by libvirt, it's shorter, clearer, and it
makes sense. :)

Also the final sentence about "possible futures" is changed to be a bit
more clear.

Signed-off-by: Guido Trotter <>...

a9407509 08/07/2009 02:08 pm Guido Trotter

design-2.1: detail confd wire protocol

Until now it was being kept too vague, so here we give some real
examples of how things are going to be.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

0f18ee6d 08/07/2009 12:08 pm Guido Trotter

pyinotify: configure checks and documentation

After 74d519e3b91845a17ae095eb7d58dd9e3d1303e8 Ganeti depends on
pyinotify. Updating the documentation accordingly and checking for its
presence at configure time.

Signed-off-by: Guido Trotter <>...

395aa879 08/03/2009 05:28 pm Michael Hanselmann

Add automated disk repair changes to design doc

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

1c482bab 07/31/2009 02:31 pm Michael Hanselmann

rapi: Add /2/nodes/[node_name]/migrate resource

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

73452f12 07/30/2009 02:02 pm Michael Hanselmann

rapi: Add /2/[node_name]/evacuate resource

This can be used to evacuate a node.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

a392a6b8 07/30/2009 12:41 pm Michael Hanselmann

Add information about storage units framework

This updates the 2.1 design document with storage units framework information.

Signed-off-by: Iustin Pop <>
Signed-off-by: Michael Hanselmann <>
Reviewed-by: Michael Hanselmann <>

775c6d3e 07/24/2009 03:01 pm Guido Trotter

Merge branch 'next' into branch-2.1

  • next:
    lvmstrap: Change diskinfo to use GenerateTable
    Get rid of constants.RAPI_ENABLE
    Remove references to utils.debug
    ganeti-rapi, replace hardcoded exit value
    Add the bind-address option to ganeti-rapi
    noded: Abstract hard-coded sys.exit value...
7ffc5a86 07/22/2009 08:52 pm Michael Hanselmann

Add new opcode to evacuate nodes

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

93db3d8f 07/22/2009 04:13 pm Guido Trotter

Add an example "ethers" hook

This hook can be used to update /etc/ethers with instance's mac
addresses. A dhcp server on the nodes can then serve to the instances
their correct address. (This has been tested with dnsmasq's dhcp
implementation)

Signed-off-by: Guido Trotter <>

c0446a46 07/22/2009 12:52 am Guido Trotter

ganeti-confd design doc

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

6839a874 07/17/2009 06:31 pm Michael Hanselmann

Merge commit 'origin/next' into branch-2.1

  • commit 'origin/next':
    ganeti.initd: Pass $*_ARGS to programs when restarting them
7f5e61b4 07/17/2009 06:23 pm Michael Hanselmann

ganeti.initd: Pass $*_ARGS to programs when restarting them

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

00b66530 07/16/2009 04:34 pm Guido Trotter

design-2.1: Update OS Flavours section

This reflects a discussion we had, according to which the full
"parameters" implementation is too heavy weight for 2.1, and we should
have a partial version for now, and decide again later.

Signed-off-by: Guido Trotter <>...

64dae8fc 07/13/2009 05:59 pm Michael Hanselmann

rapi: Implement /2/nodes/[node_name]/role resource

This resource can be used to retrieve and set the role of a node.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

3427d34f 07/13/2009 05:58 pm Michael Hanselmann

rapi: Add generic “force” parameter

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

2f7140ba 07/08/2009 12:28 pm Guido Trotter

Merge branch 'next' into branch-2.1

  • next:
    Create a new --no-voting option for masterfailover
    ganeti-masterd: allow non-interactive --no-voting
    Fix pylint warnings
    Add custom pylintrc
    bootstrap: Don't leak file descriptor when generating SSL certificate...
5bbd3f7f 07/07/2009 03:51 pm Michael Hanselmann

Fix some typos

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

2cad4b91 06/19/2009 04:40 pm Iustin Pop

Update RAPI docs for the dry-run mode

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

3bd3d643 06/18/2009 12:51 pm Iustin Pop

Document iallocator proposed improvements

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

bff04b1b 06/04/2009 04:17 pm Guido Trotter

2.1 design: non bridged instances support

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

76bb661b 06/04/2009 03:28 pm Guido Trotter

2.1 design: disk/net parameters

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

c8e0a534 05/21/2009 04:06 pm Iustin Pop

Doc fixes for RAPI

After moving the documentation from the .py files to .rst, we had some
cleanups to do.

This fixes the formatting of the comments, improves them a little, and
removes deprecated info (DOC_URI) from the python source.

Signed-off-by: Iustin Pop <>...

c1be3f59 05/20/2009 04:16 pm Guido Trotter

Merge branch 'master' into branch-2.1

f226f085 05/20/2009 04:14 pm Guido Trotter

Merge branch 'master' into next

Signed-off-by: Guido Trotter <>

622533d5 05/19/2009 04:43 pm Iustin Pop

Merge commit 'origin/next' into branch-2.1

  • commit 'origin/next': (25 commits)
    Move more hypervisor strings into constants
    Add -H/-B startup parameters to gnt-instance
    call_instance_start: add optional hv/be parameters
    Fix gnt-job list argument handling...
5b18ff3b 05/14/2009 08:17 pm Guido Trotter

2.1 design: add VNC console password changes

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

b6cc971c 05/14/2009 08:17 pm Guido Trotter

2.1 design: OS parameters

Initial design for the OS parameter changes proposed for 2.1.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

d1268971 05/14/2009 02:11 pm Guido Trotter

2.1 design: propose redistribute config changes

This patch proposes a mini-design to improve redistribute-config and
integrate it better with other logical units.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

587ff6fa 05/13/2009 01:52 pm Guido Trotter

Specify another type of core changes

If a change modifies the way all/most LUs work it should also be
considered core.

Signed-off-by: Guido Trotter <>

fd07c6b3 05/12/2009 02:31 pm Iustin Pop

Some small doc updates

We change some formatting to sphinx-specific, to show how the
documentation can be improved.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

e2078d28 05/12/2009 02:31 pm Iustin Pop

Move the glossary to a separate file

Currently we have an insignificant glossary at the end of the design-2.0
document. This patch moves it to a separate file with the goal that it
will grow and all files can refer to it.

Signed-off-by: Iustin Pop <>...

d17e74b4 05/12/2009 02:29 pm Iustin Pop

Switch the documentation to sphinx

This big patch converts the documentation build system to sphinx
(http://sphinx.pocoo.org/). Since that uses reStructuredText sources
too, there is no change (yet) in the documents themselves, just in the
build system.
...

6d81475c 05/12/2009 02:28 pm Iustin Pop

Convert from auto-generated RAPI docs to static

This patch removes the autogeneration of the RAPI docs from the code
(based on docstrings) and moves the current autogenerated output to
the rapi.rst file.

The reasons behind this are multiple:
- the build system becomes a little more simple (this could have been...

4fb301b5 05/10/2009 12:27 am Tim Boring

Minor patch to rapi documentation

Minor patch to clarify the URL necessary for accessing the RAPI.

Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

82a1c938 05/06/2009 01:36 pm Guido Trotter

Add initial 2.1 design doc

This document contains a skeleton for the 2.1 design process.
For now it just has introductory paragraphs and a structure for the
various areas' design, but some sections still don't have a text, as
we're still in the early design phases....

2e159315 05/06/2009 10:50 am Guido Trotter

Pass optional arguments to the daemons

These can be set in the defaults file, default to no arguments being
passed, and make it easy for local installation to customize the way the
ganeti daemons are called.

Signed-off-by: Guido Trotter <>...

a533e975 05/06/2009 10:49 am Guido Trotter

ganeti.initd: include defaults file, if present

In the example init script we'll execute an optional defaults file to
make it easier to add local customizations to the ganeti startup.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin <>

84d6ea9b 05/06/2009 10:46 am Guido Trotter

Fix ;; indentation in the main initd loop

Currently two of the ;; ending the case bodies are not indented with
anything. Reindent all of them to the body of the loop, as it's done
somewhere else in the init script.

Signed-off-by: Guido Trotter <>...

949bdabe 04/15/2009 02:11 pm Iustin Pop

A bunch of doc and other small fixes

This patch adds a couple of both externally and internally reported
issues:
- missing SGML tags (Issue 54), report and patch by superdupont
- wrong variable used in the init.d script, report and patch by
Karsten Keil <>...

e0eb13de 03/12/2009 01:54 pm Iustin Pop

Add the 2.0-specific node flags to the design doc

This patch adds the newly-introduced node flags to the design document,
as they currently are missing from there.

The patch also reduces the TOC depth to 3, as it was too big.

Reviewed-by: ultrotter

75615bd3 03/04/2009 12:13 pm Iustin Pop

Fix bash completion for cluster copyfile/command

“copyfile” takes a file argument, so we enable file-completion for it.
“gnt-cluster command” takes a command, so we enable command completion.

Reviewed-by: imsnah

35e994e9 03/02/2009 02:19 pm Iustin Pop

Export tags to cluster verify hooks

This patch export the cluster and node tags to the cluster verify hook
scripts. The tags are exported as a space-separated list, which allows
easy parsing from the shell (e.g. “for tag in $GANETI_CLUSTER_TAGS; do
...”) and therefore requires the previous “Don't allow spaces in tag...

77031881 03/02/2009 02:18 pm Iustin Pop

Update the iallocator documentation

This updates the iallocator documentation to 2.0, bumps up the
iallocator version (and moves a constants to lib/constants.py), and
fixes a style on install.rst.

Reviewed-by: ultrotter

b806661b 03/02/2009 11:51 am Iustin Pop

A doc update and a small indentation fix

This adds a small paragraph about the “master” role of a node, and fixes
a wrong indentation in the bash completion file.

Reviewed-by: imsnah

4352bf6d 02/27/2009 03:06 pm Iustin Pop

Convert the RAPI document to restructured text

This patch changes the RAPI document, and the RAPI resources
autogenerated-documentation to restructured text. This meant changing
the autogen tool.

The new fragment can be included via RST directives, and doesn't need...

28e15341 02/27/2009 12:38 pm Iustin Pop

Convert the install document to restructured text.

This switches back to the hardcoding of the version number, as we don't
yet have a wrapper for rst files that passes them through
replace-sed-vars.

Reviewed-by: imsnah

e2a2a2eb 02/26/2009 06:11 pm Iustin Pop

Add bash-completion rules

This is a not-complete bash completion file for ganeti commands (gnt-*)
and the burnin tool. It is based on previous work by Minghua Ye
<> for Ganeti 1.1, which wasn't used because the
lack of ssconf keys (which allow easy inspection by the shell of the...

4d6443f4 02/25/2009 01:24 pm Iustin Pop

Convert the hooks document to restructured text

This also updates the hooks document to 2.0.

Reviewed-by: ultrotter

876860a3 02/24/2009 03:57 pm Iustin Pop

Convert iallocator.sgml to restructured text

This is a no-contents change, this doc will need update to conform to
2.0 message contents (and also the code will need increase to version 2
of the iallocator protocol).

Reviewed-by: imsnah

ffa6869f 02/24/2009 03:56 pm Iustin Pop

Convert the admin guide to restructured text

The RST format holds a little bit less information, as all the <file
class="directory"> and <userinput> tags are gone, however we're not
really losing important context here. And it's way easier to read and
update....

5c562aa4 02/20/2009 12:45 pm Guido Trotter

dumb-allocator: avoid allocating on drained nodes

This was forgotten when drained nodes were added.

Reviewed-by: iustinp

36e23a40 02/17/2009 02:43 pm Iustin Pop

Update the install and admin documents

This is not a real update, just a quick pass changing the obvious parts.

Reviewed-by: imsnah

bf4a90af 02/13/2009 06:17 pm Iustin Pop

RAPI: documentation updates

This patch fixes the version and does some update to the RAPI resources
docs.

Reviewed-by: imsnah

7d26425f 02/10/2009 04:46 pm Iustin Pop

dumb allocator: do not use drained nodes

This patch changes the dumb allocator not to use drained nodes (similar
to offline nodes).

Reviewed-by: imsnah

e10a3aea 02/05/2009 04:08 pm Iustin Pop

Small improvement to the init.d example file

The start_action function is changed so that it can be called with
arguments - this could be used to parse a defaults file, etc.

Reviewed-by: imsnah

4e5a68f8 01/29/2009 05:03 pm Oleksiy Mishchenko

RAPI: rlib1 removal

The resources we still need moved to rlib2.

Reviewed-by: iustinp

9939547b 01/23/2009 03:33 pm Iustin Pop

Fix batcher for 2.0-style disks and nics

This patch fixes the gnt-instance batch-create command, and in doing so
also slightly changes two other functions:
- we change utils.ParseUnit so that it accepts integer values also
(both ParseUnit(5) and ParseUnit("5") return the same value)...

1325da74 01/23/2009 02:36 pm Iustin Pop

Make iallocator work with offline nodes

This patch changes the iallocator framework to work with and properly
export to plugins offline nodes. It does this by only exporting the
static configuration data for those nodes, and not attempting to parse
the runtime data....

ec17d09c 11/21/2008 12:46 pm Michael Hanselmann

Get rid of node daemon password

With the new SSL client certificate stuff it's no longer needed.

Reviewed-by: iustinp

6c2d0b44 11/17/2008 01:30 pm Iustin Pop

More updates to the documentation

This patch removes the client-api.txt document (since it's obsoleted by
the documentation inside the design-2.0.rst document) and adds many
updates to the latter.

Reviewed-by: imsnah

f86e82ef 11/16/2008 08:24 am Iustin Pop

Add a cluster architecture diagram

This adds a simple diagram for the cluster architecture and also adds a
dependency on graphviz (both doc and in configure).

Reviewed-by: imsnah

5c0c1eeb 11/16/2008 08:24 am Iustin Pop

Combine the 2.0 design documents into one

This patch combines all the design documents for 2.0 except the
security one into a single document, in order to ease reading and reduce
duplication of information.

Future patches will start removing wrong pointers to old document names...

ef79eb82 10/24/2008 06:23 pm Guido Trotter

design-2.0-os-interface: update import/export

In the end we ended up taking a slightly different approach for
import/export than the one discussed in the design doc, after
trying/talking about a few more alternatives. Document this in the
document.

Reviewed-by: iustinp

16653425 10/21/2008 04:02 pm Iustin Pop

Fix whitespace-at-EOL

Please configure your editors to strip it, or enable your git hooks...

Reviewed-by: ultrotter

c5e2d3b9 10/16/2008 07:38 pm Guido Trotter

design-2.0-cluster-parameters: escape final _

In rst a final _ is used for linking. Escaping it prevents an error at
compile time on design-2.0-cluster-parameters.rst

Reviewed-by: iustinp

29fc6636 10/16/2008 04:35 pm Guido Trotter

OS Design: invert new and old name

Internally in ganeti we already have renamed the instance, so it's
better to pass the new name in INSTANCE_NAME and the old one in
OLD_INSTANCE_NAME rather than the old name in INSTANCE_NAME and the new
one in NEW_INSTANCE_NAME as this reflects what the cluster thinks....

10799c59 10/16/2008 11:37 am René Nussbaumer

Provide example for backend parameters

Update the design about cluster parameters and provide
some example of backend parameters. By now this includes
all supported parameters.

Reviewed-by: iustinp, ultrotter

2d8ed1fe 10/13/2008 03:15 pm Iustin Pop

Some small typos on design docs

Reviewed-by: imsnah

ca8ac26a 10/13/2008 12:19 pm Iustin Pop

Update the cluster parameters design doc

As discussed, we update the design doc with the three classes of
parameters and other changes.

Reviewed-by: imsnah

e9f242e4 10/10/2008 06:12 pm Iustin Pop

Some updates on the job queue design doc

This clarifies the job storage and the reason for choosing it.

Reviewed-by: imsnah

93c4f7f1 10/10/2008 12:55 pm René Nussbaumer

Update design-2.0-job-queue to reflect changes

With change 1773 a new status WAITLOCK was introduced if a job/opcode is
waiting for a lock. This change updates the document about the job-queue
accordingly.

Reviewed-by: iustinp

c2b05d85 10/09/2008 02:13 am Alexander Schreiber

Update documentation & man pages for changed hypervisor names.

Reviewed-by: imsnah

c63b161a 10/08/2008 05:41 pm Alexander Schreiber

Shorten variable names.

Reviewed-by: iustinp

188fbf41 10/08/2008 05:10 pm Iustin Pop

Also export OS_API to the OS scripts

The idea is that if the OSes will support multiple version (e.g. both
1.2 and 2.0), then Ganeti should be able to talk to it using version
2.0, but then the script needs to be told nicely what version Ganeti is
using....

6884c0ca 10/07/2008 07:09 pm Iustin Pop

Updates to the security document

This patch changes formatting and the DRBD shared secret details, and
adds master daemon socket details to the security doc.

Reviewed-by: imsnah

73100cf5 10/07/2008 07:08 pm Iustin Pop

Move the SECURITY document to the doc/ dir

Reviewed-by: imsnah

43f30ee6 10/07/2008 06:37 pm Iustin Pop

Fix formatting in design-2.0-os-interface

Reviewed-by: imsnah

109509e4 10/07/2008 06:23 pm Iustin Pop

Small changes to the index design doc

This is just some additions of not-yet-mentioned docs.

Reviewed-by: ultrotter

cd55576a 10/07/2008 01:22 pm Alexander Schreiber

Slightly change the hypervisor parameter example.

Reviewed-by: iustinp

132b4ba2 10/07/2008 11:47 am Alexander Schreiber

Ganeti 2.0 cluster parameters design doc

Reviewed-by: ultrotter

12222048 10/07/2008 10:25 am Guido Trotter

OS Interface design doc

Reviewed-by: imsnah

47eb4b45 10/07/2008 10:25 am Guido Trotter

Add .. contents:: marker to design docs

Reviewed-by: imsnah

a72b3711 10/06/2008 06:13 pm Oleksiy Mishchenko

RAPI Desing Doc

Reviewed-by: iustinp

74bc10e8 10/06/2008 04:21 pm Alexander Schreiber

Minor cleanups & typo fixes.

Reviewed-by: iustinp

efd0d44f 09/30/2008 02:36 pm Michael Hanselmann

Small fixes for master daemon design document

It said CLI/RAPI will talk to master using HTTP, which isn't true. Add
a reference to job queue design document. Small typos.

Reviewed-by: iustinp

b6c64863 09/30/2008 02:16 pm Alexander Schreiber

Import design doc for commandline arguments

Reviewed-by: iustinp

4e8d0685 09/30/2008 01:21 pm Guido Trotter

locking design: code path and declarations

Reviewed-by: iustinp

6e4f6dfa 09/30/2008 01:21 pm Guido Trotter

locking design: explain use of async mode

Before we were discussing this possible future feature, and its
drawbacks, but not its usefulness. This patch corrects this.

Reviewed-by: iustinp

164a5bcb 09/30/2008 01:20 pm Guido Trotter

locking design: talk about removing locks

Reviewed-by: iustinp

040408a3 09/30/2008 01:07 pm Guido Trotter

Import (and update) granular locking design doc

Reviewed-by: iustinp

b2cee5e5 09/29/2008 08:55 pm Michael Hanselmann

Add job queue design document

Reviewed-by: iustinp

84f4dc28 09/29/2008 07:18 pm Iustin Pop

Add an 'index' of design documents

This will be an overview document, enumerating the changes without going
into details and pointing to the actual documents.

Reviewed-by: ultrotter

fbd6f863 09/27/2008 02:32 pm Iustin Pop

Add design doc for the disk changes

Reviewed-by: imsnah

bb083b25 09/24/2008 08:35 pm Iustin Pop

Design doc for the master daemon

It's not complete, but I hope it's up to date. It's restructured text,
but no make rules or such for html output are needed, it's readable
as-is.

Reviewed-by: imsnah

b5b22be2 09/17/2008 05:51 pm Michael Hanselmann

doc/locking.txt: Job queue functions can be called from LUs

The previous description was unclear. Reported by Guido Trotter.

Reviewed-by: ultrotter

a25c1b2a 09/05/2008 04:49 pm Michael Hanselmann

Add lock documentation for job queue and ganeti-noded

Also change title formatting to match client-api.txt.

Reviewed-by: iustinp