Activity

From 03/21/2012 to 04/19/2012

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

03/30/2012

04:49 pm Revision d6f58310: Fix query unittests after converting jobs to query2
I missed these among some shelltest-related failures.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
Michael Hanselmann
03:03 pm Revision 09470dd8: QA: Add tests for “gnt-job list”
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:03 pm Revision 3086220e: gnt-job list: Switch to query2
This brings “gnt-job list” up to the same level as “gnt-instance list”
with filters. Further updates will add more pa...
Michael Hanselmann
03:03 pm Revision eba1aaad: gnt-job info: Convert to query2
Otherwise detecting unavailable jobs is hard (“status” is None, is this
an error or just an unavailable job?).
Signe...
Michael Hanselmann
03:03 pm Revision e07f7f7a: Add job support to query2 via LUXI
This enables the use of filters through query2 when listing jobs.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
03:03 pm Revision dc2879ea: jqueue: Cache prepared field list in _JobChangesChecker
… instead of re-calculating it on every file change.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Michael Hanselmann
03:03 pm Revision 12e0ee0d: NEWS: Deprecate LUXI calls replaced with query2
Adding the “luxi” namespace is necessary in “sphinx_ext”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revi...
Michael Hanselmann
03:03 pm Revision a06c6ae8: jqueue: Convert GetInfo to query2
This rather inefficient implementation (fields are evaluated on every
call to GetInfo) is not good for WaitForJobChan...
Michael Hanselmann
03:03 pm Revision 9665bb3a: query: Add definitions for job fields
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:02 pm Revision 03ec545a: qlang.MakeFilter: Enable use of different name field
Jobs don't have a “name” field, so we must be able to control
the field used for simple filters.
Signed-off-by: Mich...
Michael Hanselmann
03:02 pm Revision 26a72a48: Merge cli.FormatTimestamp and utils.FormatTime
… to some degree at least. Unittests are included.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
Michael Hanselmann
03:02 pm Revision 0b04b188: constants: Don't hardcode priorities for LOCK_ATTEMPTS_TIMEOUT
Also include unittest for LOCK_ATTEMPTS_TIMEOUT.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: ...
Michael Hanselmann
03:02 pm Revision 66abb9ff: jqueue._QueuedOpCode: Change a docstring
There was a typo and it's not necessary to repeat the class name.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
03:01 pm Revision c6a2c16e: locking: Remove unused OldStyleQueryLocks
No longer used after commit 090377807.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop...
Michael Hanselmann
02:19 pm Revision 54b010ca: 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

03/29/2012

06:28 pm Revision 3b3b1bca: 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

03/28/2012

08:24 pm Revision 8e2ed2e8: ganeti.initd: Add “status” action
Eric Rostetter sent a patch adding a “status” action, but unfortunately
his code was apparently specific to Red Hat. ...
Michael Hanselmann
08:24 pm Revision c9c33a28: Add whitelist for opcodes using BGL
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
07:29 pm Revision 2ac41278: Update IP pool management design doc
Update IP pool managenent design doc to be consistent
with the implementation.
* Add new NIC parameter: 'network'
...
Dimitris Aragiorgis
07:05 pm Revision 1501cd6b: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
LUOobCommand: acquire BGL in shared mode
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie...
Michael Hanselmann
05:12 pm Revision 6977943c: LUOobCommand: acquire BGL in shared mode
Fixed a typo so that now LUOobCommand acquires the BLG in shared mode, as
intended.
Signed-off-by: Bernardo Dal Seno...
Bernardo Dal Seno
12:27 pm Revision bd6d1202: RPC: Add a new client type for DNS only
This patch moves the “call_version” to a new RPC client definition and
then adds a new runner using the DNS resolver ...
René Nussbaumer
12:27 pm Revision 8ccecf10: LUNodeAdd: Make the version call only dependend on DNS
Also move the version check into prereq to abort before alter cluster
state if the version mismatch.
Signed-off-by: ...
René Nussbaumer

03/27/2012

