From 11/15/2009 to 12/14/2009


05:36 pm Revision 4fe80ef2: Move the hooks file mask into
This will allow reuse of the same mask for multiple validations.
Signed-off-by: Iustin Pop <>
Iustin Pop
05:36 pm Revision f95c81bf: Security issue: add validation of script names
This patch unifies the search for external script to always go through
utils.FindFile and implements in that function...
Iustin Pop
05:34 pm Revision 4dfd6266: Improve LUQueryNodes for lockless case
In most uses of LUQueryNodes, we don't take a lock. This means that the
instance data is not protected across GetInst...
Iustin Pop


07:01 pm Revision 0c860cff: Convert n1_score metric from % to count
This increases the priority of fixing N+1 failures compared to balancing
Iustin Pop
06:54 pm Revision 8ce618f3: Merge branch 'master' into next
* master:
Use the oper_ram field if available
rapi, luxi: treat drained nodes as offline
Iustin Pop
06:47 pm Revision 673f0f00: Metric: count of primary instances/offline nodes
This helps with evacuation/failover of instances on 2-node clusters with
one one offline.
Iustin Pop
06:43 pm Revision e4d31268: Offline instance metric: change from % to count
Currently we use the offline instance percentage (with range [0, 1]),
but this is not good, since we want the evacuat...
Iustin Pop
06:17 pm Revision 6402a260: Use the oper_ram field if available
For the RAPI and LUXI backends, we can get the actual memory usage (if
instances are running) via the oper_ram, where...
Iustin Pop


04:49 pm Revision d24cb692: Merge branch 'devel-2.1'
* devel-2.1:
Add disk cache control parameter for KVM
Change pyinotify import for broader compatibility
Guido Trotter
04:45 pm Revision 19572932: Add disk cache control parameter for KVM
This patch adds the 'cache' parameter for KVM; currently this is only
customisable at the hypervisor level, so it's t...
Iustin Pop
03:53 pm Revision ad54f3d2: Change pyinotify import for broader compatibility
On some distributions pyinotify is installed in a different way, and the
actual module just contains an internal pyin...
Guido Trotter


12:30 pm Revision b45222ce: rapi, luxi: treat drained nodes as offline
Commit e97f211 changed the iallocator backend to handle drained nodes as
offline. This commit completes that change b...
Iustin Pop


06:18 pm Revision 77220dd2: Ship rapi.rst/rapi.html in the dist archive
Patch 4352bf6 changed RAPI docs to RST from the previous SGML format
(the last file to be converted to RST).
Iustin Pop


