Activity

From 08/31/2009 to 09/29/2009

09/29/2009

08:25 pm Revision e73a5804: Improve description of migrate/failover post hooks env
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Luca Bigliardi
08:25 pm Revision 454fe3cd: 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 ...
Luca Bigliardi
06:52 pm Revision 88d31e5c: Fix burnin's verbose mode
The timestamp need special formatting, which was done for the internal
buffer storage but not for the messages logged...
Iustin Pop
04:43 pm Revision cf924b6d: Brown-paper-bag release fixing haddock issues
Haddock doesn't like pre-processed files (at least not in all versions).
Thus we need to remove the ExtLoader module ...
Iustin Pop
02:26 pm Revision 12fa49b3: Update NEWS file for the 0.1.7 release
Iustin Pop
02:25 pm Revision 38f536cb: Make the test suite return an reasonable exit code
Test.QuickCheck.Batch.runTests doesn't return any error statistics,
which makes the test suite just display errorrs a...
Iustin Pop
01:31 pm Revision d303fefe: Final NEWS update and version increase for 2.0.4
QA passed successfully, let's try to have a release.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mich...
Iustin Pop
01:06 pm Revision 74554d66: Add initial confd client unittests
Some basic tests for the confd client library
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Micha...
Guido Trotter
01:06 pm Revision a5229439: confd/client: make it possible to update peer list
Until now the peers have to be the same all the time. Adding a new
function to update the list, and call it from the ...
Guido Trotter
12:48 pm Revision 834f8b67: Remove ‘-u’ from masterd shebang
This is not needed anymore - the original change was more than a year
ago when masterd was in its incipient phase.
S...
Iustin Pop

09/28/2009

06:58 pm Revision 5f6f260a: confd/client: pass self to upcalls
It may be handy for upcalls to know which client called them, and call
it back. So we create a new "client" field in ...
Guido Trotter
05:09 pm Revision 685f5bc6: Brown bag fix: invert a test
During testing I used the test inversely to see it triggers correctly,
and committed by mistake the inverted test. Fi...
Iustin Pop
05:09 pm Revision fbb95f28: Turn on, and fix, more warnings
The Makefile was intented to be -Wall and not simply -W, but I missed
that. This enables more warnings and also enabl...
Iustin Pop
04:16 pm Revision 45ab6a8d: Add support for building without curl
Since curl is not always needed (e.g. when only using luxi or less
likely file backends only) and is also not always ...
Iustin Pop
03:50 pm Revision e8f89bb6: Split the exernal data loader out of CLI.hs
Currently the external data loader is in CLI.hs, which makes all
programs that need cli functionality (options, etc.)...
Iustin Pop
12:38 pm Revision ab1a6973: devel/upload.in: make it more project generic
Only install ganeti specific files if they exist. This way we can call
ganeti's devel/upload in another sub-projects ...
Guido Trotter
12:37 pm Revision a9613def: ConfdFilterCallback: fix a bug in expire
The HandleExpire function takes the whole "up" structure, and not just
the salt.
Signed-off-by: Guido Trotter <ultro...
Guido Trotter
12:36 pm Revision 1fea2f0d: ganeti-confd: cleanup imports
Many functionalities of confd have been moved to other classes/modules,
and the main confd daemon doesn't reference t...
Guido Trotter
12:36 pm Revision 0b678558: ganeti-confd: don't depend on the os log dir
ganeti-confd doesn't need to log anything related to os installations.
Signed-off-by: Guido Trotter <ultrotter@googl...
Guido Trotter

09/25/2009

