Activity

From 06/17/2008 to 07/16/2008

07/16/2008

03:17 pm Revision 8075ce7e: Breath life in to RAPI for trunk
Reviewed-by: imsnah Oleksiy Mishchenko
12:48 pm Revision 761ce945: Fork ganeti-noded
Create a new ForkingHTTPServer in ganeti-noded by deriving both from
NodeDaemonHttpServer and ForkingMixin. This will...
Guido Trotter

07/15/2008

06:47 pm Revision a7399f66: Documentation updates
Reviewed-by: imsnah Iustin Pop
04:36 pm Revision a47f574c: Migrate RAPI QA to trunk.
Reviewed-by: imsnah Oleksiy Mishchenko
04:23 pm Revision d128fdb6: Add apidoc makefile target
The patch adds the apidoc target and the epydoc config file for it. Note
that this is for epydoc 3.0 and that it will...
Iustin Pop
02:56 pm Revision 0e46916d: Rename BaseJO to BaseOpCode
Since we don't have for now a job definition object anymore, we rename
this class to BaseOpCode. It's still useful (a...
Iustin Pop
01:49 pm Revision f0d874fe: Sort the job list in _GetJobIDsUnlocked
Since the IDs are integers, we can simply sort them.
Reviewed-by: imsnah
Iustin Pop

07/14/2008