06:49 pm Revision 31728b11: Add a live-test script
This can be used to test that all the existing commands work correctly. It
needs a running cluster with at least one ...
Iustin Pop
04:58 pm Revision 1cea2e1e: Fix typo breaking LUXI backend
This really shows the need for actual dist-time full testing (not
Iustin Pop
04:01 pm Revision 43dc8496: ClusterMasterQuery: add primary ip field
By allowing also the primary ip field to be fetched directly, we avoid
one more confd lookup, or dns request, to find...
Guido Trotter
03:08 pm Revision 250554a9: confd ClusterMasterQuery: allow fields request
Change the ClusterMasterQuery to allow a query, and if present accept a
list of fields to be returned. Currently only...
Guido Trotter
12:57 pm Revision ffeaa443: Update NEWS file for the 0.2.1 release
Iustin Pop
12:57 pm Revision 434c15d5: Fix unittests after instance tags addition
Iustin Pop
12:25 pm Revision 70c708fc: Merge branch 'next'
* next:
Update documentation for the iextags
Re-wrap the README
Configure exclusion tags via the cluster tags
Iustin Pop
12:24 pm Revision 73b2e389: Update documentation for the iextags
Iustin Pop
12:20 pm Revision d3b1075f: Re-wrap the README
… since we added the fill-column 72 setting. Iustin Pop


04:43 pm Revision 6e56e84a: Inter-node RPC timeout design
Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>
Michael Hanselmann
03:29 pm Revision 0648750e: daemon.GenericMain: Don't use dict for SSL paths, improve CLI options
Pass SSL certificate and key paths from ganeti-* instead of using a dict. The
patch also improves the --ssl-{key,cert...
Michael Hanselmann
03:29 pm Revision 30dabd03: daemon.GenericMain: Don't use list of multithreaded daemons
Passing it in as a parameter seems more logical.
Signed-off-by: Michael Hanselmann <>
Reviewed-by: ...
Michael Hanselmann
03:29 pm Revision 0a71aa17: daemon.GenericMain: Improve --bind and --port options a bit
Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>
Michael Hanselmann
02:49 pm Revision f5e67f55: Configure exclusion tags via the cluster tags
This patch adds reading of the exclusion tags from the cluster tags: any
tags starting with htools:iextags: will conv...
Iustin Pop
02:45 pm Revision f3d53161: hail: add '-p' option intended for debugging use
This prints the initial node list on stderr, since stdout is reserved for the
iallocator protocol (even though ganeti...
Iustin Pop
01:24 pm Revision 669ea132: Read cluster tags in the IAllocator backend
Iustin Pop
12:49 pm Revision 310fbb64: DRBD: ignore unreadable meta devices
The DRBD driver can ignore dead disks but not dead meta devices (for
which it refuses to configure the minor). To han...
Iustin Pop
12:49 pm Revision 016308cb: Simplify utils.ReadFile
The documentation for file objects' read method states that if the size
is "negative or ommitted", all data is read; ...
Iustin Pop
12:47 pm Revision f89235f1: Read cluster tags in the LUXI backend
Iustin Pop
11:53 am Revision ea017cbc: Read cluster tags in the RAPI backend
This also shows them in hbal in verbose mode. Iustin Pop


04:43 pm Revision 57fd6d0b: A few style updates
Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>
Michael Hanselmann
04:34 pm Revision 313b2dd4: gnt-cluster verify: Warn if node time diverges too far
The warning will be generated if the clocks diverge by more
than 150 seconds. Due to the way the RPC system works, we...
Michael Hanselmann


05:13 pm Revision 94e05c32: Introduce support for reading the cluster tags
While these are not actually populated from the backends, and all the
programs ignore them, this patch contains the c...
Iustin Pop
01:12 pm Revision e56bb0e8: Add template Ganeti 2.2 design doc
Signed-off-by: Guido Trotter <> Guido Trotter


07:28 pm Revision 94c2ed34: KVM: fail when a routed nic has no ip
This shouldn't happen, but if it does it's better to fail at this level,
rather than create a broken NIC script, whic...
Guido Trotter
06:25 pm Revision b30e35c6: Enable batch mode for devel/upload
Since the rsync/ssh calls are done in parallel, they can't read properly a
password or confirmation about keys from s...
Iustin Pop
05:29 pm Revision 5bc556dd: cmdlib: Work around race condition in DRBD before version 8.0.13
DRBD goes into sync mode for a short amount of time after
executing the "resize" command. DRBD 8.x below version
Michael Hanselmann
05:17 pm Revision ea0f3d7a: Add disk cache control parameter for KVM
This patch adds the 'cache' parameter for KVM; currently this is only
customisable at the hypervisor level, so it's t...
Iustin Pop


06:39 pm Revision 43473573: Bump version to 2.1.0~rc1
Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>
Michael Hanselmann
04:40 pm Revision a33690c2: Remove testJsonIndent unittest
It can't work on older distributions where simplejson
doesn't have indentation support.
Signed-off-by: Michael Hanse...
Michael Hanselmann
04:36 pm Revision 8e671b7c: QA: improve usability with cluster-init: False
When not initialising the cluster, consider all nodes are added, so that
multi-node tests (e.g. export, replace) work...
Iustin Pop
04:30 pm Revision 1f864b60: Remove quotes from CommaJoin and convert to it
This patch removes the quotes from CommaJoin and converts most of the
callers (that I could find) to it. Since CommaJ...
Iustin Pop
02:08 pm Revision 82e186f8: Re-add “nic.bridges” field to RAPI bulk instance list
Commit 495cfdf0 removed “nic.bridges” from the default
list for bulk instance list RAPI requests.
Signed-off-by: Mic...
Michael Hanselmann
02:08 pm Revision 8adfb141: build-bash-completion: Check for None before comparing
Comparing a number with None is not a good idea:
>>> (0 < None, 0 > None)
(False, True)
This patch also adds bu...
Michael Hanselmann
01:45 pm Revision ab3e6da8: Revert "Get rid of utils.CommaJoin"
This reverts commit 6915bc28fe053e92aa16cf2d974d205f1140219c based on thread on
Iustin Pop
01:08 pm Revision 8d0a4f99: Add check for OpenSSL entropy status
By checking for this explicitly, the errors (SSLEAY_RAND_BYTES, “PRNG
not seeded”) will happen in the start-up phase ...
Michael Hanselmann
12:33 pm Revision 20b1bd80: A couple of doc updates
Clarify the fact that temporary HV/BE params in instance start override
and do not extend the configured parameters; ...
Iustin Pop


01:55 pm Revision 9739b6b8: hspace: quote non-alphanum values in shell output
The tiered allocation output which contains spaces makes the output of
hspace non-sourceable. This patch adds a new f...
Iustin Pop


01:44 pm Revision a426508d: Handle EEXIST in utils.RenameFile
This should fix an issue I've seen exactly once during testing. It might have
been caused by parallel RPC calls to ar...
Michael Hanselmann
01:43 pm Revision b6c07b79: Remove unused parameter “unlock” from cmdlib._WaitForSync
Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>
Michael Hanselmann


11:44 am Revision 0f15cc76: Add a command-line option to filter exclusion tags
Since we don't want all instance tags to be used for exclusion, we add a
command line option to filter on these. Sinc...
Iustin Pop
11:44 am Revision b2999982: Add a new node list field
This patch adds a new node list field (ptags), showing the primary
instance tags.
Iustin Pop
11:44 am Revision 1e4b5230: Node: add function for conflicting primary count
Iustin Pop
11:44 am Revision 185297fa: Collapse the statistical functions into one
This allows us to get rid of two duplicate list length computations,
with a minor speedup.
Iustin Pop
11:44 am Revision e27eb8ab: Specialize the math functions
The statistics functions are currently defined as polymorphic with a
Floating constraint. Changing this to monomorphi...
Iustin Pop
11:44 am Revision d844fe88: Use conflicting primaries count in cluster score
This small patch adds the number of conflicting primaries in the cluster
score. This is different from the other non-...
Iustin Pop
11:44 am Revision 5f0b9579: Introduce tag-based exclusion of primary instances
This patch introduces exclusion of primary instances based on tags. This
is incomplete as currently all tags are bein...
Iustin Pop


06:52 pm Revision 21bcb9aa: Fix off-by-one error when modifying instance NIC
For an instance with exactly one NIC:
$ gnt-instance modify --net 1:ip= inst1
Failure: prerequisites not met ...
Michael Hanselmann
03:58 pm Revision b8716596: Re-add check for duplicate instance IP
This was originally implemented in 0ce8f948 and partially
rolled back in 9b65e0d4. Apart from re-adding the check,
Michael Hanselmann
01:47 pm Revision 8619a3bd: Fix gnt-instance list documentation
(1) Both the man page and the online help report the link and mode
fields, which are in the code called nic_link and ...
Guido Trotter
« Previous
Next »

Also available in: Atom