Activity

From 05/15/2010 to 06/13/2010

06/11/2010

07:06 pm Revision 20571a26: Cache a few bits of status in jqueue
Currently each time we submit a job we check the job queue size, and the
drained file. With this change we keep these...
Guido Trotter
05:06 pm Revision 69b03fd7: Remove unused parameter from function
This also removes the relevant pylint disable.
No point in keeping unused parameters around: if/when we need them it'...
Guido Trotter
05:06 pm Revision c910bccb: Fix a TODO in _QueuedJob
Rather than raising Exception use GenericError and explain a bit better
what happened.
Signed-off-by: Guido Trotter ...
Guido Trotter
05:06 pm Revision 57d56130: ListVisibleFiles: do optional sorting
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
05:06 pm Revision 85a1c57d: Optimize _GetJobIDsUnlocked
Currently we sort the list of job queue files twice (once in
utils.ListVisibleFiles with sort and then later with Nic...
Guido Trotter
05:06 pm Revision a71f9c7d: jqueue: Rename _queue_lock to _queue_filelock
The name clarifies the difference between this and the internal lock.
Also explain a bit better what it is.
Signed-o...
Guido Trotter
05:06 pm Revision 6358dbc2: jstore._ReadNumericFile: use utils.ReadFile
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
01:08 pm Revision ca9ec5aa: Improve import-export unittest a bit
- Increase timeouts from 10 to 30 seconds (this still breaks when the
machine is busy, e.g. using bonnie++)
- Depen...
Michael Hanselmann
01:08 pm Revision 4dd97aa1: Test client timeout for import-export daemon
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:08 pm Revision d6547a1c: Generate import-export unittest certs in parallel
Generating certificates can be slow.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <...
Michael Hanselmann
12:50 pm Revision bd061c35: Enforce consistency in disks and nics input dicts
With this change unknown disk and nic parameters will be refused, rather
than silently ignored, so that one can't pas...
Guido Trotter
12:24 pm Revision 1b67be9b: TLMigrateInstance: pass lu to _Check*
The various _Check* helper functions expect an lu to be passed in, but
the TL is passed instead. This works... someti...
Guido Trotter
12:23 pm Revision cdf158a8: Remove locking._CountingCondition
This class is unused and untested. We must have forgot it around.
Signed-off-by: Guido Trotter <ultrotter@google.com...
Guido Trotter
12:23 pm Revision 6abf7f2c: Remove the job queue drain rpc call
This call was introduced but never used. In two years.
Since it's just creating/removing a file it can also be in sim...
Guido Trotter

06/10/2010

10:57 pm Revision 6df291d4: Move fake hypervisor run dir under ganeti
This makes it uniform with the other hypervisors.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Balazs ...
Iustin Pop
05:45 pm Revision 7f890059: _BaseCondition: allow saving/restoring state
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
05:45 pm Revision 1a4e32d0: SharedLock _acquire_restore and _release_save
If a shared lock is used inside a condition, we need to make sure that
it's reacquired in the same way as it was orig...
Guido Trotter
12:55 pm Revision 66ecc479: Submit[*each*]Pending job
This is useful so we can test both SubmitJob and SubmitManyJobs.
Signed-off-by: Guido Trotter <ultrotter@google.com>...
Guido Trotter
12:17 pm Revision 7172f605: Add unittest for ganeti-cleaner
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann

06/09/2010

12:40 pm Revision fc0726b9: cfgupgrade: Local variable for cluster-domain-secret filename
This is necessary to allow cfgupgrade to work on a non-standard directory.
Signed-off-by: Michael Hanselmann <hansmi...
Michael Hanselmann
12:40 pm Revision e0897adf: Start to prepare documentation for 2.2 release
- Update NEWS file
- Remove dependency on OpenSSL (pyOpenSSL remains)
- Update manpages, fix typos and other things
...
Michael Hanselmann

06/08/2010

10:35 pm Revision 94182b63: gnt-job auto-completion: suggest "all" too
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
04:12 pm Revision f9323011: import/export: Allow script to predict size
Once we have a size for an export (in the context of the
import/export daemon), we can provide the user with a
percen...
Michael Hanselmann
04:12 pm Revision e6b8d02d: Show formatted ETA for disk sync and import/export
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
04:12 pm Revision 2ad5550d: backend: Enable export size prediction
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
04:12 pm Revision 1a2e7fe9: import/export: Show progress updates to user
With this patch, we show progress updates approx. once per minute.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
04:12 pm Revision c08d76f5: import/export daemon: Record amount of data transferred
This reports the amount of data transferred and the throughput (averaged
over 60 seconds) to the master daemon. While...
Michael Hanselmann
03:48 am Revision 95f490de: Optimise the Luxi.recvMsg function
Since the current buffer cannot contain (during network reads) an EOM,
we should look for the EOM only in the newly-r...
Iustin Pop
01:09 am Revision 04282772: Complete the client Luxi implementation
All current Luxi calls are supported after this patch. A bug in
ArchiveJob is also fixed (Ganeti's job IDs are strings).
Iustin Pop
12:35 am Revision 9622919d: Add support for more LUXI calls
While not are directly useful, having them will open some possibilities
(e.g. polling for job changes in hbal's -X mo...
Iustin Pop

06/04/2010

08:05 pm Revision 158377f3: ensure-dirs: don't fail if no rapi log is present
Sometimes a node has never been a master. Or ran rapi. In that case we
need to create the file (because if later rapi...
Guido Trotter
06:05 pm Revision 92fd2250: Introduce harcdoded timeouts for each RPC call
This patch adds a table with per-opcode timeouts. They were chosen in an
empiric, rather than scientific, way - see t...
Iustin Pop
05:26 pm Revision e0036155: http client: support per-request read timeout
Currently, the read timeout is hardcoded in the
HttpClientRequestExecutor class. The patch changes the timeout so tha...
Iustin Pop
05:23 pm Revision 46a8da3b: Let daemon-utils fix the owners for ganeti-rapi
This is a workaround until we fully switched to user separation and fixes the
owners of directories/log files so gane...
René Nussbaumer
05:23 pm Revision bbfd0568: Modify ganeti-masterd to set permission and owner of masterd-socket
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
05:22 pm Revision 8b72b05c: Let ganeti-rapi run under a different user/group
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
05:22 pm Revision 743b53d4: Make it possible to call utils.Daemonize with uid and gid to run as
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
René Nussbaumer
05:22 pm Revision 0d150c50: Adding customized user/group as configure flags
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
05:17 pm Revision 664ab866: Merge branch 'devel-2.1'
* devel-2.1:
_ExecuteKVMRuntime: fix hv parameter fun
Update FinalizeMigration docstring
LUGrowDisk: fix operat...
Guido Trotter
04:22 pm Revision 297e6e53: _ExecuteKVMRuntime: fix hv parameter fun
When executing the kvm runtime we were currently accessing a mix of the
parameters as configured currently on the ins...
Guido Trotter
04:22 pm Revision fea922fa: Update FinalizeMigration docstring
This is used not only for aborted migrations, so the docstring should
reflect that.
Signed-off-by: Guido Trotter <ul...
Guido Trotter
04:22 pm Revision 41bbdb52: LUGrowDisk: fix operation on down instances
Currently it's impossible to grow a disk if an instance is shutdown,
because the disk could not be assembled. Now we ...
Guido Trotter
04:22 pm Revision ef628379: Allow disk operation to act on a subset of disks
If the disks= parameter is passed, we can assemble/wait for
sync/shutdown only some disks belonging to an instance, r...
Guido Trotter
04:22 pm Revision 7cf722ea: NEWS: add release date for 2.1.3
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
12:44 pm Revision f8ea4ada: utils: Add function to format seconds
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann

06/03/2010

03:55 pm Revision 722702e3: Bump up version for the 2.1.3 release
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
03:43 pm Revision 0fb44e89: Merge branch 'devel-2.1'
* devel-2.1:
TestAsyncUDPSocket: remove dead code and add test
TestAsyncUDPSocket: test for oversized sends
Doc...
Guido Trotter
01:56 pm Revision 53dbf14c: import/export unittest: Improve logging and fix one race condition
Apart from improved logging, one race condition is fixed. If
the destination's status file became available, the port...
Michael Hanselmann
01:56 pm Revision 41a2e7d7: import/export unittest: Test large(r) transfer
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
01:48 pm Revision cdd7f900: Convert ganeti-masterd's main thread to mainloop
Not much changes with this patch. The main loop for the IOServer is
repaced by mainloop.Run() and the main thread now...
Guido Trotter
01:48 pm Revision 495ba852: daemon.AsyncAwaker
This new asyncore dispatcher can be used to force a thread running the
asyncore loop to awake from the select, by sig...
Guido Trotter
01:48 pm Revision a4b605ae: daemon.AsyncStreamServer
This is a new asyncore server which handles listening stream sockets by
calling a non-implemented function for each c...
Guido Trotter
01:48 pm Revision b66ab629: daemon.AsyncTerminatedMessageStream
This is the counterpart of the AsyncStreamServer can be used to handle
connected sockets returned from connected clie...
Guido Trotter
01:48 pm Revision 18215385: Test the new streaming daemon classes
Unittests cover AsyncStreamServer and AsyncTerminatedMessageStream with
both tcp and unix sockets.
Signed-off-by: Gu...
Guido Trotter
12:39 pm Revision db147305: ganeti-watcher should attempt to fix ganeti-rapi
Update ganeti-watcher so that it tests the master's RAPI port with a
simple test (in this case GetVersion). If it fai...
Tom Limoncelli
12:08 am Revision 4a007641: Fix some lint errors in the unit tests
Iustin Pop

06/02/2010

11:55 pm Revision 683b1ca7: Change the Luxi operations structure
Currently, we define the LuxiOp type as a simple enumeration, and leave
the arguments structure to the users of the G...
Iustin Pop
08:55 pm Revision 95ab227e: TestAsyncUDPSocket: remove dead code and add test
- _ThreadedClient was added on the idea of making this unittest
concurrent, which was actually never done (we could...
Guido Trotter
08:54 pm Revision e9de7da4: TestAsyncUDPSocket: test for oversized sends
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>
Guido Trotter
08:39 pm Revision 1de45c78: Document the check-man change
Since this affects developers' systems, document it in NEWS and
devnotes.rst
Signed-off-by: Guido Trotter <ultrotter...
Guido Trotter
08:39 pm Revision 14d91053: Update NEWS for Ganeti 2.1.3
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
06:09 pm Revision 546d7c4f: Second attempt at fixing check-man
I was wrong, actually LANG-vs-LC_ALL only fixed one case, by mistake. To
get proper UTF-8 encoding, we need to enforc...
Iustin Pop
05:14 pm Revision e68cb187: Fix check-man for newer man-db
Again, check-man :)
Commit 5fa1642226 removed LC_ALL=C, since that breaks the check.
However, with no LANG/LC_* vari...
Iustin Pop

06/01/2010

11:51 pm Revision 9c0a748f: Fix a warning in Loader tests
Incomplete pattern match… Iustin Pop
08:54 pm Revision c088674b: Add a few Loader tests
These are not comprehensive, but at least we have a start. Iustin Pop
08:47 pm Revision 1948e5fe: Add RemoveDir utility function
Backported from master, 72087dcd5b06c0127e2ec3bf8c80f7f54da3fb01
Signed-off-by: Balazs Lecz <leczb@google.com>
Revie...
Balazs Lecz
08:31 pm Revision ff18f526: Merge remote branch 'origin/devel-2.1'
* origin/devel-2.1:
Explicitely return None from IgnoreSignals
AsyncUDPSocket: fix IgnoreSignals usage and test
...
Guido Trotter
08:22 pm Revision 6e7e58b4: AsyncUDPSocket: fix IgnoreSignals usage and test
This bug was found in the asyncore master patch series, but actually
applies to 2.1 for AsyncUDPSocket as well.
Sign...
Guido Trotter
08:22 pm Revision 2fd7f564: Explicitely return None from IgnoreSignals
Same result, but what happens is clearer.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael H...
Guido Trotter
08:18 pm Revision 547a63b7: Add KVM chroot feature
This patch adds a new boolean hypervisor parameter to the KVM hypervisor,
named 'use_chroot'.
If it's turned on for a...
Balazs Lecz
07:40 pm Revision a01b500b: utils: Add function to check whether process handles a signal
This will be used to avoid a race condition between starting a program (dd
for import/export) and sending signals to ...
Michael Hanselmann
07:40 pm Revision 855bffd2: Fix and Improve TryToRoman unittest
1) Don't break when the roman module is not found
2) Test that not finding the roman module doesn't make TryToRoman f...
Guido Trotter
07:39 pm Revision 424f51ec: move-instance: Use error message instead of multiple state variables
Until now, move-instance used different status variables: “success”,
“abort” and “error_message”. With this patch, ev...
Michael Hanselmann
07:39 pm Revision ff89a747: Distribute cluster domain secret
The cluster domain secret file was not distributed to other nodes.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
01:37 pm Revision d4d1e3dd: Merge branch 'devel-2.1'
* devel-2.1:
Convert gnt-instance list and info to use roman
gnt-cluster info --roman
FormatUidPool: provide op...
Guido Trotter
01:25 pm Revision e2736e40: Convert gnt-instance list and info to use roman
Finally gnt-instance has roman support as well.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Ius...
Guido Trotter
01:25 pm Revision d729e03a: gnt-cluster info --roman
Convert to roman (if so the user wishes) the following:
- cluster candidate size
- uid pool
- any integer be or...
Guido Trotter
01:24 pm Revision 196ec587: FormatUidPool: provide optional roman conversion
The convert= option of compat.tryToRoman is used to do optional
conversion without duplicating formatting code.
Sign...
Guido Trotter
01:23 pm Revision cc5b94db: gnt-node: remove latinfriendlyfields
Rather than relying on a static list of fields, we opportunistically
convert all integers.
Signed-off-by: Guido Trot...
Guido Trotter
01:22 pm Revision 6396164f: Move roman conversion to compat
The new TryToRoman function provides optional easy to use roman
conversion. Nunc cum demonstrationi unitati.
Signed-...
Guido Trotter
12:08 pm Revision 999847c8: ssconf: error out when writing oversized files
Since we impose a maximum limit when reading ssconf files, let's error
out when trying to write them too big, so we d...
Guido Trotter
11:47 am Revision b9b5abcb: Add a new opcode timestamp field
Since the current start_timestamp opcode attribute refers to the inital
start time, before locks are acquired, it's n...
Iustin Pop
11:39 am Revision 14aeab22: Fix IgnoreSignals on socket.error
Some confusion arose handling EINTR on this function: in python 2.6
socket.error is an IOError, and thus:
- It's an...
Guido Trotter
11:34 am Revision c3c5dc77: Master core scalability design doc
This initial design still lacks information about the job queue lock
contention decrease.
Signed-off-by: Guido Trott...
Guido Trotter
11:34 am Revision 37e1e262: design-2.2: job queue lock analysis/remediation
This builds up on the "Master core scalability design doc" detailing the
critical situations in the job queue and pro...
Guido Trotter
11:34 am Revision e3cc4c69: reraise exceptions in async tests' error handlers
This makes sure that any unforeseen error raises an exception rather
then just increasing a counter. It makes unittes...
Guido Trotter
11:34 am Revision 716a32cb: Move hash functions to the compat module
Since the hash functions' changed their module name between python 2.4
and 2.6, and we have to do an try/import/excep...
Guido Trotter
11:34 am Revision 965d0e5b: Fix {Ignore, RetryOn}Signals on socket.error
Some confusion arose handling EINTR on those functions: in python 2.6
socket.error is an IOError, and thus:
- It's ...
Guido Trotter

05/31/2010

08:17 pm Revision 2652b363: RAPI client should convert urllib2.URLError to GanetiApiError
Signed-off-by: Tom Limoncelli <tlim@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Tom Limoncelli
03:16 pm Revision e43d4f9f: KVM: Migration bandwidth and downtime control
Introduce 2 new hypervisor options, migration_bandwidth and migration_downtime
and implement KVM migration bandwidth ...
Apollon Oikonomopoulos
01:02 pm Revision b73360e3: Make utils.EnsureDirs() ignore umask
EnsureDirs() should create directories with the exact mode requested
in the arguments, but it currently applies the u...
Balazs Lecz

05/30/2010

09:16 pm Revision 8c5652f6: Modify the test runner to show test exceptions
QuickCheck's batch driver (at least v1) doesn't show the test aborts,
but simply discards the specific exception and ...
Iustin Pop

05/28/2010

07:50 pm Revision bb44b1ae: import/export daemon: Move command building into separate module
The import/export daemon code is already large. Moving some code
to a separate module will make it smaller and easier...
Michael Hanselmann
07:50 pm Revision 34c9ee7b: import/export daemon: Move some I/O processing code to module
The code parsing the child process' output is moved to a separate
class in the impexpd module. As more programs are a...
Michael Hanselmann
07:33 pm Revision 1e915b86: import/export daemon: Move command building into class
Instead of passing around many variables for building the executed
command, they're now kept as instance variables.
...
Michael Hanselmann
03:37 pm Revision 84c08e4e: Add KVM chroot feature
This patch adds a new boolean hypervisor parameter to the KVM hypervisor,
named 'use_chroot'.
If it's turned on for a...
Balazs Lecz
03:36 pm Revision 72087dcd: Add RemoveDir utility function
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Balazs Lecz
12:13 pm Revision 9e35522c: Reduce the warnings during the unittests
Since the unittests are not 'clean' from the p.o.v. of type
declarations, and cannot be made clean in all respects (e...
Iustin Pop
12:39 am Revision 06fe0cea: Improve the test driver
The tests are moved to a separate data structure, and we can select a
subset of tests to run.
Iustin Pop
12:25 am Revision 88f25dd0: Introduce OpCode unittests
Iustin Pop
12:00 am Revision f36a8028: Introduce suport for optional keys in JObjects
Some keys are optional in the Ganeti opcodes (e.g. ‘node’ in the
OpReplaceDisks), and as such we need to transform th...
Iustin Pop

05/27/2010

11:37 pm Revision c96d44df: Replace fromJResult with annotateJResult
This patch removes all old uses of fromJResult with the annotated
version, and removes the non-annotated version. All...
Iustin Pop
11:32 pm Revision c8b662f1: Add annotations to loadJSArray
This allows, for example, the RAPI backend to detail which information
(instance or node data) fails to parse.
Iustin Pop
11:23 pm Revision 50d26669: Change fromObj error messages
Currently fromObj doesn't detail what we're trying to read, which can
lead to cryptic messages: "Cannot read Int". Th...
Iustin Pop
02:43 pm Revision e0561198: Fix two race conditions in reboot instance
If the instance crashes between backend.InstanceReboot checks the list
of running instances and the execution of hv_x...
Iustin Pop
01:11 am Revision 82ea2874: A few more small Node unit-tests
Iustin Pop

05/25/2010

08:17 pm Revision 39d11971: Add more unittests
Instance, Node and Text modules have improved coverage. Iustin Pop
06:57 pm Revision 31d97b2a: Support for latin friendly output in node list
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
02:30 pm Revision fadc3742: Merge branch 'devel-2.1'
* devel-2.1:
Test for errors during inotify callback
SingleFileEventHandler: Remove try/except blocks
ErrorLogg...
Guido Trotter
01:16 pm Revision 7678409f: Test for errors during inotify callback
- Create a new _MyErrorLoggingAsyncNotifier class which registers
error counts, rather than logging them
- Add an a...
Guido Trotter
01:16 pm Revision 32b1efa1: SingleFileEventHandler: Remove try/except blocks
Since now we use the SingleFileEventHandler together with an error
handling asyncore dispatcher, we don't need the in...
Guido Trotter
01:16 pm Revision e9c8deab: ErrorLoggingAsyncNotifier
This mixes AsyncNotifier with GanetiBaseAsyncoreDispatcher to provide an
AsyncNotifier which will log errors, rather ...
Guido Trotter
01:16 pm Revision b11780bb: daemon.GanetiBaseAsyncoreDispatcher
Abstract a few common functionalities between all ganeti asyncore
dispatchers:
- Handle errors by logging them, and...
Guido Trotter

05/24/2010

01:12 pm Revision 17931833: Merge branch 'devel-2.1'
* devel-2.1:
TestSingleFileEventHandler: abstract notifier type
Mainloop: handle SIGINT as well (and terminate)
...
Guido Trotter
01:00 pm Revision 49f986e7: TestSingleFileEventHandler: abstract notifier type
Rather than hardcode that we have two notifiers, and notifier 0 is the
terminating one, we abstract this with class l...
Guido Trotter

05/22/2010

09:58 am Revision f59dce3e: Mainloop: handle SIGINT as well (and terminate)
This is needed if daemons are in the foreground, and get ctrl+c-ed by
the user. Also add unittests to make sure the c...
Guido Trotter
09:58 am Revision d021e478: SingleFileEventHandler: update comments
The comments in the SingleFileEventHandler are still confd-specific.
Update them to make them generic for any single-...
Guido Trotter

05/21/2010

06:18 pm Revision a5310c2a: Allow control of import/export compression method
For exports to/imports from the same machine, compression will
not be used anymore.
Signed-off-by: Michael Hanselman...
Michael Hanselmann
06:17 pm Revision eb630f50: Put common import/export daemon options into object
The X509 key name and CA are passed from cmdlib all the way to
the backend import/export daemon. With the addition of...
Michael Hanselmann
06:16 pm Revision 7e3c1da6: import-export daemon: Allow changing compression method
For example, exports on the same node shouldn't be compressed.
Signed-off-by: Michael Hanselmann <hansmi@google.com>...
Michael Hanselmann
02:24 pm Revision 39019f91: Merge branch 'devel-2.1'
* devel-2.1:
Add asyncnotifier unittests
Make ConfdInotifyEventHandler a library function
Comment on AsyncNotif...
Guido Trotter
01:45 pm Revision 17496050: Add asyncnotifier unittests
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
01:45 pm Revision c666f1f4: Make ConfdInotifyEventHandler a library function
Cut&Paste, plus the following changes:
- The class is renamed to SingleFileEventHandler
- The monitored filename ...
Guido Trotter
01:45 pm Revision a2c965ea: Comment on AsyncNotifier upstream's availability
Since we contributed AsyncNotifier back to the upstream pyinotify
project, we'll be able, one day, to remove the gane...
Guido Trotter
01:45 pm Revision e22af31d: Remove errors.ConfdFatalError
This exception is caught, but never thrown. It became useless when we
moved confd from on/off to enabled/disabled, bu...
Guido Trotter

05/20/2010

07:45 pm Revision 3fea6959: Add more unit tests for allocation/balance
The patch adds some simple unit-tests for both the allocation function
(we can allocate small instances on an empty c...
Iustin Pop
05:53 pm Revision 85dbfd78: TestMainloop: test scheduler priorities as well
By using enterabs we can schedule events at the same time, which will
then be sorted by priority.
Signed-off-by: Gui...
Guido Trotter
05:52 pm Revision 19ad29d2: Fix race condition in mainloop unittest
Currently, in testDeferredCancel if the self._CancelEvent are entered
more than 0.3 seconds after the _SendSig have b...
Guido Trotter
05:52 pm Revision c6987b16: TestMainloop.testReRun
Currently we never do that, but it's nice to know we can restart the
mainloop, after termination.
Signed-off-by: Gui...
Guido Trotter
05:52 pm Revision 4db33137: Add AsyncUDPSocket tests
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
05:52 pm Revision 1118ec44: Add initial mainloop unittests
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
05:50 pm Revision 53726a00: devel/review: make the range argument optional
Rather than calling devel/review with from..to target we can just use
target, and assume target..HEAD as the range. T...
Guido Trotter
01:31 pm Revision 3ce8009a: Move two functions from hspace to Cluster.hs
This is done so we can test a longer pipeline. Iustin Pop
01:31 pm Revision 8423f76b: Make CStats instance of show
This helps debugging via ghci. Iustin Pop
12:19 pm Revision ada2fc6d: Clarify options related to name passing
After the name patches, we can pass in either the short or the full
name, so update the hbal man page accordingly.
Iustin Pop
12:19 pm Revision 381be58a: Another haddoc fix…
Iustin Pop
12:07 pm Revision 49f9627a: Change some test constants
First, we reduce the max size of the disks, since Int on 32bits will
overflow for big simulated clusters. This is a r...
Iustin Pop
12:07 pm Revision 8bcdde0c: Add a new node/instance field
This new field ('alias') will hold the shortened/beautified display
name. When resetting the name, the alias is reset...
Iustin Pop
12:07 pm Revision 3e4480e0: Stop modifying names for internal computations
Currently the name used internally is modified and holds the shortened
name of the nodes/instances. This has caused i...
Iustin Pop
12:07 pm Revision c854092b: Accept both full and short names in CLI
This patch introduces some new functionality in the base Element type
and in Container which supports searching for a...
Iustin Pop

05/19/2010

04:28 pm Revision 3ed46bb7: Fix some haddock comments
Iustin Pop
04:09 pm Revision 8fcf251f: Add more unit tests
This increases the overall coverage by 5%-10% (depending on coverage
type). Some modules are still not unittested at ...
Iustin Pop
04:08 pm Revision 1e3dccc8: Shuffle some constants around
… and export more functions. This will help with unit testing. Iustin Pop

05/18/2010

07:31 pm Revision f4c0b8c5: Remove the noLimit values and always use limits
This patch moves from allowing no-limits for disk/cpu ratios, and always
use a real limit. For disk, it's simple sinc...
Iustin Pop
06:53 pm Revision 6bf273d5: Add tool to move instances between clusters
This is a first version of the instance move tool and it supports moving
1..N instances from one cluster to another. ...
Michael Hanselmann
06:53 pm Revision ebeb600f: RAPI changes for instance moves
Two new resources are added:
- /2/instances/$name/prepare-export
- /2/instances/$name/export
The documentation for t...
Michael Hanselmann
06:53 pm Revision 9bf56d77: Implement opcode changes for remote-import
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:53 pm Revision 4a96f1d1: Implement opcode changes for remote-export
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:53 pm Revision 1410fa8d: Add opcode to prepare export
To prepare a remote export, the X509 key and certificate need to be generated.
A handshake value is also returned for...
Michael Hanselmann
05:14 pm Revision b38599d8: Merge branch 'devel-2.1'
* devel-2.1:
Abstract the LUXI eom into a constant
KVM: vhost net acceleration support
Conflicts:
lib/luxi.py
...
Guido Trotter
04:36 pm Revision d88eba85: Fix distcheck broken by check-cert-expired unittest
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:40 pm Revision c6ccba7e: ganeti-cleaner: Remove expired X509 certs
Importing/exporting an instance to a remote machine creates X509
certificates which expire after some time. They need...
Michael Hanselmann
02:08 pm Revision 25942a6c: Abstract the LUXI eom into a constant
Currently the EOM terminator is hardcoded on the server side, and is
customizable in the Transport object (with the d...
Guido Trotter
02:08 pm Revision fbe27e2b: KVM: vhost net acceleration support
This will only work on patched or newer (>= 2.6.34) kernels and with a
patched version of qemu-kvm.
Signed-off-by: G...
Guido Trotter
02:06 pm Revision e9f637cb: Merge branch 'devel-2.1'
* devel-2.1:
ganeti-cleaner: Write log file with removed files
RAPI client: Handle urllib2.HTTPError and raise Ga...
Michael Hanselmann
01:55 pm Revision f6781abf: ganeti-cleaner: Write log file with removed files
Logfiles can be useful for debugging.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop ...
Michael Hanselmann
01:30 pm Revision dfb34028: Add function to read cluster domain secret
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ...
Michael Hanselmann
01:11 pm Revision 895eb320: LUExportInstance: Remove instance only if export was successful
Until now, the instance was always removed (if asked for by the
user). In case of export errors however, it shouldn't...
Michael Hanselmann
01:10 pm Revision 5ed59e1e: RAPI client: Handle urllib2.HTTPError and raise GanetiApiError
This allows users of the RAPI client to catch GanetiApiError for all HTTP
errors.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann

05/17/2010

05:40 pm Revision 317b1040: hspace: change handling of N+1 bad clusters
Currently we just print a fake result and exit early. This is bad, since
it doesn't use the same codepaths for all th...
Iustin Pop
02:17 pm Revision 31ff0247: Merge branch 'devel-2.1'
* devel-2.1:
RAPI: /2/{nodes,instances}/$name should return 404 for unknown items
ganeti-masterd: Improve error l...
Michael Hanselmann
01:52 pm Revision e8ebbd2b: RAPI: /2/{nodes,instances}/$name should return 404 for unknown items
Currently they return a 500 Server Error, not really useful
for detecting nonexistent items.
Signed-off-by: Michael ...
Michael Hanselmann
01:52 pm Revision d2fc26dd: ganeti-masterd: Improve error logging for client requests
Ganeti errors should also be logged with a backtrace.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
01:52 pm Revision f02fbd30: Return disk_template from LUQueryInstanceData
Inter-cluster instance moves need the disk template. As they run
LUQueryInstanceData to get an instance's details, th...
Michael Hanselmann
01:52 pm Revision 591e5103: RAPI client: Rename Get{Node,Instance}Info, add new GetInstanceInfo
GetInstanceInfo should return the resource /2/instances/$name/info,
but so far it returns /2/instances/$name. The sam...
Michael Hanselmann
01:52 pm Revision f961e2ba: RAPI client: Log request to be made
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:52 pm Revision d32f3b81: Add missing documentation for RAPI instance creation mode
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:33 pm Revision a3a5f850: Add checks for master IP in cluster verify
This also updates a comment in the unittest for utils.py. We unittest
the new function for two things: correct report...
Iustin Pop
« Previous
Next »
 

Also available in: Atom