06:52 pm Revision 36088c4c: Fix previous patch using workerpool in masterd
The function to stop a worker pool is TerminateWorkers(), not Shutdown().
Reviewed-by: iustinp
Michael Hanselmann
06:43 pm Revision 726a7f7f: Fix a syntax error in gnt-backup
I broke gnt-backup in rev 1035, sorry :(
Reviewed-by: imsnah
Iustin Pop
06:42 pm Revision 23e50d39: Use workerpool in master daemon
Reusing threads instead of starting one for each request is more efficient.
Reviewed-by: iustinp
Michael Hanselmann
06:22 pm Revision d4104181: Further fixes to enable RAPI startup
Note that since RAPI itself doesn't use luxi.Client yet, nothing works,
but at least it can startup now.
Reviewed-by...
Iustin Pop
06:04 pm Revision d3f0bf8f: Add forgotten RAPI constant
This was forgot on the forward-porting of RAPI.
Reviewed-by: imsnah
Iustin Pop
04:38 pm Revision e2212007: Improve cli.SubmitOpCode
Currently, the feedback_fn argument to SubmitOpCode is no longer used.
We still need it in burnin, so we re-enable it...
Iustin Pop
04:15 pm Revision f1048938: First version of user feedback fixes
This patch contains a raw version for fixing feedback_fn.
The new mechanism works as follows:
- instead of a per-P...
Iustin Pop
02:27 pm Revision ac0930b9: Cache some jobs in memory
This patch adds a caching mechanisms to the JobStorage. Note that is
does not make the memory cache authoritative.
T...
Iustin Pop
02:12 pm Revision 8a70e415: Fix JobStorage._GetJobIDsUnlocked
The job ID returned must be an integer (and the regex enforces that),
but we didn't convert it manually.
Reviewed-by...
Iustin Pop
01:08 pm Revision 911a495b: Change JobStorage to work with ids not filenames
Currently some of the functions in JobStorage work with filenames (which
is an implementation detail and should only ...
Iustin Pop

07/11/2008

07:17 pm Revision f1da30e6: Add experimental persistency to job queue
It's not perfect and it's not finished, but it's a start.
- Serial number is read only once, but written on each upd...
Michael Hanselmann
06:45 pm Revision 18682bca: Convert backend.py to the logging module
The patch also switches some of the exception logs to use
logging.exception (and therefore the log message will have ...
Iustin Pop
06:45 pm Revision a237d0a8: Add PID to all logs
This patch (for trunk) adds the PID to all daemon logs.
Reviewed-by: imsnah
Iustin Pop
05:44 pm Revision 081242d8: Fix rapi documentation
As a nice side-effect this also fixes "make distcheck".
The way used to include the generated rapi-resources.sgml fi...
Michael Hanselmann
04:54 pm Revision a17a7623: Fix backend.NodeVolumes handling of LVM output
This is the same fix as for GetVolumeList.
I've checked manually and all other places that call lvm commands are
alr...
Iustin Pop
04:48 pm Revision 4cbd4462: Copy the rest of the Restful-API files to trunk
Reviewed-by: imsnah Oleksiy Mishchenko
04:23 pm Revision df4c2628: Fix backend.GetVolumeList handling of LVM output
Sometimes ‘lvs’ can spit error messages on stdout, even when one wants
to parse the output:
...
Inconsistent metadata...
Iustin Pop
03:20 pm Revision 1df6506c: Use new HTTP server classes in ganeti-noded
Reviewed-by: iustinp Michael Hanselmann
03:20 pm Revision a43f68dc: Add generic HTTP server classes
Some of the code is adopted from the 1.2 branch
(lib/rapi/RESTHTTPServer.py). This code can be used as a base for the...
Michael Hanselmann
01:25 pm Revision af30b2fd: Make "gnt-job list" work again
"gnt-job list" was broken after my recent changes in the RPC
between clients and the master. This patch makes it work...
Michael Hanselmann
12:47 pm Revision 8c229cc7: Initial copy of RAPI filebase to the trunk
Reviewed-by: iustinp Oleksiy Mishchenko

07/10/2008

03:48 pm Revision 0ed468d3: Remove more old job queue code
Apparently I forgot to this code when removing the rest.
Reviewed-by: iustinp
Michael Hanselmann
03:38 pm Revision eb0f0ce0: Move watcher's LockFile function to utils
Reviewed-by: iustinp Michael Hanselmann
03:29 pm Revision 307149a8: Switch _QueuedOpCode to have their own lock
Right now, the queued opcode doesn't have a lock, and instead relies on
the parent QueuedJob's lock.
This is not goo...
Iustin Pop
03:17 pm Revision 7996a135: Add a simple decorator for instance methods
This is just a simple, hardcoded decorator for object methods needing
synchronization on the _lock instance attribute...
Iustin Pop
12:22 pm Revision c8549bfd: jqueue: Log more information when running opcodes
Reviewed-by: iustinp Michael Hanselmann

07/09/2008

05:46 pm Revision ff5fac04: Fix double-logging in daemons
Currently, in debug mode, both the logfile handler and the stderr
handler will log debug messages. Since the stderr i...
Iustin Pop
05:43 pm Revision c89189b1: ganeti-noded logging improvements
The patch adds some more logging to the node daemon:
- log methods at beggining not only at the end
- log method par...
Iustin Pop
03:35 pm Revision e5392d79: Fix utils.py unittest
Reviewed-by: imsnah Iustin Pop
01:41 pm Revision 68676a00: Move the master socket in the ganeti run dir
... as it was intended from the beggining, but by mistake left in the
top run dir.
Reviewed-by: ultrotter
Iustin Pop
01:41 pm Revision cb999543: Reduce duplicate Attach() calls in bdev
Currently, the 'public' functions of bdev (FindDevice and
AttachOrAssemble) will call the Attach() method right after...
Iustin Pop
01:41 pm Revision 468c5f77: Convert bdev.py to the logging module
This does not enhance in any way the messages; it just switches to the
new module.
Reviewed-by: imsnah
Iustin Pop
01:41 pm Revision bb698c1f: Convert utils.py to the logging module
The patch also logs all commands executed from RunCmd when we are at
debug level.
Reviewed-by: imsnah
Iustin Pop
01:41 pm Revision d4fa5c23: Remove the old locking functions
This removes (hopefully) all traces of the old locking functions and
uses.
Reviewed-by: imsnah
Iustin Pop
01:34 pm Revision 2467e0d3: Remove old job queue code
Reviewed-by: iustinp Michael Hanselmann
01:34 pm Revision 0bbe448c: Change masterd/client RPC protocol
- Introduce abstraction class on client side
- Use constants for method names
- Adopt legacy function SubmitOpCode to...
Michael Hanselmann
01:34 pm Revision 3d8548c4: Make luxi RPC more flexible
- Use constants for dict entries
- Handle exceptions on server side
- Rename client function to CallMethod to match s...
Michael Hanselmann
01:34 pm Revision 50a3fbb2: Instantiate new job queue in master daemon
Reviewed-by: iustinp Michael Hanselmann
01:33 pm Revision e2715f69: Add very simple job queue
Reviewed-by: iustinp Michael Hanselmann

07/08/2008

07:32 pm Revision b10b9d74: Add a more comment lines to testLockingConstants
This is to discourage even more whoever may think that this requirement
is not really useful and can be lifted, and t...
Guido Trotter
07:32 pm Revision fbe9022f: Convert LUTestDelay to concurrent usage
In order to do so:
- We set REQ_BGL to False
- We implement ExpandNames
That's it, really.
Reviewed-by: iustinp
Guido Trotter
07:32 pm Revision 68adfdb2: Processor: Acquire locks before executing an LU
If we're running in a "new style" LU we may need some locks, as required
by the ExpandNames function, to be able to r...
Guido Trotter
07:31 pm Revision d465bdc8: LogicalUnit: add ExpandNames function
New concurrent LUs will need to call ExpandNames so that any names
passed in by the user are canonicalized, and can b...
Guido Trotter
07:31 pm Revision 36c381d7: Processor: Move LU execution to its own method
This makes the try...finally code simplier, and helps adding a more
complex locking structure before the actual execu...
Guido Trotter
07:31 pm Revision 2e1d6d96: Add a new LockSet unittest
This test checks the LockSet behaviour when an empty list is passed.
The current behaviour is expected, but since thi...
Guido Trotter
06:10 pm Revision 5f33b613: constants: Add job and opcode status strings
Reviewed-by: iustinp Michael Hanselmann
06:03 pm Revision b3558df1: workerpool: Don't notify if there was no task
Workers have to notify their pool if they finished a task to make
the WorkerPool.Quiesce function work. This is done ...
Michael Hanselmann
05:42 pm Revision 195c7f91: Create all SUB_RUN_DIRS in ganeti-noded
Rather than just creating BDEV_CACHE_DIR we loop through the
SUB_RUN_DIRS list and create all its childs.
Reviewed-b...
Iustin Pop
05:42 pm Revision 75afaefc: Add a top level RUN_GANETI_DIR constant
This patch creates a base RUN_GANETI_DIR and then moves the other run
dir constants to use that (even if just setting...
Iustin Pop
05:41 pm Revision bf94c0f5: symlinks: Add DISK_LINKS_DIR constant
The DISK_LINKS_DIR points to the RUN_DIR/ganeti/instance-disks
directory, which will contain symlinks to the instance...
Iustin Pop
02:16 pm Revision fad50141: luxi: Use serializer module instead of simplejson
Reviewed-by: iustinp Michael Hanselmann
12:38 pm Revision 071448fb: serializer.DumpJson: Control indentation by parameter
If the simplejson module supports indentation, it's always used. There
are cases where we might not want to use it or...
Michael Hanselmann
12:14 pm Revision 6048c986: Add a missing import to cmdlib
cmdlib uses some constants from locking (ie. locking levels) but doesn't
import it. This patch fixes the issue.
Revi...
Guido Trotter
11:55 am Revision f64c9de6: Fix an error accessing the cfg
Since the context is passed to LogicalUnit, rather than the cfg, we can
only access the cfg as self.cfg, self.context...
Guido Trotter
11:49 am Revision a2fd9afc: Add and remove instance/node locks
Whenever we add an instance or node to the cluster (i.e. to the config
and whenever we remove them we should add/remo...
Guido Trotter
11:49 am Revision 77b657a3: Pass context to LUs
Rather than passing a ConfigWriter to the LUs we'll pass the whole
context, from which a ConfigWriter can be extracte...
Guido Trotter
11:49 am Revision f4555db2: mocks: create a FakeContext object
This will be passed to FakeLUs
Reviewed-by: iustinp
Guido Trotter
11:49 am Revision 0b097284: Fix a typo in LUTestDelay docstring
Reviewed-by: iustinp Guido Trotter
11:41 am Revision 08a6c581: Locking: remove LEVEL_CONFIG lockset
Since the ConfigWriter now handles its own locking it's not necessary to
have a specific level for the config in the ...
Guido Trotter
11:40 am Revision f78ede4e: ConfigWriter: synchronize access
Since we share the ConfigWriter we need somehow to make sure that
accessing it is properly synchronized. We'll do it ...
Guido Trotter
11:40 am Revision 42a999d1: Locking: add ssynchronized decorator
This patch creates a new decorator function ssynchronized in the locking
library, which takes as input a SharedLock, ...
Guido Trotter
11:40 am Revision 5b4cd1b0: ConfigWriter: remove _ReleaseLock
Remove empty function _ReleaseLock and all its calls. Since we only
have one configwriter per cluster the locking nee...
Guido Trotter

07/04/2008

07:01 pm Revision 26517d45: Fix some issues with the watcher
This patch fixes two bugs:
- the state file is not saved because we use the method for checking
for udpated dat...
Iustin Pop
06:34 pm Revision 76094e37: Add generic worker pool implementation
Reviewed-by: ultrotter Michael Hanselmann

07/03/2008

03:06 pm Revision 2cb687ad: Reuse the luxi client in cli.SubmitOpCode
By a mistake, we don't reuse the luxi client. As such, we open and close
the connection at each poll cycle and spam t...
Iustin Pop
03:06 pm Revision 3b316acb: Add custom logging setup for daemons
It's better for daemons if:
- they log only to one log file
- the log level is included
- for debug runs, the f...
Iustin Pop
03:06 pm Revision fbe5b278: Remove custom locking code from gnt-instance
The gnt-instance script doesn't run in the same process anymore, so we
can't and don't have to unlock.
Reviewed-by: ...
Iustin Pop

07/02/2008

02:58 pm Revision cc2bea8b: ganeti-masterd: Remove unused locking code
Reviewed-by: iustinp, ultrotter Michael Hanselmann
02:58 pm Revision 96cb3986: ganeti-masterd: Use logging module
Reviewed-by: ultrotter, iustinp Michael Hanselmann

07/01/2008

03:28 pm Revision 984f7c32: Context: s/GLM/glm/
Make the GanetiLockManager instance of GanetiContext lowercase
Reviewed-by: imsnah
Guido Trotter
03:13 pm Revision 8ab8e969: Set locale when using docbook programs
At least docbook2man inserts a date formatted using the current
locale into its output.
Reviewed-by: iustinp
Michael Hanselmann
02:55 pm Revision 60053f31: Update .gitignore
Reviwed-by: imsnah Iustin Pop
02:44 pm Revision 7b4126b7: Add a FirstFree function to utils.py
This function will return the first unused integer based on a list of
used integers (e.g. [0, 1, 3] will return 2).
...
Iustin Pop
01:43 pm Revision a478cd7e: Increase the thread size to 5
Now that we use the locking library to make sure running opcodes cannot
step on each other toes we can have a bigger ...
Guido Trotter
01:43 pm Revision 04864530: Processor: acquire the BGL for LUs requiring it
If a LU required the BGL (all LUs do, right now, by default) we'll
acquire it in the Processor before starting them. ...
Guido Trotter
01:43 pm Revision 1c901d13: Processor: pass context in and use it.
The processor used to create a new ConfigWriter when it was initialized.
We now have one in the context, so we'll jus...
Guido Trotter
01:43 pm Revision 7e55040e: Add REQ_BGL LogicalUnit run requirement
When logical units have REQ_BGL set (it is currently the default) they
need to be the only ganeti operation run on th...
Guido Trotter
01:43 pm Revision 2da55f7c: Burnin doesn't need a Processor
In 2.0 burnin submits job to the master daemon, so it doesn't need to
create an internal Processor anymore. Even if t...
Guido Trotter
12:48 pm Revision 7a5d3bbd: Implement “gnt-job list -o +...”
This adds the same “-o +...” functionality in gnt-job as in the node and
instance scripts.
Reviewed-by: imsnah
Iustin Pop

06/30/2008

07:11 pm Revision c6868e1d: Fix sstore handling in Processor
- no need to keep the sstore as an object member, remove it
- don't reinitialize sstore only if self.cfg is None
...
Guido Trotter
07:11 pm Revision d2525573: Remove duplicate code in hooks unittests
All the tests there used to creare a cfg, a sstore, an opcode and a LU.
Put all the duplicate code in the setUp funct...
Guido Trotter
03:37 pm Revision 39dcf2ef: ganeti-masterd: init and distribute common context
This patch creates a new GanetiContext class, which is used to hold
context common to all ganeti worker threads. As f...
Guido Trotter

06/27/2008

05:28 pm Revision 827f753e: AddNode: move the initial setup to boostrap
From the master node we can't start ssh and connect to the remote node,
nor we can do it from ganeti-noded as this ss...
Guido Trotter
05:28 pm Revision 05ccd983: AddNode: Check for node existance
In the "new world" we'll need to setup ganeti-noded via ssh on the node
before calling the AddNode opcode. Before doi...
Guido Trotter
05:28 pm Revision 5c0527ed: LUAddNode: use node-verify to check node hostname
As we can't use ssh.VerifyNodeHostname directly, we'll set up a mini
node-verify to do checking between the master an...
Guido Trotter
05:28 pm Revision 3d1e7706: LUAddNode: use self.sstore, not a local ss
Since we're inside a LU we have access to self.sstore.
No need to use ss, which separate instantiation will disappear...
Guido Trotter
05:28 pm Revision b5602d15: LUAddNode: upload files via rpc, not scp
We used to scp all the ssconf files, and the vnc password file to the
new node. With this patch we use the upload_fil...
Guido Trotter
05:27 pm Revision 90fae627: Allow VNC_PASSWORD_FILE to be rpc-uploaded
What could possibly go wrong?
Reviewed-by: iustinp
Guido Trotter
05:27 pm Revision 937f983d: Change fping to TcpPing in two LUs
Two LUs are using RunCmd to call fping, in order to check for an IP
presence on the network. Substituting it with Tcp...
Guido Trotter
05:27 pm Revision 6d8b6238: raise QuitGanetiException in LeaveCluster
Reviewed-by: iustinp Guido Trotter
05:27 pm Revision c3d7f69b: ganeti-noded: Fix handling of QuitGanetiException
- s/GanetiQuitException/QuitGanetiException/
- Look for the arguments in err.args, not err itself
Reviewed-by: iustinp
Guido Trotter
05:27 pm Revision 9f9c8ee2: Simplify QuitGanetiException instantiation
Rather than packing all the arguments in a tuple, let's pass them
plainly. The superclass won't complain.
Reviewed-b...
Guido Trotter
12:02 pm Revision 5023934a: logger: Set formatter for stderr
Having a timestamp on log messages is very useful. The default
format string doesn't include a timestamp.
Reviewed-b...
Michael Hanselmann

06/26/2008

05:42 pm Revision d489ca4f: When removing a node don't ssh to it
Even in 1.2 this behaviour is broken, as the rpc call will remove the
ssh keys before we get a chance to log in. Now ...
Guido Trotter
05:42 pm Revision 9ae49f27: ganeti-noded: quit on QuitGanetiException
Accoring to the usage documented in the QuitGanetiException docstring,
if we receive such an exception we'll set the ...
Guido Trotter
05:42 pm Revision e50bdd68: Add errors.QuitGanetiException
This exception does not signal an error but serves the purpose of making
the ganeti daemon shut down after handling a...
Guido Trotter
05:42 pm Revision 3b3db8fd: ganeti-noded: serve not quite forever
Rather than calling httpd.serve_forever() in ganeti-noded we'll call
httpd.handle_request() but just while a global v...
Guido Trotter
05:41 pm Revision b0059682: Add missing empty line in SshKeyError's docstring
Reviewed-by: iustinp Guido Trotter
05:41 pm Revision 49abbd3e: Remove spurious check during LUAddNode
There is no point in checking whether the cluster VNC password file
exists as a prerequisite for AddNode, considering...
Guido Trotter
05:41 pm Revision d08869ee: Improve LURemoveNode BuildHooksEnv docstring
Reviewed-by: iustinp Guido Trotter
12:41 pm Revision f63eed35: devel/upload: Add --no-restart option
If --no-restart is passed to devel/upload, it'll not run
"/etc/init.d/ganeti restart" (which kills processes), making...
Michael Hanselmann

06/25/2008

11:07 am Revision 00fb8246: Cleanup old DRBD 0.7.x code
Apparently there were still some leftovers. While removing an instance,
I got the message "unhandled exception 'modul...
Michael Hanselmann
09:45 am Revision 99e8295c: Cleanup LV status computation
Currently, when seeing if a LV is degraded or not (i.e. virtual volume),
we first attach to the device (which does an...
Iustin Pop

06/24/2008

05:30 pm Revision 7a47c582: Add a .gitignore file
This makes it easier to setup new git repositories, and makes it more
likely all people have the same ignore rules.
...
Iustin Pop

06/23/2008

08:22 pm Revision 501c95a2: Add unittests for ganeti.serializer
Reviewed-by: iustinp Michael Hanselmann
08:21 pm Revision 5878b1b5: Remove lib/Makefile.libcommon
Reviewed-by: iustinp Michael Hanselmann
07:55 pm Revision b3989551: Fix gnt-cluster “command” and “copyfile”
Since the disabling of forking in the master daemon, the two ssh-based
subcommands were not working anymore. However,...
Iustin Pop
06:00 pm Revision 0db7ac4d: Handle any exception in ganeti-masterd
If an uncaught exception is thrown currently it destroys the calling
thread. This patch changes the behaviour to fail...
Guido Trotter
04:39 pm Revision 95e4a814: cfgupgrade: Implement upgrading to Ganeti 2.0 configuration
Reviewed-by: iustinp Michael Hanselmann
04:15 pm Revision 0d93b082: Makefile.am: Don't create "--" directory
Automake automatically appends "--" to @mkdir_p@. In case you have
a directory named "--" in your source tree, you ca...
Michael Hanselmann
04:00 pm Revision cf9cb46a: objects: Remove config_version from cluster configuration
Reviewed-by: ultrotter Michael Hanselmann
03:53 pm Revision 6d691282: cfgupgrade: Add main() function
Reviewed-by: iustinp Michael Hanselmann
03:53 pm Revision eda37a5a: cfgupgrade: Add logging module
Reviewed-by: iustinp Michael Hanselmann
03:50 pm Revision 740c5aab: Fix the zombie process unittest
The failure is because in high load, the parent gets to run before the
child has the chance to os._exit(), and theref...
Guido Trotter
02:30 pm Revision 5e29d733: Bump version to 2.0.0~alpha0
We decided to bump the major number to 2 a few weeks ago due to the huge number
of changes going into it.
Reviewed-b...
Michael Hanselmann
02:11 pm Revision 1b45f4e5: Add functions to calculate version number to constants.py
In cfgupgrade, we need to extract parts of and build new version numbers.
Reviewed-by: iustinp
Michael Hanselmann
12:52 pm Revision 04a8d789: utils.WriteFile: Remove optional check_abspath parameter
cfgupgrade will not work with relative paths at all, but rather get them
from constants.py.
Reviewed-by: iustinp
Michael Hanselmann

06/22/2008

01:57 pm Revision 130a6a6f: Add a ‘tags’ field to instance and node listing
Currently there isn't any easy way to list all nodes or instance and
their tags; you have to query each node in turn,...
Iustin Pop

06/21/2008

09:49 pm Revision 03a8dbdc: Implement handling of luxi errors in cli.py
Currently the generic handling of ganeti errors in cli.py (GenericMain
and FormatError) only handles the core ganeti ...
Iustin Pop
02:27 pm Revision 11fb401c: Remove twisted checks from configure.ac
Currently we don't use twisted, so we remove the twisted checks from the
configure stage.
Reviewed-by: amishchenko
Iustin Pop

06/20/2008

02:04 pm Revision d61cbe76: Add a rpc call for BlockDev.Close()
This patch adds rpc layer calls (in rpc.py and the equivalent in
ganeti-noded) to close a list of block devices, and ...
Iustin Pop

06/19/2008

05:06 pm Revision 1efbe18e: Check for docbook2{man,pdf,html}
docbook2{man,pdf,html} are mandatory. "configure" aborts if one
of them isn't found.
Reviewed-by: iustinp
Michael Hanselmann
04:37 pm Revision 67470f58: Small typo in gnt-instance manpage
Reviewed-by: manuel.franceschini Iustin Pop
03:56 pm Revision e8230860: Use a single Makefile.am instead of many
This change allows us to use cleaner dependencies between
directories. The build system is basically rewritten in lar...
Michael Hanselmann

06/18/2008

06:09 pm Revision ae9da390: Fix bdev unittest when run under distcheck
The path to the filename for drbd8 proc data is not correctly computed
when using distcheck. The patch duplicates it ...
Iustin Pop
06:08 pm Revision 6b90c22e: Rework the DRBD8 device status computation
Currently, compute the status of a drbd8 device in GetSyncStatus and
return only the values that we need (and fit in ...
Iustin Pop
03:32 pm Revision 7bca53e4: ganeti-watcher: Replace custom exceptions with ganeti.error.*
Reviewed-by: iustinp Michael Hanselmann
03:31 pm Revision 2fb96d39: ganeti-watcher: Don't write file if data didn't change
This is the safest way to detect changes and the amount of data
is small, so keeping a copy around is cheap enough.
...
Michael Hanselmann
03:31 pm Revision b76f660d: ganeti-watcher: Rename WatcherState.data to WatcherState._data
Cleanup: _data is private and should not be modified from outside
of this class.
Reviewed-by: iustinp
Michael Hanselmann
03:31 pm Revision 1b052f42: Don't log SystemExit exception in ganeti-watcher
Reviewed-by: iustinp Michael Hanselmann
03:31 pm Revision fc428e32: Replace watcher state file atomically
- Lock it before renaming
- Code cleanup; close() automatically unlocks it
Reviewed-by: iustinp
Michael Hanselmann
03:30 pm Revision 78f3bd30: Write ganeti-watcher status file even if something failed
Reviewed-by: iustinp Michael Hanselmann
03:30 pm Revision 71714516: Add more parameters to utils.WriteFile
- Make closing file optional: Required by ganeti-watcher to keep
file open after writing it. Changes return value o...
Michael Hanselmann
03:29 pm Revision 67fe61c4: Use ganeti.serializer module in ganeti-watcher
Reviewed-by: ultrotter Michael Hanselmann
03:29 pm Revision 438b45d4: Replace custom logging code in watcher with logging module
- Log timestamp for all messages
- Write everything to logfile and optionally to stderr
- Log messages are no longer ...
Michael Hanselmann
03:29 pm Revision e91ffe49: Make sure serialized data ends with EOL character
Also fix the regular expression to not remove newlines. The simplejson
module puts whitespace at line endings when us...
Michael Hanselmann

06/17/2008

06:08 pm Revision 0402302c: Allow disk object to set their own physical ID
Currently, the way to customize a DRBD disk from (node name 1, node name
2, port) to (ip1, port, ip2, port) is to use...
Iustin Pop
04:13 pm Revision c7cdfc90: Fix an error-handling case
There is a mistake in handling grow-disk for an invalid disk. This patch
fixes it.
Reviewed-by: imsnah
Iustin Pop
09:51 am Revision eb65d354: Manpage updates for the new grow-disk command
The patch documents the steps needed to complete a user-visible grow
(i.e. not only grow-disk, but also filesystem re...
Iustin Pop
09:51 am Revision c6e911bc: Implement gnt-instance grow-disk
This patch exposes at command line level the grow-disk operation.
Reviewed-by: imsnah
Iustin Pop
09:50 am Revision 8729e0d7: Implement disk grow at LU level
This patch adds a new opcode and LU for growing an instance's disk.
The opcode allows growing only one disk at time,...
Iustin Pop
09:50 am Revision acec9d51: Add method to update a disk object size
This patch adds a method that implements updating of a disk
(object.Disk) size, together with its children.
While th...
Iustin Pop
09:50 am Revision 4c8ba8b3: Implement block device grow at the rpc layer
This simple patch exposes the block device grow operation at the rpc
layer. It does not increase the protocol version...
Iustin Pop
« Previous
Next »
 

Also available in: Atom