Activity
From 08/10/2008 to 09/08/2008
09/08/2008
- 06:54 pm Revision 86de84dd: Fix LUGrowDisk
- The rpc library returns a list, not a tuple, so we'll accept both.
Reviewed-by: iustinp - 06:53 pm Revision 43f5ea7a: Fix iallocator run
- The rpc library returns a list, not a tuple, so we'll accept both.
Reviewed-by: iustinp - 06:53 pm Revision dcde0241: OpVerifyDisks returns a list, not a tuple
- Fixing the check in gnt-cluster, or gnt-cluster verify-disks is broken.
Since the version in 1.2 used to return a tup... - 04:44 pm Revision 6657590e: Parallelize LUExportInstance
- Unfortunately for the first version we need to lock all nodes. The patch
discusses why this is and discuss ways to im... - 04:44 pm Revision 31e63dbf: Parallelize LUGrowDisk
- Reviewed-by: iustinp
- 04:43 pm Revision 849da276: LURebootInstance: lock only primary when possible
- When rebooting an instance and we're not changing it's disks status (all
the cases except in a "full" reboot) we can ... - 04:43 pm Revision a82ce292: Add primary_only flag to _LockInstancesNodes
- As the name says when the flag is on (the default is off) only the
primary nodes are locked, as opposed to all of the...
09/05/2008
- 06:38 pm Revision aa74b828: utils.FileLock: Implement timeout
- The timeout can be used in ganeti-noded to be more robust against
deadlocks.
Reviewed-by: iustinp - 04:49 pm Revision a25c1b2a: Add lock documentation for job queue and ganeti-noded
- Also change title formatting to match client-api.txt.
Reviewed-by: iustinp - 03:29 pm Revision f1f3f45c: noded: Get job queue lock while purging queue content
- Only one process should modify the queue at the same time.
Reviewed-by: iustinp - 03:19 pm Revision 26a61f87: QA: Remove dry run mode
- It didn't work as planned because some commands depend on the return
value or output of some operations.
Reviewed-by... - 02:00 pm Revision e310b019: Add locking.ALL_SET constant and use it
- Rather than specifying None in needed_locks every time, with a nice
comment saying to read what we mean rather than w... - 01:57 pm Revision 45bc5e4a: utils.SplitTime: More rounding fixes
- SplitTime didn't round the same on different platforms. This patch changes
it to use microseconds and not care about ... - 01:40 pm Revision e0458af5: Remove bom-byte
- This is not nice, removing it :)
Please use 'set nobomb' in your vi init file.
Reviewed-by: ultrotter
09/04/2008
- 06:12 pm Revision ea47808a: Prevent mistakes using _GetWantedNodes
- All the users of _GetWantedNodes have been converted to be concurrent
LUs, and thus cannot call this function with an... - 06:12 pm Revision 21a15682: Paralleliza LUQueryNodeVolumes and LUQueryExports
- Reviewed-by: iustinp
- 06:12 pm Revision 6bf01bbb: Parallelize LUDiagnoseOS
- Reviewed-by: iustinp
- 06:12 pm Revision 895ecd9c: LUQueryExports: make 'node' field mandatory
- It turns out this fields was already mandatory. If it hadn't beed valid,
in fact, a value of None would have been pas... - 06:11 pm Revision 204f2086: s/Chain(OpQueryExports)/rpc.call_export_list(...)/
- Parallel opcodes are not (yet?) supported for chaining. Turns out
though that chaining is used only four times in the... - 06:11 pm Revision b91a34a5: Fix wrong indentation in LUQueryNodes
- Reviewed-by: iustinp
- 05:53 pm Revision d0c11cf7: Merge r1607 from branches/ganeti/ganeti-1.2
- Use a default vnc_bind_address if None is specified
Reviewed-by: iustinp
09/02/2008
- 07:23 pm Revision e1d2aa39: merge r1569 from branches/ganeti/ganeti-1.2
- Implement more options for gnt-backup import
Reviewed-by: ultrotter - 03:57 pm Revision 3fb1e1c5: merge r1568 from branches/ganeti/ganeti-1.2
- Add more fields to gnt-instance list
Reviewed-by: imsnah - 03:15 pm Revision 6291574d: merge r1548 from branches/ganeti/ganeti-1.2
- Fix wrong wording of instance rename error message.
Reviewed-by: imsnah - 03:12 pm Revision 16034f1f: merge r1547 from branches/ganeti/ganeti-1.2
- Document behaviour of gnt-instance console for HVM
Reviewed-by: imsnah - 02:46 pm Revision 20e23543: merge r1542, r1543, r1573 from branches/ganeti/ganeti-1.2
- Implement interactive instance OS reinstall.
Reviewed-by: ultrotter - 12:09 pm Revision a4273aba: merge r1541 from branches/ganeti/ganeti-1.2
- more information for VNC console port
Reviewed-by: ultrotter - 11:42 am Revision 04c4330c: merge r1540 from branches/ganeti/ganeti-1.2
- Allow access to HVM serial console
Reviewed-by: imsnah
09/01/2008
- 07:05 pm Revision 34b6ab97: merge r1539 from branches/ganeti/ganeti-1.2
- Display VNC console port in gnt-instance info.
Reviewed-by: iustinp - 05:12 pm Revision 5bc84f33: merge r1538 from branches/ganeti/ganeti-1.2
- Check HVM device type on instance modify as well.
Reviewed-by: imsnah - 02:37 pm Revision cfefe007: Check memory size before setting it
- With this change when a user asks for a new memory size for an instance,
the number is checked instead of just applie... - 02:37 pm Revision 4300c4b6: Pass the force param to SetInstanceParms
- It was already allowed in gnt-instance modify, but ignored.
It will be used to force skipping parameter checks.
This...
08/29/2008
- 07:57 pm Revision 02d2adf4: Merge r1534 from branches/ganeti/ganeti-1.2
- Add HVM device type flag 4/4
Reviewed-by: ultrotter - 07:30 pm Revision ad2023a3: Merge r1537 from branches/ganeti/ganeti-1.2
- Add HVM device type flags 3/4
Reviewed-by: ultrotter - 07:17 pm Revision 5397e0b7: Merge r1536 from branches/ganeti/ganeti-1.2
- Add HVM device type flags 2/3
Reviewed-by: ultrotter - 06:04 pm Revision b77ba978: utils.SplitTime: Fix rounding of milliseconds
- Reported by Iustin.
It used to return this:
>>> utils.SplitTime(1234.999999999999)
(1234, 1000)
while it should've ... - 06:01 pm Revision b894f5a8: merge r1535 from branches/ganeti/ganeti-1.2
- Add HVM device type flags 1/4
Reviewed-by: ultrotter - 05:41 pm Revision c6520286: Merge r1296 from branches/ganeti/ganeti-1.2
- doc fix: Describe default values for HVM instance options & cleanup.
Reviewed-by: iustinp - 04:57 pm Revision 56db8a84: Merge r1295 from branches/ganeti/ganeti-1.2
- Clarify cluster IP requirement.
Reviewed-by: iustinp - 04:42 pm Revision 5c735209: Make WaitForJobChanges deal with long jobs
- This patch alters the WaitForJobChanges luxi-RPC call to have a
configurable timeout, so that the call behaves nicely... - 03:47 pm Revision 3fc175f0: merge r997 from branches/ganeti/ganeti-1.2
- Fix gnt-instance modify for HVM parameters
This patch makes gnt-instance modify work again for the advanced
HVM para... - 03:45 pm Revision 0f933d15: Add doc/locking.txt, documenting locking order
- Reviewed-by: imsnah
08/28/2008
- 06:35 pm Revision 082c5adb: Fix error message when masterd is not listening
- Reported by Iustin.
Reviewed-by: iustinp - 01:29 pm Revision 6683bba2: Fix issue when acquiring empty lock sets
- By design if an empty list of locks is acquired from a set, no locks are
acquired, and thus release() cannot be calle...
08/27/2008
- 05:52 pm Revision 5685c1a5: jqueue: Replace normal cache dict with weakref dict
- A job should only exist once in memory. After the cache is cleaned,
there can still be references to a job somewhere ... - 05:52 pm Revision 70552c46: jqueue: Keep timestamp of opcode start and end
- Reviewed-by: ultrotter
- 05:48 pm Revision 65548ed5: jqueue: Reset run_op_idx after job is done
- It can be confusing otherwise.
Reviewed-by: ultrotter - 01:05 pm Revision e17188f4: Another burnin fix
- This is a result of the log timestamp changes.
Reviewed-by: imsnah - 12:55 pm Revision 6abe9194: Fix a small typo in a constant
- Seems noone ran a burnin lately :)
Reviwed-by: amischenko,ultrotter - 11:34 am Revision 6c5a7090: Make sure that client programs get all messages
- This is a large patch, but I can't figure out how to split it without
breaking stuff. The old way of getting messages...
08/26/2008
- 06:53 pm Revision 305cb9bb: QA: Use pseudo-tty via SSH
- This gives continous output instead it being buffered.
Reviewed-by: ultrotter - 06:44 pm Revision e67bd559: Add simple lock debug output
- Currently it can only be enabled by modifying utils.py, but we can
add a command line parameter later if needed.
Rev...
08/25/2008
- 05:57 pm Revision e50c3a9e: Use python2.4 when developing
- Reviewed-by: ultrotter
- 05:56 pm Revision 39e0d19e: Remove references to YAML
- I forgot to remove these when converting the QA configuration from YAML
to JSON.
Reviewed-by: ultrotter
08/19/2008
- 03:17 pm Revision 0043d734: Add vim modeline to qa-sample.json
- Vim doesn't recognize the format automatically.
Reviewed-by: ultrotter
08/18/2008
- 03:51 pm Revision 35705d8f: Parallelize LUQueryNodes
- As for LUQueryInstances the first version just acquires a shared lock on all
nodes. In the future further optimizatio... - 03:51 pm Revision 7eb9d8f7: Parallelize LUQueryInstances
- This first version acquires a shared lock on all requested instances and
their nodes. In the future it can be improve... - 03:51 pm Revision d4f6a91c: A few more locking unit tests
- A few more tests written while bug-hunting. One of them shows a real
issue, at last. :)
Reviewed-by: imsnah - 03:50 pm Revision 90c942d1: Add lock-all-through-GLM unit test
- I was hunting for a bug in my code and thought the culprit was in the
locking library, so I added a test to check. Un... - 03:50 pm Revision 34ca3914: LockSet: allow lists with duplicate values
- If a list with a duplicate value is passed to a lockset what the code
now does is to try to acquire the lock twice, g... - 03:49 pm Revision 8a2941c4: Processor: lock all levels even if one is missing
- If a locking level wasn't specified locking used to stop. This means
that if one, for example, didn't specify anythin... - 03:44 pm Revision 0fcc5db3: LURebootInstance: move arg check in ExpandNames
- The check for the reboot type can be done without any locks held, so
we'll move it to ExpandNames. Plus, we note in a... - 02:37 pm Revision 8c4a9a74: QA: Convert configuration from YAML to JSON
- We no longer use YAML in Ganeti at all. This patch converts the QA
configuration from YAML to JSON. JSON doesn't supp... - 02:37 pm Revision 34290825: LUVerifyCluster: Return boolean indication success
- Reviewed-by: schreiberal
- 02:12 pm Revision 9894ece7: Use Linux-specific way to name master socket
- By using this Linux-specific way we don't have to care about removing the
socket file when quitting or starting (afte... - 01:51 pm Revision fc28c086: QA: Try to run more scripts with --version
- This patch also sorts the list.
Reviewed-by: schreiberal - 01:17 pm Revision 28a90aff: QA: Always accept added node's SSH key
- Reviewed-by: ultrotter
- 12:59 pm Revision a39ec11a: QA: Do not upload known_hosts file anymore
- The cluster no longer keeps individual host's SSH key, but rather
aliases all of them to the cluster name.
Reviewed-... - 12:58 pm Revision eaef8a05: Copy qa_utils.AssertIn from 1.2 branch
- Apparently it was forgotten when import the remote API QA tests.
Reviewed-by: schreiberal
08/15/2008
- 11:55 am Revision c4b6c29c: gnt-node: Add option to always accept peer's SSH key
- This option will be used to add nodes to the cluster without
asking the user to confirm the key. Together with key ba... - 11:47 am Revision 652d6694: SshRunner: Add parameter to always accept peer's SSH key
- This will be used to add nodes without user interaction, specifically
in QA tests.
Reviewed-by: ultrotter - 11:44 am Revision f6d9f4c3: Move SSH option building into a function
- I'm going to add another option and it would make maintaining
them in constants even more complicated.
Reviewed-by: ... - 11:44 am Revision 54ab6aec: SshRunner.Run: Pass all arguments to BuildCmd
- This patch changes SshRunner.Run to pass all arguments to
SshRunner.BuildCmd. They had the same arguments before
and ... - 11:43 am Revision c85d3b64: Whitespace fixes for remote API QA checks
- Reviewed-by: ultrotter
- 11:43 am Revision ed54b47e: Remove QA hook functionality
- To my knowledge they're used nowhere and it's at least slightly
confusing to people adding new QA checks.
Reviewed-b...
08/14/2008
- 01:27 pm Revision 4f0afaf5: Pass hypervisor type to the OS scripts
- It's handy to make the os scripts know which hypervisor the instance is
going to run under. In order not to change th... - 01:26 pm Revision 2557ff82: RunCmd: add optional environment overriding
- If the user passes an env dict to RunCmd we'll override the environment
passed to the to-be-executed command with the...
08/13/2008
- 07:41 pm Revision d47d3d38: KVM Hypervisor Cleanup
- - Remove a few experiemental code lines left as comments
- Rework first disks' boot=on addition, which was calculated... - 05:25 pm Revision 7a151789: Allow kvm hypervisor in gnt-cluster init
- Reviewed-by: imsnah
- 05:25 pm Revision eb58f9b1: Add KVM hypervisor code
- ht_kvm.py contains the code for ganeti to work under kvm.
This patch also modifies Makefile.am to ship that file, and... - 05:25 pm Revision 550e49b9: constants: add HT_KVM
- Add a new hypervisor type, HT_KVM, to constants, and register it in the
HYPER_TYPES set.
Reviewed-by: imsnah - 05:24 pm Revision 7e2c5b9e: Add --with-kvm-path configure option
- This allows to configure a different path to the kvm binary. By default
/usr/bin/kvm is used, which is the one found ... - 05:24 pm Revision a5f723a2: FakeHypervisor: fix a function signature
- StartInstance takes 'block_devices', not 'force' as its third argument.
Even if this is not used in the fake hypervis... - 05:23 pm Revision e326d4e5: Convert RunCmd to an epydoc docstring
- Reviewed-by: imsnah
- 03:55 pm Revision 51144e33: Fix adding pristine nodes
- If a node hasn't been part of the cluster before being added it'll not
have the cluster's SSH key. This patch makes s...
08/12/2008
- 08:00 pm Revision f56377a3: Fix race locking issue in noded
- Noded didn't release the job queue lock after initialising it. This
patch makes sure to unlock once the work is done....
08/11/2008
- 07:28 pm Revision 853e7f3d: cli: Use new RPC call instead of polling
- This means commands will not take at least one second anymore.
Reviewed-by: ultrotter - 07:27 pm Revision dfe57c22: Add RPC call to wait for job changes
- This way clients can react faster to status or message changes and
don't have to poll anymore.
Reviewed-by: ultrotter - 07:27 pm Revision d5e317ba: jqueue: Change log message time format
- See the comment in the patch.
Reviewed-by: ultrotter - 07:26 pm Revision 739be818: Add functions to split time into tuple and merge it back
- These will be used for job logs.
Reviewed-by: ultrotter
Also available in: Atom