Activity

From 04/23/2009 to 05/22/2009

05/22/2009

08:03 pm Revision 040afc35: Rework the loader model
This big patch changes the loader model from “string data as common
format” to actual object structures as common for...
Iustin Pop
06:03 pm Revision 17c61836: IsNormAbsPath and users, use "normalized" term
We used to refer to normalized paths as "normal" which might be
confusing. This fixes the syntax in all current IsNor...
Guido Trotter
05:32 pm Revision 46952329: hv_chroot: update PARAMETERS value
In the new branch-2.1 PARAMETERS must be a dict rather than a list. In
the hv_chroot case though we can just check th...
Guido Trotter
04:00 pm Revision 5c3b5f99: Merge branch 'branch-2.1' into feature/containers
* branch-2.1:
Hypervisors: make absolute path checking strict
Add utils.IsNormAbsPath function
Convert instance...
Guido Trotter
03:58 pm Revision 4f5277e7: Hypervisors: make absolute path checking strict
Use the new utils.IsAbsNormPath function, rather than just os.path.isabs
Signed-off-by: Guido Trotter <ultrotter@goo...
Guido Trotter
03:58 pm Revision da961187: Add utils.IsNormAbsPath function
Currently most of the time we check for absolute path, but that doesn't
protect us from some invalid paths. In some p...
Guido Trotter
03:58 pm Revision 23b4b983: Modify cli.JobExecutor to use SubmitManyJobs
This patch changes the generic "multiple job executor" to use the many
jobs submit model, which automatically makes a...
Iustin Pop
03:58 pm Revision d4dd4b74: gnt-instance batch-create: use the job executor
This small patch changed the batch create functionality to use the job
executor instead of single-job submits.
Signe...
Iustin Pop
03:58 pm Revision 55efe6da: Convert instance reinstall to multi instance model
This patch converts ‘gnt-instance reinstall’ from single-instance to
multi-instance model; since this is dangerours, ...
Iustin Pop
01:02 pm Revision 64bfbc08: KVM: add the network script to the ancillary files
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
01:01 pm Revision 28eddce5: _RedistributeAncillaryFiles function
This function is shared between AddNode and RedistributeConfig, and used
to redistribute additional files which are i...
Guido Trotter
01:01 pm Revision e1b8653f: _RedistributeAncillaryFiles: add hypervisor files
Each hypervisor can declare additional files to be shipped to all nodes.
Signed-off-by: Guido Trotter <ultrotter@goo...
Guido Trotter
01:01 pm Revision 3680f662: Xen: add ancillary files
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
01:01 pm Revision 4d2a7c95: Remove the HTS_COPY_VNC_PASSWORD constant/feature
Currently just for xen-hvm we copy the vnc password on node-add. This
will be changed for 2.1 with a more advanced g...
Guido Trotter
01:01 pm Revision 5420ffc9: KVM: replace hardcoded network script path
Currently the kvm automatic network scripts accepts to be overridden by
an user supplied /etc/ganeti/kvm-vif-bridge s...
Guido Trotter
01:14 am Revision 585d4420: Initial work on hail
This makes hail compile and get a request parsed via IAlloc, but nothing
more.
Iustin Pop

05/21/2009