06:10 pm Revision f6d62af4: Update install document
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:10 pm Revision 73225861: Update admin doc
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:10 pm Revision 832f8c6a: Update walkthrough document
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
06:10 pm Revision b8203e1e: Update default instance kernel version
We switch from vmlinuz-2.6-… to vmlinuz-3-…. To do this nicely, we
also add a ./configure-time setting for the KVM in...
Iustin Pop
06:10 pm Revision 727ee1ec: Update INSTALL and devnotes documents
Added the new Haskell library requirements, for both normal and
developer usage.
Furthermore, all commands are now c...
Iustin Pop
12:27 pm Revision 63b4bb1e: Fix escaping of percent signs in the shell lexer
Of course, we do have cases where we want to escape the percent signs,
and our regexes were not fully correct for thi...
Iustin Pop

03/26/2012

06:26 pm Revision 7142485a: Add a special lexer for sphinx/pygments
This will be used throughout our docs for better formatting example
shell sessions, with custom markup for comments, ...
Iustin Pop
06:06 pm Revision 01eb6409: ganeti.7: Add more filter examples
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
11:54 am Revision 74e60746: Enable -Werror by default for htools
Since the code base is now "clean" across all supported GHC versions
(6.12-7.4), we can enable -Werror again.
Signed...
Iustin Pop
11:54 am Revision 30d25dd8: Switch to new-style exception handling
Currently, we're using Prelude.catch to handle I/O errors in
htools. This style of error handling has been deprecated...
Iustin Pop
11:54 am Revision d80e3485: Change a type computation for compatibility with 6.12
This is the last warning related to TemplateHaskell that was 6.12
specific; for some reason, it doesn't "see" that tr...
Iustin Pop
11:53 am Revision ffbd9592: Fix compatibility with TemplateHaskell from GHC 7.4
GHC 7.4 has updated the TemplateHaskell library, and it turns out that
the way we built the JSON instance implementat...
Iustin Pop
11:30 am Revision 30f2802f: Add trivial tests for gnt-* cli
While testing some other stuff, I realised that the gnt-* commands
could be broken (as in, the script fails with synt...
Iustin Pop
11:04 am Revision 3c4afa2e: Fix hardcoded Xen kernel path
We already have a ./configure-time variable for this, but it seems to
be actually unused.
Signed-off-by: Iustin Pop ...
Iustin Pop

03/23/2012

03:58 pm Revision 566db1f2: Fix docstring bug
Fix a typo introduced in commit c85b15c1, which breaks epydoc.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
03:56 pm Revision 73b0fa69: Enable selection between Python and Haskell confd
This patch changes configure.ac Makefile.am so that the user can pass:
- --disable-confd (or --enable-confd=no) to d...
Iustin Pop
03:56 pm Revision acf70442: Fix qemu-img configure.ac check
By accident, commit a002ed7 introduced the qemu-img checks in the
htools block. I found this also by mistake while in...
Iustin Pop
02:45 pm Revision 744dd57c: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
LUNodeAdd: Verify version in Prereq
Fix LV status parsing to accept newer LVM
Bump version for 2....
Guido Trotter
01:27 pm Revision 2d453213: LUNodeAdd: Verify version in Prereq
There are other ways to leave the cluster in a broken state than just
the version check. However they are not very tr...
René Nussbaumer
01:23 pm Revision e2ea8de1: LUNodeAdd: Verify version in Prereq
There are other ways to leave the cluster in a broken state than just
the version check. However they are not very tr...
René Nussbaumer
01:12 pm Revision 0304f0ec: Fix LV status parsing to accept newer LVM
LVM version 2.02.93 (or at least, sometimes after .88) has extend the
lv_attr field with two more flag; we only care ...
Iustin Pop

03/22/2012

08:44 pm Revision c85b15c1: cmdlib: Factorize checking acquired node group locks
The “cur_group_uuid” parameter is optional to prepare for using the
factorized code from LUInstanceQueryData.
Signed...
Michael Hanselmann
08:44 pm Revision 080fbeea: gnt-instance info: Show node group information
This requires acquiring the node group locks in shared mode.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R...
Michael Hanselmann
07:30 pm Revision 88a10df5: Rework exit model
While updating the confd code, I realised that we have _lots_ of
duplication in the exit model for the various progra...
Iustin Pop
05:38 pm Revision 18e2d065: Bump version for 2.5.0~rc6 release
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:10 pm Revision 3e5012c6: Fix out-of-tree builds
The new shell tests do not succeed out-of-tree, due to static paths
and other issues. This trivial patch fixes these ...
Iustin Pop
04:29 pm Revision a20e4768: cmdlib: Stop forking in LUClusterQuery
While debugging another issue we realized that LUClusterQuery forks.
This turned out to be the “platform.architecture...
Michael Hanselmann
04:01 pm Revision 53d4cdf1: Convert manual shell tests to shelltestrunner
This is more of a RFC… Basically most of the shell-based tests are
converted from exec+grep to shelltestrunner.
Thin...
Iustin Pop
03:58 pm Revision b714ff89: Add command line option for controlling syslog use
… and enable it in hconfd.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:58 pm Revision a6e2a138: Add support for syslog logging to Ganeti.Logging
Currently this is initialised to no from Daemon.hs, but will in the
future allow command-line options for controlling...
Iustin Pop
03:03 pm Revision 70567db0: locking: Notify only once on release
Don't notify for every released lock in shared mode. The last one is
enough.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
03:03 pm Revision 8d7d8b57: locking: Handle spurious notifications on lock acquire
This was already a TODO since the implementation of lock priorities in
September 2010. Under certain conditions a wai...
Michael Hanselmann
02:50 pm Revision 26082b7e: locking: Fix lock deletion with timeout
While working on another SharedLock fix I realized timeouts on lock
deletion don't work very well if the timeout actu...
Michael Hanselmann
02:50 pm Revision 6b27f535: Move _TimeoutExpired to utils
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
Andrea Spadaccini
02:46 pm Revision a5485ffc: LUClusterVerifyConfig: Share BGL, acquire all locks in shared mode
Instead of acquiring the BGL in exclusive mode (which blocks all other
operations), we acquire all locks for groups, ...
Michael Hanselmann
02:46 pm Revision 6fe4baf0: Revert "Stop acquiring BGL for LUXI queries"
This reverts commit 0fa753bad2cf5a0cf88953347e5da3aebbf21956.
Turns out there are more queries acquiring locks than ...
Michael Hanselmann

03/21/2012

05:56 pm Revision 596b2459: KVM: don't add -nographic using spice
This fixes issue 222.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@go...
Guido Trotter
02:08 pm Revision 0985325d: Only build hconfd if --enable-confd was passed
A later, more complete patch, will allow selecting between either the
Python version or the Haskell version. This is ...
Iustin Pop
12:37 pm Revision 3096524e: Build test helpers that point to hpc-htools
Instead of using just shell constructs to run hpc-htools correctly
(i.e. HTOOLS=role htools/hpc-htools …), let's add ...
Iustin Pop
12:37 pm Revision f183de56: Allow hail to read data from stdin
This patch makes hail treat '-' as denoting stdin, per the usual Unix
convention. This will help with testing.
Signe...
Iustin Pop
12:37 am Revision 19cff311: Update hconfd bind address handling
Instead of hardcoded IPv4 INADDR_ANY, this patch changes hconfd to use
either the any network for the configured clus...
Iustin Pop
12:25 am Revision aa3adf35: Add skeleton ssconf module
This currently has only one export function in it, which will be used
for future bind address functionality in daemon...
Iustin Pop
12:25 am Revision 1091021c: Add two utility functions
These both are work with/on the Result type, so we add them to
BasicTypes. The functions will be used as more generic...
Iustin Pop
12:25 am Revision 152e05e1: Add the bind-address option
This implements the same logic as the Python code: if the option is
not used, use the default appropriate for the clu...
Iustin Pop
« Previous
Next »
 

Also available in: Atom