Activity

From 04/10/2012 to 05/09/2012

05/09/2012

12:31 pm Revision 9a6ade06: Add a default PATH variable to OS scripts env
In commit 896a03f6 I cleaned up the environment for OS scripts,
however I think that was a bit too extreme - it break...
Iustin Pop
12:31 pm Revision aa7b59ac: Move hooks PATH environment variable to constants
Move the contents of the PATH environment variable for hooks to
constants, and use its value in the code and in the h...
Andrea Spadaccini
12:17 pm Revision 12f9d75e: Add note to the install doc about bridge MAC issues
Thanks to Faidon Liambotis for explaining this on the external IRC
channel.
Signed-off-by: Iustin Pop <iustin@google...
Iustin Pop
12:17 pm Revision 98dfcaff: Fix exception re-raising in Python Luxi clients
Commit e687ec01 (present in 2.5 since the 2.5 beta 3) did consistency
fixes across the code-base. Unfortunately this ...
Iustin Pop
12:12 pm Revision f97a7ada: Allow clock skews in certificate verification
Currently we allow for up to NODE_MAX_CLOCK_SKEW time difference
between nodes in some operations, but not everywhere...
Iustin Pop
12:10 pm Revision ff779c32: Improve formatting in the hooks documentation
The pyeval role generates literal (e.g. ``OP_CLUSTER…``) formatting,
which differs from the other headers. This is co...
Iustin Pop

05/08/2012

01:37 pm Revision cdd495ae: Add decoding of Luxi calls and unittests for LuxiOp
This patch adds a hand-coded decoder for LuxiCall arguments, as the
data-structure is not uniform enough for automate...
Iustin Pop
01:37 pm Revision 5cefb2b2: Some unit tests improvements
In preparation for unit-testing the Luxi definitions, this improves
the auto-generation of OpCodes: currently this us...
Iustin Pop
01:37 pm Revision 95d0d502: Auto-define a LuxiReq data type
We currently auto-generate a LuxiOp data type, which holds the entire
operation (including parameters). However, havi...
Iustin Pop
01:37 pm Revision fae980e5: Replace hardcoded constants with Constants.hs names
Now that luxi.py constants are exported, we can use them for more
consistency.
Signed-off-by: Iustin Pop <iustin@goo...
Iustin Pop
01:37 pm Revision f11e524b: Fix Makefile dependencies for building Constants.hs
I was wondering why my changes to luxi.py did not trigger the rebuild…
Signed-off-by: Iustin Pop <iustin@google.com>...
Iustin Pop
01:37 pm Revision 83c046a2: Correct capitalisation of two Luxi calls
Two Luxi calls have inconsistent an name/value mapping (in the Python
code):
- REQ_AUTOARCHIVE_JOBS versus AutoArchi...
Iustin Pop
01:37 pm Revision 3ad57194: Add a new JSON function
And its associated unittests.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google....
Iustin Pop

05/07/2012

03:16 pm Revision c6d992c5: Add design document for query path splitting
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
11:33 am Revision a1f38213: Fix LVM volume listing with newer LVM
Per commit 0304f0e, newer LVM has extended the lv_attr field. However,
that commit was incomplete as we examine this ...
Iustin Pop
11:19 am Revision 09dc9a02: Implement support for multi-module export
This add support for exporting constants from multiple modules (as
opposed to hard-coding constants), and also makes ...
Iustin Pop
11:19 am Revision 79a04823: Implement reverse mapping of values to names
This adds a bit of dumb mapping of values to names, while trying to be
safe. This is the best we can do without resor...
Iustin Pop

05/04/2012

03:37 pm Revision 3d371913: Add missing qa/__init__.py file
The file was there and listed in Makefile.am, but I forgot to add it to
commit a0c3e7264a.
Signed-off-by: Michael Ha...
Michael Hanselmann
03:27 pm Revision 1be35bef: QA: Fix shutdown for reinstall/rename tests
The “RunTestIf” uses an AND association between the passed test names,
so the instance would be be shut down if both ...
Michael Hanselmann
03:27 pm Revision a0c3e726: QA: Enable use of OR conditions in test checks
Until now “TestRunIf” and “TestEnabled” could only handle AND. With this
patch a new class named “Either” is added to...
Michael Hanselmann

05/01/2012

08:11 pm Revision 79ac58fa: Further fixes for new-style exception handling
Commit 30d25dd8 moved the htools code to new-style exception handling,
but the hconfd code hasn't been, which fails w...
Iustin Pop
01:11 am Revision 4023aa72: Add NEWS entry for paramiko/pycrypto warnings
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
Iustin Pop

04/27/2012

