Activity
From 05/17/2009 to 06/15/2009
06/15/2009
- 08:30 pm Revision d019f8bd: Fix hooks unittests after RPC result changes
- Patch "Simplify the RPC result framework in backend.py" changed all
RPCs, and thus the hooks results where also chang... - 08:13 pm Revision 6f7d4e75: Small whitespace change
- Some indentation was wrong, and pylint rightfully complained.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed... - 08:13 pm Revision 4c4e4e1e: Simplify RPC call result check in cmdlib.py
- Now that all results are the same, we can even more simplify the
handling in cmdlib more. Almost all if result.Remote... - 08:08 pm Revision 4dd42c9d: Implement result-type restriction in ganeti-noded
- Since all rpc calls were converted, we can now:
- enforce result type to (status, data)
- convert all unhandled e... - 08:08 pm Revision d3c8b360: Pre-compute error status in RpcResult
- Since now all RPCs have the new style result type, we can pre-compute
the error message at RpcResult() init time and ... - 08:08 pm Revision 5a533f8a: Simplify usage of backend._FindDisks
- Since all users of _FindDisks now return new-style results, we can
simply make it raise an exception and not deal wit... - 08:08 pm Revision afdc3985: Convert all backend function to exception
- Instead of returning (False, msg) from rpc endpoints, we raise always
exceptions (the non-endpoint, internal function... - 08:08 pm Revision c26a6bd2: Simplify the RPC result framework in backend.py
- Since now all functions fail via _Fail, the return True, … is redundant
as all normal return paths have it, and thus ... - 08:08 pm Revision 3fb4f740: Convert hooks_runner rpc to new style result
- This also converts (and fixes) unittests and mock objects to deal with
this change, and the custom hook verifier in c... - 08:08 pm Revision 87f5c298: Convert iallocator_runner rpc to new result style
- This patch converts this rpc into the new style. Since the function
already had some error handling, we remove this c... - 08:08 pm Revision 38ea42a1: Convert test_delay rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision b2b8bcce: Convert the file storage rpcs to new style result
- This patch converts all three file-storage rpc (create, delete, rename)
to new style result. This is done in a single... - 08:08 pm Revision c8457ce7: Convert the jobqueue rpc to new style result
- This patch converts the job queue rpc calls to the new style result.
It's done in a single patch as there are helper ... - 08:08 pm Revision 8e70b181: Remove old invalid-os related functionality
- We no longer need OS objects to be able to represent invalid OSes. This
cleans up the code handling those cases.
Sig... - 08:08 pm Revision 255dcebd: Big rewrite of the OS-related functions
- Currently the OSes have a special, customized error handling: the OS
object can represent either a valid OS, or an in... - 08:08 pm Revision 0623d351: Conver node_leave_cluster rpc to new style result
- This patch converts this rpc call to the new style result, and also
changes in the process the meaning of the QuitGan... - 08:08 pm Revision 10bfe6cb: Convert node_volumes rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 2a52a064: Convert master_info rpc to new style result
- This was more tricky as the backend function is used by other function
in backend.py. As such, it must be handled spe... - 08:08 pm Revision e1e75d00: Convert write_ssconf_files to new style
- The patch also adds logging of errors from the ConfigWriter in case the
RPC fails (although today we don't have failu... - 08:08 pm Revision 90b54c26: Convert call_version rpc to new style result
- This also cleans up its single use in cmdlib.py.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Tr... - 08:08 pm Revision 83d92ad8: Convert os_diagnose rpc to new style result
- This also removes custom post-processing from rpc.py; since this call
has only one user, it was simple to move it bac... - 08:08 pm Revision aca13712: Convert instance_list rpc to new style result
- Since backend.GetInstanceList() is used both as RPC endpoint and as
internal function, it can't return (status, value... - 08:08 pm Revision c2fc8250: Convert node_has_ip_address rpc to new style
- This should actually have a function in backend, but it's fine for now.
Signed-off-by: Iustin Pop <iustin@google.com... - 08:08 pm Revision 070e998b: Convert node_info rpc to new style result
- This patch also does some cleanup and enforces valid results (with
proper type, i.e. int for memory/disk values) from... - 08:08 pm Revision 31e22135: Remove utils.CheckDict since it's no longer used
- Only the custom handling in rpc.py for call_node_info used this, so now
it can be removed.
Signed-off-by: Iustin Pop... - 08:08 pm Revision 6f68a739: Convert node_verify rpc to new result style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision b726aff0: Convert node_start_master to new style result
- This is used in multiple places outside cmdlib.py, so it's a more
interesting patch.
Signed-off-by: Iustin Pop <iust... - 08:08 pm Revision 6c00d19a: Convert node_stop_master rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 944bf548: Convert instance_os_import rpc to new style result
- This changes from a list of booleans to «status, error messages». This
means that instead knowing which disk has fail... - 08:08 pm Revision 7ad1af4a: Convert instance_info rpc to new style result
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 2fa74ef4: Convert all_instances_info rpc to new result style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 08:08 pm Revision 35c0c8da: Convert bridges_exist to new style result
- This was a very simple (boolean) RPC, so converting it to actually have
more value with the new style results was mor... - 07:37 pm Revision e480923b: Convert vg_list rpc to new style result
- This doesn't have known failure modes but converting will help later.
We also now call directly utils.ListVolumeGrou... - 07:37 pm Revision 29d376ec: Convert volume_list rpc to new style result
- This is a big change, because we need to cleanup its users too.
The call and thus LUVerifyDisks LU used to different... - 07:37 pm Revision 35fbcd11: Convert export_remove rpc to new style
- This converts the export_remove rpc to new style result and also fixes
and old TODO by adding exception handling (and... - 07:37 pm Revision 1b7bfbb7: Convert export_list rpc to new style result
- This is used in multiple places, so it has a little more changes than
the previous ones.
Signed-off-by: Iustin Pop <... - 07:37 pm Revision 3eccac06: Convert export_info rpc to new style result
- This also removes some code from ganeti-noded and rpc.py, which should
not do such processing of data (and be simply ... - 07:37 pm Revision 9b201a0d: Convert finalize_export rpc to new style results
- This rpc doesn't have explicit failure modes, but once all RPCs are
converted and we can catch and convert expception... - 07:37 pm Revision ba55d062: Convert snapshot_export rpc to new style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 07:37 pm Revision 87812fd3: Convert blockdev_snapshot rpc to new result style
- This also slightly changes the code in cmdlib that uses it for more
clarity.
Signed-off-by: Iustin Pop <iustin@googl... - 07:36 pm Revision 3efa9051: Convert blockdev_getmirrorstatus rpc to new style
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 02:10 pm Revision c738375b: Fix a wrong function name in backend.DrbdAttachNet
- Commit cf8df3f30c2dcd0ab398d835fa9f64d61578a4f7 "bdev: forward-port
ReAttachNet/DisconnectNet" forward-ported 1.2's b... - 01:54 pm Revision 503b97a9: Xen: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:54 pm Revision a9fe7e8f: Iallocator: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:54 pm Revision bef9c750: KVM: NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:52 pm Revision 1ba9227f: OSEnvironment: convert to NIC parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:52 pm Revision 9b31ca85: Remove bridge and default_bridge from objects
- These values are deprecated, and not used in 2.1 anymore.
The slots are still there to allow auto-upgrading from 2.0.... - 01:52 pm Revision b848ce79: rpc: fill in NIC parameters in instances
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:52 pm Revision 62f0dd02: NIC Parameters: fix hooks environment generation
- In order to do that we change the way nics are espected to be passed to
the _BuildInstanceHookEnv function, from (ip,... - 01:52 pm Revision ec0652ad: InitCluster: don't set default_bridge
- And remove the -b option, as default nic parameters can be used instead.
We could support the option, but that would ... - 01:52 pm Revision c66f21a4: config unittests: use nic params
- The target test cluster should have nic params, rather than a default
bridge.
Signed-off-by: Guido Trotter <ultrotte... - 01:52 pm Revision 9ebe9556: QueryClusterInfo: don't show default_bridge
- Since default_bridge is deprecated, avoid displaying it when querying
for cluster information.
Signed-off-by: Guido ... - 01:52 pm Revision 8fcc0cb1: Remove config.GetDefBridge
- Default bridge is now handled with nic parameters, and this function is
unused.
Signed-off-by: Guido Trotter <ultrot... - 01:52 pm Revision b165e77e: _CheckInstanceBridgesExist: move to NIC parameters
- Rather than checking all bridges, we check all links for bridged nics,
if any. Since this function is now slightly mo... - 01:51 pm Revision cd098c41: LUSetInstanceParams: nic parameters
- Hooks are dealt with in a later patch in the series.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by...
06/13/2009
- 02:01 am Revision d4c453d2: Fix some hscan bugs
- Currently hscan has a number of bugs:
- doesn't add the common suffix (csf) to the instance's nodes
- doesn't exp... - 01:33 am Revision 877d0386: Some documentation updates for the new parameters
- 01:33 am Revision 66d67ad4: Add cpu/disk limits in hbal
- 01:32 am Revision 83a91400: Add setting of node limits in hspace
06/12/2009
- 10:43 am Revision 0329617a: LUSetInstanceParams: abstract _GetUpdatedParams
- There is some duplicated code between hv and be parameters to create the
updated parameters dict. This will need to b... - 10:43 am Revision 2ee88aeb: LUSetInstanceParams: save cluster
- Rather than querying for the cluster multiple times, save it.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Re... - 10:42 am Revision 9dce4771: LUCreateInstance: NIC parameters
- Instance creation is changed to support the new nic parameters.
Hooks are dealt with in a later patch in the series.... - 10:41 am Revision 13f1af63: Add nicparams to the NIC object
- Also populate nicparams with a sensible default for imported instances.
Unfortunately we don't know if the bridge set... - 03:16 am Revision 18b6444b: Implement cpu/disk limits in instance moves
- We modify Node.addPri/addSec to take into account the limits on instance
adds. - 02:56 am Revision 844eff86: Add two new node attributes
- Two new min disk free ratio and max cpu usage attributes are added to the
nodes. These will be used in the future to ... - 02:29 am Revision c6484f0b: Fix 'unused X' warnings
- This removes some unused functions and imports to cleanup the warnings.
- 02:22 am Revision 78694255: Fix the various monomorphism warning
- In a few places (e.g. tryRead or any printf call) it's a little bit hard
to add the correct type signatures, but in t... - 01:12 am Revision 3c64b5aa: Small changes to the node list output
- This is just some cleanup of the node list output, adding pcpu/vcpu
counters, and making the display slightly nicer.
06/11/2009
- 05:37 pm Revision 2f49d1d2: GNT-CLUSTER(8) fix search-tags example
- Reported in issue 59.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:17 am Revision 0a8dd21d: Add cpu ratio to cluster calculation
06/10/2009
- 11:37 pm Revision f1e64aba: Update cpu counters correctly after pinst changes
- The cpu counters are update on primary instance adds/removes.
- 11:29 pm Revision 1a82215d: Add cpu-count-related attributes to nodes
- This patch adds cpu-count related attributes to nodes:
- total cpus
- cpus in use
- ratio of virtual:physical c... - 10:42 pm Revision d752eb39: Add a new vcpus attribute to instances
- This patch adds reading of vcpu count for instances, in preparation for
using the vcpu ratio in cluster scoring. - 10:31 pm Revision 734b1ff1: Fix reading of total disk space in iallocator
- IAllocator currently uses a wrong key name for reading the total disk
space (‘disk_usage’ which was copied from RAPI,... - 08:32 pm Revision b6e243ab: Fix gnt-instance reinstall
- Commit 55efe6dabe48e5c37dc1ff6099e0bb8afde7a468 "Convert instance
reinstall to multi instance model" actually broke i... - 03:46 pm Revision dd7db360: Fix ConfigWriter._DistributeConfig error handling
- Commit 1b54fc6c2fd92b614c029cc5312d02f9f1526253 added a typo (due to
copy-paste) in the error handling path of this f... - 12:57 pm Revision 035566e3: Fix node add and RedistributeAncillaryFiles
- Commit 28eddce5249f35c2c330a04da07b74950877dcf5 added the
RedistributeAncillaryFiles, but it calls it with a wrong pa...
06/09/2009
- 12:07 pm Revision 2cc6781a: rpc: Add a simple failure reporting framework
- This patch adds a simple failure reporting tool, similar to bdev's
_ThrowError. In backend, we move towards the new-s...
06/08/2009
- 07:58 pm Revision b6a30b0d: Allow setting NIC parameters at gnt-cluster init
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:58 pm Revision 5af3da74: Allow modifying of default nic parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:58 pm Revision 1094acda: Show nic parameters in cluster info
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:58 pm Revision 4ef7f423: Change BEGR_DEFAULT to PP_DEFAULT
- This way the same constant can represent the default profile also for
nic, disk and OS parameters.
Signed-off-by: Gu... - 07:58 pm Revision abe609b2: Move FillDict at module level
- This way it can be also used by scripts and other object types.
Signed-off-by: Guido Trotter <ultrotter@google.com>
... - 07:58 pm Revision 022c3a0b: Fix a typo in InitCluster
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:58 pm Revision 6e34b628: Abstract Param upgrade from cluster.UpgradeConfig
- A new UpgradeGroupedParams is used to upgrade all the profiles for one
parameter filling in the default values, or cr... - 07:58 pm Revision ac061be9: nic parameters: constants
- Introducing the constants used for implementing nic parameters in
Ganeti, according to the 2.1 design.
Signed-off-by... - 07:58 pm Revision 255e19d4: Add NIC.CheckParameterSyntax
- This function will be used to check the NIC parameters for validity.
Unittests are included.
Signed-off-by: Guido Tr... - 07:58 pm Revision d3cfe525: gnt-cluster init, simplify parameter checks
- Don't check for non-existant BE parameters, ForceDictType will do it
Use utils.FillDict to populate the defaults
Sig... - 07:58 pm Revision c8fcde47: Cluster: add nicparams, and update them on upgrade
- This also migrates the default bridge from the cluster object to the nic
params, at load time. Since we don't support... - 07:44 pm Revision 9205a895: Convert call_blockdev_removechildren to new result
- This patch converts blockdev_removechildren to new result type and
slightly changes a message in addchildren to match... - 07:44 pm Revision 2cc1da8b: Convert call_blockdev_addchildren to new result
- This patch converts the blockdev_addchildren rpc call to the new result
format.
Signed-off-by: Iustin Pop <iustin@go... - 07:43 pm Revision 6b5e3f70: Convert rpc call_blockdev_rename to (status, data)
- This small patch converts the call_blockdev_rename to the new result
type.
Signed-off-by: Iustin Pop <iustin@google.... - 07:43 pm Revision 13e720f1: A small makefile rule to create a TAGS file
- This helps emacs users ☺
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@googl... - 06:00 pm Revision fecbe9d5: Enable stripped LVs
- This patch enables stripped LVs, falling back to non-stripped if the
stripped creation fails. If the configure-time l... - 06:00 pm Revision 3736cb6b: Add a lvm stripecount configure parameter
- This patch adds a configure-time customizable parameter that will be
used to enable stripped LVs. The default of the ... - 06:00 pm Revision 3c003d9d: Add more constants for DRBD and change sync tests
- This patch adds constants for the connection status, peer roles and disk
status, and it changes the rules for when th... - 12:53 pm Revision 5ce92cd3: Merge branch 'master' into next
- * master:
Wait for a while in failed resyncs
Fix two issues with exports and snapshot errors
06/05/2009
- 01:13 pm Revision 61d67afe: Update NEWS and README for the 0.1.3 release
- Small updates to the documentation and make a new small release.
06/04/2009
- 04:32 pm Revision 70db354e: Fix the ReplacePrimary instance move
- During a replace-primary instance move, on the real cluster the instance
is temporarily started on the secondary, and... - 04:17 pm Revision bff04b1b: 2.1 design: non bridged instances support
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:28 pm Revision 76bb661b: 2.1 design: disk/net parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:06 pm Revision fbafd7a8: Wait for a while in failed resyncs
- This patch is an attempt at fixing some very rare occurrences of messages like:
- "There are some degraded disks fo...
06/03/2009
- 07:09 pm Revision f069addf: Assemble DRBD using the known size
- This patch changes DRBD disk attachment to force the wanted size, as opposed to
letting the device auto-discover its ... - 03:17 pm Revision a97da6b7: Fix two issues with exports and snapshot errors
- This patch fixes two issues related to failed snapshots during exports:
- first, the error messages used disk.logic...
06/02/2009
06/01/2009
- 11:15 pm Revision 5ac3214f: Update the README file with hspace informations
- 05:21 pm Revision 9abe9caf: Fix hspace with plain type instances
- This also fixes other required node numbers.
- 05:16 pm Revision 927aa3ee: Add a man page for hspace
- 04:48 pm Revision 9dcec001: Rework the tryAlloc/tryReloc functions
- Currently tryAlloc/tryReloc do not return the new instance, as this is
not needed for IAllocator alloc/reloc requests... - 04:48 pm Revision a80bf544: Add an utility function for triples
- 02:59 pm Revision e10be8f2: Initial add of the hspace tool
- This is a tool that checks how many instances (of same size, specified
by command line arguments) can be added to a c... - 02:44 pm Revision 903a7d46: Small doc change
- And an alignment issue.
- 01:25 pm Revision 9b1e1cc9: Ensure consistent naming of the tools
- This patch makes sure that all references to the name of the software is
ganeti-htools, not simply htools. - 01:20 pm Revision 9256e36a: Small documentation update
- 12:55 pm Revision e2fa2baf: Add copyright/license information
- This doc-patch adds copyright and license information to (hopefully) all
needed files. - 12:24 pm Revision 7dd5ee6c: tests: move the test declaration in QC.hs
- This patch moves the test declaration into QC.hs, so that test.hs has to
be modified only when we add a new test cate... - 12:18 pm Revision dbba5246: Move some alloc functions from hail into Cluster
- These are generic enough to be used from multiple places, they belong
better in Cluster.hs than in the hail source. - 12:18 pm Revision 0991ed70: Small whitespace change
- 12:18 pm Revision 19f38ee8: Move the RqType and Request types to Loader.hs
- These two will be more generic than now, and belong somewhere else -
Loader.hs is a generic module for data loading, ... - 12:18 pm Revision d85a0a0f: Cleanup an old function
- Also replace a type with its synonim.
- 12:18 pm Revision 9188aeef: Lots of documentation updates
- This patch does only doc build changes, doc changes and function move
around (for more logical documentation). It sho... - 12:18 pm Revision ef53b4b2: Change the check rule in Makefile
- Since ghc won't trigger recompilation due to the -fhpc flag, it's not
useful to rm && make test, as this will only re... - 12:18 pm Revision 095d7ac0: A simple test for Container.addTwo
- 12:17 pm Revision 7bc82927: Add some very trivial Instance tests
- This is more of an exercise in QuickCheck than strong testing.
- 12:14 pm Revision 9cf4267a: Finish removal of unused params from PeerMap
- This completes the removal started earlier byt removeing the need to
pass the number of nodes to Node.buildPeers, whi... - 12:14 pm Revision 15f4c8ca: Add test infrastructure and initial tests
- This patch adds a QuickCheck-based test infrastructure and initial tests
based on it. The PeerMap module has a 100% c...
05/28/2009
- 08:55 pm Revision 8a6c7011: Set the size on new DRBDs in replace secondary
- Currently the code in cmdlib doesn't set the device size to new DRBD
devices in replace secondary, but we need to do ... - 05:05 pm Revision 464f8daf: Change the bdev init signatures
- This patch changes all the bdev.BlockDev constructors to take an
additional ‘size’ parameter, all the backend functio... - 03:18 pm Revision 1b54fc6c: Convert UploadFile (and its callers) to new rpc
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:18 pm Revision 4501a443: UploadFile: allow ancillary files
- Currently UploadFile is restricted to a static set of files, and thus
gnt-cluster redist-conf (silently) fails to upl... - 03:18 pm Revision c1b42c18: Upgrade be/hv params with default values
- From time to time we're adding new be or hv parameters. With this patch
missing parameters get set to the default val... - 03:18 pm Revision b86a6bcd: Add cluster-init --no-etc-hosts parameter
- If --no-etc-hosts is passed in at cluster init time we set a new
parameter in the cluster's object to false, and avoi... - 03:18 pm Revision 560428be: objects: add configuration upgrade system
- Add a very basic configuration update mechanism to objects.
An object can define the UpgradeConfig method, which will... - 01:45 pm Revision 2cd855dd: Merge branch 'next'
- * next: (34 commits)
watcher: automatically restart noded/rapi
watcher: handle full and drained queue cases
rap...
05/27/2009
- 11:50 pm Revision 71e13e48: Some cleanup of the PeerMap module
- This patch removes some unused functions and does some cleanup of the
remaining ones. - 11:09 pm Revision 17c59f4b: Remove unused parameters from PeerMap creation
- We remove some unused arguments (added way back for compatibility with
Arrays, which we didn't use in the end). This ... - 11:01 pm Revision f9fc7a63: Remove an unused type synonim
- 10:53 pm Revision 5a1edeb6: Add a separate function for looking up instances
- Currently we (wrongly) use lookupNode to lookup instances, just because
the name assoc list has the same type. This p... - 10:45 pm Revision 608efcce: Add type synonyms for the node/instance indices
- This is a first step towards full datatype renaming. That requires more
changes, so at first we only want to document... - 05:15 pm Revision 7a8994d4: Release 2.0.0 final
- This is simply a version bump, no changes from rc5.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido... - 01:19 pm Revision f5118ade: Add a node powercycle command
- This (somewhat big) patch adds support for remotely rebooting the nodes
via whatever support the hypervisor has for s... - 02:17 am Revision 262a08a2: Change the module import hierarchy
- This patch makes the Types module a base module, and Node/Instance ones
import it, from the previous (opposite) situa...
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
Also available in: Atom