Activity

From 11/05/2009 to 12/04/2009

12/02/2009

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

12/01/2009

04:43 pm Revision 6e56e84a: Inter-node RPC timeout design
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
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 <hansmi@google.com>
Reviewed-by: ...
Michael Hanselmann
03:29 pm Revision 0a71aa17: daemon.GenericMain: Improve --bind and --port options a bit
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
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

11/30/2009

04:43 pm Revision 57fd6d0b: A few style updates
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
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

11/27/2009

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 <ultrotter@google.com> Guido Trotter

11/26/2009

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

11/25/2009

06:39 pm Revision 43473573: Bump version to 2.1.0~rc1
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
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
ganeti-devel.
Conflicts:
lib/cmdli...
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

11/24/2009

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

11/20/2009

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 <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann

11/17/2009

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

11/16/2009

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=1.2.3.4 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,
th...
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

11/13/2009

06:00 pm Revision 8d9c3bef: config: Style fixes
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:59 pm Revision 94338f0a: Add packaging notes to documentation
This includes a few paragraphs about daemon-util.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
05:59 pm Revision 9044275a: Fix epydoc error
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:59 pm Revision e7f6524c: sphinx: Treat warnings as errors
This makes it easier to catch warnings.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Tro...
Michael Hanselmann
05:59 pm Revision cbf3d64b: Include INSTALL in documentation
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:59 pm Revision c27ba1cc: Convert INSTALL to RST
This is in preparation to including it into the large
documentation.
Signed-off-by: Michael Hanselmann <hansmi@googl...
Michael Hanselmann
02:07 pm Revision 90b704a1: Fix change of cluster nic parameters
To stay on the safe side, we check for errors in all instances, and
refuse to act, reporting on the errors we found, ...
Guido Trotter

11/12/2009

07:29 pm Revision beabf067: Fix mispopulation of nic parameters at nic modify
There's a bug in Ganeti 2.1 rc0 that makes nic parameters be populated
from the "filled in" dict, even if we're not c...
Guido Trotter
07:29 pm Revision 0c9d32c1: NIC.CheckParameterSyntax: fix bridged check
We should match for the strings to be the same "==" not to point to the
same memory location with is, or we skip the ...
Guido Trotter

11/11/2009

07:18 pm Revision 3e5af833: Bump version to 2.1.0~rc0
Also add one item to NEWS.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrott...
Michael Hanselmann
04:00 pm Revision e91cfc2a: Update RAPI documentation on job results
This documents the new error classifier added for OpPrereqError.
Signed-off-by: Iustin Pop <iustin@google.com>
Revie...
Iustin Pop
03:30 pm Revision 3d547d87: Revert "Backport AC_PATH_PROGS_FEATURE_CHECK"
This reverts commit 52b699ecaa688a2aaac00fa64558e249d0bc9a26.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
...
Michael Hanselmann
03:30 pm Revision fe5b0c42: Fix and simplify socat escape detection
- Program paths should not be --with-… options (see
Autoconf docs)
- Simplify checks for escape functionality
- Mak...
Michael Hanselmann
03:30 pm Revision 7e1fac25: Use “daemon-util” to reload SSH keys
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:10 pm Revision 17e7af2b: Add a tags attribute to instances
… and read it in all the loaders. hscan is modified to save it to the
files it generates.
The attribute is not yet u...
Iustin Pop
11:39 am Revision 27671a61: Small change in some list arguments
This is simpler than the concat operator. Iustin Pop

11/10/2009

