Activity
From 10/03/2007 to 11/01/2007
11/01/2007
- 11:40 pm Revision 073ca59e: Fix printing of unconfigured DRBD devices
- If the device is unconfigured (not yet did SetDiskID for it ever), it
might have a physical_id of None. This patch fi... - 07:51 pm Revision d06565e0: Remove two trailing whitespaces
- Ok, I've been battling with those for a while but it seems
in the end I forgot to get rid of them! :( Doing it explic... - 07:48 pm Revision 2527691a: Move blank lines inside function messages
- This patch changes whitespace only. It fixes all the functions in script/gnt-os
by putting a white line at the end of... - 07:48 pm Revision dd96409a: Add empty line after each diagnose OS-Node set
- Reviewed-By: imsnah
- 07:46 pm Revision 107b0ccb: Modify the displayed format for gnt-os diagnose
- Get rid of the tabulated form and create a simplier indented structure.
Now a valid OS looks something like:
OS: foo... - 07:44 pm Revision 48f85f75: Change the way to compute the first os status message
- Use both _DiagnoseOSStatus and _DiagnoseOSPath to calculate the message
associated with the first entry found on a n... - 07:44 pm Revision 5efc50fc: Separate OS status and path
- Make _DiagnoseOSStatus only return a status message for the OS diagnose object
and create a new _DiagnoseOSPath funct... - 07:22 pm Revision 5d0fe286: Whitespace fixes
- Reviewed-by: ultrotter
- 04:31 pm Revision dfe11bad: Cleanup colouring functions.
- Make the code somewhat smaller. Disable disk failure test for master for now.
Reviewed-by: schreiberal - 03:54 pm Revision b1ffe1eb: Cleanup QA scripts.
- - Split main() function into several small ones.
- Current work on disk failure tests. This is not yet finished.
- Fi...
10/31/2007
- 10:12 pm Revision 80de0e3f: Revert "Implement multi-failover options"
- This reverts commit 289, as the node failover functionality was already
implemented in gnt-node (as opposed to gnt-in... - 05:19 pm Revision 22d31e49: Fix usage of OpReplaceDisks.
- Reviewed-by: iustinp
- 04:57 pm Revision bcee9cb4: Small improvements to multi-instance selections
- This patch fixes the documentation in a few cases and adds handling of
the situation where no instance is selected du... - 04:56 pm Revision 36c87212: Implement multi-failover options
- This patch adds the same style of multi-instance selection as in
shutdown/startup to the failover subcommand, with th... - 04:56 pm Revision 24a40d57: More sane handling of errors during failover
- Currently we ignore errors on instance shutdown (on the source node)
during instance failover. We should do this only... - 04:55 pm Revision 50ff9a7a: Fix bridge checking in instance failover
- The current code checks the bridge on the primary node of the instance,
but we need to check it on the destination no...
10/30/2007
- 05:09 pm Revision 4cc2a728: Fix _UpdateEtcHosts to understand empty lines.
- Reviewed-by: schreiberal
10/29/2007
- 10:09 pm Revision 1a8c0ce1: Change the signature of some methods of mcpu.Processor
- This patch moves the passing of the feedback_fn argument from the
(Exec|Chain)OpCode to the initialization of the Pro... - 07:05 pm Revision ce838ee3: Remove a redundant assignment
- The major is declared in the base class, we do not need to overwrite it.
Reviewed-by: imsnah - 07:05 pm Revision 0ede5336: Fix some style issues (whitespace changes only)
- Reviewed-by: imsnah
- 06:02 pm Revision 233d06c5: Fix a non-clear error message
- Reviewed-by: imsnah
- 05:49 pm Revision a9e0c397: Implement replace-disks for drbd8 devices
- This patch adds three modes of disk replacement for drbd8:
- replace the disk on the primary node
- replace the d... - 05:47 pm Revision b00b95dd: Allow drbd8 devices to work without local storage
- This patch adds functionality to drbd8 for:
- removing local storage
- initializing without local storage
- add... - 05:44 pm Revision f3e513ad: Implement block device renaming
- This patch add code for renaming a device; more precisely, for changing
the unique_id of the device. This means:
- ... - 05:20 pm Revision cc0451f3: Convert ListOS to use the all helper function.
- The predicate function gets build by a lambda function.
Also add a bit of debugging information to the 'unknown OS di...
10/28/2007
- 04:32 pm Revision 78feb6fb: Import two itertools recipes
- The two function 'any' and 'all' are copied as-is from the python 2.4
documentation for the itertools module. They ar...
10/26/2007
- 01:25 pm Revision 65a15336: Add a custom str() method for objects.Disk
- This is done in order to easy debugging of disk-related issues.
Reviewed-by: imsnah
10/25/2007
- 02:22 pm Revision 153d9724: Modify two mirror-device related rpc calls
- The two calls mirror_addchild and mirror_removechild take only one child
for addition/removal. While this is enough f...
10/24/2007
- 05:43 pm Revision a1f445d3: Initial implementation of drbd8 template type
- This is a partially working drbd8 template type. It does:
- add/remove
- startup/failover/shutdown
Not working i... - 05:41 pm Revision f38478b2: Allow DRBD8 to sync after sb1-pri with no changes
- Currently the way we shutdown or startup disks seems to make DRBD8
unhappy. Until we rewrite the sequence of (de)acti... - 05:23 pm Revision b352ab5b: Fix a disk handling bug triggered by failover
- This leaves an instance's disks configured for the primary node as after
disk activation we want to start the instanc... - 04:30 pm Revision a2cfdea2: Add DRBD8 class for handling drbd version 8.x
- This duplicates some code from the DRBDev class, but not very much, and
it will be expanded with the new functionalit... - 04:30 pm Revision ae26a287: Move/rename _IsValidMeta to base drbd class
- The DRBDev._IsValidMeta only checks for the metadata device size. Since
this is a useful check (but not complete) for... - 04:24 pm Revision 5a47ad20: More abstractions from DRBD7 to base class
- This moves the _SetFromMinor and _MassageProcData to the base class.
Reviewed-by: imsnah - 04:24 pm Revision 0caf6485: Improve out-of-minors handling
- Currently, the out-of-minors handling is not very good: though both MD
and DRBD functions for finding an unused minor... - 04:23 pm Revision 770fe0f9: Move some methods from DRBDev to BaseDRBD
- Since some of the methods and constants are valid for both 0.7 and 8.x
versions, we move them to the base class.
Rev...
10/19/2007
- 02:49 pm Revision aa4260ca: Some tiny style fixes
- Reviewed-by: imsnah
- 02:48 pm Revision 0f7f32d9: Split some DRBD functionality based on versions
- This is a small split of some functionality from the DRBDev class into a
base drbd class that holds just a few things... - 02:48 pm Revision fe96220b: Abstract more strings values into constants
- Currently, the disk types are defined using constants in the code.
Convert those into constants so that we can easily...
10/18/2007
- 04:02 pm Revision e8ae0c20: Implement disk failure QA test.
- Testing failure on the primary node is currently disabled due to drbd problems.
Reviewed-by: iustinp - 01:26 pm Revision 579d4337: Patch series for reboot feature, part 3
- This patch series implements the reboot command for gnt-instance. It
supports three types of reboot: soft (hypervisor... - 01:25 pm Revision bf6929a2: Patch series for reboot feature, part 2
- This patch series implements the reboot command for gnt-instance. It
supports three types of reboot: soft (hypervisor...
10/17/2007
- 06:00 pm Revision 007a2f3e: Patch series for reboot feature, part 1
- This patch series implements the reboot command for gnt-instance. It
supports three types of reboot: soft (hypervisor... - 05:36 pm Revision fafa5990: Fix unit tests for hooks.
- Reviewed-by: imsnah
10/16/2007
- 06:27 pm Revision 6a438c98: Make “gnt-cluster verify” exit 0 if there's no problem with instances.
- Reviewed-by: schreiberal
- 05:45 pm Revision 86b8c6ae: tiny typing fixup
- Reviewed-by: imsnah
- 05:30 pm Revision f55ff7ec: Add the number of VCPUs in gnt-instance info
- Reviewed-by: imsnah
- 04:51 pm Revision 1d67656e: Allow force removal of instances
- This patch adds a new option to the instance removal command
"--ignore-failures" that forces the removal of the insta... - 11:28 am Revision 70d9e3d8: Replace more ssh paths with proper constants
- The node's ssh keys filenames are now provided as constants; this should
allow easier customization.
Also, the user'...
10/15/2007
- 04:06 pm Revision 2f8598a5: Trivial typing fixups.
- Reviewed-by: iustinp
- 04:04 pm Revision b50f022f: Fix node daemon log file permissions
- The creation of the log file for the node daemon lacks the mode
parameter, so after applying the current umask, the f... - 03:16 pm Revision 8947cf2b: Do QA tests on “gnt-os“, including partially valid OSes.
- Reviewed-by: iustinp
- 03:08 pm Revision 90ab92e3: Don't take unused parameter in qa_utils.py:Print{Info,Error}.
- Reviewed-by: iustinp
- 02:45 pm Revision a2656173: Make “gnt-os diagnose” exit 1 if not all OSes are valid.
- Reviewed-by: iustinp
10/12/2007
- 06:41 pm Revision d7e49c13: Small wording changes and fix checks.
- Reviewed-by: iustinp
- 05:53 pm Revision 7900ed01: Remove some hardcoded names/paths from backend.py
- This patch does the following:
- add constants.GANETI_RUNAS = "root", which is used to compute
the homedir (and... - 05:33 pm Revision 4b62db14: Test “gnt-node evacuate” and “gnt-node failover” in QA.
- Reviewed-by: schreiberal
- 04:02 pm Revision 087b34fe: Add a generic write file function
- Currently there are a few version of "write a file safely" in the code.
This patch adds a generic function that shoul... - 03:30 pm Revision 71eca7c3: Do not walk the whole DATA_DIR on node leave
- Since we remove only files from DATA_DIR and not from subdirectories,
let's not walk the entire tree, a simple listdi... - 03:27 pm Revision 257f4c0a: Enhance GetHomeDir to accept either names or UIDs
- Currently GetHomeDir accepts UIDs only. Enhance it to accept either a
user name or a user id, to allow for nicer usag... - 03:26 pm Revision fbdb07b9: Reorder gnt-os simplify _GetAllOS and call it _DiagnoseByOS
- Put some order in gnt-os putting helper functions above and command functions
below. Also add a new _DiagnoseOSName()... - 02:19 pm Revision 216fe2f3: Fix ListOS which was broken
- To do this we abstract the creation of the all_os dictionary, which was
produced in DiagnoseOS and use it both for li...
10/11/2007
- 06:23 pm Revision 0e137c28: Some small improvements to the hooks environment
- For the configuration update hook, it's useful to have a consistent name
for the target of the operation. As such, th... - 06:23 pm Revision 6a4aa7c1: Implement post-configuration-update hook
- This patch adds a special hook: the post-configuration update hook. This
hook has only a post phase that runs after a... - 06:00 pm Revision 4167825b: Split the hooks env building in two parts
- This patch moves some of the environment processing from _BuildEnv to a
new _RunWrapper command which does the string... - 06:00 pm Revision 9a395a76: Move hook execution decision to HooksMaster
- Currently, the HooksMaster creation and execution decision is in the
Processor class. This is not optimal, so we chan... - 05:59 pm Revision f97a6b10: Remove cfg and sstore parameters to HooksMaster
- The HooksMaster class doesn't use the cfg parameter, and it's better to
use it from the LU anyway (if needed). Let's ... - 05:55 pm Revision 14e15659: Enable the ConfigWriter to keep track of updates
- This allows external callers to determine if the configuration has been
changed.
Reviewed-by: imsnah - 05:47 pm Revision f5abe9bd: Docstring correction
- Reviewed-by: iustinp
- 04:39 pm Revision 7e1394dc: Infrastructure for detailed instance restarts, part one
- The beginning of the infrastructure for detailed instance restarts. Does
not affect behaviour if code yet.
Reviewed-... - 03:04 pm Revision 59072e7e: Use the kernel's ability to generate UUIDs.
- This removes the dependency on either the uuid module or e2fsprogs' uuidgen.
Reviewed-by: iustinp - 11:02 am Revision 2f8b60b3: Add small function to read the homedir of a user
- This can be used to replace hardcoded "/root/" paths.
Reviewed-by: imsnah
10/10/2007
- 08:20 pm Revision 16abfbc2: Remove fping as a dependency for Ganeti.
- This patch completely gets rid of fping
- replace all fping invocations with TcpPing calls
- update documentation ... - 06:51 pm Revision 23269c5b: Colours and warnings.
- - Implement colours in qa_utils.
- Print warning for cron script.
Reviewed-by: iustinp - 06:06 pm Revision 01ca31ae: Some small fixes to utils.GenerateTable
- This adds:
- fix the case when a dumb caller didn't stringify its values
- explicitly raise a ProgrammerError in ... - 05:04 pm Revision 3023170f: Fix AskUser to not die on extra input
- Currently, AskUser dies with -ESPIPE if the user gives more than one
character plus newline. This is because the pyth... - 04:05 pm Revision 781b2b2b: Exit ganeti-watcher cleanly when there's no configuration.
- Reviewed-by: iustinp
- 02:10 pm Revision a5bc662a: Implement gnt-node evacuate
- This patch adds a new 'evacuate' subcommand to gnt-node. The command
will do a replace disks for all instances having... - 01:58 pm Revision f00b46bc: Make Xen DomU kernel and initrd configurable at build time.
- Reviewed-by: iustinp
- 01:09 pm Revision 832aef24: Add preliminary developer notes.
- Reviewed-by: iustinp
- 01:00 pm Revision 2f31098c: Remove the shebang from modules
- Since modules are not directly executables, remove the shebang from
them. This helps with lintian warnings.
Also mak... - 11:12 am Revision 5a3103e9: Detect node restarts and reactivate disks.
- - Change format of watcher state file to JSON.
- Move log path for watcher script to constants.py.
Reviewed-by: iustinp
10/09/2007
- 04:48 pm Revision c450e9b0: Implement node failover
- This patch implements a simple failover command for failing over all
primary instances. This is just a batched form o... - 04:01 pm Revision 86208a02: Do not install init script in PREFIX/bin.
- Reviewed-by: ultrotter
- 02:15 pm Revision b07a9f05: Refactor DiagnoseOS
- The new version debugs Hidden OSes as well.
Reviewed-by: iustinp - 12:13 pm Revision 0c434948: Fix a wrong exception name
- This was introduced in rev 208.
Reviewed-by: imsnah - 12:13 pm Revision 73702ee7: Separate error formatting out of cli.GenericMain
- This patch moves the error formatting into a separate function that will
be exported so that scripts that execute mul... - 10:42 am Revision fe4cc679: Revert a debugging 'raise' from rev 195
- As far as I understand, this was just a debugging aid. Remove it so that
configuration errors are nicely handled.
Re... - 10:39 am Revision 9f33ef86: Enhance cli.SubmitOpcode to use custom parameters
- This patch allows the SubmitOpcode function to take a pre-created
Processor instance and a different feedback functio...
10/08/2007
- 06:18 pm Revision 3ef10550: Add boot id to “gnt-node list”.
- Reviewed-by: iustinp
- 06:12 pm Revision b9ea6acb: Add handler for errors.TagError
- This patch adds a simple handler for TagError that prints the error
(better than having a stack dump).
Reviewed-by: ... - 06:12 pm Revision 810c50b7: Add source file option for {add,remove}-tags
- This patch adds a '--from' option to the {add,remove}-tags commands that
allows the command to read from a file or fr... - 06:11 pm Revision cc425644: Update man pages for the tags operations
- This adds documentation on the {list,add,remove}-tags commands to the
gnt-{cluster,node,instance} man pages.
Reviewe... - 06:11 pm Revision 75f49d9b: Change gnt-cluster.sgml to use refsect2
- This brings this man page in conformity to gnt-node and (partially) to
gnt-instance.
Reviewed-by: imsnah - 06:11 pm Revision 846baef9: Implement command-line tags support
- This patch adds generic functions for tag manipulations to cli.py and
modifies gnt-{cluster,node,instance} to export ... - 06:10 pm Revision f27302fa: Change tags add/remove to process multiple tags
- This patch changes the tags opcodes to work with multiple tags at once
instead of only one. As such, the opcodes and ... - 06:10 pm Revision b60ae2ca: Fix super() calls for objects.Cluster
- Reviewed-by: imsnah
- 06:10 pm Revision 8f684e16: Fix tags operations for instances
- Reviewed-by: imsnah
- 05:42 pm Revision 334d1483: Extend GenericMain with a way to override options
- This allows scripts to pass options to generic functions (options that
are not visible in the command line).
Reviewe... - 05:26 pm Revision 1977857b: Don't remove Makefile.in when doing maintainer-clean.
- Reviewed-by: iustinp
- 01:48 pm Revision d5835922: Use indenting if supported by simplejson.
- Reviewed-by: iustinp
- 01:03 pm Revision 9ff7e35c: Fix “make distcheck”.
- - Move symlink to “ganeti” to top dir
- Add ganeti.config_unittest.py to tests to be run
- Make sure everything is bu... - 11:59 am Revision eedbda4b: Add function to list files in a directory, excluding those beginning with a
- dot.
Reviewed-by: iustinp
10/04/2007
- 06:49 pm Revision 0ee60a28: Remove redundant check.
- This isdir() check leads to a broken error message. Even fixing it creates some
cases in which the error message is n... - 03:40 pm Revision 97a37b3f: Forgotten files from last commit, NEWS and Makefile.am.
- Reviewed-by: iustinp, ultrotter
- 02:51 pm Revision 305a7297: Ship (and display) path for InvalidOS errors too.
- - Document the expected change to errors.InvalidOS
- Always pass the additional argument
- Modify DiagnoseOS output t... - 02:33 pm Revision 319856a9: Change configuration storage format from Pickle to JSON.
- - Add NEWS file with major changes between versions.
- Bump RPC version number
- No longer serialize in RPC, but just... - 01:41 pm Revision 694e2444: Fix OS Diagnose in light of the new OS Search path (Part One).
- As of now only the last OS was taken into consideration by diagnose, fix by
storing them all and displaying for now o...
10/03/2007
- 05:11 pm Revision 56bcd3f4: Second part of the OS search path cleanup
- Abstract the _OSSearch function, to look for an OS in the search path
Make OSFromDisk accept an optional base_dir, ra... - 02:21 pm Revision c26dabd7: Make parameter os_dir mandatory for _OSOndiskversion.
- First part of the OS search path cleanup. _OSOndiskversion is only ever called
once, and with that argument set, so l...
Also available in: Atom