Activity
From 09/12/2007 to 10/11/2007
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...
10/02/2007
- 03:50 pm Revision 99e8bbde: Add warning on gnt-node add operation.
- People might not have read all the documentation and might not expect their ssh configuration
and specially keys to b... - 10:41 am Revision 2007c9be: Print automake warnings.
- Reviewed-by: ultrotter
10/01/2007
- 05:31 pm Revision 6f1bebf9: Import utils into unittest.
- Reviewed-by: schreiberal
09/28/2007
- 12:39 pm Revision 7c3d51d4: Change constants.OS_DIR with constants.OS_SEARCH_PATH which includes all the
- directories which can contain OS scripts.
The list defaults to the current one but can be changed at configure time....
09/27/2007
- 07:02 pm Revision 68dccc07: Make the default export path configurable.
- This is needed to improve FHS compliance for distribution integration.
The need was discussed on the alioth pkg-ganet... - 04:03 pm Revision 081b1e69: Prevent race condition in CreateBackup().
- Reviewed-by: ultrotter
- 04:00 pm Revision 283f9d4c: Add more QA tests.
- Added tests:
- “gnt-cluster getmaster”
- “gnt-cluster version”
- “gnt-instance list”
- “gnt-instance reinstall”
Revi... - 03:20 pm Revision 8f106515: Specify in the helpstring that --with-ssh-initscripts expects an argument
- Reviewed-by: imsnah
- 03:18 pm Revision a181730e: Pass required ip_check parameter to OpCreateInstance in gnt-backup.
- Reviewed-by: ultrotter
09/26/2007
- 09:27 pm Revision 5d640672: Enhance QA.
- - Test “gnt-backup export” and “gnt-backup import”.
- Move “ResolveInstanceName” to qa_utils.py.
- Fix tests for “gan...
09/25/2007
- 05:22 pm Revision 24d48647: Integrate Leonardo's LSB init script patch
- Reviewed-By: imsnah
- 04:04 pm Revision f491c3a8: Rename constants for SSH init script by Iustin's request.
- Reviewed-by: iustinp
- 02:41 pm Revision 26a4b8d7: Ignore man/*.in.
- Reviewed-by: ultrotter
- 02:41 pm Revision c6b8baba: Add configure option for init.d/ssh script. This is useful for distributions
- with the script named differently than Debian.
Reviewed-by: ultrotter
09/24/2007
- 06:03 pm Revision 5b209f0c: Remove mkdir from man/Makefile.am because mktemp creates the directory before.
- Thanks to Christoph Rauch for reporting the problem.
Reviewed-By: iustinp - 03:03 pm Revision 26c7e094: Replace paths in ganeti-watcher.sgml.
- Reviewed-by: iustinp
- 11:41 am Revision ff9c047c: Implement to/from dict conversion for ConfigObject(s)
- This change allows instances of ConfigObject and its children to be
converted to and from standard python types. This...
09/21/2007
- 05:59 pm Revision ec29fe40: Change class hierarchy in objects.py
- It makes sense to make the TaggableObject a child of the ConfigObject,
since in this case we can derive the Instance,... - 04:37 pm Revision 89e1fc26: Remove requirement that host names are FQDN
- We currently require that hostnames are FQDN not short names
(node1.example.com instead of node1). We can allow short... - 04:36 pm Revision 619fdc8e: Move a constant from ganeti-master to constants.py
- The EXIT_NODESETUP_ERROR is a useful constant and ganeti-watcher could
use it too. This patch moves it to constants.p... - 03:25 pm Revision e9f745aa: Fix tools/burnin w.r.t. OpCreateInstance.ip_check
- Since we added a new, required parameter to OpCreateInstance, we need to
update burnin to build the correct opcode.
... - 03:23 pm Revision 2057f6c7: Add __slots__ on TaggableObject
- Unless we use __slots__ on all parents, we don't get the benefits that
__slots__ bring. This patch adds this attribut...
09/20/2007
- 10:26 am Revision 804a1e8e: Ask for confirmation when touching multiple instances
- This patch makes the new startup/shutdown multi-instance operations to
ask for confirmation when touching more than o...
09/19/2007
- 05:24 pm Revision 47988778: Improve the cli.AskUser() function
- This patch improves the AskUser function by allowing it to:
- choose from multiple choices (instead of only y/n)
- ... - 04:52 pm Revision bdd55f71: Allow 'add instance' to not start the new instance
- This patch allows 'gnt-instance add' to not start the newly-created
instance. It also allow 'gnt-instance add' and 'g... - 09:56 am Revision bcf043c9: Change resolved hostname from dict to a class
- The current result of utils.LookupHostname() is a dict, but this does
not allow static checkers to check the correctn...
09/18/2007
- 03:42 pm Revision 07bd8a51: Implement cluster rename operation
- This patch adds a new OpCode (and corresponding LU) that implements the
cluster rename functionality.
This is done b... - 11:06 am Revision 4ab0b9e3: Fix a docstring
- Reviewed-by: iustinp
09/17/2007
- 05:04 pm Revision 4ca1b175: Cleanup up selective imports for utils and utils unit test.
- Reviewed-by: iustinp, imsnah
- 02:53 pm Revision 9716fdce: A few minor fixes in backend.py
- This uses the recently-added Instance.FindDisk() method instead of
hard coded find-disk code.
It also renames one pa... - 02:52 pm Revision decd5f45: Implement instance rename operation
- This patch adds support for instance rename operation at all remaining
layers: RPC, OpCode/LU and CLI.
Reviewed-by: ... - 02:18 pm Revision 2c30e9d7: Added TcpPing to do ping-alike via TCP connect(2) with defined source address.
- To be used to replace the currently fping(8) based reachability test.
Reviewed-by: imsnah - 01:52 pm Revision 386b57af: Add support for rename operation in the OS API
- This patch adds support for renaming at OS level. Because of this, we
need to bump up the version of the OS api from ... - 12:12 pm Revision 312ac745: Allow start/stop of multiple instances at once
- This is an initial version of the multi-instance start/stop, which
allows the gnt-instance startup and shutdown subco... - 12:10 pm Revision fc95f88f: Add rename instance support to ConfigWriter
- This patch adds support for renaming instances to the ConfigWriter
class. It's needed in here in order to guarantee t...
09/15/2007
- 12:11 pm Revision 116b0c88: Documentation fix for missing dependencies
- I was getting into trouble with gnt-backup and discovered reading the
code of the debian-etch os image and the error ...
09/14/2007
- 12:54 pm Revision 246e180a: Change OpQueryNodes nodes attribute to names
- Change this to have the exact same parameters as OpQueryInstances.
Also fix burnin which is broken since r146.
Revi... - 12:54 pm Revision 069dcc86: Enable LUQueryInstances to work with a given list of instances
- As per the changes to LUQueryNodes, the QueryInstances LU is modified to
accept a list of instances for which to comp... - 12:03 pm Revision 4a72cc75: Remove OpQueryNodeData and LUQueryNodeData
- Now that LUQueryNodes supports all the functionality of LUQueryNodeData,
let's migrate gnt-node.ShowNodeConfig to use... - 12:02 pm Revision ec223efb: Change LUQueryNodes to return raw values and support selective listing
- LUQueryNodes it's very similar to LUQueryNodeData, but it lacks two
features:
- instance list (it has count though)... - 12:02 pm Revision a7ba5e53: Change _GetWanted* to return names instead of objects
- On closer look, all except one of the current users of _GetWantedNodes are
using only the name of the nodes and throw...
09/13/2007
- 03:46 pm Revision cec9845c: Split QA script into different modules.
- Reviewed-by: iustinp
- 02:49 pm Revision 8a23d2d3: Move string formatting out of LUQueryInstances
- Currently, LUQueryInstances will provide strings for its results. This makes it
hard for other consumers than "gnt-in... - 02:31 pm Revision 72f0f7fd: Fix the ssh change which breaks remote ssh commands
- Explanation: since we use lists and not a string, every argument we give
is passed unchanged to the remote shell. So,...
09/12/2007
- 08:46 pm Revision 4e5e8bfc: Complete rename of testing/ to test/.
- Reviewed-by: iustin
- 06:54 pm Revision 5ca84bdd: Fix typo in last commit.
- 06:51 pm Revision a2ce5c4d: Rename testing/ to test/.
- 06:17 pm Revision b945849c: Clean *.py[co] in testing/.
- Reviewed-by: iustin
- 06:12 pm Revision 44c23fa6: Move QA script from testing/ to qa/.
- Reviewed-by: iustin
- 03:02 pm Revision 23f41a3e: Change the way how locales are overridden:
- - Set only LC_ALL, it overrides any other variable
- Restore environment after unittest
Reviewed-by: iustinp - 02:58 pm Revision 3312b702: Clone cmdlib._GetWantedNodes into _GetWantedInstances
- This duplicates _GetWantedNodes to _GetWantedInstances, after doing some
changes to it:
- fix an indentation error ... - 01:32 pm Revision fdc267f4: Fix docstrings of many opcodes
- Reviewed-by: imsnah
Also available in: Atom