07:24 pm Revision 1cd133d6: Use either \- or \(hy in manpages
This reduces warnings from lintian when building Debian packages. Iustin Pop
04:59 pm Revision 88df4f39: KVMHypervisor: fix broken error format string
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
03:58 pm Revision eefd790c: Update NEWS file for the 0.2.0 release
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
03:23 pm Revision 5774167b: Rewrite NEWS for better RST compatibility
The text-only version should still be very readable, but the RST output
will be better hopefully.
Iustin Pop
02:59 pm Revision e98fb766: Allow overriding the field list in -p
The print nodes option can now accept an optional field list to
customise the output. This is ugly, since the field n...
Iustin Pop

11/09/2009

06:18 pm Revision 5d4f9eed: Update hspace manpage with tiered allocation info
Also fixes some other small issues in man pages. Iustin Pop
05:49 pm Revision 76354e11: Move more node-listing functionality in Node.hs
This will prepare for the runtime-selectable field list. Iustin Pop
04:51 pm Revision a7a8f280: Change the default dynamic usage to baseUtil
This fixed the unbalanced secondary instances on partially empty
clusters, and helps in general for the cases where r...
Iustin Pop
03:43 pm Revision daee4bed: Add a few comments in the scoring function
Iustin Pop

11/06/2009

07:23 pm Revision 117dc2d8: Enhance the error reporting for Rapi and Luxi
Currently the JSON conversion in Rapi and Luxi are giving something
like:
Error: failed to load data. Details:
Un...
Iustin Pop
07:23 pm Revision 262f3e6c: Change the Utils.fromObj signature
Currently the fromObj function takes a JSON object which is then
converted into a list of (String, JSValue) in which ...
Iustin Pop
07:14 pm Revision a160c28e: Rework the tiered spec output format
Iustin Pop
07:13 pm Revision 7f4e37f0: Make some CLI options more consistent
Both the simulate and the tiered allocation mode take a machine spec on
input via a comma-separated list. This patch ...
Iustin Pop
07:13 pm Revision fcebc9db: Implement first version of tiered allocations
This patch adds the first version of tiered allocations where we
decrease instance specs on allocation failure and re...
Iustin Pop
07:13 pm Revision 189bc08f: hspace: fix stats printing for tiered mode
Iustin Pop
07:13 pm Revision 83ad1f3c: hspace: show tiered-alloc stats in the output
This is a first attempt to get a readable output of tiered allocation
stats in hspace's output. Not very nice, but it...
Iustin Pop
07:13 pm Revision 12e6776a: A small style change in Node.hs
This imports PeerMap as P and reindents some lines. Iustin Pop
07:12 pm Revision c8db97e5: Add support for shrinking instance specs
This patch adds a function that, for some given failure modes, shrinks a
given instance in the hope that allocation w...
Iustin Pop
05:36 pm Revision 4fae38c5: ConfigWriter: move _temporary_ids to reservation
In order to do this we need to pass a job id when reserving a resource.
We have one during _EnsureUUIDs because we pa...
Guido Trotter
05:36 pm Revision 36b66e6e: ConfigWriter: move _temporary_macs to reservation
This solves the race conditions in mac reservation, as macs are actually
reserved, under the current ec id.
Signed-o...
Guido Trotter
05:36 pm Revision afa1386e: ConfigWriter: simplify GenerateDRBDSecret
We can do this by adding a new TemporaryReservationManager
Signed-off-by: Guido Trotter <ultrotter@google.com>
Revie...
Guido Trotter
05:36 pm Revision 013da361: TemporaryReservationManager
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
04:08 pm Revision 0debfb35: config.Add{Node,Instance}: get the ec id
This is ok because adding a node or instance cannot happen in a query.
We get the ec id from the LU and pass it to _...
Guido Trotter
04:08 pm Revision 664fbc9d: Remove exceptions list from GenerateUniqueID
It's not used anywhere, so it's dead code.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin P...
Guido Trotter
04:08 pm Revision adfa97e3: Processor: support a unique execution id
When the processor is executing a job, it can export the execution id to
its callers. This is not supported for Queri...
Guido Trotter
04:08 pm Revision 73064714: Add config.DropECReservations
For now this function does nothing, but it gets called by mcpu when the
execution of an LU is done, making sure any p...
Guido Trotter
04:08 pm Revision 2c8a5690: Add errors.ReservationError
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
03:48 pm Revision 6c881c52: Fix pylint 'E' (error) codes
This patch adds some silences and tweaks the code slightly so that
“pylint --rcfile pylintrc -e ganeti” doesn't give ...
Iustin Pop
03:33 pm Revision bfe61b0b: A few more small documentation updates
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
03:32 pm Revision 5ba3e84f: Remove obsolete statement in autogen.sh
Nowadays we have actual files (tracket by VCS) in autotools/, so we know
the directory exists.
Signed-off-by: Iustin...
Iustin Pop
02:06 pm Revision 6b970cef: Add use_localtime parameter for xen-hvm and kvm
Currently xen-hvm and kvm use different real time clock by default. To
reduce confusion, this patch adds an optional ...
Jun Futagawa
01:42 pm Revision e8a3bf18: Documentation updates for the global hvparams
This patch does multiple documentation updates for the new framework,
all pretty straightforward.
Signed-off-by: Ius...
Iustin Pop
01:42 pm Revision 3c075436: Remove the KVM_MIGRATION_PORT configure.ac param
Since this is easily configurable at run-time, we remove the
configure-time parameter. If anyone is building custom p...
Iustin Pop
01:42 pm Revision 7736a5f2: Introduce 'global hypervisor parameters' support
This patch adds support for global hypervisor parameters in instance
creation, instance modification, instance query ...
Iustin Pop
01:38 pm Revision bd14a6ac: Fix the init script
The rewrite after the introduction of the daemon-util script has a
copy-paste error.
Signed-off-by: Iustin Pop <iust...
Iustin Pop

11/05/2009

05:36 pm Revision d9a51679: gnt-*: Print better error message for uninitialized cluster
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
05:36 pm Revision 02141fb1: Cache JSON encoders and sort keys
The sort_keys argument is supported since simplejson 1.3.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revi...
Michael Hanselmann
05:36 pm Revision f154a7a3: Add new “daemon-util” script to start/stop Ganeti daemons
Until now, Ganeti started and stopped its own daemons using custom functions.
To start, the daemon was just executed ...
Michael Hanselmann
03:22 pm Revision 86d6bc2a: kvm console: use socat raw mode with escape
If this is enabled at configure time, we pass in different parameters to
the socat console, making it a lot more mana...
Guido Trotter
03:22 pm Revision 87c1d0c7: configure: check for socat and its escape feature
Currently we use a static value for the socat path, or we trust the
user-provided one. With this patch we still trust...
Guido Trotter
03:21 pm Revision 52b699ec: Backport AC_PATH_PROGS_FEATURE_CHECK
In order to allow working with older versions of autoconf we backport
this macro, but only if it's not defined alread...
Guido Trotter
« Previous
Next »
 

Also available in: Atom