06:56 pm Revision e6345c35: Encode the actual exception raised by LU execution
Currently, the actual exception raised during an LU execution (one of
OpPrereqError, OpExecError, HooksError, etc.) i...
Iustin Pop
06:56 pm Revision a6607331: Move the luxi error handling into errors.py
Currently the luxi error handling is hardcoded as special encoding on
the masterd-side and special decoding on the cl...
Iustin Pop
06:54 pm Revision 31821208: Fix the confusing ssh/hostname message in node add
Before, it used to say:
ssh/hostname verification failed node1.example.com -> hostname mismatch, got
node2
Now ...
Iustin Pop
06:41 pm Revision bae7e531: Add man page for ganeti-cleaner
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:37 pm Revision 392ca296: Implement ConfdFilterCallback
This callback can be stacked with another one, and will filter duplicate
or old results, making handling of results e...
Guido Trotter
05:37 pm Revision ed008420: Remove secrets and kill confd on cluster leave
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
05:37 pm Revision cf7b0cc4: Confd client: add module level documentation
Populate the docstring with documentation on the client library's usage.
Signed-off-by: Guido Trotter <ultrotter@goo...
Guido Trotter
05:37 pm Revision 7579eb06: Update NEWS file for version 2.0.4
We don't bump up the version yet, pending more QA tests.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
05:14 pm Revision 430b923c: Add uuid on node/instance add and cluster init
This patch does a little bit of cleanup first, since we want to call
GenerateUniqueID without reacquiring the lock.
...
Iustin Pop
05:13 pm Revision 22482387: Fix RAPI QA, broken by NIC parameters changes
This also adds the new nic.links query field.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trott...
Iustin Pop
04:27 pm Revision 8db31d6b: Automatically cleanup _temporary_ids at save
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
(cherry picked from...
Iustin Pop
04:27 pm Revision 26b316d0: Separate the computation of all config IDs
We will need this in another place, so we abstract the 'compute all
current IDs' functionality into a separate functi...
Iustin Pop
04:01 pm Revision 2d90608c: Change config upgrade to be explicit
Currently the config upgrade is done at each object instantiation, that
means that ganeti-noded will run UpgradeConfi...
Iustin Pop
03:22 pm Revision 59b76636: Merge commit 'origin/next'
* commit 'origin/next': (74 commits)
Fix gnt-node modify online help
Fix gnt-job info entry in gnt-job(8)
locki...
Iustin Pop

09/24/2009

06:32 pm Revision 7faf5110: Wrap documentation to max 72 characters per line
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:31 pm Revision 558fd122: Set Vim textwidth in each documentation file
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:12 pm Revision c124045f: Add missing import sys to lib/daemon.py
It does “print >> sys.stderr, …” but there is no import sys.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
06:10 pm Revision 56c9a709: Add documentation on manual cluster cleanup
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
05:44 pm Revision ca9ccea8: Add implementation details for 2.1 locking changes
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:06 pm Revision d63218ce: KVMHypervisor: wrap long line
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
02:38 pm Revision 7118a0df: Export the uuid in RAPI
This also simplifies a little the field declaration in RAPI.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-...
Iustin Pop
02:38 pm Revision 259578eb: Export and show the cluster uuid in cluster info
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:38 pm Revision edc8fc5f: Man page updates for the uuid field
Also corrects wrong indentation in the gnt-instance.sgml file.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
02:37 pm Revision 033d58b0: Implement uuid in gnt-node/instance list and info
The patch modifies LUQueryInstanceData to return the uuid too and also
adds support for it in the gnt-* scripts.
Sig...
Iustin Pop
02:37 pm Revision 19bed813: Simplify handling of regular fields in LUQuery*
For fields that correspond directly to an object's field, we can
simplify the handling. The patch also adds the new '...
Iustin Pop
02:37 pm Revision 76d5d3a3: Automatically fill in missing UUIDs
The patch also starts using the current UUIDs (in the new attributes)
while computing the _AllIDs list.
Signed-off-b...
Iustin Pop
02:37 pm Revision e1dcc53a: Add uuid attributes to configuration entities
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:37 pm Revision 34d657ba: Automatically cleanup _temporary_ids at save
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:36 pm Revision 34e54ebc: Separate the computation of all config IDs
We will need this in another place, so we abstract the 'compute all
current IDs' functionality into a separate functi...
Iustin Pop
01:04 pm Revision 77b076ca: Node init: copy hmac key as well
Without this confd will not start when a node is added to the cluster.
Signed-off-by: Guido Trotter <ultrotter@googl...
Guido Trotter
01:04 pm Revision 9f83899a: Install guide: talk about routing mode
The networking section is updated to talk about both routing and
bridging.
Signed-off-by: Guido Trotter <ultrotter@g...
Guido Trotter
01:04 pm Revision c103d7ae: Unpack the confd reply as an object, from the dict
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
01:04 pm Revision 8063787e: document the nic link meaning in routed mode
Currently this feature is hypervisor specific, but under kvm we use it
by default (aka: if the user hasn't specified ...
Guido Trotter
01:04 pm Revision 756d5ec3: Update hypervisor installation section
Currently the section is called "Installing Xen" and also mentions KVM.
Updating the title and also make it slightly ...
Guido Trotter
01:04 pm Revision 0a3c881e: KVM nic script: enable interface forwarding
If forwarding is enabled globally this is a no-op. If instead it's
enabled only for some special interfaces where ins...
Guido Trotter
12:53 pm Revision 7c60f7a2: KVM nic script: use routed link as table
In order to be able to maintain the node network standard routing
untouched while routing instance traffic through a ...
Guido Trotter

09/23/2009

06:07 pm Revision 90469357: Confd client: make SendRequest args optional
By default "None" will be used as an args value
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Mic...
Guido Trotter
06:07 pm Revision 96e03b0b: Confd client: Change callback model
We move to one callback in total, rather than one per call, and call it
both for server replies and request expiring....
Guido Trotter
06:07 pm Revision 7d20c647: Confd client: make confd port configurable
The port can be now chosen at library init time, with a default of
calling GetDaemonPort.
Signed-off-by: Guido Trott...
Guido Trotter
06:07 pm Revision a3db74e4: Confd client library: enable optional logging
If a logger is passed in, we log some debugging messages that might help
someone who's debugging a confd client to un...
Guido Trotter

09/22/2009

05:37 pm Revision 90d726a8: Change config upgrade to be explicit
Currently the config upgrade is done at each object instantiation, that
means that ganeti-noded will run UpgradeConfi...
Iustin Pop
05:35 pm Revision d01ae714: Confd: add instances IPs query
Extend confd to answer queries about instances IPs.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by:...
Luca Bigliardi
05:01 pm Revision 3a541d90: Fix utils.MatchNameComponent for full matches
While ‘test1’ matches both ‘test1’ and ‘test1.example’, it has a full,
exact match and we should return it if that is...
Iustin Pop
04:32 pm Revision 0f828357: Design doc changes for UUID tracking of objects
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop

09/21/2009

05:31 pm Revision dfc2a24c: Fix _RemoveDisk for file based instances
During 621b7678 two typos were introduced which prevent file based
instances removal to work correctly. Fixing both o...
Guido Trotter
04:31 pm Revision a5b360e4: Re-wrap locking changes design to 76 chars per line
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:13 pm Revision 700bb843: Revert "Include NEWS file in documentation"
This reverts commit 350ecfecca136f50877898774c6b40014b5c2b1c. It broke
distcheck.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
02:08 pm Revision 14ea9302: gnt-instance info: fix nic display
In branch-2.1 the conversion of NICs to Tuples has been unified to the
_NICListToTuple function, which is used by bot...
Guido Trotter
01:28 pm Revision 9b4127eb: cmdlib._CreateDisks fix a broken result.Raise
The format string has the ": %s" at the end, but no argument is passed,
which of course raises a TypeError. Removing ...
Guido Trotter

09/18/2009

06:31 pm Revision 350ecfec: Include NEWS file in documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:31 pm Revision 61b5e342: Convert NEWS file to RST
- Add markup for titles
- Convert quotes
- Reindent and rewrap to 72 chars per line
Signed-off-by: Michael Hanselman...
Michael Hanselmann
05:00 pm Revision d77490c5: Unify the instance creation code
Currently the AddInstance in gnt-instance and ImportInstance in
gnt-backup duplicate all of their code except the act...
Iustin Pop
04:59 pm Revision 1c5945b6: Unify multi-instance handling in gnt-instance
Start, stop and reboot have the same code for dealing with
multi-instance handling. This patch moves all that into a ...
Iustin Pop
02:10 pm Revision 3e54ace7: Fix gnt-instance start/stop/… args
The gnt-instance commands that have the multi-filter can take also zero
arguments, if the --all flag is passed. But t...
Iustin Pop
01:53 pm Revision 14e9e7f3: Move cluster verify options to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 29392516: Move more cluster init opts to cli.py
Some of these should be added to cluster modify too.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mich...
Iustin Pop
01:53 pm Revision 12054861: Move the “--reboot-type” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision ee3f9578: Move the “--ignore-secondaries” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 44c44832: Move the “--no-shutdown” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 6d4e8ec0: Make ganeti-watcher use the standard debug option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 6ea815cf: Change indentation style in commands definitions
Currently, the indentation level for a command's definition depends on
the command name length, and this makes the co...
Iustin Pop
01:53 pm Revision 064c21f8: Remove explicit DEBUG_OPT and add it by default
Since >90% of the commands take the “--debug” option, and all should
actually take it (the gnt-job command is current...
Iustin Pop
01:53 pm Revision e3646f22: Move the “--mac-prefix” option to cli.py
The default has also been changed to None as this will be useful once
cluster modify will be able to change this sett...
Iustin Pop
01:53 pm Revision feb09e6a: Move the “--on-secondary” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision a72d0a79: Move the “--on-primary” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 05586c90: Move the “--ignore-size” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision df62e5db: Move the “--src-…” options to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 8d823629: Unify the “--secondary-ip” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision b8d0f938: Move the “--readd” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision fcdde7f2: Move the “--no-ssh-key-check” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 771734c9: Move the node flags options to cli.py
This also unifies a little the parameters to the respective options.
Signed-off-by: Iustin Pop <iustin@google.com>
R...
Iustin Pop
01:53 pm Revision e7e09483: Move the “--allocatable” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 831040bf: Unify the “--no-lvm-storage” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 383a3591: Unify the “--enabled-hypervisors” option
This also required a change, as one of the cases used a different
default.
Signed-off-by: Iustin Pop <iustin@google....
Iustin Pop
01:53 pm Revision 4fbc93dd: Unify the “--nic-parameters” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision e32df528: Unify the “--candidate-pool-size” option
This required a slight tweak since in init we want a different default.
Signed-off-by: Iustin Pop <iustin@google.com...
Iustin Pop
01:53 pm Revision b58726e8: Unify the “--vg-name” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 1f587d3d: Move the “--yes-do-it” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 58371861: Move the “--no-voting” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision e00f7a05: Move the “--auto” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 073271f6: Unify the last “--hypervisor” (as list) option
This third form takes a list of name+options, and is used only in
gnt-cluster. Who knew that we have three forms of ‘...
Iustin Pop
01:53 pm Revision 91e0748c: Unify the “--no-ip-check” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 7d3a9fab: Unify the “--net” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision e3876ccb: Unify the “--disk” (identkeyval) option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 4b038a1e: Unify the “--disks” (disk indices) option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision ff00c1a7: Unify the “--os-size” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 82a786d5: Unify the “--ignore-consistency” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision f2a0828c: Unify the “--non-live” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 990b7886: Unify the “--node” (as instance placement) option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 7edc4637: Unify the “--node” (as list of nodes) option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision f36d7d81: Unify the last “--node” (single node) option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision edeb878a: Move the “--no-start” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision fdcf4d84: Move the “--show-cmd” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision baef337d: Move the “--cleanup” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 99a8c799: Move the “--static” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision a14db5ff: Unify the “--new-secondary” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 67840b40: Move the “--select-os” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision b6e841a8: Move the “--ignore-failures” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 2d5e7ae1: Move the “--all” option to cli.py
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 4f365444: Unify the “--disk-template” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:53 pm Revision 26023ecd: Unify the “--no-nics” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:53 pm Revision 4a25828c: Unify the “--file-storage-dir” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:53 pm Revision 0f87c43e: Unify the “--file-driver” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:53 pm Revision 4eb62659: Unify the “--iallocator” option
This patch also changes the gnt-debug's “--algorithm” into
IALLOCATOR_OPT, since it was the only non-standard use of ...
Iustin Pop
01:53 pm Revision 236fd9c4: Unify the “--hypervisor” (with name) option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:53 pm Revision 087ed2ed: Unify the “--backend-parameters” option
This is not straight-forward. First, gnt-cluster had
“--backend-parameters” wheres the rest of the script had just
“-...
Iustin Pop
01:53 pm Revision 48f212d7: Unify the “--hypervisor” (params only) option
This unifies the two uses of --hypervisor-parameters with only options
(a=b,…) form. The patch changes a little SetIn...
Iustin Pop
01:53 pm Revision d3ed23ff: Unify the “--os-type” option
This was already unified inside gnt-instance, I just moved that
definition (and upper-cased it) into cli.py.
Signed-...
Iustin Pop
01:53 pm Revision 3f75b4f3: Unify the “--no-wait-for-sync” option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
11:06 am Revision 1232284c: Explain the reason for fqdn hostnames
The install guide asks the user to use the fqdn in the hostname, but
doesn't explain why. This has been asked multipl...
Guido Trotter

09/17/2009

06:53 pm Revision 3cebe102: Remove RpcResult.RemoteFailMsg completely
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:49 pm Revision 5ee09f03: Add locking improvements to Ganeti 2.1 design document
Also increase the table of contents' depth to 4.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Michael Hanselmann
05:37 pm Revision a0c9776a: Add an error-simulation mode to cluster verify
One of the issues we have in ganeti is that it's very hard to test the
error-handling paths; QA and burnin only test ...
Iustin Pop
05:12 pm Revision 7c874ee1: Introduce parseable error codes in LUVerifyCluster
Currently the output of cluster verify can be parsed for 'ERROR'
messages, but that is the only indication we get (er...
Iustin Pop
05:12 pm Revision 9cdb9578: Unify the multiple 'verbose' options
Currently multiple files define a 'verbose' option. This patch moves all
these definitions to a single VERBOSE_OPT op...
Iustin Pop
05:11 pm Revision 4abc4f1e: Rewrite the lib/cli.py export list
Right now, the export list is a mess, it's not sorted, and the exported
items are in random places. This patches does...
Iustin Pop

09/16/2009

07:13 pm Revision 1f4e391b: Show "--help" in bash completion
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:13 pm Revision edb4b374: Remove RpcResult.failed attribute
It's redundant with RpcResult.fail_msg. This change survived QA, burnin and
unittests.
Signed-off-by: Michael Hansel...
Michael Hanselmann
04:55 pm Revision efbb4fd2: Confd: add primary IPs queries
Extend confd to answer queries about nodes primary IPs and master candidates
primary IPs.
Signed-off-by: Luca Biglia...
Luca Bigliardi
03:55 pm Revision e4ccf6cd: Confd client library
Initial confd client library implementation. This initial version uses
asyncore, and supports answers via a callback...
Guido Trotter
03:55 pm Revision e1081705: ganeti-confd: remove partial imports
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
03:55 pm Revision 465b8ee3: ConfdAsyncUDPServer: defer handling writes
Currently if we fail writing to the socket (perhaps because a signal was
delivered) we lose the data we were sending....
Guido Trotter
03:55 pm Revision 4f16b4a0: ConfdAsyncUDPServer: handle signals at read time
Currently if a signal is delivered during an attempted read, an
exception is logged in the logfile. There is no need ...
Guido Trotter
03:55 pm Revision 9748ab35: Move fourcc packing/unpacking to main confd module
This way it can be used by the client as well
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Micha...
Guido Trotter
03:55 pm Revision fe759e4c: ConfdAsyncUDPServer: fix a docstring
It refers to an older input variable
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hansel...
Guido Trotter
03:55 pm Revision c8eded0b: AsyncUDPSocket: Move to a well defined UDP size
Currently we read maximum 4K packets, and don't check packets when
sending them. With this patch we move to a well de...
Guido Trotter
03:55 pm Revision a3758ab2: Add a magic fourcc code to confd packets
This will make it easier to change the protocol later on
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewe...
Guido Trotter
03:55 pm Revision 86488201: ganeti-confd: explicitely log failed big sends
Make sure that if we try to send packages which are too big (which
shouldn't happen) this gets properly logged in the...
Guido Trotter
03:55 pm Revision 28a34a39: Add unittests for confd constants
Checking that the fourcc code is indeed a fourcc code, and that request
codes and reply statuses are distinct.
Signe...
Guido Trotter
03:55 pm Revision 5f3269fc: Abstract AsyncUDPSocket to daemon
This allows this extended asyncore+udp module to be used also in other
daemons, and in the confd client library
Sign...
Guido Trotter
03:47 pm Revision 7a0156dc: Fix authorized_keys generation at cluster init
Copy pub_key in authorized_keys.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Michael Hanselmann...
Luca Bigliardi

09/15/2009

03:17 pm Revision 62947ebb: Move developer notes into normal documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
02:19 pm Revision d25c1d6a: jqueue: Remove unused run_op_index attribute
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:19 pm Revision 1d2dcdfd: Export new lock_status field to gnt-job
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:19 pm Revision ef2df7d3: Keep lock status with every job
This can be useful for debugging locking problems.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann
02:19 pm Revision 031a3e57: Move OpCode processor callbacks into separate class
There are two major arguments for this:
- There will be more callbacks (e.g. for lock debugging) and extending the
...
Michael Hanselmann

09/14/2009

03:20 pm Revision f60759f7: Replace last hardcoded 'nodelist' with NV_NODELIST
LUAddNode has this usage remaining, as it's the only other LU to use
call_node_verify (beside LUVerifyCluster).
Sign...
Iustin Pop
03:20 pm Revision 33f2a81a: Treat virtual LVs as inexistent
Currently, “gnt-cluster verify” and “gnt-cluster verify-disks” use the
list of LVs as returned by backend.GetVolumeLi...
Iustin Pop
02:21 pm Revision 9216a9f7: locking: Acquire SharedLock in shared mode in separate function
This is for some more symetry with
SharedLock.__exclusive_acquire.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
02:17 pm Revision fe89794e: RpcResult: Fix cases where “failed” wouldn't be set to True
This broke “gnt-instance replace-disks --auto” when the instance
is down.
Signed-off-by: Michael Hanselmann <hansmi@...
Michael Hanselmann
02:16 pm Revision ea205dbc: locking: Add level name dict
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Michael Hanselmann
01:31 pm Revision 4d5fe81b: Merge commit 'origin/next' into branch-2.1
* commit 'origin/next':
Fix gnt-node modify online help
Fix gnt-job info entry in gnt-job(8)
locking: Don't swa...
Michael Hanselmann
01:15 pm Revision 4a511fd0: Fix gnt-job info entry in gnt-job(8)
It currently reports "cancel" in its syntax, which is obviously a
cut&paste error.
Signed-off-by: Guido Trotter <ult...
Guido Trotter
01:15 pm Revision b3fd544f: Fix gnt-node modify online help
This completes what was began in commit
862b1b2b4c698cec8ad816793172fac9aa7f4cdf
Signed-off-by: Guido Trotter <ultro...
Guido Trotter

09/11/2009

06:29 pm Revision 470ce2ee: locking: Don't swallow exceptions
This is an indentation bug.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrot...
Michael Hanselmann
05:34 pm Revision b757f830: check-python-code: Report EOL whitespace
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
05:33 pm Revision eed5c5df: Check for tabs and long lines in Python code
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:33 pm Revision 88258349: .gitignore: Ignore distcheck directories
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
05:33 pm Revision 4d4a651d: Wrap lines over 80 characters
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
05:33 pm Revision aa053071: cmdlib: Fix typo in variable name
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
12:43 pm Revision 01a3a718: Makefile: Move lengthy variable list to separate variable
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann

09/10/2009

07:01 pm Revision e948770c: Move LoadModule function to ganeti.build
It should only be used at build-time.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trott...
Michael Hanselmann
07:01 pm Revision f9897b6d: Add new ganeti.build namespace
This will be used to store build-time Python code.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann

09/09/2009

04:50 pm Revision 53a9ecb7: upload: Use more compatible regular expression
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
12:46 pm Revision 640b961e: mcpu: formatting/indenting fix
Small fix for a mistake done by bad editor settings.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Luca Bigliardi

09/08/2009

06:22 pm Revision 87e43988: Add check for duplicate MACs in instance add
Currently LUAddInstance doesn't check for duplicate MACs, and it fails
during the Exec() phase when trying to add the...
Iustin Pop

09/07/2009

06:40 pm Revision 862b1b2b: scripts/gnt-node: fix a help string
gnt-node modify says it wants an "<instance>". Changing it to
"<node_name>" as for the other commands.
Signed-off-by...
Guido Trotter
04:38 pm Revision 009e73d0: Optimise multi-job submit
Currently, on multi-job submits we simply iterate over the
single-job-submit function. This means we grab a new seria...
Iustin Pop
03:43 pm Revision 9d95c3af: Extend gnt-debug with more debugging options
This patch extends gnt-debug to be able to submit multiple copies of the
input jobs and job contents, in order to sim...
Iustin Pop

09/04/2009

06:58 pm Revision 2d3ed64b: Add bash completion for --node node1[:node2]
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:58 pm Revision 5b0ca9d4: Add more debugging to bash completion
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:11 pm Revision 36bf7973: Add simple unittest for manpages
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:11 pm Revision 4b339d4c: Fix small error in gnt-job manpage
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:11 pm Revision 9725b53d: Add locking doc to Ganeti documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:11 pm Revision 667161b4: Add ipsec hook to .gitignore
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann

09/03/2009

08:32 pm Revision 016d04b3: Even more style fixes
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
08:32 pm Revision 1e37ad45: KVM hypervisor: Use ReadFile
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:45 pm Revision d73ef63f: A few style fixes
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:45 pm Revision 508e9b20: Add RAPI resource to redistribute config
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:45 pm Revision bf968b7f: Add simple unittest for remote API docs
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:45 pm Revision f72542cc: rapi doc: Add …/nodes/[name] and …/instances/[name]/reinstall
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:44 pm Revision 3f991867: Add simple unittest for hooks documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:44 pm Revision 6c6b7f8a: Update hooks documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:44 pm Revision d6f5892b: Move LoadModule function to utils
It can be used by unittests for daemons/* or scripts/*.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
06:44 pm Revision 2a887df9: utils.CalculateDirectorySize: Don't redefine builtin
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Michael Hanselmann
06:43 pm Revision 13998ef2: Use ReadFile/WriteFile in more places
This survived QA, burnin and unittests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigl...
Michael Hanselmann
01:58 am Revision 084b2502: Fix luxi recvMsg for messages bigger than 4K
This patch fixes a logic bug in luxi that breaks receive of messages
bigger than 4096 bytes. The send message is not ...
Iustin Pop

09/02/2009

02:05 pm Revision a2442bf9: Makefile: add IPsec hook
Enable creation and dist for IPsec hook.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Luca Bigliardi
02:05 pm Revision d1e95dde: Example IPsec hook
This hook is a simple example which automatically configures a basic IPsec link
among all the nodes of a cluster.
Si...
Luca Bigliardi

09/01/2009

01:54 am Revision 1ae7a904: Add some more instance tests
This include instance text load tests. Iustin Pop
01:54 am Revision cf35a869: Test some cases for the cluster score computation
Iustin Pop

08/31/2009

07:23 pm Revision 28b498cd: gnt-cluster watcher: Show more information
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
06:43 pm Revision 48166551: confd: add cluster master query
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
06:43 pm Revision 0bc8432b: confd/querylib: fix docstrings
They were cut&paste from the first example queries, rather than
documenting the current ones.
Signed-off-by: Guido T...
Guido Trotter
06:43 pm Revision a544f755: confd: avoid spamming the logfile
When confd is disabled we don't want to be noticed every timer interval.
Signed-off-by: Guido Trotter <ultrotter@goo...
Guido Trotter
06:43 pm Revision 73a465ee: Remove SimpleConfigReader.GetHypervisorType
We haven't had that config file entry for a while.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ...
Guido Trotter
04:57 pm Revision a4913296: Merge commit 'origin/next' into branch-2.1
* commit 'origin/next':
Return cluster tags from LUQueryClusterInfo
Conflicts:
lib/cmdlib.py: Trivial
Michael Hanselmann
04:05 pm Revision 7a2ba406: Replace BINDIR variable as well
Add bindir to the list of variables replaced at make time.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Revie...
Luca Bigliardi
01:32 pm Revision c118d1f4: Return cluster tags from LUQueryClusterInfo
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Michael Hanselmann
12:57 pm Revision 1bc6ab94: devel/upload: Build in parallel
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Michael Hanselmann
« Previous
Next »
 

Also available in: Atom