Statistics
| Branch: | Tag: | Revision:

root / doc @ 56372573

# Date Author Comment
56372573 05/20/2011 06:20 pm Guido Trotter

Update hooks.rst for cluster verify changes

Also update NEWS on this change.

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

6aac5aef 05/20/2011 11:11 am Iustin Pop

Merge remote branch 'origin/devel-2.4'

  • origin/devel-2.4:
    Fix errors in hooks documentation
    Clarify a bit the noded man page
    Note --no-remember in NEWS
    Switch QA over to using instance stop --no-remember
    Implement no_remember at RAPI level
    Implement no_remember at CLI level...
8ac5c5d7 05/17/2011 07:18 pm Michael Hanselmann

Fix errors in hooks documentation

In many cases the opcode ID was incorrect. A unittest for this will
be added in the master branch.

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

63fb7526 05/12/2011 07:38 pm Michael Hanselmann

Use disk mode constants in iallocator documentation

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

f8afb7e6 05/11/2011 07:16 pm Michael Hanselmann

Fix error in iallocator documentation reg. disk mode

The code uses the disk object's “mode” attribute, which uses the
constants DISK_RDONLY (“ro”) and DISK_RDWR (“rw”).

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

93384b8c 05/11/2011 05:14 pm Guido Trotter

Merge branch 'devel-2.4'

  • devel-2.4:
    Use floppy disk and a second CDROM on KVM
    Document the selection of instance kernels
    Make root_path an optional hypervisor parameter
    Some man page updates
    Add 2 new variables to the OS scripts environment
    Add --no-wait-for-sync when converting to drbd...
9626f028 05/10/2011 07:51 pm Michael Hanselmann

iallocator: Specify result of “multi-relocate” request

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

fc3914e6 05/10/2011 06:58 pm Iustin Pop

Document the selection of instance kernels

A simple doc patch to document how to configure the kernels for the
instances.

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

414ebaf1 04/21/2011 04:08 pm Michael Hanselmann

RAPI: Add support for tagging node groups

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

9ff4f2c0 04/19/2011 04:11 pm Michael Hanselmann

Update manpages and other documents with editor settings

No rewrapping is done in this patch, just updates to the settings.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

af7b6689 04/07/2011 01:24 pm Michael Hanselmann

Merge branch 'devel-2.4'

  • devel-2.4:
    LUInstanceQueryData: Don't acquire locks unless requested
    Increase the lock timeouts before we block-acquire
    daemon.py: move startup log message before prep_fn
    Display the actual memory values in N+1 failures...
6d267b81 04/04/2011 02:41 pm Adeodato Simo

Update iallocator.rst for multi-reloc mode

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

7fa310f6 04/01/2011 04:42 pm René Nussbaumer

RAPI: Convert instance shutdown to the new FillOpCode

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

1ebe6dbd 03/31/2011 12:02 pm Iustin Pop

Improve references to htools in the documentation

Was not sure about the bit in admin.rst, hope it's fine.

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

fd0bc853 03/30/2011 04:45 pm Iustin Pop

Clarify the need for QuickCheck/Haskell tests

Expands the devnotes.rst doc and adds warnings in the Makefile.

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

3fd7f652 03/30/2011 02:51 pm Michael Hanselmann

RAPI server: Drop support for instance creation format 0

Ganeti 2.1.3, released in June 2010, added support for a new, extensible
instance creation request format, called version 1. This patch removes
support for the old and undocumented version 0 format....

4055b109 03/28/2011 03:08 pm Adeodato Simo

Add design for inter-group instance moves (multi-reloc)

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

61791108 03/28/2011 03:06 pm Adeodato Simo

iallocator.rst: refactor for readability; minor improvements

This commits breaks down the "Input message" section of iallocator.rst into
two separate subsections: one detailing keys that are required in all
operation types; a second one detailing the "request" element, which is...

5e9bcdf4 03/24/2011 08:50 pm Adeodato Simo

iallocator.rst: give pointers for alloc_policy semantics

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

ea158460 03/24/2011 08:50 pm Adeodato Simo

Doc fix in iallocator.rst: multi-evac requires "evac_nodes"

The request argument for multi-evacuate mode is "evac_nodes", not "nodes"
(the example later in the file has the correct name already).

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

