- Sep 24, 2010
-
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Sep 23, 2010
-
-
René Nussbaumer authored
This patch removes duplicate code found in backend which also needs to get VG infos. To make it simpler we moved to bdev.LogicalVolume.GetVGInfo. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
This is better to group per-opcode data. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
The changes to job queue processing require some changes on this class' interface. LockAttemptTimeoutStrategy might move to another place, but that'll be done in a later patch. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Right now the timeout is not passed by any caller, making the code effectively go back to blocking acquires. Since the timeout is always None, no caller needs to be changed in this patch. This change also means that any LUXI query handled by ganeti-masterd will use blocking acquires if they need locks (only the case for getting tags). Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Sep 22, 2010
-
-
Michael Hanselmann authored
* 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 aliases Fix migration on new KVMs Fix typo in ganeti man page cli: Pass options in {Add,Remove}Tags Prepare 2.2.0~rc2 release Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
* stable-2.2: NEWS: Add 2.2.0~rc2 release date Bump version to 2.2.0~rc2 Remove two old aliases Fix migration on new KVMs Prepare 2.2.0~rc2 release Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
René Nussbaumer authored
Even for snapshot we looked at the biggest free pv space even though the vg might have fit the snapshot we aborted if one of the pvs was too small. This patch fixes this by looking at the vg size instead of the pv size. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
* devel-2.1: Fix mac checker regex Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
This was forgotten when preparing the release. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
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 this, and we also move the regex compilation outside of this function, at module level. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Sep 21, 2010
-
-
Iustin Pop authored
These were deprecated since Ganeti 2.0, it's time to remove them. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Sep 20, 2010
-
-
René Nussbaumer authored
Don't abort failover if instance shutdown doesn't work on a node marked offline. The node is offline, so the instances living on it are too. Before you had to use --ignore-consistency to archieve that. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
So far the “--dry-run” option is not documented at all. This also adds documentation for the new “--priority” option. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
In order to support priorities, the processing of jobs needs to be changed. Instead of processing jobs as a whole, the code is changed to process one opcode at a time and then return to the queue. See the Ganeti 2.3 design document for details. This patch does not yet use priorities for acquiring locks. The enclosed unittests increase the test coverage of jqueue.py from about 34% to 58%. Please note that they also test some parts not added by this patch, but testing them became only possible with some infrastructure added by this patch. For the first time, many implications and assumptions for the job queue are codified in these unittests. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
A small helper function is added to make this easier. Priorities are not yet used in all necessary places. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Vitaly Kuznetsov authored
New KVMs (0.12.1.2-el6 and 0.13.5 tested) exit immediately after unsuccessful network connection when they are in "-incoming" mode. The simple check netutils.TcpPing causes remote kvm to exit so the migration will always fail. This check is also redundant by the way as if the network port is closed migration will fail with guarantee. This commit removes this check. Signed-off-by:
Vitaly Kuznetsov <vitty@altlinux.ru> Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
They'll be used for job priorities. Also add an empty line to gnt-os where it's missing. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This was forgotten in commit 099b2870. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Update NEWS, but not yet configure.ac. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Sep 16, 2010
-
-
René Nussbaumer authored
This patch bails out in early stage, if the user invoking the daemon doesn't match the user set at configure time. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
* devel-2.2: QA: Test more tag operations via RAPI qa_rapi: Fix indentation error opcode summary: improve display for list summaries cmdlib: Fix type of “name” parameter for tag operations rlib2: Set tag operation param “name” to None for cluster tags Fix OS_VARIANT variable setting Conflicts: lib/backend.py: Trivial Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This ensures tag operations work via RAPI. Also print requested URI to stdout for debugging. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
If no function to verify the result was specified, qa_rapi._DoTests wouldn't return the result. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
* stable-2.2: cmdlib: Fix type of “name” parameter for tag operations rlib2: Set tag operation param “name” to None for cluster tags Fix OS_VARIANT variable setting Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Currently, opcodes like NODE_EVAC_STRATEGY look bad: 89684 error NODE_EVAC_STRATEGY([u'node3']) With this patch, we try to render list arguments a little bit better: 89684 error NODE_EVAC_STRATEGY(node3) Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
By enabling all log levels, we ensure all calls are fully evaluated. There was one case in the workerpool where a call to “logging.debug” was wrong, but not caught in unittests because debug logging was disabled. The optional environment variable “LOGTOSTDERR” can be set to write all log messages to stderr instead of /dev/null. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
A call to logging.debug was missing an argument, leading to complaints on stderr at runtime. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Moving the internals of this function will allow it to be used from unittests in the future. Splitting this into a pure, side-effect free function and an impure one makes the pure function easily testable. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
* devel-2.2: Fix case of MAC special-values Remove mcpu's ReportLocks callback Revert "jqueue: Resume jobs from “waitlock” status" (no conflicts, took LGTM from original commit) Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
* devel-2.1: Fix case of MAC special-values (no conflicts, took LGTM from original commit) Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This fixes Debian bug #596347. An alternative would be to also allow the uppercase form, but it's not nice I think. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Sep 15, 2010
-
-
Michael Hanselmann authored
The parameter “name” is be None for cluster tags. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-