05:41 pm Revision c8bde61e: Fix grow-disk handling of invalid units
The reason why grow-disk was doing:
$ gnt-instance grow-disk instance3 0 -64
Unhandled Ganeti error: Invalid format
...
Iustin Pop
12:46 pm Revision 59e67682: Fix rapi.testutils unittest
Since we use a testutils.InputTestClient(), then the actual error
expected is VerificationError, and not GanetiApiErr...
Iustin Pop
11:00 am Revision f1bebf4c: Make setup-ssh behave more friendly
So while testing my previous patch I run setup-ssh manually without
any arguments, and it did nothing (no complains, ...
Iustin Pop
11:00 am Revision 3ec10f0d: Silence Paramiko deprecation warnings
This works around a problem in Paramiko, but which looks like it's a
Ganeti problem:
[cluster] root@node4:~# gnt-nod...
Iustin Pop

04/26/2012

10:42 pm Revision 1afa108c: Add more RAPI test utilities
This patch adds a mock RAPI client to test input values to methods. All
methods either raise an exception if there wa...
Michael Hanselmann
10:42 pm Revision 3ade0e0e: Add example script for using RAPI test utilities
This script shows a few examples on how to use the RAPI input test
client. It is also run at “make check” time to ens...
Michael Hanselmann
10:33 pm Revision d9492490: rapi.testutils.FakeCurl: Add header support
With this patch headers are constructed from the PycURL options
and passed to the mock implementation.
Signed-off-by...
Michael Hanselmann
10:33 pm Revision f90a1ab5: Move _FakeCurl from tests/ganeti.rapi.client to ganeti.rapi.testutils
This is preparation for the mock system, where we need the same cURL
mock.
Signed-off-by: René Nussbaumer <rn@google...
René Nussbaumer
10:33 pm Revision 352e1a26: errors: Add exception for RAPI testing utilities
This exception is raised to abort before actually sending a LUXI call
(there is no LUXI server involved in the test)....
Michael Hanselmann
09:11 pm Revision abe318b3: server.rapi: Factorize RAPI user loading
By moving the code loading RAPI users from a file into a standalone
function it becomes easier to use the RAPI reques...
Michael Hanselmann
09:11 pm Revision e3a25810: luxi: Add list of all requests
This will be used in a unittest for RAPI testing utilities.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re...
Michael Hanselmann
09:11 pm Revision da04c447: RemoteApiHandler: Add support for mocked LUXI client
This will be used for providing a type-checking RAPI client for tests.
Signed-off-by: Michael Hanselmann <hansmi@goo...
Michael Hanselmann
06:41 pm Revision ef8270dc: Add absolute grow-disk mode at CLI level
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:41 pm Revision 26a5056d: Add grow-disk tests in QA
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:41 pm Revision f5e6a62c: Man page update for grow-disk
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:41 pm Revision e7f99087: Add 'absolute' grow-disk mode at OpCode/LU level
This also improves the log messages for the (default) relative mode
("by %s to %s").
Signed-off-by: Iustin Pop <iust...
Iustin Pop
06:40 pm Revision fa47242b: Ensure that the grow disk amount is positive
The CLI currently doesn't permit this, but a direct job submission
would allow it.
Signed-off-by: Iustin Pop <iustin...
Iustin Pop
05:17 pm Revision 21864565: Log all external commands execution
This logs all external commands in normal (non-debug) mode. This will
leak the DRBD secrets, but in any case we do lo...
Iustin Pop

04/23/2012

05:52 pm Revision 59a8fe48: QA: Add default setting for tests
Commit 1010ec70b1 enabled all tests by default. In some scenarios where
the configuration is static one may not want ...
Michael Hanselmann

04/20/2012

09:12 pm Revision 0de585fa: Update NEWS to mention that CertificateError change.
Signed-off-by: Chris Schrier <schrierc@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Chris Schrier
09:01 pm Revision 4b129313: Change CertificateError to subclass GanetiApiError
Signed-off-by: Chris Schrier <schrierc@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Chris Schrier
08:58 pm Revision 971b3a98: Add opcode parameter descriptions
Fixes QA after commit cfdf561dade7.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Chris Schrier...
Michael Hanselmann
07:11 pm Revision dc4bdf73: Stop acquiring BGL for LUXI queries
Short description: This fixes an issue whereby masterd would become
unresponsive on the LUXI socket, leading to clien...
Michael Hanselmann
07:11 pm Revision cfdf561d: Stop using locks in LUXI "QueryTags"
Also mark it as deprecated in NEWS as normal queries can be used
instead.
Signed-off-by: Michael Hanselmann <hansmi@...
Michael Hanselmann
07:11 pm Revision dff5f600: Convert LUClusterConfigQuery to query2
The main intention of this patch is to make it possible to retrieve
cluster tags via query2. While at it I decided to...
Michael Hanselmann
05:19 pm Revision 496d5ac8: Fix RAPI QA with exports via query2
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:19 pm Revision b31176b0: Remove unused constants
These are not used anywhere in Python or Haskell.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by:...
Michael Hanselmann

04/19/2012

09:04 pm Revision 0fdf247d: Convert listing exports to query2
This solves one case where locks are acquired during LUXI queries.
Pretty late into the transition I noticed that OpB...
Michael Hanselmann
09:04 pm Revision dd27bc21: utils.algo: Use str.isdigit instead of regular expression
str.isdigit is about 4x faster than using a regular expression ("\d+").
This is in the inner sorting code so speed ma...
Michael Hanselmann
11:44 am Revision b5800ee9: Include PycURL error code in GanetiApiError.
Signed-off-by: Chris Schrier <schrierc@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Chris Schrier

04/18/2012

07:13 pm Revision b4b3266b: Drop objects.QueryRequest
It was only used in one place and wasn't really necessary.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Rev...
Michael Hanselmann
07:07 pm Revision ed4d8889: gnt-os modify: Add "--submit" option
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:07 pm Revision c5a66db3: gnt-node: Add "--submit" and "--priority" to commands
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:07 pm Revision f70bb622: gnt-instance: Add "--submit" and "--priority" to commands
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:07 pm Revision dcbeccd9: gnt-group: Add "--submit" and "--priority" to commands
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:07 pm Revision 745dae57: gnt-cluster modify: Add "--submit" option
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:07 pm Revision f5c0c206: gnt-backup: Add "--submit" to two commands
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:06 pm Revision 13ddcb50: Document "--submit" in ganeti.7
Like “--priority” and “--dry-run”, the “--submit” option is available
for many commands and can be documented in a ce...
Michael Hanselmann
05:01 pm Revision 4faa4861: Fix further QA failures due to query changes
Hopefully these will be the last ones…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann...
Iustin Pop
01:20 pm Revision abe362d3: Fix error in opcode result processing
LUXI queries are processed without callbacks (see
server.masterd.ClientOps._Query). With commit 07923a3c the logic fo...
Michael Hanselmann

04/17/2012

09:20 pm Revision 96897af7: Add "show" as alias for "info" to gnt commands
This patch adds support for "show" as an alias for "info" to
gnt-(cluster|instance|node|os). It already exists in gnt...
Alexander Schreiber

04/16/2012

07:30 pm Revision 07923a3c: Copy debug level, priority and set comment for LU-generated opcodes
Before this patch, a node evacuation submitted with high priority would
only compute the solution at that priority, b...
Michael Hanselmann

04/13/2012

10:16 pm Revision 6d1e4845: Fix QA failures with "gnt-job list"
Jobs have no “name” field.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@goo...
Michael Hanselmann
04:20 pm Revision f037e9d7: gnt-job list: Add options for commonly used filters
While “gnt-job list” would also accept filters on the command line (e.g.
“'status == "error"'”, having shortcuts in t...
Michael Hanselmann
04:19 pm Revision 5ad68a23: Merge branch 'devel-2.5'
* devel-2.5: (29 commits)
gnt-* {add,list,remove}-tags: Unify options
Bump version for 2.5.0 final release
conf...
Michael Hanselmann

04/12/2012

08:53 pm Revision 6bc3ed14: gnt-* {add,list,remove}-tags: Unify options
- Listing tags is a query, so neither “--priority” nor “--submit” make
sense
- Support both options for adding/remo...
Michael Hanselmann
08:52 pm Revision ce445897: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Bump version for 2.5.0 final release
configure.ac: Fix “too many arguments” error
Fix extra white...
Michael Hanselmann

04/11/2012

09:27 pm Revision c434401a: Bump version for 2.5.0 final release
Also update NEWS file.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google....
Michael Hanselmann
09:26 pm Revision 6cd4e775: Merge branch 'devel-2.4' into stable-2.5
* devel-2.4:
Fix extra whitespace
Further fixes concerning drbd port release
Fix a bug concerning TCP port rele...
Michael Hanselmann
09:26 pm Revision e2e8af73: configure.ac: Fix “too many arguments” error
If GHC_PKG_QUICKCHECK contains multiple values, the test would fail
with “too many arguments”.
Signed-off-by: Michae...
Michael Hanselmann
09:25 pm Revision 612f7fd4: Fix extra whitespace
Sorry, didn't catch this before…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@goog...
Iustin Pop
07:34 pm Revision 42f25b0b: Further fixes concerning drbd port release
Commit 3b3b1bc does not entirely fix the bug introduced in commit
f396ad8. It fixes consistency of config data in per...
Dimitris Aragiorgis
07:14 pm Revision 2522b7c4: Fix a bug concerning TCP port release
Commit f396ad8 returns the TCP port used by DRBD disk back to the
TCP/UDP port pool using AddTcpUdpPort().
However, ...
Dimitris Aragiorgis
« Previous
Next »
 

Also available in: Atom