66287fa8 03/24/2011 04:16 pm Michael Hanselmann

RAPI: Document need for Content-type header in requests

This was added to the NEWS file in commit ab221ddf, but never
documented properly.

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

ed9fda24 03/23/2011 06:09 pm Michael Hanselmann

Add design for submitting jobs from LUs

This patch adds a design document describing how jobs can be submitted
from within LUs.

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

1375e1d9 03/23/2011 02:28 pm Michael Hanselmann

Add import/export version 2 design document

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

278ddaa9 03/23/2011 02:28 pm Michael Hanselmann

Add design document for lighttpd as HTTP server

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

539f195a 03/23/2011 02:28 pm Michael Hanselmann

Add design document for X509 CA

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

77a180f6 03/23/2011 01:25 pm Iustin Pop

Update INSTALL and devnotes.rst with Haskell notes

This documents the needed libraries for Haskell development. It also
fixes a tiny typo in devnotes.rst.

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

92902e91 03/18/2011 10:40 am Iustin Pop

Move htools-ganeti 2.3 design doc to doc/

I didn't know where to put in the TOC, so I added it after the ganeti
2.3 design doc.

Also, it seems that Sphinx is a bit limited in its list nesting
(compared to Pandoc), so I had to rework a bit the indentation (it...

dd7f6776 03/16/2011 07:58 pm Michael Hanselmann

hooks: Provide variables with post-opcode values

When a hook is called, it is provided with a number of variables
describing the status of the instance/node/etc. before the operation.
Some opcodes provide extra variables to see modified values from hooks,...

208a6cff 03/15/2011 03:04 pm Michael Hanselmann

RAPI: Add support for querying resources

- Access is only permitted for authenticated clients (queries can return
sensitive data)
- Filters can be specified when sending a PUT request
- Updates RAPI client, documentation and tests

Signed-off-by: Michael Hanselmann <>...

be3a4b14 03/14/2011 12:50 pm Michael Hanselmann

Convert OsDiagnose to query

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

b713fb7a 03/07/2011 03:43 pm Iustin Pop

Merge branch 'stable-2.4'

  • stable-2.4:
    Release 2.4.0
    Small improvement to the ganeti man page
    Fix LUClusterRepairDiskSizes and rpc result usage
    Fix RPC mismatch in blockdev_getsize[s]
    RAPI: fix evacuate node resource
    Fix typo in kvm-ifup script...
a997cec5 03/01/2011 05:22 pm Apollon Oikonomopoulos

Add shared file storage design doc

Add doc/design-shared-storage.rst to document the proposed changes and update
Makefile.am respectively.

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

effb49b4 02/25/2011 12:13 pm René Nussbaumer

Update the DD of OOB with gnt-cluster epo

This command came up in a local discussion about how much logic we
should put into gnt-node power off. We decided to go with a separate
convenience command which takes care of all the steps through the
procedures to turn down the cluster into a state suitable for a shutdown...

3d5ebbf0 02/24/2011 06:33 pm Stephen Shirley

Expand some acronyms, add to glossary

Signed-off-by: Stephen Shirley <>
Reviewed-by: Michael Hanselmann <>

1ae17369 02/24/2011 03:25 pm Michael Hanselmann

query: Add support for field description

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

cbfa4f0f 02/22/2011 05:57 pm Michael Hanselmann

Merge branch 'devel-2.4'

  • devel-2.4: (60 commits)
    Update news and bump version for 2.4.0 rc2
    Fix pylint warnings
    TestRapiInstanceRename use instance name
    Change the list formatting to a 'special' chars
    Add support for merging node groups
    Add option to rename groups on conflict...
a1e43376 02/22/2011 02:50 pm Michael Hanselmann

Add/rename label for LUXI in documentation

The HTTP server design doc will refer to the LUXI protocol,
so conflicts need to be avoided.

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

1a615be0 02/18/2011 04:46 pm Stephen Shirley

Add option to rename groups on conflict

Signed-off-by: Stephen Shirley <>
Reviewed-by: Michael Hanselmann <>

4fbd5444 02/17/2011 12:09 pm Stephen Shirley

Remove superfluous redundant requirement

The condition is already covered by the previous requirement.

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

ef127bec 02/15/2011 03:20 pm Michael Hanselmann

RAPI documentation: Use constants and assertions

This doesn't cover everything yet, but it's a good demonstration on how
to use “pyeval” and “pyassert”.

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

527fbde8 02/15/2011 01:11 pm Michael Hanselmann

RAPI: Use FillOpCode for adding node group

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

8a08be3b 02/15/2011 01:11 pm Michael Hanselmann

RAPI: Use FillOpCode for renaming groups

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

526a662a 02/15/2011 01:11 pm Michael Hanselmann

RAPI: Clean up instance creation, use generated docs

- Use FillOpCode and unify parameter names between RAPI and opcode
- Generate parameter documentation
- Improve opcode parameter documentation

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

be6fab1f 02/15/2011 01:11 pm Michael Hanselmann

RAPI: Generate documentation for assigning nodes to groups

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

df340fae 02/15/2011 01:11 pm Michael Hanselmann

RAPI: Use FillOpCode for modifying node group

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

88bc199a 02/15/2011 01:11 pm Michael Hanselmann

RAPI: Use FillOpCode for renaming instances

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

5f43f393 02/04/2011 07:05 pm Michael Hanselmann

Add sphinx extension

For now this just registers a single new directive, “opcode_params”,
which can be used to generate opcode parameter documentation.

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

b292b986 02/04/2011 07:05 pm Michael Hanselmann

Generate parts of RAPI documentation from opcodes

This replaces hardcoded lists of parameters with automatically generated
ones, making maintenance easier.

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

b82d4c5e 01/28/2011 04:31 pm Michael Hanselmann

Add RAPI resource for instance console

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

7f0a3ddf 01/27/2011 07:29 pm Michael Hanselmann

Merge branch 'devel-2.4'

  • devel-2.4: (34 commits)
    cluster verify: add hvparams verification
    Remove dumb-allocator
    Open other clusters' config in foreign mode
    Add (unused) arg to _OfflineClusterMerge
    Fix unittest breakage on Python 2.4/2.5
    Check for duplicate RAPI URIs and handlers...
fb87cbeb 01/27/2011 07:07 pm Michael Hanselmann

Merge branch 'devel-2.3' into devel-2.4

  • devel-2.3:
    Wait for master to become available on initialization
    Start all daemons on cluster initialization
    Clarify job processing order in admin guide
    Improve option descriptions
    Remove two unused variables...
6f547f96 01/27/2011 06:34 pm Guido Trotter

Remove dumb-allocator

- Remove the actual code
- Remove mentions of it from iallocator.rst, and use hail instead
- Also remove mentions of "etch-image" and use "debootstrap+default"
- Mention htools as the reference implementation in iallocator.rst

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

c95c0f71 01/27/2011 02:40 pm Michael Hanselmann

Add list of design document drafts

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

f313e7be 01/26/2011 06:24 pm Michael Hanselmann

Clarify job processing order in admin guide

The fact that jobs don't necessarily execute in order has been source
for some confusion. Hopefully this update will clarify things.

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

e18c6c47 01/21/2011 05:36 pm Iustin Pop

Merge branch 'devel-2.4'

  • devel-2.4:
    Another fix for LUClusterVerifyDisks
    QA: also run gnt-cluster verify-disks
    Fix disk adoption breakage
    Fix typo in query2 design document
    Improve documentation for QRFS_UNAVAIL
    lvmstrap: add PV-on-partition support...
2656091a 01/20/2011 05:20 pm Michael Hanselmann

Fix typo in query2 design document

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

d59fea3d 01/20/2011 11:58 am René Nussbaumer

Adding a basic oob helper as an example

This is just a plain stupid and simple out-of-band helper without
anything fancy. It uses plain ssh to power off / power cycle the
machine, does not support power on. It support power status using fping
to check if the host replies....

913639fe 01/19/2011 05:51 pm Balazs Lecz

Document iallocator change (alloc_policy)

Signed-off-by: Balazs Lecz <>
Reviewed-by: Michael Hanselmann <>

2237687b 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryNodes and LUQueryNodes

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

da2d02e7 01/18/2011 01:47 pm Iustin Pop

Rename OpDiagnoseOS and LUDiagnoseOS

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

f2af0bec 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryInstances and LUQueryInstances

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

dc28c4e4 01/18/2011 01:47 pm Iustin Pop

Rename OpQueryInstanceData and LUQueryInstanceData

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

83f5d475 01/18/2011 01:47 pm Iustin Pop

Rename OpActivateInstanceDisks and LUActivateInstanceDisks

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

cc0dec7b 01/18/2011 01:47 pm Iustin Pop

Rename OpConnectConsole and LUConnectConsole

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

e1530b10 01/18/2011 01:47 pm Iustin Pop

Rename OpCreateInstance and LUCreateInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

d1240007 01/18/2011 01:47 pm Iustin Pop

Rename OpRedistributeConfig and LURedistributeConfig

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

a6682fdc 01/18/2011 01:47 pm Iustin Pop

Rename OpSetClusterParams and LUSetClusterParams

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

4ff922a2 01/18/2011 01:47 pm Iustin Pop

Rename OpExportInstance and LUExportInstance

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

b32d6567 01/14/2011 11:36 am René Nussbaumer

Merge branch 'devel-2.3'

Conflicts:
doc/design-2.3.rst
This was a minor conflict with some rewording of a phrase

lib/client/gnt_instance.py
Removed _FormatParameterDict function as it was moved to cli.py in
master branch

Reviewed-by: Michael Hanselmann <>

78b40c5e 01/12/2011 02:33 pm Michael Hanselmann

Add Ganeti 2.4 design document

It contains links to the two implemented designs. The detailed documents
are removed from the visible table of contents to not show up on their
own.

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

f78f971e 01/12/2011 02:23 pm Stephen Shirley

last_resort groups prioritized by iallocator plugin

Also change language slightly for preferred groups to look better now
that it's repeated.

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

18009c1e 01/11/2011 12:39 pm Iustin Pop

Fix some doc issues introduced in recent commits

The hooks is due to me not checking the recent patch from David, and
the cli.py change is due to the utils.py split.

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

dd5e7794 01/11/2011 12:03 pm David Knowles

More fixes to hooks documentation

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

4245446f 01/10/2011 06:32 pm Adeodato Simo

Expose OpAssignGroupNodes over RAPI and RAPI client

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

bde65914 01/10/2011 11:47 am Iustin Pop

Document the intended use of (vm|master)_capable

This patch adds the intended usage scenarios of these two flags.

Additionally it corrects the tag valid charset.

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

a1cef11c 01/10/2011 11:47 am Iustin Pop

IAllocator: fix breakage for non-vm_capable nodes

Currently, the IAllocator doesn't know that non-vm_capable nodes
should not be queried for hypervisor/instance information.

This patch updates the node data computation to generate basic info,
but not the runtime data for such nodes. Furthermore, the...

49e4c837 01/07/2011 11:22 am David Knowles

Updating hooks documentation with missing environment variables

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

362c5845 01/06/2011 12:29 pm Michael Hanselmann

Merge branch 'devel-2.3'

  • devel-2.3:
    cfgupgrade: Remove unused “program” variable
    cfgupgrade: Check master name, clarify question
    Makefile: Merge build-time reST copying
    Move doc/upgrade.rst to UPGRADE, copy at build-time
    Import upgrade notes into documentation...
7a03d293 01/06/2011 12:06 pm Michael Hanselmann

Move doc/upgrade.rst to UPGRADE, copy at build-time

This will allow distributions to install the file as text documentation.

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

35dd762d 01/05/2011 07:42 pm Michael Hanselmann

Import upgrade notes into documentation

This patch formats the upgrade notes currently in the wiki1 as reST
and adds them to the documentation.

[1] http://code.google.com/p/ganeti/wiki/UpgradeNotes

Signed-off-by: Michael Hanselmann <>...

e23881ed 01/05/2011 06:14 pm Michael Hanselmann

RAPI: Add resource to grow instance disk

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

62e999a5 01/05/2011 01:27 pm Michael Hanselmann

RAPI: Add resource to modify cluster

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

a6070ef7 01/05/2011 12:39 pm Michael Hanselmann

query2: Add new field status “offline”

This allows “gnt-node list” to show the difference between modes marked
offline and nodes with e.g. RPC errors (“(nodata)”). node1 is the
master, node2's node daemon crashed and node3 is marked offline:

$ gnt-node list -o name,offline,dtotal,dfree...

861a296e 12/15/2010 06:50 pm Miguel Di Ciurcio Filho

Fix N+1 error message

The error contained a typo and is slightly cumbersome. It changes from:

- ERROR: node a: not enough memory on to accommodate failovers should peer node
b fail

to:

- ERROR: node a: not enough memory to accomodate instance failovers should node...

f18fab7d 12/13/2010 06:33 pm Adeodato Simo

Expose OpSetGroupParams in RAPI and RAPI client

This creates the /2/groups/<name>/modify resource; at the moment, only the
"alloc_policy" attribute can be modified.

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

90e99856 12/13/2010 06:33 pm Adeodato Simo

Add the "alloc_policy" attribute to node groups

This can be set at group creation time and via OpSetGroupParams. The default
is "preferred", and existing node groups from previous Ganeti version will
get the attribute set to this value.

Signed-off-by: Adeodato Simo <>...

46aae796 12/10/2010 07:28 pm Michael Hanselmann

Rename “kind” to “what” for calls in query2 design

“kind” is already used in the field definition. “what” seems to
be a better fit for the calls (“what should be queried?”).

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

5d9e167a 12/10/2010 05:13 pm Miguel Di Ciurcio Filho

Script to gracefully power off KVM instances

When a node is running KVM instances and that node is rebooted or
shutdown, the gnt-noded daemon is finished and leaves the KVM instances
running. Latter on in the shutdown process, all remaining processes
receive SIGTERM as usual, meaning that the KVM instances are all...

5c64fbc2 12/08/2010 09:45 pm Adeodato Simo

design-2.3.rst: fix whitespace

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

0dbaa9ca 12/08/2010 02:27 pm Adeodato Simo

Group operations: expose add/remove/rename in RAPI

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

66e884e1 12/08/2010 02:27 pm Adeodato Simo

Group operations: CLI code for add/remove/rename a group

Also, minor update to the 2.3 design doc, which was indicating the remove
operation would be `gnt-group del` and not `gnt-group remove` (the latter
being consistent with gnt-node and gnt-instance)....

4fe5cf90 12/08/2010 02:27 pm Adeodato Simo

Group operations: OpCode and LU for renaming a group

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

94bd652a 12/08/2010 02:27 pm Adeodato Simo

Group operations: OpCode and LU for removing a group

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

b1ee5610 12/08/2010 02:27 pm Adeodato Simo

Group operations: OpCode and LU for adding a group

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

0897dc97 12/01/2010 09:31 pm Adeodato Simo

Querying node groups: RAPI support

This implements /groups and /groups/%s RAPI end points.

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

c744425f 11/29/2010 07:52 pm Michael Hanselmann

RAPI: Implement OS parameters for instance reinstallation

Dictionaries are hard to encode into query strings, therefore the
“/2/instances/[instance_name]/reinstall” resource is changed to accept
its parameters via the request body. The old query string parameters are...

fdd9ac5b 11/29/2010 05:14 pm Michael Hanselmann

Move “rapi_users” file into separate directory

This reduces the number of notifications in “ganeti-rapi”. Until now it
was notified for every change in …/lib/ganeti and had to check whether
the users file was affected. A symlink is always created in cfgupgrade...

7af3534e 11/25/2010 01:21 pm Dmitry Chernyak

Added "vg" argument to the --disk syntax

Added "vg" argument to the "gnt-instance ... --disk" syntax specification.
Now is ok to write:

gnt-instance add ... --disk N:size=NNg,vg=VG_NAME ...

But not all internal structures are ready to handle this yet.
...

9189c902 11/23/2010 11:03 pm Michael Hanselmann

Update query2 design document

While starting to implement this, I found a number of deficiencies:

- Drop regular expressions. As it turned out, only very few fields for
instances used them, all of which can easily be turned into static
field names.
- Use two separate calls with a request and response description each....

04a8865b 11/23/2010 01:01 pm Lance Albertson

RAPI: implement no_install during instance creation

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