Activity
From 10/29/2008 to 11/27/2008
11/27/2008
- 12:38 pm Revision 87622829: Improve the node add operation
- Currently, the node add operation uses a job to query the node name and
the bootstrap function directly reads the con... - 12:21 pm Revision f34901f8: Fix logic bug in rev 2072
- In revision 2072 "ConfigWriter: change cluster serial meaning" I misread
the serial_no update logic: it was about upd... - 05:13 am Revision 33987705: jqueue: fix a bug in an error path
- Dictionaries raise KeyError, and not ValueError when invalid keys are
passes to del.
Reviewed-by: imsnah - 05:13 am Revision cff4c037: ConfigWriter: change cluster serial meaning
- Currently, we increase the cluster serial number for instance additions,
removals and renames. This is conforming wit... - 05:13 am Revision 50a707fa: instance import: adapt to multi-disk/nic world
- This is mostly a copy from gnt-instance add; import works, but it's not
optimal - device count/parametrs should be ab... - 05:13 am Revision 726d7d68: Fix gnt-backup export
- This patch fixes a bug in disk calculation for gnt-backup export, which
completely broke one-disk instance export.
T... - 05:13 am Revision 268b8e42: Fix a message in LUExportInstance
- We never verified the node name before, so this is most likely not a
non-retrieve but a wrong name case.
Reviewed-by... - 05:12 am Revision e0e31530: Allow network-less instances
- Currently there's no way to specify no NICs for an instance, even though
this is a supported configuration.
The patc... - 05:12 am Revision 9d5ba39a: Fix gnt-job submit
- The submit function was using a very old API. This patch brings it up to
date.
Reviewed-by: imsnah - 05:12 am Revision 0e050889: Small change to job failure output
- Currently, job failures are done by raising OpExecError(job result). For
a one-opcode job that failed, this is very n... - 05:12 am Revision ecb091e3: Fix file-based block devices
- We changed a while ago the protocol for opening block devices, but
FileStorage was not changed. This patch makes it w... - 05:12 am Revision 112050d9: Fix instance creation
- This patch fixes the diskless and drbd/file based instances. Sorry :(
Reviewed-by: ultrotter
11/26/2008
- 06:49 pm Revision 1cb8d376: ganeti-masterd: create RUN_GANETI_DIR as well
- Since we're not sure ganeti-noded has started yet, we need to create
RUN_GANETI_DIR before SOCKET_DIR as well, with t... - 06:49 pm Revision 817a030d: convert run dir mode to constant
- ganeti-noded used to create all directories under /var/run with an
hard-coded mode. convert it to a constant.
Review... - 06:16 pm Revision 711b5124: jqueue: Log progress and load jobs one by one
- By logging more information, a user can see how far it is in inspecting
the queue. This can be useful with a large nu... - 06:15 pm Revision 16714921: jqueue: Shutdown workerpool in case of a problem
- Reviewed-by: ultrotter
- 01:25 pm Revision 21f04e5e: RAPI: Make calls safier
- Reviewed-by: imsnah
- 03:23 am Revision 160e2921: Reduce duplication of work in rpc.Client
- This patch removes the duplicate serialization and calls to
utils.GetNodeDaemonPort in rpc.Client, and instead moves ...
11/25/2008
- 07:11 pm Revision 227647ac: Move the MASTER_SOCKET to SOCKET_DIR
- Before it was in the abstract linux namespace, where unfortunately we
couldn't easily check from python the credentia... - 07:11 pm Revision d823660a: ganeti-masterd: create SOCKET_DIR
- If SOCKET_DIR doesn't exist we create it in the master daemon, before
trying to put a socket inside it.
Reviewed-by:... - 07:10 pm Revision 5ecb7e48: Add SOCKET_DIR_MODE constant
- We want the socket dir to have a restricted permission.
Reviewed-by: imsnah - 07:10 pm Revision b4442fd9: Add SOCKET_DIR constant
- This new directory under /var/run will be used for file based unix
sockets.
Reviewed-by: imsnah - 07:10 pm Revision 68a5b97a: Add very basic online help to devel/upload
- Reviewed-by: imsnah
- 02:57 pm Revision 24991749: Implement support for multi devices changes
- This big patch adds support for:
- changing NIC/disks in the multi-device model
- adding/removing NICs
- adding... - 02:57 pm Revision 4be4691d: Slight change to the LU initialization code
- This patch adds support for a separate LU.CheckArguments() method which
should do syntactic checks without holding lo... - 02:51 pm Revision b637ae4d: Fix a bug in LUSetInstanceParams
- The wrong names were reused in a copy-paste.
Reviewed-by: imsnah - 02:50 pm Revision b6fdf8b8: Show disk access mode in gnt-instance info
- The mode parameter needs to be exported and shown in the info output.
Reviewed-by: imsnah - 02:50 pm Revision e2a65344: Change _GenerateDiskTemplate iv_name generation
- Currently the _GenerateDiskTemplate assumes it does initial creation of
disks (i.e. it starts with index 0).
For dyn... - 02:50 pm Revision d2acfe27: Slighly improve multi-nic in gnt-instance info
- Previously we had only one nic, so the NIC information was all on one
line. This patch changes it to:
- NICs:
... - 02:37 pm Revision 03d1dba2: Pass ssconf values from master to node
- Instead of parsing the configuration on the node, we pass the ssconf
values from the master.
Reviewed-by: iustinp - 01:18 pm Revision 65c6b8e0: ganeti.http: Don't reuse key and cert objects
- Reusing the private key and certificate objects gave us problems. This
patch changes the code to only cache the PEM d...
11/24/2008
- 05:39 pm Revision d9a855f1: Fix unittests broken by rev 2015
- Ssconf files shouldn't be updated when running unittests.
Reviewed-by: ultrotter - 03:38 pm Revision d57ae7f7: ganeti.rpc: Read SSL certificate and key only once per request
- There's no need to read the SSL certificate and key for every node
in a request. Also add a TODO for better error rep... - 01:01 pm Revision 8dca23a3: Documentation updates for mcpu.py
- This is the only change needed to make mcpu epydoc-compliant.
Reviewed-by: ultrotter - 11:48 am Revision b4364a6b: LUCreateInstance: Fix import mac AUTO mode
- Previously on import LUCreateInstance used to recycle the mac if the instance
name was the same than the one used at ... - 11:47 am Revision 0ca35d45: Burner: fix ImportExport
- Update the call to CreateInstance used in ImportExport to the new API for
multidisk/nic.
Reviewed-by: iustinp - 11:47 am Revision e36e96b4: LUCreateInstance unlock all nodes mid-way
- When creating a new instance, after saving the instance data to the config file
and creating the disks, but before wa... - 11:47 am Revision 18640d69: IAllocator: subtract down instances from free mem
- Currently free_memory just reports the amount of free ram, as seen by the
hypervisor. We adjust this amount by subtra... - 11:46 am Revision 955db481: Correct GetAllInstancesInfo rtype
- GetAllInstancesInfo, in the backend, returns just a dict, not a dict of dicts.
Reviewed-by: iustinp - 11:46 am Revision 8cc7e742: IAllocator: use the right hypervisor
- Since the hypervisor is instance dependent we'll get one on instance creation,
and use the one in the instance config... - 11:46 am Revision b57e9819: IAllocator: fill i_list in a more proper way
- - reuse the previously called cluster_info, rather than calling it again
- get all the instances from the config atom... - 11:45 am Revision 90a7547a: Parallelize instance operations on the same node
- With static minors we don't have a race condition anymore when
starting/stopping/rebooting/reinstalling more than one... - 11:44 am Revision dafc7302: Convert iallocator to the new _ComputeDiskSize
- _ComputeDiskSize's API was changed for multidisk support in r2010, but
iallocator's call to it were not fixed. Conver...
11/23/2008
- 05:35 pm Revision e4376078: Documentation updates for cmdlib.py
- This makes cmdlib.py not throw epydoc errors anymore.
Reviewed-by: ultrotter - 05:35 pm Revision 975e07c6: Slight change to the apidoc build
- Currently the temporary directory used for modules is under the current
directory; this patch changes it so a temp di... - 05:35 pm Revision 0779e3aa: Only update ssconf on cluster serial change
- There is no need to update ssconf if the cluster serial number has not
changed.
Reviewed-by: ultrotter - 05:34 pm Revision 9fbfbb7b: Enable auto-unit formatting in script output
- This patch enables by default the old 'human-readable' option, but in a
slightly different model.
The option is now ... - 05:34 pm Revision 23b8c8d6: Improvements to CLI output
- This patch adds nicer formatting for some gnt-instance list operations.
Reviewed-by: ultrotter
11/21/2008
- 05:55 pm Revision c7f5f338: RAPI: Cancel a job
- Reviewed-by: imsnah
- 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 ... - 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... - 05:35 pm Revision 084a9f22: Small burnin info message change
- This looks beter than '0 disk'.
Reviewed-by: ultrotter - 05:35 pm Revision f768530c: burnin: fix default growth parameter
- Reviewed-by: ultrotter
- 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... - 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... - 12:47 pm Revision eafd8762: Use SSL for master/node RPC
- This patch enables SSL between masterd and noded.
Reviewed-by: iustinp - 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 - 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... - 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... - 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... - 12:42 pm Revision 54d1a06e: Write ssconf files when updating configuration
- Reviewed-by: ultrotter
- 12:42 pm Revision 6ddc95ec: Add RPC call to update ssconf files
- Reviewed-by: iustinp
- 08:22 am Revision d418ebfb: Change replace secondary to work with multi-disk
- Also fix an error in the CheckPrereq.
Reviewed-by: imsnah
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... - 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... - 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... - 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... - 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 ...
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... - 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... - 02:59 pm Revision 7c46aafd: HTTP server: Do not decode empty entity body
- Reviewed-by: imsnah
- 01:09 pm Revision d50b3059: RAPI: Instance modify.
- Split parameters filter to the separate function and reuse it in instance creation.
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; ... - 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.(... - 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... - 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... - 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
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... - 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:...
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... - 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...
11/14/2008
- 06:59 pm Revision 0c55c24b: RAPI: Instance startup/shutdown resources
- Reviewed-by: imsnah
- 12:34 pm Revision 2276aa29: RAPI: Implement an instance reboot
- Reviewed-by: imsnah
11/12/2008
- 02:52 pm Revision 8049a1d7: Use utils.ReadFile to read SSL certificate
- Reviewed-by: iustinp
- 02:52 pm Revision 4c7c81d7: ganeti.rpc: Use utils.ReadFile instead of reading file directly
- Reviewed-by: iustinp
- 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... - 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 - 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 - 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 - 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... - 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.
... - 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...
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... - 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... - 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... - 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... - 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... - 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... - 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... - 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'... - 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).... - 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 ...
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 - 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... - 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
11/07/2008
- 01:32 pm Revision 00dd8326: Fix gnt-cluster init without cluster parameters
- Reviewed-by: imsnah
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... - 01:24 pm Revision 64357ed8: ganeti.http: Use 411 Length Required in server code
- Reviewed-by: iustinp
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.
... - 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
Also available in: Atom