Activity
From 03/21/2011 to 04/19/2011
04/19/2011
- 07:41 pm Revision 675e2bf5: Fix master IP activation in failover with no-voting
- Thanks to net.for.hub@gmail.com for reporting this. The logic in
masterd.CheckMasterd did an early return in case of ... - 06:41 pm Revision 6e7f0cd9: disk wiping: fix bug in chunk size computation
- The current wipe_chunk_size computation is doing min(int_value,
float_value). For small disks (below 10GiB), the actu... - 04:11 pm Revision 9ff4f2c0: Update manpages and other documents with editor settings
- No rewrapping is done in this patch, just updates to the settings.
Signed-off-by: Michael Hanselmann <hansmi@google.... - 03:56 pm Revision 1b1a08e8: gnt-group list: Query filter support
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:56 pm Revision 2afd577f: gnt-node list: Query filter support
- Update manpage, quote field names.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iu... - 03:54 pm Revision 87e87959: gnt-instance list: Query filter support
- Update manpage, quote field names.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iu... - 03:38 pm Revision a0aa6b49: Fix bug in watcher
- If “utils.RunParts” were to raise an exception, a log message was
written and the code continued to run. Due to the e...
04/18/2011
- 06:55 pm Revision b107fe05: opcodes: Change parameter type definition for query filter
- The old definition wouldn't accept integers.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iust... - 06:55 pm Revision 442587bf: cli: Add option to force names to be treated as filter
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:55 pm Revision 2928de47: cli: Add support for parsing query filters
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:55 pm Revision 3f2f55bb: qlang: Add function to distinguish filters from names
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:55 pm Revision cb1e6c3c: cli: Error reporting for query filter parsing
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:55 pm Revision 7578ab0a: qlang: Add parser for query filter language
- With this parser, command line utilities will be able to provide filters
through query2 in a simplistic language. Exa... - 06:55 pm Revision 3802f3cf: Update ganeti.7 manpage for query filter language
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:58 pm Revision 6a062ff9: htools: make some error messages more explicit
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 11:56 am Revision 7c670076: Add instance query field for OS parameters
- These were not available as a query field before. Update unittests
and description text for the other “..params” fiel...
04/14/2011
- 07:35 pm Revision 65a884ef: QA: also run gnt-cluster repair-disk-sizes
- So that we don't happen again to break this forever without realising
it.
The patch also replaces one ' with ".
Sig... - 01:33 pm Revision 4a2c0db0: Release locks before wiping disks during instance creation
- Ganeti 2.3 introduced an optional feature to overwrite an instance's
disks on creation. Unfortunately the code kept a... - 11:37 am Revision e8f472d1: Fix shared_file_storage_dir on upgrades
- If the cluster was upgraded from 2.4 or earlier, this key won't exist
(it's only set to a correct value on cluster in... - 11:37 am Revision 3e8b5a9c: QA: run the redist-conf command
- This was (AFAICS) completely missing from the QA suite.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: G... - 11:36 am Revision 2afc9238: Prevent ssconf values from having non-string values
- For whatever reason, my test cluster managed to acquire
shared_file_storage_dir with a None value, instead of empty
s... - 11:35 am Revision 9cbc1edb: Add some tests for the auto_balance attribute
- It tests node add/remove secondary, rather than cluster-level N+1
checks, but it's better than nothing.
Signed-off-b... - 11:35 am Revision 929b60d8: Node operations: take into account auto_balance
- This patch changes the add to secondary/remove from secondary code to
not deduct/add the instance's memory if the ins... - 11:35 am Revision bc782180: Read/write auto_balance via Text
- This also means _another_ change in the text format; we really should
move to json…
The unittests are also update fo... - 11:34 am Revision a041ebb5: Read auto_balance via Rapi
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodato Simo <dato@google.com> - 11:34 am Revision 6880526c: Read auto_balance via Luxi
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodato Simo <dato@google.com> - 11:33 am Revision 93439b1c: Show the auto_balance flag in the instance listing
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Adeodato Simo <dato@google.com>
04/13/2011
- 02:22 pm Revision ccfa86ba: cli: Replace hardcoded strings with constants
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 01:01 pm Revision a9d68e40: utils.WriteFile: Close file before renaming
- Issue 154 (http://code.google.com/p/ganeti/issues/detail?id=154)
reported an “Operation not supported” error when wri... - 01:01 pm Revision 154d7ba5: Fix distcheck
- README is not copied to the build tree.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Po... - 01:01 pm Revision accbf5e3: Nicer formatting for group query error
- Before this patc the message would look like “Some groups do not exist:
[u'foo', u'bar']”, now it's “Some groups do n... - 01:00 pm Revision 69d1b79d: gnt-instance.8: Fix wrongly formatted title
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
04/12/2011
- 11:55 am Revision 49e11c49: Some more changes to Makefile.am for htools
- I duplicate the BINARY= rule in the ghc invocation in order to be able
to silence the if, which was confusing.
Addit... - 11:55 am Revision c352b0a9: Add a new attribute to Instance.Instance
- This will mirror Ganeti's be/auto_balance one, which we need to use to
properly match N+1 computations.
Signed-off-b...
04/08/2011
- 01:41 pm Revision 9488fd1d: Update version in README
- Also add a check to Makefile's check-local target.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by...
04/07/2011
- 01:56 pm Revision 10028866: htools: Make opcode naming consistent with Ganeti codebase
- This patch just cleans up the htools codebase to make it more consistent
with the naming of the Ganeti codebase.
Sig... - 01:24 pm Revision af7b6689: Merge branch 'devel-2.4'
- * devel-2.4:
LUInstanceQueryData: Don't acquire locks unless requested
Increase the lock timeouts before we block... - 12:46 pm Revision 76ae1d65: Merge branch 'stable-2.4' into devel-2.4
- * stable-2.4:
Add error checking and merging for cluster params
Clarify --force-join parameter message
Treat em... - 12:36 pm Revision 9470b6ee: OpCodes.hs: make allow_failover optional
- And default to False, like in the Python codebase.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N... - 12:36 pm Revision a810ad21: htools: add an utility function for JSON parsing
- This allows extracting values from a JSON object that might miss, but
have a well-defined default value.
Signed-off-... - 12:36 pm Revision 16a6192d: Two small Makefile fixes related to htools
- First, fix hs-coverage on non-pristine tree, where the index.html file
already existed, and second, disallow compilat...
04/06/2011
- 08:01 pm Revision 8d66f58a: htools: Use OpMigrateInstance with allow_failover option
- Before hbal decided on the fly if an instance is migratable or not. As
we implemented failover fallback in commit d5c... - 07:47 pm Revision dae661a4: LUInstanceQueryData: Don't acquire locks unless requested
- Until now LUInstanceQueryData always acquired locks for the instance(s)
and nodes involved. In combination with long-... - 04:03 pm Revision e9c487be: gnt-instance migrate: Adding --allow-failover option
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:03 pm Revision d5cafd31: TLMigrateInstance: Merge failover code, allow fallback
- As the code for failover for checking is almost identical it's an easy
task to switch it over to the TLMigrateInstanc... - 03:49 pm Revision d385a174: Increase the lock timeouts before we block-acquire
- This has been observed to cause problems on real clusters via the
following mechanism:
- a long job (e.g. a replace-... - 02:05 pm Revision bbfed756: utils: Add function generating regex for DNS name globbing
- The intent of this function is to be able to provide a globbing operator
or query filters. One should be able to say,... - 01:37 pm Revision aef59ae7: Verify file consistency using centrally computed list
- Until now “gnt-cluster verify” (LUClusterVerify) would compute its own
list of files to check for consistency. This l... - 01:37 pm Revision 5643d67e: cmdlib: Factorize computation of ancillary files
- … and change the logic in _RedistributeAncillaryFiles. The virtually
same list of files will be used to verify the fi...
04/05/2011
- 03:20 pm Revision bc385fa0: qlang: Remove OP_GLOB operator
- It'll be implemented using OP_REGEXP by the parser.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b... - 03:20 pm Revision 23d0a608: query: Add implementation of regex match operator
- So far this operator was not implemented. This patch adds an additional
value preparation function to the function ta...
04/04/2011
- 07:30 pm Revision a7761c12: cmdlib: Fix mistake made in commit 75c7520f0
- Commit 75c7520f0 used the wrong constant. I double-checked all other
changes made in the commit.
Signed-off-by: Mich... - 05:59 pm Revision 75c7520f: cmdlib: Replace hardcoded values with constants
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:47 pm Revision fe295df3: daemon.py: move startup log message before prep_fn
- Before this, the output in the rapi daemon log was:
2011-04-04 03:09:51,026: ganeti-rapi pid=17447 INFO Reading users... - 02:47 pm Revision 0942620b: Display the actual memory values in N+1 failures
- This changes the display from:
Mon Apr 4 02:29:46 2011 * Verifying N+1 Memory redundancy
Mon Apr 4 02:29:46 2011 ... - 02:41 pm Revision 6d267b81: Update iallocator.rst for multi-reloc mode
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
04/01/2011
- 04:42 pm Revision 7fa310f6: RAPI: Convert instance shutdown to the new FillOpCode
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:12 pm Revision 713a79e7: Fix QA breakage caused by 3fd7f6524
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
03/31/2011
- 07:47 pm Revision ebcd61bb: ssh.VerifyNodeHostname: remove the quiet flag
- This is not needed for this function, and can interfere with debugging
of ssh failures.
Signed-off-by: Iustin Pop <i... - 07:24 pm Revision c7d3a832: Add a simple wrapper over utils.Retry
- The new wrapper makes moving legacy code to utils.Retry or adding
retries in existing code simpler.
Signed-off-by: I... - 04:53 pm Revision e5395072: Expose whether htools was enabled to Python code
- This exports whether htools was enabled at configure-time, and adds a
constant for our reference iallocator.
Signed-... - 04:53 pm Revision d1e9c98d: Automatically enable hail if enabled and found
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:44 pm Revision d6491981: test.ganeti.process_unittest: Fix race condition
- There was a race condition on heavily loaded testsystem causing randomly
to fail the timeout unittests as the signal ... - 12:02 pm Revision 1ebe6dbd: Improve references to htools in the documentation
- Was not sure about the bit in admin.rst, hope it's fine.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
03/30/2011
- 04:45 pm Revision fd0bc853: Clarify the need for QuickCheck/Haskell tests
- Expands the devnotes.rst doc and adds warnings in the Makefile.
Signed-off-by: Iustin Pop <iustin@google.com>
Review... - 02:51 pm Revision 9a8ae794: RAPI client: Remove support for version 0 instance creation requests
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:51 pm Revision 3fd7f652: RAPI server: Drop support for instance creation format 0
- Ganeti 2.1.3, released in June 2010, added support for a new, extensible
instance creation request format, called ver...
03/29/2011
- 06:23 pm Revision d914c76f: Improved GanetiRapiClient docstrings
- - Added @rtype and/or @return where missing
- Fixed @param for Query() filter_ parameter (colon was missing)
Signed-...
03/28/2011
- 03:08 pm Revision 4055b109: Add design for inter-group instance moves (multi-reloc)
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:06 pm Revision 61791108: iallocator.rst: refactor for readability; minor improvements
- This commits breaks down the "Input message" section of iallocator.rst into
two separate subsections: one detailing k... - 12:54 pm Revision a6c8fd10: Add error checking and merging for cluster params
- Set the default stderr logging level to WARNING so the relevant output
can be seen.
Signed-off-by: Stephen Shirley <... - 12:49 pm Revision e9f7d26a: Relax instance ERROR on admin_down on offline node
- This fixes a issue, where an stopped instances is reported as ERROR
in cluster verify if it lives on a offline node. ...
03/25/2011
- 03:53 pm Revision 6a373640: Implement submitting jobs from logical units
- The design details can be seen in the design document
(doc/design-lu-generated-jobs.rst).
Signed-off-by: Michael Han...
03/24/2011
- 08:50 pm Revision 5e9bcdf4: iallocator.rst: give pointers for alloc_policy semantics
- Signed-off-by: Adeodato Simo <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 08:50 pm Revision ea158460: Doc fix in iallocator.rst: multi-evac requires "evac_nodes"
- The request argument for multi-evacuate mode is "evac_nodes", not "nodes"
(the example later in the file has the corr... - 06:17 pm Revision 604c175c: watcher: improve logging a bit
- Add some debug logging to detail why we don't run some steps.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed... - 04:16 pm Revision 66287fa8: RAPI: Document need for Content-type header in requests
- This was added to the NEWS file in commit ab221ddf, but never
documented properly.
Signed-off-by: Michael Hanselmann... - 02:49 pm Revision d1b47b16: Fix output for “gnt-job info”
- If the result of an opcode was a non-empty dictionary, it
would be impossible to differenciate between input and resu... - 10:29 am Revision 0c39d5eb: Remove old ensure-dirs (no longer needed)
- Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 10:29 am Revision 0d2bf835: Rewrite of ensure-dirs in python
- I provided unittest to test the important pieces of the infrastructure.
The one remaining function (ResuriveEnsure) i...
03/23/2011
- 06:35 pm Revision 07dde0c1: hs-coverage: make a symlink hpc_index.html
- This allows Apache to display the directory in a nicer way.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-b... - 06:35 pm Revision c478f837: Another attempt at fixing htools build without curl
- OK, my previous small fix was not good. There is another issue: haddoc
(the documentation generator) needs to pass th... - 06:35 pm Revision 2a8e2dc9: Fix some lint warnings in htools code
- hlint gives more suggestions, but some make the code (IMHO) harder to
read.
Signed-off-by: Iustin Pop <iustin@google... - 06:35 pm Revision d5072e4c: Fix lint errors in the htools code
- These are just changes from hlint suggestions. Still compiles and
passes unittests.
Signed-off-by: Iustin Pop <iusti... - 06:17 pm Revision 98ed5092: Add opcode summary to SubmitManyJobs errors
- Requested-by: Iustin Pop <iustin@google.com>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti... - 06:09 pm Revision ed9fda24: Add design for submitting jobs from LUs
- This patch adds a design document describing how jobs can be submitted
from within LUs.
Signed-off-by: Michael Hanse... - 03:18 pm Revision 2aa65bf0: Fix Haskell unittests without RAPI
- Since we don't test for now the RAPI backend directly, we can simply
skip the import. Later we can make a conditional... - 02:28 pm Revision 1375e1d9: Add import/export version 2 design document
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:28 pm Revision 278ddaa9: Add design document for lighttpd as HTTP server
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:28 pm Revision 539f195a: Add design document for X509 CA
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:27 pm Revision 30841576: Wrap long lines in configure.ac
- - Use m4_normalize to make single-line strings while removing
unnecessary spaces
- Wrap lines longer than 80 charac... - 01:25 pm Revision 77a180f6: Update INSTALL and devnotes.rst with Haskell notes
- This documents the needed libraries for Haskell development. It also
fixes a tiny typo in devnotes.rst.
Signed-off-b... - 01:25 pm Revision 22c5390d: Revert and change the apidoc and coverage dirs
- Based on Michael's suggestion, this patch partially reverts my
changes. The new directories are:
- doc/api/py
- doc/... - 01:25 pm Revision cc6d2673: Rename away htools/NEWS
- Also add mention about it being obsolete.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselm... - 01:25 pm Revision c3f67183: Cleanup the Haskell-related Makefile.am variables
- This should be more readable now. I wanted to even use the nicer
_SOURCES, but _SOURCES is special in Automake (again...
03/22/2011
- 06:47 pm Revision 191ff68c: Move hlint rule to the main Makefile
- Since we do have errors currently, this is not enabled from the main
'make lint' rule. That will get cleaned up later... - 06:47 pm Revision 8efa942b: Remove obsolete htools/Makefile
- Only one target wasn't ported over (the TAGS one), as hasktags is not
available easily in distributions, so it doesn'... - 06:47 pm Revision 7617fd6b: htools: install hail in the iallocator dir
- Instead of bindir. We do this by adding a new allocdir variable, and
redirecting hail to it.
Signed-off-by: Iustin P... - 06:47 pm Revision d6159933: Makefile.am: add rules for htools compilation
- This patch adds some (not very nice) rules for htools
compilation. Since automake only knows about some languages, an... - 06:47 pm Revision 83d96c36: Integrate htools's gitignore in top-level one
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:47 pm Revision 61d01c0f: Remove some obsolete htools files
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 06:47 pm Revision e5bd9de5: configure.ac: add checks for Haskell compiler/libs
- This patch adds an enable/disable option for htools (--enable-htools),
and associated tests for determining whether G... - 06:47 pm Revision 50ed57c1: htools: add option to control the use of RAPI
- RAPI needs the curl module, which is a binding to the libcurl C
library. This is more complex (can be compiled either... - 06:47 pm Revision d5506465: Fix parallel compilation for htools
- We do it via per-target-binary .o/.hi files. There are a few other
options, in the end this was chosen as different b... - 06:47 pm Revision b91e9518: Enable htools unittests and coverage reports
- Since we have two sets of coverage data, we make the naming
consistent:
- doc/py-coverage for Python coverage
- doc/... - 06:47 pm Revision a38bfce5: Enable htools apidoc generation and unify dir names
- Previously, Python api doc was under doc/api (which didn't match with
the target rule, apidoc). After this patch, we ... - 06:47 pm Revision ec8379bd: Port the live-test htools rule to the main Makefile
- This was a bit tricky, as the compilation from the top-dir changes the
paths in the .tix/.mix files.
Signed-off-by: ...
Also available in: Atom