Activity

From 09/08/2010 to 10/07/2010

10/07/2010

06:10 pm Revision 06fef5e0: gnt-job cancel: Use non-zero exit status if canceling failed
This allows the use “gnt-job cancel” in scripts.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Michael Hanselmann
06:10 pm Revision 86b16e9d: jqueue, CancelJob: Check status only once per call
This simplifies the code a bit--the status is only checked once.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
04:16 pm Revision fad3096a: Bump version to 2.2.1~rc0
Also update NEWS.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:09 pm Revision ca8e1c6a: Update NEWS file for 0.2.7 release
Iustin Pop
03:42 pm Revision e3ae9508: Fix some warnings in unittests
Iustin Pop
03:17 pm Revision ebdefe95: Merge branch 'devel-2.2'
* devel-2.2:
Try again to fix the inter-cluster move QA test
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
03:16 pm Revision 638a7266: Try again to fix the inter-cluster move QA test
This time, we re-establish the old pri/sec nodes corretly. Unfortunately this
will require now a 3-node cluster at le...
Iustin Pop
11:32 am Revision ed3920e3: Fix a rare bug in StartDaemonChild and GenericMain
I've seen cases where the result from str(sys.exc_info()[1]) is ""; this
breaks the error reporting as the parent rel...
Iustin Pop
11:31 am Revision 3e87c1bf: Enhance the error reporting
Since daemon startup error will be often related to socket errors, so it
makes sense to change the original reporting...
Iustin Pop
11:31 am Revision 3ee53f1f: Convert ganeti daemons to the three-stage startup
This makes almost all of the daemons show error messages, and not return
until they finished listening on the appropr...
Iustin Pop
11:31 am Revision b78aa8c2: Change daemon.GenericMain/utils.Daemonize workflow
This patch copies the pipe-based error reporting functionality from
utils.StartDaemon (I gave up for now on tryin to ...
Iustin Pop
11:31 am Revision b42ea9ed: Change utils.GenericMain protocol
Currently, GenericMain does a two-staged workflow:
- Check, before forking
- then Exec, after forking
This means we...
Iustin Pop
11:31 am Revision 5c4d37f9: Use only one version of WritePidFile
This patch merges the pid file handling used for ganeti-* daemons and
impexp daemons. The latter version is used, sin...
Iustin Pop
11:30 am Revision 79634555: Abstract daemon file descriptor setup
This does some slight changes:
- Daemonize() doesn't explicitly close the file-descriptors anymore, but
only impli...
Iustin Pop
11:30 am Revision 0260032c: Abstract some daemon functionality
This patch abstracts the chdir/umask/setsid functionality, which is
identical in the code functions, just that Daemon...
Iustin Pop

10/06/2010

04:23 pm Revision 4886952e: Add a hack for normalized CPU values in hspace
Currently, the key metrics/tiered spec computations show the virtual cpu
count. However, since we do have a maximum r...
Iustin Pop
03:56 pm Revision 03c6d8fa: Improve the error message for tiered alloc option
Iustin Pop
03:39 pm Revision 50eaae52: Merge branch 'devel-2.2' into master
* devel-2.2:
QA: Fix instance move tests
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hansel...
Iustin Pop
03:38 pm Revision 677e16eb: QA: Fix instance move tests
The instance move tests were moving the instance from node pair (A,_) to
(B, A), and left it there. This patch makes ...
Iustin Pop

10/05/2010

06:08 pm Revision 72884fef: Merge branch 'devel-2.2'
* devel-2.2:
Add simple unittest for utils.CommaJoin
LUDelTags: Improve formatting of error message
LUGetTags: ...
Michael Hanselmann
05:59 pm Revision 750022e0: Add simple unittest for utils.CommaJoin
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:59 pm Revision 9fc58eac: Export VG name via LUQueryConfigValues
This will be used by LUXI client programs to display the VG name.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
05:59 pm Revision f1b083ce: gnt-cluster: Replace hardcoded “xenvg” with value retrieved from master
This fixes issue 125 (http://code.google.com/p/ganeti/issues/detail?id=125)
Signed-off-by: Michael Hanselmann <hansm...
Michael Hanselmann
05:59 pm Revision 91c69b44: LUDelTags: Improve formatting of error message
Use utils.CommaJoin to add spaces after comma, clean up code a bit.
Before: Tag(s) 'bar','baz','foo','moo' not found...
Michael Hanselmann
05:59 pm Revision 60db9336: LUGetTags: Acquire locks in shared mode
Retrieving tags can be done while the lock is shared. Only writing
needs to be exclusive.
Also add a FIXME for clust...
Michael Hanselmann
05:59 pm Revision 845c79d8: cli: Move parsing of --net option to separate function
This function will also be used in tools/move-instance.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
05:59 pm Revision a111ebde: move-instance: Allow overriding instance parameters
When moving a single instance within the same cluster, the NIC
is not allowed to re-use an existing MAC address. To a...
Michael Hanselmann
05:59 pm Revision a889c536: RAPI QA: Override MAC address when moving instance
This will make this test work again.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <...
Michael Hanselmann
05:51 pm Revision e32e7886: Clean up Ganeti 2.3 design document
- Typos
- Fix capitalization
- Fix quoting in some places
- Rewrite part of privilege separation section to
match w...
Michael Hanselmann
05:50 pm Revision 1010ec70: QA: Enable all tests by default
This patch enables all tests by default, unless when they're
explicitely disabled in the config file. This will make ...
Michael Hanselmann
05:50 pm Revision a705dc05: qa_config: Use ganeti.serializer for loading config
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
04:54 pm Revision 9d3015f9: kvm: collapse two consecutive extend calls
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
04:45 pm Revision 4f958b0b: kvm: Introduce support for -mem-path
Using hugepages, KVM instances can get a good performance boost. To
activate that, we need to pass the -mem-path argu...
Miguel Di Ciurcio Filho
12:23 pm Revision cf10a26f: Merge branch 'devel-2.2'
* devel-2.2:
Rename the _oss cluster vars to _os
Conflicts:
lib/objects.py (trivial, strange that this one, and o...
Iustin Pop
12:11 pm Revision 87b2cd45: Rename the _oss cluster vars to _os
Per the mailing list discussion, rename _oss to _os, both in cluster parameters
and in the rest of the code.
This is...
Iustin Pop
12:11 pm Revision df5758b1: Merge branch 'devel-2.2'
* devel-2.2:
gnt-job info: Sort input fields
KVM: Add function to check the hypervisor version
Bump version to ...
Iustin Pop

10/04/2010

07:48 pm Revision 052ee117: Merge branch 'stable-2.2' into devel-2.2
* stable-2.2:
Bump version to 2.2.0, update NEWS
Fix instance rename regression from 3fe11ba3
Signed-off-by: Mic...
Michael Hanselmann
07:40 pm Revision 598b5255: gnt-job info: Sort input fields
This helps to find a value for complex opcodes.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: I...
Michael Hanselmann
07:06 pm Revision b52d85c1: KVM: Add function to check the hypervisor version
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
06:29 pm Revision 83e90c39: Bump version to 2.2.0, update NEWS
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:47 pm Revision b2a85958: Fix instance rename regression from 3fe11ba3
Committ 3fe11ba3 broke the instance rename as we don't use the FQDN
anymore. This fixes it.
Signed-off-by: Iustin Po...
Iustin Pop

09/30/2010

08:23 pm Revision e964cc85: Fix instance rename regression from 3fe11ba3
Committ 3fe11ba3 broke the instance rename as we don't use the FQDN
anymore. This fixes it.
Signed-off-by: Iustin Po...
Iustin Pop
07:20 pm Revision 44c15b81: Update RAPI documentation for /2/nodes/[node_name]/migrate
This was forgotten in commit 52194140.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop...
Michael Hanselmann
03:10 am Revision 21674464: Sort OS names and variants in LUDiagnoseOS
The OS list and variants as returned from LUDiagnoseOS is not sorted,
and gnt-instance reinstall doesn't sort it eith...
Iustin Pop
03:10 am Revision e1df06f2: Add some trivial QA tests for the new OS states
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael ...
Iustin Pop
03:10 am Revision d22dfef7: Change behaviour of OpDiagnoseOS w.r.t. 'valid'
This patch changes the behaviour of OpDiagnoseOS with regards to the
'valid' field to be similar to the one for the h...
Iustin Pop
03:10 am Revision 61a14bb3: Allow gnt-os modify to change the new OS params
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
03:10 am Revision cd14c16c: Add two more _T-type tests
These are useful for more in-depth checking of some kinds of arguments.
Signed-off-by: Iustin Pop <iustin@google.com...
Iustin Pop
03:10 am Revision c950e9f2: Add blacklisted/hidden OS support in LUDiagnoseOS
This changes the behaviour of LUDiagnoseOS significantly.
The addition of hidden/blacklisted OSes would mean that ea...
Iustin Pop
03:10 am Revision fc31fadd: Restrict blacklisted OSes in instance installation
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
03:09 am Revision 546b1111: Add two new cluster settings
The new variables are:
- a list of hidden OSes, that should not be displayed to the users in
interactive selection...
Iustin Pop
03:09 am Revision 870dc44c: Abstract OS name/variant functions
Currently, the computation of the 'pure' name or the variant is
hardcoded and spread around the functions that need i...
Iustin Pop
03:09 am Revision 677a6451: Add OS new states to the design doc
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop
03:08 am Revision f0f7293f: Remove the RPC changes from the 2.2 design
These were not implemented.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@go...
Iustin Pop
03:06 am Revision 2f2f1289: Remove 'Detailed Design' from design-2.2.rst
This also bumps up the rest of the headings.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotte...
Iustin Pop

09/29/2010

05:36 pm Revision 92ae7daf: gnt-debug: Test job submission as part of “test-jobqueue”
This checks whether jobs with invalid priorities are rejected.
At the same time it tests SubmitJob and SubmitManyJobs...
Michael Hanselmann
02:42 pm Revision 485ba212: Avoid nodegroup name/uuid conflicts
Forbid nodegroups to be called with a name that matches the UUID regular
expression. Uppercase versions are forbidden...
Guido Trotter
02:42 pm Revision 05636402: Move the uuid regexp to utils.py
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter

09/24/2010

07:21 pm Revision a38e8674: Fix docstring typo in jqueue._JobProcessor._MarkWaitlock
epydoc complained:
“File …/ganeti/jqueue.py, line 886, in
ganeti.jqueue._JobProcessor._MarkWaitlock
Warning: Redefi...
Michael Hanselmann
06:18 pm Revision f23db633: jqueue: Use priority for acquiring locks
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
06:18 pm Revision f879a9c7: mcpu: Implement priority for lock acquiring
Until now the priority for lock acquires couldn't be passed
when running opcodes.
Signed-off-by: Michael Hanselmann ...
Michael Hanselmann
06:18 pm Revision b30d95b6: locking: Implement priority in Ganeti lock manager
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
06:18 pm Revision 7100c2fa: locking: Don't set default priority as keyword default
This allows users of these classes to simply pass None if they want to use the
default value (the actual default is a...
Michael Hanselmann
06:18 pm Revision 26d3fd2f: jqueue: Use timeout when acquiring locks
As already noted in the design document, an opcode's priority is
increased when the lock(s) can't be acquired within ...
Michael Hanselmann
02:01 pm Revision d14c222a: Adding design-doc for user separation
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido...
René Nussbaumer

09/23/2010

04:52 pm Revision 673cd9c4: Migrate call from backend._GetVGInfo to bdev.LogicalVolume.GetVGInfo
This patch removes duplicate code found in backend which also needs to
get VG infos. To make it simpler we moved to b...
René Nussbaumer
04:06 pm Revision b80cc518: jqueue: Introduce per-opcode context object
This is better to group per-opcode data.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nus...
Michael Hanselmann
04:06 pm Revision a7770f03: mcpu: Adjust lock acquire strategy
The changes to job queue processing require some changes on this class'
interface. LockAttemptTimeoutStrategy might m...
Michael Hanselmann
04:06 pm Revision 831bbbc1: mcpu.Processor: Raise exception on lock acquire timeout
Right now the timeout is not passed by any caller, making the code
effectively go back to blocking acquires. Since th...
Michael Hanselmann
12:07 pm Revision 03b63608: jqueue: Rename current_op to better reflect what it actually is
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:07 pm Revision fa4aa6b4: jqueue: Separate function for in-memory variables
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann

09/22/2010

05:57 pm Revision 5ee6fffc: Merge branch 'devel-2.2'
* devel-2.2:
NEWS: Add 2.2.0~rc2 release date
Bump version to 2.2.0~rc2
Fix mac checker regex
Remove two old ...
Michael Hanselmann
05:53 pm Revision 227e546f: Merge branch 'stable-2.2' into devel-2.2
* stable-2.2:
NEWS: Add 2.2.0~rc2 release date
Bump version to 2.2.0~rc2
Remove two old aliases
Fix migration...
Michael Hanselmann
05:38 pm Revision db5bce34: jqueue: Add unittest for _QueuedJob.CalcStatus
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:17 pm Revision 197478f2: Use free space in vg instead of biggest free pv space for a snapshot
Even for snapshot we looked at the biggest free pv space even though
the vg might have fit the snapshot we aborted if...
René Nussbaumer
04:16 pm Revision cb639800: Merge branch 'devel-2.1' into devel-2.2
* devel-2.1:
Fix mac checker regex
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbau...
Michael Hanselmann
04:15 pm Revision f64de30f: NEWS: Add 2.2.0~rc2 release date
This was forgotten when preparing the release.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Re...
Michael Hanselmann
02:25 pm Revision 57f11093: Bump version to 2.2.0~rc2
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:12 pm Revision 8fb00704: Fix mac checker regex
Currently, the mac checker regex could match a corner case of
11:22:33:44:55:66: (one extra colon at the end). We fix...
Iustin Pop

09/21/2010

10:37 am Revision 0c362546: Remove two old aliases
These were deprecated since Ganeti 2.0, it's time to remove them.
Signed-off-by: Iustin Pop <iustin@google.com>
Revi...
Iustin Pop

09/20/2010

04:14 pm Revision f0ca837f: Ignore failures while shutting down instances during failover from offline node
Don't abort failover if instance shutdown doesn't work on a node marked
offline. The node is offline, so the instance...
René Nussbaumer
03:41 pm Revision cf0b3a19: Document common options in ganeti(7)
So far the “--dry-run” option is not documented at all. This also adds
documentation for the new “--priority” option....
Michael Hanselmann
03:41 pm Revision aa06f8c6: cli: Expose priority option and pass priority to master daemon
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:41 pm Revision be760ba8: jqueue: Change model from per-job to per-opcode processing
In order to support priorities, the processing of jobs needs to be
changed. Instead of processing jobs as a whole, th...
Michael Hanselmann
03:41 pm Revision 7b5c4a69: jqueue: Use priority for worker pool
A small helper function is added to make this easier. Priorities are not
yet used in all necessary places.
Signed-of...
Michael Hanselmann
12:04 pm Revision 01eaf2fb: Fix migration on new KVMs
New KVMs (0.12.1.2-el6 and 0.13.5 tested) exit immediately after
unsuccessful network connection when they are in "-i...
Vitaly Kuznetsov
11:12 am Revision c219f613: Fix typo in ganeti man page
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:12 am Revision af1a81d1: cli: Pass options in {Add,Remove}Tags
They'll be used for job priorities. Also add an empty line to
gnt-os where it's missing.
Signed-off-by: Michael Hans...
Michael Hanselmann
11:11 am Revision a0d2fe2c: jqueue: Add missing docstring to _QueuedJob.Cancel
This was forgotten in commit 099b2870b.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Po...
Michael Hanselmann
11:08 am Revision 28b5de4d: Prepare 2.2.0~rc2 release
Update NEWS, but not yet configure.ac.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop...
Michael Hanselmann

09/16/2010

02:58 pm Revision f4ec2960: Bail out if daemon gets fired up under wrong uid
This patch bails out in early stage, if the user invoking the daemon
doesn't match the user set at configure time.
S...
René Nussbaumer
01:56 pm Revision 2bc27b91: Merge branch 'devel-2.2'
* devel-2.2:
QA: Test more tag operations via RAPI
qa_rapi: Fix indentation error
opcode summary: improve displ...
Michael Hanselmann
01:46 pm Revision c326b4ef: QA: Test more tag operations via RAPI
This ensures tag operations work via RAPI. Also print requested URI to
stdout for debugging.
Signed-off-by: Michael ...
Michael Hanselmann
01:43 pm Revision fd837171: qa_rapi: Fix indentation error
If no function to verify the result was specified, qa_rapi._DoTests
wouldn't return the result.
Signed-off-by: Micha...
Michael Hanselmann
01:38 pm Revision 55ec5c5e: Merge branch 'stable-2.2' into devel-2.2
* stable-2.2:
cmdlib: Fix type of “name” parameter for tag operations
rlib2: Set tag operation param “name” to No...
Michael Hanselmann
01:28 pm Revision bc8bbda1: opcode summary: improve display for list summaries
Currently, opcodes like NODE_EVAC_STRATEGY look bad:
89684 error NODE_EVAC_STRATEGY([u'node3'])
With this patch...
Iustin Pop
01:26 pm Revision 913138f4: Always enable logging for unittests
By enabling all log levels, we ensure all calls are fully evaluated.
There was one case in the workerpool where a cal...
Michael Hanselmann
01:26 pm Revision e1ea54e9: workerpool: Fix typo
A call to logging.debug was missing an argument, leading to complaints
on stderr at runtime.
Signed-off-by: Michael ...
Michael Hanselmann
01:26 pm Revision 5f6b0b71: Add small jqueue unittests
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:25 pm Revision 099b2870: jqueue: Move CancelJob logic to separate function
Moving the internals of this function will allow it to be used from
unittests in the future. Splitting this into a pu...
Michael Hanselmann
10:25 am Revision 42e32075: Merge branch 'devel-2.2'
* devel-2.2:
Fix case of MAC special-values
Remove mcpu's ReportLocks callback
Revert "jqueue: Resume jobs from...
Iustin Pop
10:25 am Revision 8341ec93: Merge branch 'devel-2.1' into devel-2.2
* devel-2.1:
Fix case of MAC special-values
(no conflicts, took LGTM from original commit)
Signed-off-by: Iustin ...
Iustin Pop
10:23 am Revision d4068f64: Fix case of MAC special-values
This fixes Debian bug #596347. An alternative would be to also allow
the uppercase form, but it's not nice I think.
...
Iustin Pop

09/15/2010

10:48 pm Revision bf2ace9f: cmdlib: Fix type of “name” parameter for tag operations
The parameter “name” is be None for cluster tags.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann
10:48 pm Revision 5313eed7: rlib2: Set tag operation param “name” to None for cluster tags
Otherwise parameter verification in the master daemon fails.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
06:30 pm Revision 03cb89f0: hbal: implement user-friendly termination requests
Currently, hbal will abort immediately when requested (^C, or SIGINT,
etc.). This is not nice, since then the already...
Iustin Pop
03:58 pm Revision 31684f84: Stop all daemons precautiosly before trying to start ganeti-noded again
Please note that if the pid file is broken or missing we'll not catch
the process (if any is running) and it's up to ...
René Nussbaumer
03:42 pm Revision ace16501: Check for duplicate nodegroup names
Since the nodegroups dict is indexed by uuid duplicate names might
happen as a result of bugs. Add a check to prevent...
Guido Trotter
02:08 pm Revision c60abd62: Split a long docstring line in objects.py
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
02:08 pm Revision 88b92fe3: InitConfig: create nodegroups as well
This patch also ensures that the initial configuration has all the
needed UUIDs and that they are unique, by using a
...
Guido Trotter

09/14/2010

07:49 pm Revision 6f076453: Export nodegroups list (names/uuids) via ssconf
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:49 pm Revision 36e247e1: Add nodegroup bash autocomplation
We autocomplete both by nodegroup name and uuid.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Mi...
Guido Trotter
07:49 pm Revision 5fbbd028: Add nodegroup option to AddNode
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:49 pm Revision 190e3cb6: Add node's nodegroup field
If a node doesn't have a node group we'll upgrade the config making it
the cluster default. Also the node add and rem...
Guido Trotter
07:40 pm Revision 6520ba14: Check for nodegroup uuid indexing
Since the uuid is immutable the probability of it getting out of sync
between the object and the dict key is very low...
Guido Trotter
07:40 pm Revision eaa98a04: config.LookupNodeGroup
This function allows a node group to be looked up by name or uuid.
If no nodegroup is specified and only one exists, ...
Guido Trotter
07:40 pm Revision f9e81396: ConfigWriter: create the default node group
If no node groups exist we'll create a new default empty one.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Re...
Guido Trotter
06:14 pm Revision 3df43542: Add a 'nodegroups' slot to ConfigData
Also:
- reformat the __slots__ declaration of ConfigData
- call UpgradeConfig on each node groups to handle futur...
Guido Trotter
06:14 pm Revision fe25a79a: _ContainerFromDicts: handle None source
When _ContainerFromDicts is called on some element which doesn't exist
in the config, because it is yet to be upgrade...
Guido Trotter
06:14 pm Revision 24a3707f: Add a new NodeGroup config object
The "members" slot of this object is not serialized, and is discarded
when deserializing, initializing it explicitly ...
Guido Trotter

09/13/2010

06:35 pm Revision 84a5b33c: cli: Add option definition for priority
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:35 pm Revision e71c8147: jqueue: Ensure only accepted priorities are allowed for submitting jobs
Quoting the design document: “Submitted opcodes can have one of the priorities
listed below. Other priorities are res...
Michael Hanselmann
06:35 pm Revision 8f5c488d: Add support for job priority to opcodes and job queue objects
This allows clients to submit opcodes with a priority. Except for being
tracked by the job queue, it is not yet used ...
Michael Hanselmann
06:35 pm Revision e5d8774b: Add job priority constants
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:16 pm Revision e4ef4343: RAPI server: Move user file watching out, update documentation
This patch moves the code watching the users file into a
a separate class to not mix it with HTTP serving. The users
...
Michael Hanselmann
05:46 pm Revision acf931b7: Remove mcpu's ReportLocks callback
This is no longer needed with the new lock monitor. One callback is kept to
check for cancelled jobs.
Signed-off-by:...
Michael Hanselmann
05:39 pm Revision 5ef699a0: Revert "jqueue: Resume jobs from “waitlock” status"
This reverts commit 4008c8edae31a3971fa8c4b200238afc8005d3d4.
While it worked in my initial tests, I've now found ca...
Michael Hanselmann
04:24 pm Revision bcc6f36d: Proposed design changes for 2.3 and big clusters
A big design doc patch touching three areas related to increasing
scalability in 2.3.
Signed-off-by: Iustin Pop <ius...
Iustin Pop
02:04 pm Revision a025e535: Fix OS_VARIANT variable setting
This was introduced in efaa9b06d1e1e6d1678d0edd75b1ba37cf0de3d9.
in OSCoreEnv:
inst_os.name is pure operating sys...
Vitaly Kuznetsov

09/10/2010

04:48 pm Revision a2e60f14: Update the authentication mapping in RAPI if users file has been updated
Please note: This only works if the file existed upon startup. If the file was
created later, ganeti-rapi has to be r...
René Nussbaumer
03:11 pm Revision a68fe106: Merge branch 'devel-2.2'
* devel-2.2:
Fix pylint warning in http/__init__.py
Allow SSL ciphers to be overridden in HTTP server
jqueue: R...
Michael Hanselmann
03:10 pm Revision a6d350cc: Merge branch 'stable-2.2' into devel-2.2
* stable-2.2:
Fix pylint warning in http/__init__.py
Allow SSL ciphers to be overridden in HTTP server
If we ha...
Michael Hanselmann
02:54 pm Revision 5117f822: Fix pylint warning in http/__init__.py
My bad for not seeing this before:
R0201:614:HttpBase.GetSslCiphers: Method could be a function
Signed-off-by: Micha...
Michael Hanselmann
02:43 pm Revision 91c69613: Allow SSL ciphers to be overridden in HTTP server
Users of this class, such as the RAPI server, might want to override or adjust
the default SSL cipher defined in a co...
Michael Hanselmann
02:23 pm Revision 4008c8ed: jqueue: Resume jobs from “waitlock” status
After an unclean restart of ganeti-masterd, jobs in the “waitlock” status can
be safely restarted. They hadn't modifi...
Michael Hanselmann
02:23 pm Revision de9d02c7: jqueue: Move queue inspection into separate function
This makes the __init__ function a lot smaller while not changing
functionality.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
02:23 pm Revision 747f6113: jqueue: Don't update file in MarkUnfinishedOps
This reduced the number of updates to the job files. It's used in two places
while processing a job and the file is u...
Michael Hanselmann
02:22 pm Revision 05ad571c: locking.SharedLock: Update class docstring
This was already outdated when the initial version of SharedLock was added
in commit 162c1c1f1 (February 2008).
Sign...
Michael Hanselmann

09/09/2010

04:52 pm Revision d3b18b8e: Adding functionality to check feasability of joining the host
This checks if the host might possibily belong already to another
cluster. If this is the case we abort without any f...
René Nussbaumer
03:43 pm Revision 5b27346a: If we had any errors in setup in one of the hosts, exit with non-zero
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:32 pm Revision f9b87434: Fix the output of the key fingerprint from binary to hex
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
« Previous
Next »
 

Also available in: Atom