| Branch: | Tag: | Revision:

root / lib @ caeffaa0

Name Size
  rapi 791 Bytes 82.1 kB 58 kB 18.6 kB 31.4 kB 252.7 kB 40.9 kB 14.5 kB 8.1 kB 7 kB 40.7 kB 3.7 kB 29.7 kB 10.5 kB 13.1 kB 26.1 kB 16 kB 33.4 kB 1.7 kB 7.8 kB 7.4 kB 56.5 kB 9 kB

Latest revisions

# Date Author Comment
caeffaa0 12/28/2009 12:43 pm Iustin Pop

Partial cherry-pick of 6c881c5 from the 2.1 branch

This cherry-picks the utils.FieldSet.Matches changes and the significant change. These are stable in the 2.1 branch and therefore make
sense to backport to 2.0 (are basically cleanups).

Signed-off-by: Iustin Pop <>...

1e57442a 12/18/2009 03:01 pm René Nussbaumer

Fix a typo in the doc string

MaybeRaise in lib/ had a typo in the doc string

Signed-off-by: René Nussbaumer <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

4fe80ef2 12/14/2009 05:36 pm Iustin Pop

Move the hooks file mask into

This will allow reuse of the same mask for multiple validations.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

f95c81bf 12/14/2009 05:36 pm Iustin Pop

Security issue: add validation of script names

This patch unifies the search for external script to always go through
utils.FindFile and implements in that function a restriction on valid
chars in file names and (additionally) that the passed name is the...

4dfd6266 12/14/2009 05:34 pm Iustin Pop

Improve LUQueryNodes for lockless case

In most uses of LUQueryNodes, we don't take a lock. This means that the
instance data is not protected across GetInstanceList and
GetInstanceInfo, and this can lead to instances not existing anymore.

Switching to GetAllInstanceInfo means that we get a single,...

e6345c35 09/25/2009 06:56 pm Iustin Pop

Encode the actual exception raised by LU execution

Currently, the actual exception raised during an LU execution (one of
OpPrereqError, OpExecError, HooksError, etc.) is lost because the code simply sets that to a str(err), and the code in

a6607331 09/25/2009 06:56 pm Iustin Pop

Move the luxi error handling into

Currently the luxi error handling is hardcoded as special encoding on
the masterd-side and special decoding on the client side. This patch
moves it to such that other parts of the code can reuse the
same encoding....

31821208 09/25/2009 06:54 pm Iustin Pop

Fix the confusing ssh/hostname message in node add

Before, it used to say:

ssh/hostname verification failed -> hostname mismatch, got

Now it says for wrong hostnames (maybe too verbose):

ssh/hostname verification failed (checking from hostname...
8db31d6b 09/25/2009 04:27 pm Iustin Pop

Automatically cleanup _temporary_ids at save

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>
(cherry picked from commit 34d657bae4361b9d6fd8c6314dc7cca57b51c773)

26b316d0 09/25/2009 04:27 pm Iustin Pop

Separate the computation of all config IDs

We will need this in another place, so we abstract the 'compute all
current IDs' functionality into a separate function. We also change the
name of the _ComputeAllLVs to _AllLVs to match the other _All*s

View revisions

Also available in: Atom