Statistics
| Branch: | Tag: | Revision:

root / doc / hooks.rst @ grnet-2.4-ippool-devel

History | View | Annotate | Download (18.3 kB)

# Date Author Comment
337de15b 11/28/2011 06:21 pm Dimitris Aragiorgis

merge upstream devel-2.4

Conflicts:
lib/cli.py
lib/cmdlib.py
lib/config.py
lib/opcodes.py

Signed-off-by: Dimitris Aragiorgis <>

87d534cb 06/22/2011 02:12 pm Apollon Oikonomopoulos

Document network-related hooks

Signed-off-by: Apollon Oikonomopoulos <>

aca8d56e 06/22/2011 02:12 pm Apollon Oikonomopoulos

Export instance tags to instance hooks

Instance hooks now get an INSTANCE_TAGS environment variable, which contains a
space-delimited list of the affected instance's tags.

Also update the documentation to reflect the change.

Signed-off-by: Apollon Oikonomopoulos <>

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 <>

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 <>

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 <>

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 <>...

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 <>

abd8e836 02/11/2010 06:00 pm Iustin Pop

Run instance hooks on more nodes

This should fix issue 68: some hooks should be run on more nodes than
currently. GrowDisk runs on both nodes, remove run the post hook on the
instance's nodes, and failover and migrate run the post hook on the
source node too....

08eec276 02/11/2010 06:00 pm Iustin Pop

Add {NEW,OLD}_{PRIMARY,SECONDARY} vars to hooks

Per issue 71, the migrate and failover need special variables for
keeping the nodes consistent during instance migrations.

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

e73a5804 09/29/2009 08:25 pm Luca Bigliardi

Improve description of migrate/failover post hooks env

Signed-off-by: Luca Bigliardi <>
Reviewed-by: Guido Trotter <>

454fe3cd 09/29/2009 08:25 pm Luca Bigliardi

Update env vars for instances in hooks documentation

Remove variables which are listed at the beginning of the section and variables
which are not declared when building hooks env.

Signed-off-by: Luca Bigliardi <>
Reviewed-by: Guido Trotter <>

7faf5110 09/24/2009 06:32 pm Michael Hanselmann

Wrap documentation to max 72 characters per line

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

558fd122 09/24/2009 06:31 pm Michael Hanselmann

Set Vim textwidth in each documentation file

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

6c6b7f8a 09/03/2009 06:44 pm Michael Hanselmann

Update hooks documentation

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Luca Bigliardi <>

d87e1814 08/25/2009 06:51 pm Luca Bigliardi

Document cluster destroy hook

Add documentation about new cluster-destroy-post hook.

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

035a7783 08/25/2009 03:57 pm Luca Bigliardi

Document post cluster initialization LU

Update hooks documentation with the new opcode (not deleting OP_INIT_CLUSTER
from obsolete operations because the name is different).

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

cd46f3b4 08/25/2009 02:40 pm Luca Bigliardi

node-remove post on removed node

Run post phase of node-remove on the removed node as well.

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

7ffc5a86 07/22/2009 08:52 pm Michael Hanselmann

Add new opcode to evacuate nodes

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

5bbd3f7f 07/07/2009 03:51 pm Michael Hanselmann

Fix some typos

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

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...

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