Activity

From 10/23/2008 to 11/21/2008

11/21/2008

05:55 pm Revision c7f5f338: RAPI: Cancel a job
Reviewed-by: imsnah Oleksiy Mishchenko
05:36 pm Revision 00430f8e: Make cli.py use FieldSet for matching fields
This changes cli.py to FieldSet usage so that gnt-instance list will
format nicely the disk.size/*, and the count of ...
Iustin Pop
05:35 pm Revision a2d2e1a7: Move FieldSet class to utils.py
Since we can use the FieldSet class in cli.py to nicely format disk
sizes and such, we move it to utils.py and also m...
Iustin Pop
05:35 pm Revision 084a9f22: Small burnin info message change
This looks beter than '0 disk'.
Reviewed-by: ultrotter
Iustin Pop
05:35 pm Revision f768530c: burnin: fix default growth parameter
Reviewed-by: ultrotter Iustin Pop
05:35 pm Revision 3e0cea06: Change disk index validation to FindDisk
This patch replaces the hand validation of the disk index with the
instance.FindDisk method (actually reverting to pr...
Iustin Pop
05:34 pm Revision ad24e046: Change GrowDisk to work with multi-disk
This patch changes the instance.FindDisk method to take index arguments
(instead of iv_names), and changes GrowDisk a...
Iustin Pop
12:47 pm Revision eafd8762: Use SSL for master/node RPC
This patch enables SSL between masterd and noded.
Reviewed-by: iustinp
Michael Hanselmann
12:46 pm Revision ec17d09c: Get rid of node daemon password
With the new SSL client certificate stuff it's no longer needed.
Reviewed-by: iustinp
Michael Hanselmann
12:46 pm Revision f20cbea2: ganeti.http: Add another class to contain SSL key and certificate
Otherwise we would read them for every request the HTTP client
makes against a server and this is not needed.
Review...
Michael Hanselmann
12:46 pm Revision 15486fa7: ganeti-masterd: Remove PID file at the end
Removing the PID file should be the last thing done. This patch makes
sure it's also removed when master.server_clean...
Michael Hanselmann
12:45 pm Revision 4331f6cd: Reuse HTTP client pool for RPC
ganeti-masterd: Add initialization and shutdown of RPC pool. It needs
to be shutdown before forking.
ganeti.cli: Add...
Michael Hanselmann
12:42 pm Revision 54d1a06e: Write ssconf files when updating configuration
Reviewed-by: ultrotter Michael Hanselmann
12:42 pm Revision 6ddc95ec: Add RPC call to update ssconf files
Reviewed-by: iustinp Michael Hanselmann
08:22 am Revision d418ebfb: Change replace secondary to work with multi-disk
Also fix an error in the CheckPrereq.
Reviewed-by: imsnah
Iustin Pop

11/20/2008

02:50 pm Revision 0c223ea9: ganeti.ssconf: Add function to write ssconf files
This function will be used to write ssconf files from the node daemon.
By creating a lock file, we synchronize differ...
Michael Hanselmann
08:22 am Revision 54155f52: Convert replace-disks (same nodes) to multi-disk
This patch changes the drbd8 replace disk only (no secondary change) to
work in with multi-disk. This mode of replace...
Iustin Pop
08:22 am Revision 08db7c5c: Initial multi-disk/multi-nic support
This patch adds support for mult-disk/multi-nic in:
- instance add
- burnin
The start/stop/failover/cluster veri...
Iustin Pop
08:19 am Revision 41a776da: Add more disk/nic listing options in gnt-instance
This adds some more listing cases (useful for scripting/rapi):
- disk.sizes for a list of all sizes
- nic.(ips|ma...
Iustin Pop
08:18 am Revision 2864f2d9: Change Xen hypervisor to not use iv_name
Currently the iv_name is very linux-specific, and will break with the
multi-disk changes.
The patch changes this to ...
Iustin Pop

11/19/2008

03:18 pm Revision 9a525d83: ganeti.rpc: Use central functions for actual RPC calls
Before we had lots, lots and lots of code duplication. This patch
changes the code to use four central functions.
Re...
Michael Hanselmann
03:18 pm Revision 33bbdbec: Make HttpClientManager threadsafe
This allows a single HttpClientManager to be used from more than one
thread at the same time. We discussed having one...
Michael Hanselmann
02:59 pm Revision 7c46aafd: HTTP server: Do not decode empty entity body
Reviewed-by: imsnah Oleksiy Mishchenko
01:09 pm Revision d50b3059: RAPI: Instance modify.
Split parameters filter to the separate function and reuse it in instance creation. Oleksiy Mishchenko

11/18/2008

01:30 pm Revision a143be68: Skip another testWaitingXblocksY
The waiting sharer blocks exclusive is another not-possible to test
right now.
Sorry for missing it the first time; ...
Iustin Pop
12:06 pm Revision 71c1af58: Allow querying of variable number of parameters
This patch adds support for querying in gnt-instance list of:
- disk.count
- nic.count
- disk.size/$N
- nic.(...
Iustin Pop
12:04 pm Revision 31bf511f: Convert cmdlib.py to _FieldSet
This patch converts the current usage of _CheckOutputFields to the
FieldSet class, but it doesn't start to use its va...
Iustin Pop
12:00 pm Revision 6de7c41d: Add a FieldSet class for variable parameter sets
This patch adds a _FieldSet class that can be used for the new variable
parameter sets: e.g. the sda_size will change...
Iustin Pop
11:58 am Revision e6416152: Skip the waitingExclusiveBlockSharer test
Until we have a way to properly test this, we'll skip the test.
Reviewed-by: imsnah
Iustin Pop

11/17/2008

01:30 pm Revision 6c2d0b44: More updates to the documentation
This patch removes the client-api.txt document (since it's obsoleted by
the documentation inside the design-2.0.rst d...
Iustin Pop
01:30 pm Revision b8195800: Fix distcheck with the new dot/png rules
Adding a new filetype/make rule requires more work than the previous
patch. Sorry! Now pases distcheck.
Reviewed-by:...
Iustin Pop

11/16/2008

08:24 am Revision f86e82ef: Add a cluster architecture diagram
This adds a simple diagram for the cluster architecture and also adds a
dependency on graphviz (both doc and in confi...
Iustin Pop
08:24 am Revision 5c0c1eeb: Combine the 2.0 design documents into one
This patch combines all the design documents for 2.0 except the
security one into a single document, in order to ease...
Iustin Pop

11/14/2008

06:59 pm Revision 0c55c24b: RAPI: Instance startup/shutdown resources
Reviewed-by: imsnah Oleksiy Mishchenko
12:34 pm Revision 2276aa29: RAPI: Implement an instance reboot
Reviewed-by: imsnah Oleksiy Mishchenko

11/12/2008

02:52 pm Revision 8049a1d7: Use utils.ReadFile to read SSL certificate
Reviewed-by: iustinp Michael Hanselmann
02:52 pm Revision 4c7c81d7: ganeti.rpc: Use utils.ReadFile instead of reading file directly
Reviewed-by: iustinp Michael Hanselmann
02:51 pm Revision 6346a9e5: utils.SetupLogging: Remove previously setup handlers
If a logging function is called before the logging module is setup
using utils.SetupLogging, it calls logging.basicCo...
Michael Hanselmann
02:51 pm Revision a3811745: jqueue: Always use rpc.RpcRunner
"from ganeti.rpc import RpcRunner" does not conform to the style guide.
Reviewed-by: iustinp
Michael Hanselmann
02:51 pm Revision fda5f19f: bootstrap: Always use rpc.RpcRunner
"from ganeti.rpc import RpcRunner" does not conform to the style guide.
Reviewed-by: iustinp
Michael Hanselmann
02:50 pm Revision 7c28c575: ganeti.rpc: Convert to ganeti.serializer
This is one of the last places where the simplejson module is
used directly.
Reviewed-by: iustinp
Michael Hanselmann
02:50 pm Revision ecfe9491: Convert RPC module to new HTTP client
Currently, HttpClientManager is instantiated for every RPC call. This
will be changed with another patch, as will the...
Michael Hanselmann
08:25 am Revision 4607c978: Convert the locking unittests to repetition-test
Currently the locking tests are using timeouts to ensure an event will
'never happen'. However, this is suboptimal.
...
Iustin Pop
05:43 am Revision e1bd0072: Fix utils.KillProcess
Rev 1978 introduced a breakage on the SIGKILL finall signal to the
process, due to mistyped variable.
Reviewed-by: f...
Iustin Pop

11/11/2008

06:16 pm Revision 438a366a: ganeti.http: Implement SSL for HTTP client
Implementing SSL for the HTTP client required more work than I expected.
For correct error handling, quite a lot of c...
Michael Hanselmann
01:02 pm Revision b11c9e5c: ganeti.daemon: Add timers to Mainloop
This is a fallout from my work on the HTTP client class. Repeating
timers are prepared, but not yet implemented.
Rev...
Michael Hanselmann
12:58 pm Revision d868edb4: Convert trunk to posix-compatibility
We change two functions to use RunCmd without shell, and the other
(which needs a ssh command line) is changed to the...
Iustin Pop
12:58 pm Revision 8adbffaa: Abstract runtime creation of dirs into a function
Currently the dir creation in ganeti-noded is in the main function. This
is not nice: we move it into a separate func...
Iustin Pop
12:58 pm Revision 44bf25ff: Remove zombie special case from IsProcessAlive
Based on the discussion on the mailing list, we remove the special
casing of zombie processes.
Note we don't use kil...
Iustin Pop
12:58 pm Revision ff5251bc: Add cleanup of processes to utils.KillProcess
In case the process we want to signal is our own process, and the signal
we send is a deadly one, we should also clea...
Iustin Pop
12:58 pm Revision cb4e8387: Fix instance rename
As can be seen from the patch, we remove from the locking manager
inst.name. However, we do this right after cfg.Rena...
Iustin Pop
12:57 pm Revision 01f3e7b1: Make the makefile not recreate ganeti every time
Currently the makefile always recreates the ganeti symlink. Make it so
that it does only when it doesn't exist or it'...
Iustin Pop
05:12 am Revision bb2ee932: Fix gnt-instance reinstall
Commit 1881 changed a rpc call but didn't fix all its users. This should
fix it (but I can't test as HTTP is broken)....
Iustin Pop
05:12 am Revision 8797df43: Implement working directory for utils.RunCmd
In order to replace usage of the shell just for 'cd %s; ...' we need to
be able to specify the working directory for ...
Iustin Pop

11/10/2008

02:38 pm Revision b14f759e: ganeti.http: Move SSL socket creation into base class
The same code will be used by the HTTP client.
Reviewed-by: iustinp
Michael Hanselmann
02:37 pm Revision b14b975f: ganeti.daemon: Make Mainloop more flexible
While working on the HTTP client class, I wanted to use Mainloop
before deciding to use threads instead.
- Add docst...
Michael Hanselmann
12:14 pm Revision d7bace1b: ganeti.http: Add constant for "Unexpected EOF"
This is an expected error message and will be used in two places.
Reviewed-by: iustinp
Michael Hanselmann

11/07/2008

01:32 pm Revision 00dd8326: Fix gnt-cluster init without cluster parameters
Reviewed-by: imsnah Alexander Schreiber

11/06/2008

01:25 pm Revision 8a0b06d2: Add new HTTP client class
It is based on the WorkerPool class which is already used for the job
queue and master daemon. Each request must be e...
Michael Hanselmann
01:24 pm Revision 64357ed8: ganeti.http: Use 411 Length Required in server code
Reviewed-by: iustinp Michael Hanselmann

11/05/2008

06:37 pm Revision cd4d138f: Update LUGrowDisk _WaitForSync call
The _WaitForSync call changed in r1794 but the GrowDisk call wasn't updated
then. This makes GrowDisk work in trunk.
...
Guido Trotter
04:04 pm Revision 8a9f9060: ganeti.http: Add more constants
As a preparation for the new HTTP client class, add more constants
to ganeti.http.
Reviewed-by: iustinp
Michael Hanselmann

10/28/2008

01:21 am Revision 116db7c7: Small documentation updates for workerpool.py
Reviewed-by: imsnah Iustin Pop
01:21 am Revision ea03467c: Documentation updates for jqueue.py
Reviewed-by: imsnah Iustin Pop
01:20 am Revision 63712a09: Yet another bug found while reviewing docs
The newer_than variable can be either None or an int, and we normalize
it to an integer previously and save it in the...
Iustin Pop
01:20 am Revision 58885d79: Documentation updates for utils.py
Reviewed-by: imsnah Iustin Pop
01:20 am Revision 6099bfcf: Documentation updates for gnt-debug and gnt-os
Reviewed-by: imsnah Iustin Pop
01:19 am Revision 917b4e56: Documentation updates for gnt-job
Reviewed-by: imsnah Iustin Pop
01:19 am Revision 48de3413: Documentation updates for gnt-backup
Reviewed-by: imsnah Iustin Pop
01:19 am Revision d70b3058: Change exit code of gnt-backup list
Currently gnt-backup list exits with the same error code even if can't
contact som nodes for backup information.
The...
Iustin Pop
01:18 am Revision ebf366ee: Documentation updates for gnt-node
The patch also adds a 'return 0' to a function that was missing it.
Reviewed-by: imsnah
Iustin Pop
01:18 am Revision 469ee405: Documentation updates for gnt-cluster
Reviewed-by: imsnah Iustin Pop
01:18 am Revision 7232c04c: Documentation updates for gnt-instance
Reviewed-by: imsnah Iustin Pop

10/25/2008

03:37 am Revision 10c2650b: Update backend.py docstrings
This patch converts all of backend.py to epydoc formatting.
Reviewed-by: imsnah
Iustin Pop
03:37 am Revision 3f5bd234: Fix another error handling case
The return from this error path is a dict, but the actual return value
(on the non-error handling) is a list of dicts...
Iustin Pop

10/24/2008

07:14 pm Revision 0a70a72a: Fix an error handling case
Found while reviewing documentation.
Reviewed-by: ultrotter
Iustin Pop
06:23 pm Revision 2e3d1946: OSFromDisk remove superfluous empty line
Reviewed-by: iustinp Guido Trotter
06:23 pm Revision ef79eb82: design-2.0-os-interface: update import/export
In the end we ended up taking a slightly different approach for
import/export than the one discussed in the design do...
Guido Trotter
05:44 pm Revision b1206984: Some documentation updates
This fixes a few doc issues and converts a few docstrings to epydoc.
Reviewed-by: imsnah
Iustin Pop
05:43 pm Revision 36117c2b: Modify utils.RunCmd to write output to file
Currently we launch processes via the shell in a few places only to
redirect standard output and error to a log file ...
Iustin Pop
02:49 pm Revision f2a6fc9e: ganeti.http: Implement SSL certificates
Reviewed-by: killerfoxi Michael Hanselmann
02:31 pm Revision 23e46494: Document HttpServer.__init__
At the same time, simplify the interface a bit by not using a tuple.
Reviewed-by: killerfoxi, ultrotter
Michael Hanselmann

10/23/2008

07:41 pm Revision 18fb5e1d: Update gnt-cluster man page, sections modify and queue.
Document the new options for gnt-cluster modify and the new queue
command.
Reviewed-by: imsnah
Alexander Schreiber
06:13 pm Revision 19ae0895: Update gnt-cluster man page with current options.
This patch updates the gnt-cluster man page to reflect the current
changes to gnt-cluster.
Reviewed-by: imsnah
Alexander Schreiber
06:01 pm Revision 1f9611b1: Fix use of ToStderr in gnt-cluster
Reviewed-by: imsnah Alexander Schreiber
05:19 pm Revision d8353c3a: Fix gnt-* command with --submit
Currently we don't catch the JobSubmittedException (although the code to
format it nicely is there). The patch adds t...
Iustin Pop
05:19 pm Revision 74c47259: Export the disk index in the import/export scripts
We want to export the disk index as some OSes will only want to export
the first disk (or the second one, etc.), even...
Iustin Pop
05:18 pm Revision 64272529: Fix leftover of hypervisor attribute rename
Reviewed-by: imsnah Iustin Pop
02:58 pm Revision 66348f29: convert remaining print statements to ToStderr in gnt-cluster
Reviewed-by: imsnah Alexander Schreiber
02:58 pm Revision 6526ddcd: http library: Always fork before reading request
It turned out that clients not sending a full request will stop
us from responding to further requests. This patch le...
Michael Hanselmann
02:58 pm Revision 54cf6599: daemon.py: Don't wake up every second
We don't have timers yet, hence waking up is not needed at all.
Reviewed-by: ultrotter
Michael Hanselmann
01:41 am Revision 1a05d855: RAPI: Export beparams as dict. The patch also enables LUQueryInstances to acce...
Reviewed-by: iustinp Oleksiy Mishchenko
« Previous
Next »
 

Also available in: Atom