08:10 pm Revision 2971c913: Add a luxi call for multi-job submit
As a workaround for the job submit timeouts that we have, this patch
adds a new luxi call for multi-job submit; the a...
Iustin Pop
05:34 pm Revision d27776f0: Change failover instance when instance is stopped
Currently, if the instance is stopped, we still check for enough memory
on the target node. This is a little bit too ...
Iustin Pop
04:09 pm Revision 615dc49b: Merge branch 'branch-2.1' into feature/containers
* branch-2.1: (48 commits)
Doc fixes for RAPI
Release 2.0rc5
Move to data-based hvparam checks instead of code
...
Iustin Pop
04:06 pm Revision c8e0a534: Doc fixes for RAPI
After moving the documentation from the .py files to .rst, we had some
cleanups to do.
This fixes the formatting of ...
Iustin Pop
04:05 pm Revision 67fc3042: Export more instance information in hooks
Currently we miss in hooks the instance's hypervisor, hypervisor
parameters and backend parameters. This forces hooks...
Iustin Pop
03:54 am Revision 7e7f6ca2: Experimental support for non-redundant instances
This patch adds experimental support to hbal for non-redundant instances
(i.e. instances with only one node). They a...
Iustin Pop
03:31 am Revision b33a2243: Small doc addition
Iustin Pop
03:26 am Revision 1c035cb3: Introduce nice errors on invalid input fields
This patch switches from plain read to a wrapper over readsPrec that
returns better error messages than the buildin '...
Iustin Pop
03:10 am Revision 62007053: Split node/instance parsing into functions
This allows easy checking for valid format of the input data (row-wise). Iustin Pop
02:37 am Revision 9d3fada5: Add initial validation checks in Cluster.loadData
This patch converts loadTabular and loadData to a monadic form, thus
allowing meaningful error messages from the node...
Iustin Pop
02:11 am Revision 1297ce13: Small syntax improvement
D'oh, one can extract from a wrapped variable, not only from functions. Iustin Pop
02:09 am Revision fd22ce8e: Convert Cluster.loadData to Result return
This patch changes Cluster.loadData to return a Result, instead of
directly the values; this will allow us to return ...
Iustin Pop
01:31 am Revision 0944090a: Allow hscan to save data for fully-spec'd URLs
In case we pass a fully-specified URL to hscan, currently it will use as
is and that means the directory in which we ...
Iustin Pop
01:24 am Revision e015b554: Allow overriding the RAPI port/scheme
This patch adds a very dumb way to override the port and scheme for
RAPI: if the master string doesn't contain a colo...
Iustin Pop
12:55 am Revision ba00ad4d: Remove some 1.2 specific code
Now that we dropped 1.2 compatibility, we can removed the special casing
for RAPI differences.
Iustin Pop
12:54 am Revision 5aa48dbe: Generalize some Result function into monad ones
We don't really needed, but is more clean like this. Iustin Pop
12:25 am Revision 942403e6: Switch from hand-written monads to a real one
This big patch converts from our home-grown monad-like constructs
(the Either stuff) to a real, Either-like-but-anoth...
Iustin Pop
12:25 am Revision 144f190b: Small changes to the IAlloc module
Adding a small request type data structure. Iustin Pop

05/20/2009

04:16 pm Revision c1be3f59: Merge branch 'master' into branch-2.1
Guido Trotter
04:14 pm Revision f226f085: Merge branch 'master' into next
Signed-off-by: Guido Trotter <ultrotter@google.com> Guido Trotter
04:00 pm Revision 78f44650: watcher: write the instance status to a file
This patch modifies the watcher to keep on-disk a file with the instance
status; this can be used from outside of gan...
Iustin Pop
12:15 pm Revision b926bd98: Release 2.0rc5
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
01:04 am Revision 2cf61508: Update NEWS file for the 0.1.0 release
Iustin Pop
12:59 am Revision 234d8af0: Don't consider offline nodes as N+1 failed
This is just a cosmetic (I hope) change; the nodes shouldn't be used
anyway, and we only correct the display message.
Iustin Pop
12:50 am Revision aff363a4: Drop RAPI v1 compatiblity
Since we only support Ganeti 2.0, we drop the 1.2 compatibility. Iustin Pop
12:45 am Revision 00b15752: Add support for 'offline' nodes
This patch drops compatiblity with Ganeti 1.2 and adds support for
offline nodes in the cluster. When reading from RA...
Iustin Pop

05/19/2009

