Activity
From 04/27/2009 to 05/26/2009
05/26/2009
- 06:27 pm Revision d48031a1: Add a new CONFIRM_OPT option to cli.py
- Today we are not very consistent as to what ‘--force’ represents:
sometimes confirmation, sometimes forcing a possibl... - 12:58 pm Revision a097adcc: Update NEWS file for the second attempt at 0.1.1
- 12:58 pm Revision cdd0a1dd: Add a maintainer-clean makefile rule
- This splits the current “clean” rule into proper clean (cleaning of
build artifacts) and maintainer-clean (cleaning o... - 12:28 pm Revision 1de50907: Port offline node fixes from Rapi to IAllocator
- The IAllocator source was copied from Rapi before the offline node fixes
were made. This changes such that offline no...
05/25/2009
- 11:50 pm Revision 2c9b2122: Update NEWS file for the 0.1.1 release
- Also replace tabs in an older entry with spaces.
- 11:47 pm Revision bd1794b2: Fix loading of plain instances via iallocator
- Currently iallocator is broken when reading single-node instances (and
with an ugly error message). This patch fixes ... - 11:12 pm Revision 8a6f10ce: hail: don't relocate to current primary node
- This patch fixes the relocate-to-primary-node problem, and doesn't mark
the excluded nodes as offline anymore (we don... - 10:22 pm Revision a8946537: Fix some haddock issues
- Slash is a reserved char. Slash is a reserved char. Slash is a…
- 10:11 pm Revision 80276b9e: Update README for hail
- 10:04 pm Revision c6702e5e: Add man page and .gitignore entry for hail
- 09:50 pm Revision 8c2ebac8: hail: do not allocate on offline/drained nodes
- This patch implements filtering out of the offline/drained nodes and
fixes a bug in IAllocator.hs parsing (similar to... - 09:35 pm Revision 842e3764: hail: cleanup unused options
- 09:31 pm Revision 5e15f460: hail: Implement non-mirrored instance allocation
- This patch implements non-mirrored instance allocation, by allocating as
secondary node “noSecondary”. - 08:45 pm Revision f826c5e0: hail: unify the post-processing of results
- Both allocate and relocate compute new node lists, whose score must be
ranked and the best option chosen. This means ... - 05:07 pm Revision c4f0219c: watcher: automatically restart noded/rapi
- This patch makes the watcher automatically restart the node and rapi
daemons, if they are not running (as per the PID... - 02:19 pm Revision 24edc6d4: watcher: handle full and drained queue cases
- Currently the watcher is broken when the queue is full, thus not
fulfilling its job as a queue cleaner. It also doesn... - 01:12 pm Revision 59b4eeef: rapi: rework error handling
- Currently the rapi code doesn't have any custom error handling; any
exceptions raised are simply converted into an HT... - 01:12 pm Revision 030b218a: Fix backend.OSEnvironment be/hv parameters
- Commit 67fc3042c20f5893abf71a0b4c445c356f9603b9 added some more
variables to be exported to OSEnvironment, but it has... - 12:14 pm Revision 25e39bfa: rapi: make tags query not use jobs
- Currently the rapi tags query implementation is similar to the command
line one: it submits OpGetTags jobs. This not ... - 02:09 am Revision 4a340313: Implement hail allocate (for 2-node requests)
- This patch implements allocate for two node requests. One node requests
can be done as soon as we have a valid alloca... - 02:06 am Revision 58709f92: Working implementation if relocate
- This patch completes the implementation of hail relocate. It maps all
valid destination nodes through a ReplaceSecond... - 01:09 am Revision ed41c179: Start implementing the hail functionality
- This patch implements a very stupid (and broken) version of hail
‘allocate’.
05/24/2009
- 02:43 am Revision e3a684c5: Remove ktn/kti from first half of loader
- This patch removes the ktn/kti lists from most parts of the first half
of the loading sequence. Some remain as the [(... - 02:36 am Revision 8472a321: Remove the ktn/kti from second half of loading
- This removes the return of ktn/kti from Loader.mergeData and associated
functions. - 02:29 am Revision db1bcfe8: Remove most uses of ktn/kti
- This patch removes all uses of ktn/kti from the past-loader stages.
- 02:29 am Revision 24e1140f: Remove a function in hail
- This is not yet used.
- 02:22 am Revision 4333a887: Add some utility functions for kt deprecation
- These will be used to remove even more uses of ktn/kti in non-critical
paths. - 02:05 am Revision dbd6700b: Remove some extraneous uses of ktn/kti
- Since we have Node/Instance.name, we can now simplify a few constructs.
- 01:47 am Revision 26b5d395: Strip the suffix from the names in the objects
- This strips the suffix from the objects themselves, not only from the
ktn/kti vars. - 01:33 am Revision b513faa1: Make IAlloc.loadData return maps
- This patch makes the format of IAlloc.loadData be similar the same as
Loader.mergeData. - 01:32 am Revision 926c35b1: Some small layout changes
- 01:22 am Revision fae371cc: Move common loading sequence in CLI
- This patch moves the common loading sequence to CLI, such that hbal/hn1
and possible future scripts that take the inp... - 01:16 am Revision 446d8827: Move checkData from Cluster to Loader
- This moves the remaining loading function to Loader (together with its
associated support functions).
05/23/2009
- 03:34 am Revision 75d1edf8: Introduce a class for CLI options
- This patch generalizes a little the CLI handling by not passing in a
special function for help and such, but instead ... - 03:24 am Revision 497e30a1: Add a small class for Nodes and Instances
- Since both nodes and instances support some common functionality (names
and indices), we add a class so that we can a... - 02:34 am Revision 2727257a: Add back names to nodes/instances
- In order to simplify the data structures, we add back the name on the
node and instance objects. We still keep the in... - 02:29 am Revision e4c5beaf: More code reorganizations
- This new big patch does a couple of more cleanups in the loading of data
chapter:
- introduce a Types module that h...
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... - 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... - 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... - 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... - 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... - 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... - 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... - 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... - 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, ... - 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> - 01:01 pm Revision 28eddce5: _RedistributeAncillaryFiles function
- This function is shared between AddNode and RedistributeConfig, and used
to redistribute additional files which are i... - 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... - 01:01 pm Revision 3680f662: Xen: add ancillary files
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 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... - 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... - 01:14 am Revision 585d4420: Initial work on hail
- This makes hail compile and get a request parsed via IAlloc, but nothing
more.
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... - 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 ... - 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
... - 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 ... - 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... - 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... - 03:31 am Revision b33a2243: Small doc addition
- 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 '... - 03:10 am Revision 62007053: Split node/instance parsing into functions
- This allows easy checking for valid format of the input data (row-wise).
- 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... - 02:11 am Revision 1297ce13: Small syntax improvement
- D'oh, one can extract from a wrapped variable, not only from functions.
- 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 ... - 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 ... - 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... - 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. - 12:54 am Revision 5aa48dbe: Generalize some Result function into monad ones
- We don't really needed, but is more clean like this.
- 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... - 12:25 am Revision 144f190b: Small changes to the IAlloc module
- Adding a small request type data structure.
05/20/2009
- 04:16 pm Revision c1be3f59: Merge branch 'master' into branch-2.1
- 04:14 pm Revision f226f085: Merge branch 'master' into next
- Signed-off-by: Guido Trotter <ultrotter@google.com>
- 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... - 12:15 pm Revision b926bd98: Release 2.0rc5
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 01:04 am Revision 2cf61508: Update NEWS file for the 0.1.0 release
- 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. - 12:50 am Revision aff363a4: Drop RAPI v1 compatiblity
- Since we only support Ganeti 2.0, we drop the 1.2 compatibility.
- 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...
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... - 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... - 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 ... - 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... - 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... - 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... - 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... - 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... - 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...
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... - 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. - 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... - 09:18 am Revision 425e3906: Remove the apidoc dir on clean
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... - 11:42 am Revision f1926756: Don't check memory at startup if instance is up
- Signed-off-by: Guido Trotter <ultrotter@google.com>
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> - 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... - 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... - 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... - 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...
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... - 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... - 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... - 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... - 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...
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.... - 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... - 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 ... - 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... - 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... - 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 ... - 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... - 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...
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... - 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_... - 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... - 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 ...
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... - 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...
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@... - 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 $...
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... - 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... - 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 ... - 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... - 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...
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... - 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... - 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... - 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.
[... - 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
... - 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... - 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... - 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...
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 ... - 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... - 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 ... - 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... - 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....
04/27/2009
- 01:57 pm Revision d1908b41: Release 2.0rc4
- Reviewed-by: ultrotter
Also available in: Atom