Activity

From 04/20/2009 to 05/19/2009

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

04/21/2009

10:05 am Revision f438b9b3: Fix the makefile dist rule
It was missing a dependency on the Version.hs file, so right after “make
clean”, a “make dist” used to fail.
Iustin Pop
09:50 am Revision 48470548: Update NEWS file for the 0.0.8 release
Iustin Pop

04/20/2009

03:12 pm Revision 8930eef2: Increase allowed missing memory to 512MB
Since Xen seems to “steal” some amounts of memory (depending on total
node memory), we increase the maximum allowed m...
Iustin Pop
02:13 pm Revision 7b255913: Update man pages with the env variables
This patch documents the environment variables in the man pages of hbal
and hn1.
Iustin Pop
02:07 pm Revision 8032b3b5: Add reading the file names from env vars
This patch adds support for selecting the instance/node file names via
two environment variables (HTOOLS_NODES, HTOOL...
Iustin Pop
02:00 pm Revision 45f01962: Implement error checks for extra arguments
Neither hbal nor hn1 take any arguments beside the options, so if any
are passed is most likely an unintended error. ...
Iustin Pop
01:00 pm Revision 050b0c38: Fix the makefile clean rule
Use the $HPROGS variable instead of hardcoding the program names. Iustin Pop
01:00 pm Revision 017382b7: Add a gitignore file
Iustin Pop
« Previous
Next »
 

Also available in: Atom