08:44 pm Revision d392fa34: Fix the SafeEncoding behaviour
Currently we have bad behaviour in SafeEncode:
- binary strings are actually not handled correctly (ahem)
- the e...
Iustin Pop
06:17 pm Revision 205ab586: Move to data-based hvparam checks instead of code
Currently the hypervisor parameters are checked using hard-coded snippets in
each hypervisor. However, most parameter...
Iustin Pop
04:43 pm Revision 622533d5: Merge commit 'origin/next' into branch-2.1
* commit 'origin/next': (25 commits)
Move more hypervisor strings into constants
Add -H/-B startup parameters to ...
Iustin Pop
04:21 pm Revision 835528af: Move more hypervisor strings into constants
This patch adds constants for the mouse and boot order strings; while
there are still some issues remaining, we're tr...
Iustin Pop
02:28 pm Revision 7dfb83c2: watcher: try to restart the master if down
Bugs in either our code or in associated libraries can bring the master daemon
down, and this (due to the 2.0 archite...
Iustin Pop
02:02 pm Revision 88ae4f85: IAllocator: export total disk size for instances
This patch adds for current instance a ‘disk_space_total’ key, similar
to the key for the new instance in case of new...
Iustin Pop
11:39 am Revision d04aaa2f: Add -H/-B startup parameters to gnt-instance
This patch modifies the start instance script, opcode and logical unit
to support temporary startup parameters.
Diff...
Iustin Pop
11:39 am Revision 0eca8e0c: call_instance_start: add optional hv/be parameters
This patch modifies the rpc.call_instance_start - the master side - to
take optional hv/be parameters. The noded side...
Iustin Pop
01:19 am Revision 3f6af65c: Update the IAlloc module
We know have a working parseData function that returns the node and
instance data. This uncovered bad support for non...
Iustin Pop

05/18/2009

07:39 pm Revision dcbd6288: Fix gnt-job list argument handling
Currently QueryJob returns "None" when a wrong job ID is passed.
Handle this in gnt-job list, by printing an error fo...
Guido Trotter
12:03 pm Revision 9ba5c28f: Move the JSON utilities to Utils.hs
This patch moves the generic/reusable JSON functions to Utils.hs, so
that they're shared between RAPI/IAlloc.
Iustin Pop
09:46 am Revision 43643696: Add a copy of Rapi.HS as IAlloc.hs
This will be used in two ways:
- format the response to Ganeti (easy, implemented)
- parse the input data and bui...
Iustin Pop
09:18 am Revision 425e3906: Remove the apidoc dir on clean
Iustin Pop

05/15/2009

11:45 am Revision b4874c9e: Instance reinstall: don't mix up errors
If the remote info rpc call fails we can't assume that the instance is
up.
Signed-off-by: Guido Trotter <ultrotter@g...
Guido Trotter
11:42 am Revision f1926756: Don't check memory at startup if instance is up
Signed-off-by: Guido Trotter <ultrotter@google.com> Guido Trotter

05/14/2009

08:17 pm Revision 5b18ff3b: 2.1 design: add VNC console password changes
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
08:17 pm Revision b6cc971c: 2.1 design: OS parameters
Initial design for the OS parameter changes proposed for 2.1.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Re...
Guido Trotter
06:28 pm Revision 09ea8710: Move HVM's device_model to a hypervisor parameter
This moves yet another hardcoded value to a hypervisor parameter. I
removed the 64/32 difference as it doesn't seem v...
Iustin Pop
04:41 pm Revision e2ee1cea: Implement the KERNEL_PATH parameter for xen-hvm
For the xen-hvm hypervisor, the KERNEL_PATH parameter is needed but
today is hardcoded to a constants in the xen hype...
Iustin Pop
02:11 pm Revision d1268971: 2.1 design: propose redistribute config changes
This patch proposes a mini-design to improve redistribute-config and
integrate it better with other logical units.
S...
Guido Trotter

05/13/2009

03:58 pm Revision b8a8fbe1: gnt-cluster modify: fix --no-lvm-storage
Currently doing a gnt-cluster-modify --no-lvm-storage is silently
ignored, as it passes a None value in vg_name, whic...
Guido Trotter
03:58 pm Revision b2482333: LUSetClusterParams: improve volume group removal
Currently LUSetClusterParams will remove the volume group if the vg_name
field passed in is not true, but not None. S...
Guido Trotter
02:51 pm Revision a8001106: gnt-cluster info: show more cluster parameters
Even if we cannot modify all of them, they are useful information about
the current cluster.
Signed-off-by: Guido Tr...
Guido Trotter
02:45 pm Revision 7a56b411: LUQueryClusterInfo: return a few more fields
Some fields can be set at cluster init, and perhaps even modifed with
SetClusterParams but there's no way to know the...
Guido Trotter
01:52 pm Revision 587ff6fa: Specify another type of core changes
If a change modifies the way all/most LUs work it should also be
considered core.
Signed-off-by: Guido Trotter <ultr...
Guido Trotter

05/12/2009

06:53 pm Revision 7e66c35b: KVM: Abstract runtime file removal in a function
This removes some code which was duplicated in shutdown and migrate.
Signed-off-by: Guido Trotter <ultrotter@google....
Guido Trotter
02:32 pm Revision 48297fa2: New hypervisor implementation: chroot manager
This patch adds a new hypervisor implementation: a chroot manager. This
hypervisor type can be used to manage (in com...
Iustin Pop
02:31 pm Revision e2078d28: Move the glossary to a separate file
Currently we have an insignificant glossary at the end of the design-2.0
document. This patch moves it to a separate ...
Iustin Pop
02:31 pm Revision fd07c6b3: Some small doc updates
We change some formatting to sphinx-specific, to show how the
documentation can be improved.
Signed-off-by: Iustin P...
Iustin Pop
02:30 pm Revision 2a7e887b: KVMHypervisor: return memory and cpus as integers
Currently the KVM hypervisor returns strings for the memory and cpu
values, while the xen hypervisor returns integers...
Guido Trotter
02:30 pm Revision ade0e8cd: LUSetInstanceParam: don't assume memory is integer
LUSetInstanceParam currently assumes that the 'memory' value of a
call_instance_info result is an integer, while the ...
Guido Trotter
02:29 pm Revision d17e74b4: Switch the documentation to sphinx
This big patch converts the documentation build system to sphinx
(http://sphinx.pocoo.org/). Since that uses reStruct...
Iustin Pop
02:28 pm Revision 6d81475c: Convert from auto-generated RAPI docs to static
This patch removes the autogeneration of the RAPI docs from the code
(based on docstrings) and moves the current auto...
Iustin Pop

05/11/2009

05:20 pm Revision d816408a: Add the new DRBD test files to the Makefile
These were forgotten in commit 01e2ce3a6e4ca68983f50dedaddd0d0fc7b77026,
and caused “make distcheck” to fail.
Signed...
Iustin Pop
05:18 pm Revision 5645d16b: Fix QA and documentation about no initrd case
In Ganeti 1.2, “none” was used to signify no initrd. In 2.0 we have
changed to “no_” as a prefix (i.e. “-H no_initrd_...
Iustin Pop
05:18 pm Revision dad1e806: Remove an unused function
The _TransformPath function is not used anymore in 2.0, let's remove it.
Signed-off-by: Iustin Pop <iustin@google.co...
Iustin Pop
12:12 pm Revision a8b16c4e: Exporting the instance network_port on the RAPI
Patch for adding network_port to the instance attributes exported by the
RAPI.
[iustin@google.com: slightly changed ...
Tim Boring

05/10/2009

12:27 am Revision 4fb301b5: Minor patch to rapi documentation
Minor patch to clarify the URL necessary for accessing the RAPI.
Signed-off-by: Iustin Pop <iustin@google.com>
Revie...
Tim Boring
12:21 am Revision 342046f4: Small doc change in README
The version is 2.0, and we don't build PDFs by default, only HTML
files.
Signed-off-by: Iustin Pop <iustin@google.co...
Iustin Pop

05/07/2009

11:13 am Revision bd45767b: Remove some superfluous imports
This is for Python 2.6 compatibility.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin Pop <iustin@...
Carlos Valiente
11:11 am Revision c138024e: Make Python interpreter selectable for test scripts
The Python interpreter used to run the test cases is hard-coded to be
/usr/bin/python. If we use the first one from $...
Carlos Valiente

05/06/2009

02:56 pm Revision e557bae9: Inform the OS create script of reinstalls
Sometimes reinstalls are slightly different than new installs. For
example certain partitions may need to be preserve...
Guido Trotter
01:36 pm Revision 82a1c938: Add initial 2.1 design doc
This document contains a skeleton for the 2.1 design process.
For now it just has introductory paragraphs and a struc...
Guido Trotter
10:50 am Revision 2e159315: Pass optional arguments to the daemons
These can be set in the defaults file, default to no arguments being
passed, and make it easy for local installation ...
Guido Trotter
10:49 am Revision a533e975: ganeti.initd: include defaults file, if present
In the example init script we'll execute an optional defaults file to
make it easier to add local customizations to t...
Guido Trotter
10:46 am Revision 84d6ea9b: Fix ;; indentation in the main initd loop
Currently two of the ;; ending the case bodies are not indented with
anything. Reindent all of them to the body of th...
Guido Trotter

05/05/2009

06:53 pm Revision a133af22: Avoid DeprecationWarning on Python >= 2.6
Python 2.6 complains about module 'sha' being deprecated. It makes
execution of Ganeti commands a bit annoying, and w...
Carlos Valiente
06:06 pm Revision 7ffe8fba: Avoid DeprecationWarning on Python >= 2.6
Python 2.6 complains about module 'sha' being deprecated. It makes
execution of Ganeti commands a bit annoying, and w...
Carlos Valiente
04:41 pm Revision cf192249: ganeti-noded: add bind address option
This allows ganeti-noded to bind only on one interface rather than all
the ones on the machine. The default behaviour...
Guido Trotter
04:19 pm Revision 34e71fea: Fix compatibility with DRBD 8.2
This patch adds (and suppresses) the extra ipv4/ipv6 words before the
actual address that newer DRBD versions add.
[...
Karsten Keil
04:19 pm Revision 01e2ce3a: Fix compatibility with DRBD 8.3
DRBD 8.3 changes two more things compared to 8.2:
- /proc/drbd format changed in multiple ways; the part we're
...
Iustin Pop
02:00 pm Revision c803b052: RunCmd: log command line for missing cmd case
In case of missing programs, currently utils.RunCmd doesn't show any
information to help debugging, only 'No such fil...
Iustin Pop
01:58 pm Revision 572e52bf: Abstract Linux node information in hv_base
Currently both hv_fake and hv_kvm implement practically identical code
to get the node information. Since future cont...
Iustin Pop
11:33 am Revision 3994f455: Fix argument checking in LUSetClusterParams
This patch fixes two issues with LUSetClusterParams and argument
checking.
First, this LU used the wrong function na...
Iustin Pop

05/04/2009

04:51 pm Revision 81b7354c: Small optimisation in utils.WriteFile
Currently we always try to remove the new file, even if the rename
succeeded. This patch tracks the existence of the ...
Iustin Pop
04:51 pm Revision dd36d829: Fix luxi serialization in ganeti-masterd
Currently, lib/luxi.py used lib/serializer.py for encoding/decoding
messages, but the master daemon uses directly the...
Iustin Pop
04:45 pm Revision 99036060: Allow gnt-debug submit-job to take multiple args
Currently “gnt-debug submit-job” takes a single argument and has
non-trivial startup-costs; in order to exercise the ...
Iustin Pop
04:09 pm Revision d64769a8: Include node name in hypervisor validation errors
The current validation routine just says "failed", without specifying
the node name. This is very confusing, and we s...
Iustin Pop
04:09 pm Revision 8eb148ae: Fix gnt-cluster getmaster on non-master nodes
The current implementation of “gnt-cluster getmaster” doesn't work on
non-master nodes, which is a regression from 1....
Iustin Pop

04/27/2009

01:57 pm Revision d1908b41: Release 2.0rc4
Reviewed-by: ultrotter Iustin Pop

04/26/2009

05:15 pm Revision d09b6ed3: hbal: add a --quiet option
This option is the opposite of the --verbose option, and it allows
decreasing the verbosity level from the default of...
Iustin Pop

04/25/2009

06:40 pm Revision ba6c6006: hbal: Simplify the oneline formatting
This patch moves the oneline format into a separate function for easier
usage.
Iustin Pop
06:40 pm Revision dcbcdb58: hbal: Early exit when we don't have any instances
For clusters with no instances, there is no point in computing either
the score or in running the algorithm. In this ...
Iustin Pop
06:40 pm Revision b0517d61: hbal: Add a new min-score option
This new parameter causes the algorithm to finish (or even not start at
all) if we reach/have a score better than it.
Iustin Pop
06:39 pm Revision b161386d: hbal: Change hardcoded tests to monadic composition
In some case we manually do “if isNothing … then Nothing else …”, which
can be very easily replaced with a monadic co...
Iustin Pop

04/24/2009

07:13 pm Revision d09ebf6f: Update gnt-instance(8) for info
Add the --all argument, and reword a bit the basic information.
Reviewed-by: iustinp
Guido Trotter
07:13 pm Revision 220cde0b: gnt-instance info --all
Don't show all instances info by default, but require --all to be passed
for this time consuming operation.
Reviewed...
Guido Trotter
05:36 pm Revision a6ab004b: LUDiagnoseOS: change locking and error handling
Since the “list OSes” call is exported via RAPI, this can be used pretty
easily to DOS the master daemon during long ...
Iustin Pop
11:43 am Revision ea9ddc07: Fix verify-disks with broken volume groups
When a remote node returns invalid LVM data, we check it, but we don't
stop and continue with the rest of the checks ...
Iustin Pop
11:43 am Revision 9a198532: Prevent errors when xenvg is broken cluster verify
When vg_name is not returned at all, we currently abort with an internal
error. This is because we don't catch KeyErr...
Iustin Pop
« Previous
Next »
 

Also available in: Atom