Activity
From 01/03/2013 to 02/01/2013
02/01/2013
- 06:21 pm Revision 35e18c38: Merge branch 'devel-2.7'
- * devel-2.7: (24 commits)
Fix typo in ganeti-noded man page
QA: Run instance tests with different cluster configu... - 05:53 pm Revision 2e5a6203: LXC: adapt hv for newer lxc userspace tools
- Currently hv_lxc depends on the behavior and output of older LXC tools,
which have since changed, making it unable to... - 03:50 pm Revision e500d25f: Fix typo in ganeti-noded man page
- Add a missing "in".
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Michael Hanselmann <hansmi@goo... - 12:25 pm Revision deadfa13: QA: Run instance tests with different cluster configurations
- Instance tests are run with or without the exclusive-storage flag set. More
configurations can be added easily.
Sign... - 12:25 pm Revision 5de31440: QA: Instance tests check the configuration before running
- Instance test functions check the current configuration, and they will run
the actual tests only if the configuration... - 12:25 pm Revision c99200a3: QA: Use lists of nodes as argument to instance tests
- Some instance test functions took two node arguments, some took one, and
some took two but the second argument could ... - 12:25 pm Revision a36f690c: QA: Run cluster-verify after instance tests
- We want to make sure that instance operations don't leave the cluster in a
bad state. The "instance-remove-drbd-offli... - 12:25 pm Revision 27eba428: QA: Refactored launching of the various instance tests
- The code launching instance tests for "plain" and "drbd" templates has been
unified. In this way it's easier to add m... - 12:24 pm Revision 7d4f1b45: QA: Added functions to allocate/free N nodes at once
- These make possible to simplify the logic of tests requiring more
nodes. Used in the following patches.
Signed-off-b... - 12:23 pm Revision 6a0f22e1: QA: Added exclusive_storage to qa_config
- QA configuration now tracks the state of the exclusive_storage flag at
cluster level. This will be used to selectivel... - 12:20 pm Revision deaa347b: QA fix: TestInstanceExportWithRemove() updates configuration
- When the instance is removed from the cluster by this test, it's also freed
in the QA configuration.
Signed-off-by: ... - 12:20 pm Revision cf632f3e: QA: Better initialization of a global dictionary
- The global 'cfg' variable is initialized to an empty dictionary, so there
is no more need to disable some pylint chec... - 12:20 pm Revision 906a0346: QA: Added disk template to config
- The disk templates used by the instances are tracked in the QA
configuration. This will be used to selectively enabl... - 12:20 pm Revision e4c346a5: QA cleanup: Removed instance-disk-failure test
- The test was broken, out of sync with the rest of the code, and prone to
crashes. Until someone does a better job, it... - 12:19 pm Revision 21e2734f: QA: Cluster-verify reports shared PVs with exclusive storage
- Exclusive storage forbids sharing PVs between unrelated LVs. This is a test
that cluster-verify correctly report such... - 12:16 pm Revision 23610ff8: QA: Added constants for LVM volumes
- The LVM volume group becomes a configurable parameter, and a prefix for
logical volume names used in tests is introdu... - 12:01 pm Revision cfc24646: Fix logging arguments formatting
- This fixes: “ganeti/hypervisor/hv_kvm.py:93: [W1201, _GetTunFeatures]
Specify string format arguments as logging func... - 01:35 am Revision efd58d99: QA: Templates incompatible with exclusive storage reported
- Cluster-verify should report instances whose disk template is not
compatible with the exlusive storage setting.
Sign... - 01:35 am Revision e8b919a1: QA: Uniformity check for exclusive_storage in cluster-verify
- Cluster-verify should report nodes in the same nodegroup with different
values of the exclusive_storage flag.
Signed... - 01:34 am Revision 50ef6a41: QA: Test for basic features of exclusive storage
- Check that creation of instances doesn't trigger any error.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
R... - 01:34 am Revision 17cfeee9: QA: Added function to read cluster configuration fields
- This function will be used in following patches.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by:... - 01:32 am Revision 587f8ff6: QA: Added function to check cluster-verify result
- Now it's possible to check that cluster-verify reports all the expected
errors, instead of simply checking that it fa...
01/31/2013
- 04:53 pm Revision d9e2b496: Document better gnt-network
- Specify clearly that the nic parameters depend on the
network-to-nodegroup connection.
Clarify in gnt-network how in... - 04:53 pm Revision 8d090b90: Fix the gnt-instance section in the htools manpage
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com> - 03:03 pm Revision 29887bde: update 2.7 NEWS file
- Include a handful of important changes that weren't mentioned.
Signed-off-by: Guido Trotter <ultrotter@google.com>
R... - 03:03 pm Revision 1304ab11: Update 2.7 design doc
- Move two designs that have been implemented in 2.7 to design-2.7 and out
of drafts.
Other designs were partly implem... - 01:10 pm Revision fb251c2c: Disable live-RPC queries under split query
- Currently, the node listing RPC is very slow due to missing
parallelisation. For the 2.7 release, we reset these back...
01/30/2013
- 07:39 pm Revision 8072af6c: harep: create repair jobs
- Implement 'doRepair' to create a repair job from a list of opcodes if
the instance's policy allows it (otherwise set ... - 07:39 pm Revision aeb6ba44: Document that OpTestDelay/TestDelay take duration in seconds
- Also, fix @rtype and @return elements of utils.TestDelay(), which now
returns a tuple but this wasn't being indicated... - 07:39 pm Revision 8af72964: harep: do not wait for repair job completion to set tags
- Because of instance locks, after submitting a repair job we weren't able to
set the "pending" tag until at least the ... - 07:39 pm Revision 41238d27: harep: finish execution with a summary of instance states
- The harep tool prints messages for every action that it performs (or that
it doesn't perform). In case nothing is to ... - 07:39 pm Revision 3416e3e7: harep: initial parsing of tags
- Parse auto-repair tags to set each instance in one of ArHealthy, ArFailed,
or ArPendingRepair. The implementation tri... - 07:39 pm Revision a5e58418: harep: check for completed jobs at the start of the program
- As a first step before detecting any brokeness with instances, see if any
of our previous repairs have completed, and... - 07:39 pm Revision 4ba5f148: harep: pure function to detect brokeness with instances
- Add a 'detectBroken' function that determines whether an instance is in an
unhealthy state, and what's needed to repa... - 07:38 pm Revision b6d9bec8: Program/Harep.hs: add skeleton for the new auto-repair tool
- harep(1) detects certain kind of problems with instances and applies the
allowed set of solutions. See doc/design-aut... - 07:37 pm Revision de9d75c8: HTools/Types.hs: minor adjustments to auto-repair types
- In particular:
- make ArHealthy take an optional AutoRepairData; this allows to
represent the situation where ... - 07:37 pm Revision f5606cda: Fix typo ("Abrreviation" -> "Abbreviation" in Common.hs)
- Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 07:37 pm Revision 7d8b651e: Jobs.hs: add an execJobsWaitOk function
- This new 'execJobsWaitOk' returns "Bad" not only if an error occurs, but if
any of the submitted jobs doesn't succeed... - 07:37 pm Revision b8e76da8: Jobs.hs: start with a shorter delay in waitForJobs
- Instead of waiting 15 seconds every iteration of the waiting loop, start
with 0.5 seconds and increment exponentially... - 07:37 pm Revision 3f68544e: Jobs.hs: add a submitJobs function
- This new 'submitJobs' function doesn't wait for job completion, it just
returns the job IDs immediately.
Signed-off-... - 07:26 pm Revision 6bb939a2: Force conflicts check in LUNetworkDisconnect
- Until now if one disconnects a network with --no-conflicts-check
and then remove it, there is a possibility to leave ... - 07:26 pm Revision 1cce2c47: If _UnlockedLookupNetwork() fails raise error
- Make _UnlockedLookupNetwork() raise OpPrereqError (instead of returning
None) in case it does not find the requested ... - 07:26 pm Revision 0ae4b355: Removes check for conflicts from NetworkDisconnect
- This removes the check for conflicts from the Haskell
version of the OpCode NetworkDisconnect. This alignes
the Haske... - 07:12 pm Revision ea2bcb82: hv_kvm: Refactor getting TAP features, add tests
- Split retrieving supported features into a dedicated function which can
be mocked. Tests are added for both “_ProbeTa... - 06:13 pm Revision b76d4aaf: Merge branch 'devel-2.7'
- * devel-2.7:
hv_kvm: Original error message, keyword parameter
CLI.hs: fix double spaces in option help strings
... - 06:05 pm Revision 6f1e1921: hv_kvm: Original error message, keyword parameter
- - Include original error message when creating TAP interface failed
- Pass keyword parameter as such
Signed-off-by: ...
01/29/2013
- 06:23 pm Revision 5fee2c83: Checks for hypervisor constants
- Add two tests for hypervisor constants.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Po... - 05:08 pm Revision 516c52f2: CLI.hs: fix double spaces in option help strings
- Some help strings with continuation backslashes ('\') were providing a
space both before and after the backslash, res... - 03:07 pm Revision 125df9a8: Add fields 'inst_cnt' and 'inst_list' to network queries
- This adds the fields 'inst_cnt' and 'inst_list' to the
Haskell implementation of the network queries.
Signed-off-by:... - 03:06 pm Revision 2d3d843d: Moving network query helper functions to Network.hs
- So far, a couple of helper function for the network
queries resided in Config.hs. I figured it makes more
sense to mo... - 01:51 pm Revision 176dfd54: Add new NIC parameter to man page of 'gnt-instance'
- According to doc/design-network.rst, there is a new NIC
parameter 'network', which can be used to link an instance
to...
01/25/2013
- 06:12 pm Revision ae960018: More fields for network queries
- This adds more fields to the network queries:
- group_cnt, free_count, reserved_count, and map
Signed-off-by: Helga ... - 06:00 pm Revision ba258c08: Fix spelling issue in hroller.rst
- 'explicitly' was spelled the wrong way
Signed-off-by: Benjamin Kerensa <bkerensa@ubuntu.com>
Signed-off-by: Guido Tr... - 04:28 pm Revision f601723c: Merge branch 'devel-2.7'
- * devel-2.7:
kvm: fix bug while fetching -device list
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review... - 04:07 pm Revision d8784f7d: hv_xen: Fix issues with migration, add tests
- Commit 3d942d8 broke instance migration (“self._cmd” was set to None).
This patch fixes that issue, refactors “Migrat... - 03:25 pm Revision bc0fed4b: kvm: fix bug while fetching -device list
- _GetKVMOutput expects the command to succeed, but unfortunately on some
versions of kvm "-device ?" will output a cor... - 12:58 pm Revision 2edc1c79: hv_xen: Test various forms of getting instance/node info
- Test functions for retrieving instance and node information.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R... - 12:58 pm Revision 664b392d: hv_xen: Test stopping an instance
- Test stopping an instance, and ensure the configuration file still
exists after an instance couldn't be stopped.
Sig... - 12:58 pm Revision 396672cd: hv_xen: Test starting an instance
- Test starting an instance in normal mode, in paused mode, and in case of
failure.
Signed-off-by: Michael Hanselmann ... - 12:58 pm Revision 57270b2d: hv_xen: Test reading non-existent config file
- Check whether doing so raises an exception.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga... - 12:58 pm Revision b666f213: hv_xen: Test verifying hypervisor
- Test success and failure.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@... - 12:58 pm Revision 7610d884: hv_xen: Test removing config from "auto" directory
- Test whether any existing configuration file named after the instance is
removed from Xen's “auto” directory.
Signed... - 12:58 pm Revision 74a50c46: Establish base for testing Xen hypervisor abstraction
- There are two separate Xen hypervisors (HVM and PVM), as well as two
different Xen commands (xl and xm). This already... - 12:58 pm Revision 64a66bd2: hv_xen: Test errors while writing config file
- Test error handling while writing Xen configuration files.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Rev... - 12:58 pm Revision 1dee2041: hv_xen: Test using unknown Xen command
- This tests “unknown” values of “constants.XEN_CMD”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b... - 12:58 pm Revision 31da5ab5: hv_xen: Split StopInstance
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com> - 12:58 pm Revision 3d942d8b: hv_xen: Abstract running Xen commands
- Instead of using the “XEN_CMD” constant in multiple places, that is now
all in a single place and can easily be chang... - 12:57 pm Revision 89c4e365: Merge branch 'devel-2.7'
- * devel-2.7:
hv_xen: Remove config after shutdown was successful
Signed-off-by: Michael Hanselmann <hansmi@google....
01/24/2013
- 08:30 pm Revision effc9cad: List networks: call client explicitely
- This way, it is easier to make it call the haskell
implementation of the network queries.
Signed-off-by: Helga Velro... - 08:30 pm Revision 05092772: First part of Network Queries in Haskell
- This is the beginning of the implementation of network
queries. This includes establishing all infrastructure
to run ... - 08:30 pm Revision a64cc96b: Convert Maybe results to RSUnavail
- When displaying query results of type Maybe, one could use the
function rsMaybe. Unfortunately, this function maps 'N... - 08:30 pm Revision b43064d0: Extend config by networks and networks by UUIDs
- For network queries to work, we need to extend the general
config type to include all available networks. Additionall... - 06:00 pm Revision 3673a326: Typo in comment of network type
- Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:35 pm Revision 4b8b172d: hv_xen: Remove config after shutdown was successful
- If stopping an instance failed, the configuration would already be gone
and other operations depending on it (e.g. mi... - 02:29 pm Revision c3d839f5: hv_xen: Simplify writing configuration
- Instead of calling _WriteConfigFileStatic from both derived classes,
those now only return the content (minus the “do... - 02:29 pm Revision 0a903309: hv_xen: Prepare for unit tests, remove {static,class}method
- Unit tests will have to specify a custom Xen configuration directory (a
temporary directory). To this end “hv_xen.Xen... - 02:27 pm Revision d0bb3f24: hv_xen: Factorize and test disk configuration
- The “_GetConfigFileDiskData” function is moved to module level and
cleaned up (module-level constants for letters and... - 01:58 pm Revision 06c9a520: hv_xen: Refactor getting node information, add tests
- Refactor and add tests for getting node (Domain-0) information.
Signed-off-by: Michael Hanselmann <hansmi@google.com... - 01:57 pm Revision b255379d: hv_xen: Refactor running & parsing "xm list", add tests
- This patch refactors “_RunXmList” and adds some tests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewe... - 01:46 pm Revision d82dec68: Merge branch 'devel-2.7'
- * devel-2.7:
hv_*: Always return from Verify, style fixes
_VerifyErrors()._Error() and _ErrorIf() are now consist... - 12:46 pm Revision cd04dfd2: hv_*: Always return from Verify, style fixes
- Change all “Verify” methods in hypervisor abstractions to explicitely
return None if no problem was detected. Remove ... - 10:50 am Revision 9842f020: Check minimum size of networks on creation
- When creating a network, so far no size constraints were checked.
We now limit the size of a network to a /30 or bigg... - 10:46 am Revision 9928c63e: Fix syntax error in QA's sample config
- The additional comma makes this file invalid JSON.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Mi... - 10:46 am Revision ea7693c1: Network QA
- This adds a script for the QA of 'gnt-network'. So far it
covers adding/removing and connecting/disconnecting network...
01/23/2013
- 07:49 pm Revision 0c348b86: constants: Add list of known Xen commands
- These will be used in unittests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iust... - 06:34 pm Revision 8bb2df7d: _VerifyErrors()._Error() and _ErrorIf() are now consistent
- _Error() didn't contain the logic for demoting errors to warnings and for
marking an operation as failed. Now _ErrorI... - 03:45 pm Revision 31b8f1e6: Merge branch 'master' into devel-2.7
- * master:
Handle the result of QueryGroups() correctly
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Revie... - 03:25 pm Revision 286d0218: Handle the result of QueryGroups() correctly
- If no group is given for the “gnt-network connect“/“… disconnect”
commands, the client uses the result of “QueryGroup... - 03:24 pm Revision af3aea48: Handle the result of QueryGroups() correctly
- If no group is given for the “gnt-network connect“/“… disconnect”
commands, the client uses the result of “QueryGroup... - 01:41 pm Revision 76c364d9: hv_xen: Compose file name outside error handling
- In _ReadConfigFile, the filename should be prepared outside the
try/except block. Fixes bad code formatting, too.
Si...
01/22/2013
- 06:27 pm Revision 00ef625c: testutils: Module-level method for reading test data
- This patch moves the functions “_ReadTestData” and “_TestDataFilename”
to module level. They do not depend on a class... - 04:05 pm Revision 0d07a850: hv_base: Remove empty constructor
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com> - 04:05 pm Revision 3b721842: Add test for backend._GetBlockDevSymlinkPath
- Add a unit test for the trivial “_GetBlockDevSymlinkPath” function in
backend (small changes in the function were req...
01/21/2013
- 05:31 pm Revision af89fa76: Fix format string of KVM output
- This fixes a missing 's' in the format string and
the wrong quotes. Those bugs were introduced in
commit 6e043e60.
S... - 01:58 pm Revision d316b880: Renames and cleanup of variable names in confd
- The current names are quite confusing; this patch cleans up the
confusion by making sure we use different terms for t... - 01:57 pm Revision a6e054a8: Add a function to get the current time in microseconds
- In some cases we need higher resolution that seconds; I've settled on
microseconds as that is what 'threadDelay' want... - 01:57 pm Revision ce817701: Increase Haskell log file resolution
- Currently the Haskell logging goes with the default time formatting,
which lacks sub-second resolution. This is not g... - 01:57 pm Revision 01eea342: Change the polling thread sleep behaviour
- Currently, the polling thread sleeps at the end of its body; the
original reason was that when the thread initially s... - 01:57 pm Revision 7e7fa841: First part of confd timer changes
- This patch changes the resolution of the timers: the watcher timer
goes from 60s to 17s, and the polling-mode timer g... - 01:57 pm Revision c62df702: Start confd in notify mode if we can
- This patch changes the default model—where confd is always started in
polling mode—to a model where if possible we en... - 01:24 pm Revision 3190ad64: Explicitly load the config at confd startup
- Currently, confd main function doesn't load the config, but simply
forks the individual timer threads, which will—as ...
01/18/2013
- 05:12 pm Revision 525f0f98: Fix type of 'node_whitelist' request parameter
- If opportunistic_locking is used, then 'node_whitelist' parameter passed
to the allocator is set to the LU's owned no... - 05:12 pm Revision 347fa0f1: hv_xen: Add test for CPU pinning configuration
- Add a unittest for a function formatting CPU pinning information for
Xen's configuration.
Signed-off-by: Michael Han... - 05:12 pm Revision 6e043e60: kvm: deduplicate 'get output' code
- We had the same code twice, and were about to add a third time. Better
to collapse it into just one function.
Signed... - 05:12 pm Revision 6f4070cd: kvm: extract a regexp matching out of a for loop
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:12 pm Revision f0db563d: kvm: remove last version-based feature detection
- This was left behind because it required a different kvm invocation.
Now that we can add new ones cheaply (two consta... - 04:30 pm Revision a8e8c0c6: Make Xen config path a build-time option
- Stop hardcoding the path in “hv_xen.py”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Tr... - 03:40 pm Revision df1d5c8f: Makefile.am: Protect placeholders for sed
- If the placeholder has exactly the same name as the variable used in
autoconf it would be replaced as well. In the ca... - 03:39 pm Revision 94d5cee9: burnin: Don't keep hypervisor class around
- Just determine whether it can migrate and keep that value instead of the
full hypervisor class.
Signed-off-by: Micha... - 12:41 pm Revision 9fb621af: Text wrap in Haskell code
- This adds two functions in Utils.hs: 'wrap' and 'trim' along with some
simple tests. 'wrap' is used in Common.hs for ... - 12:13 pm Revision d38bef8e: Run pre-migrate hooks on primary node too
- Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr>
Reviewed-by: Guido Trotter <ultrotter@google.com>
01/17/2013
- 05:54 pm Revision 9d02edc6: Makefile: Allow tarball creation when man-in-doc is active
- Documentation with included man pages should not be distributed as it
contains fixed paths. Since the documentation w...
01/16/2013
- 08:57 pm Revision 82e3bf85: Check if KVM machine version is supported
- If machine version is passed as an hv param, a check is made
in target node whether this version is included in the s... - 07:43 pm Revision 11cf71c4: Revert "run-in-tempdir: Improve speed"
- This reverts commit dd60179dfd8 as it broke coverage for Python.
Signed-off-by: Michael Hanselmann <hansmi@google.co... - 07:09 pm Revision e32e1fb9: Verify that templates are compatible with exclusive storage
- cluster-verify reports instances with disk templates not compatible with
exclusive storage but that are running on no... - 07:09 pm Revision 14fe92c7: New RPC call for node verify in dns-only RPC client
- This will be used in node-add.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Michael Hanselman... - 07:09 pm Revision 525939d9: cluster-verify checks uniformity of PV sizes
- When exclusive_storage is set, cluster-verify complains if the size of PVs
is not uniform across a node group.
Signe... - 07:09 pm Revision d5a690cb: cluster-verify checks that PVs are not shared
- When exclusive_storage is set, cluster-verify complains if PVs are shared
among unrelated LVs.
Signed-off-by: Bernar... - 07:09 pm Revision 39eb39dc: Moved checks within LUClusterVerifyGroup
- Almost all instance-specific checks have been moved from the Exec method to
the _VerifyInstance method. This cleans u... - 07:09 pm Revision b496abdb: bdev.GetPVInfo() returns list of LVs
- This will be used for checks related to exclusive storage.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Re... - 07:09 pm Revision 58bc6241: add-node checks PVs
- add-node now performs a few checks on LVM before adding a node to the
cluster.
Signed-off-by: Bernardo Dal Seno <bda... - 07:09 pm Revision 8c3d6797: Small cleanup in constants.py
- - compat.UniqueFrozenset used in one more place, for consistency.
- The order of NV_XXX constants is fixed so that al... - 07:09 pm Revision 22d9752a: cluster-verify checks uniformity of exclusive_storage flag
- The value of the flag should be the same for nodes within the same group.
Signed-off-by: Bernardo Dal Seno <bdalseno... - 07:09 pm Revision 11064155: utils.LvmExclusiveCheckNodePvs() returns more info
- utils.LvmExclusiveCheckNodePvs() now returns the size of the smallest and
biggest PVs of a node. They will be used fo... - 07:01 pm Revision dd60179d: run-in-tempdir: Improve speed
- By creating symlinks instead of actually creating files we still get the
benefits of using a temporary directory, but... - 06:07 pm Revision 06a6f2cc: run-in-tempdir: Copy doc/* only if needed
- To preserve disk space on copying all files to a temporary directory,
the “doc” directory is only copied when buildin... - 03:56 pm Revision e71c47d3: Integrate DRBD with the report generation infrastructure
- With this commit, the DRBD data collector does not only print the data
it extracts, but includes them in the proper J... - 03:56 pm Revision 13d3acab: Add reporting infrastructure for data collectors
- This commit adds the part of the JSON report generation code that will be
common to all the data collectors, accordin... - 03:56 pm Revision ace37e24: Move getCurrentTime from Confd.Utils to Utils
- The getCurrentTime function is of wide interest, so its moved to a more
appropriate position.
Signed-off-by: Michele... - 01:11 pm Revision 43a840a3: burnin: Add unittest for supported disk templates
- When new a new disk template is added, burnin should be updated.
Signed-off-by: Michael Hanselmann <hansmi@google.co... - 01:10 pm Revision 4b9638dc: kvm: make kvm path configurable as an hv parameter
- This fixes Issue 225.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@go... - 01:07 pm Revision b73f1c59: make _{Generate,Execute}KVMRuntime accept kvm help
- Currently kvm --help is called twice at instance startup, this makes
sure it's called only once.
Signed-off-by: Guid... - 01:07 pm Revision 3b59ec02: kvm: make auxiliary functions accept a kvm path
- This will be used to be able to customize the path in an hv parameter.
Also fix two comments that still mentioned ve... - 01:06 pm Revision 4ab75599: Add KVM machine version as hv param
- This is needed in case an instance must be booted with an exact type of
machine version (due to e.g. outdated drivers... - 12:19 pm Revision 8e55e20f: Move burnin to ganeti.tools.burnin
- Similar to other scripts, “tools/burnin” just becomes a wrapper script.
Signed-off-by: Michael Hanselmann <hansmi@go...
01/15/2013
- 07:31 pm Revision 45566243: Remove special-case of "0" in niceSort
- Since now niceSort is more consistently behaved, we don't have the
special casing. This should have been removed in c... - 06:18 pm Revision 85a895be: burnin: Enable DT_EXT/DT_RBD for single node clusters
- As reported by Constantinos Venetsanopoulos, DT_RBD and DT_EXT work on
single node clusters.
Signed-off-by: Michael ... - 05:17 pm Revision d46c9fd6: test/Types.hs: add an HLint ANN for ignoring camelCase
- Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:43 pm Revision 5ce58234: Link man pages in documentation
- This patch depends on “Option to include man pages in documentation”. In
the documentation build including man pages,... - 04:27 pm Revision a7f0953a: Make niceSort a wrapper over niceSortKey id
- Currently, niceSort behaves differently than niceSortKey in cases
where the parsed groups are equal but the original ... - 04:26 pm Revision 96b28307: Add version check for Sphinx
- Sphinx 1.0 and above can check version by setting “needs_sphinx” in the
configuration.
Signed-off-by: Michael Hansel... - 04:24 pm Revision 41806ef4: Option to include man pages in documentation
- Before this patch, HTML versions of man pages (man/*.rst) were already
built. However, since they are separate from t... - 03:16 pm Revision 6d675203: design-autorepair.rst: separate list of jobs with plus sign
- Commas are not valid characters in tags, hence they can't be use to
separate the different job IDs; plus signs (+) ar... - 01:18 pm Revision 42959a7f: burnin: Disk template option cleanup
- Burnin doesn't support all disk templates (specifically it doesn't
support “blockdev”). The code, however, used manua... - 01:18 pm Revision d8378091: burnin: Factorize disk template lists
- Keep the lists at the top instead of having them embedded in the code.
Use frozenset, too.
Signed-off-by: Michael Ha... - 11:42 am Revision 2f3a3365: Replace nodegroups' PartialNic by PartialNicParams
- This fixes a bug that corrups the config when one adds a
network to a node group. I wil soon extend QA by some comman...
01/14/2013
- 05:54 pm Revision ef947a42: Loader.hs: ignore expired ArSuspended policies
- At the moment, because 'mergeData' is pure, it may set instance auto-repair
policies that are of the form `ArSuspende... - 05:54 pm Revision e79f576c: Loader.hs: rewrite extractExTags to use chompPrefix
- Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:54 pm Revision b1eb71c7: design-autorepair.rst: clarify tag precedence and conflict
- This commit clarifies one particular point of the auto-repair workflow:
what to do when multiple, conflicting adminis... - 05:54 pm Revision 55416810: Loader.hs: set instance auto-repair policy in mergeData
- 'getArPolicy' and 'setArPolicy' follow the precedence rules introduced in
b1eb71c: within an object, the most restric... - 05:54 pm Revision 23594127: Instance.hs: add an 'arPolicy' field for auto-repair policy
- Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:54 pm Revision b6aeda4a: Utils.hs: add a clockTimeToString function
- This function allows to easily convert a ClockTime object to a string
representation of its timestamp (seconds-only).... - 05:54 pm Revision b009f682: Utils.hs: function to chomp prefix + separator from a string
- Some auto-repair tags are composed of a prefix and then an optional
argument; the new "chompPrefix" function in Utils... - 05:54 pm Revision 819358e1: design-autorepair.rst: add a graph with state transitions
- The graph added here follows the data types introduced in 7ec2f76, by which
"Suspended" is not a state, but a possibl... - 05:52 pm Revision 3e77a36c: Add initial constants and Haskell ADTs for auto repair
- In this commit, the AutoRepairType and AutoRepairResult types are defined,
with the possible values specified in doc/... - 05:52 pm Revision 7ec2f76b: HTools/Types.hs: more auto-repair types
- AutoRepairPolicy, AutoRepairStatus, and other auxiliary types are added.
These are used only internally by the auto-r... - 05:52 pm Revision e47e51a8: design-autorepair.rst: use the same prefix everywhere
- This commit changes the "ganeti:watcher:repair:pending" and
"ganeti:watcher:repair:result" tag prefixes to use
"ganet... - 05:31 pm Revision b3a6a525: NEWS: Fix referenced man page's section number
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 05:27 pm Revision eb7a6965: kvm: add two help dump files
- One is the --help output for kvm 1.1.2 and the second one is the same as
0.9.1 but with a fake option added between -... - 05:19 pm Revision 909948f1: Update copyright in documentation
- Use range() instead of building the list manually. Keeps the code
shorter starting next year.
Signed-off-by: Michael... - 04:36 pm Revision 7f83345f: kvm: simplify _GetMachineVersion
- Use a multiline regexp rather than a single line one, and then split
lines in the code.
Signed-off-by: Guido Trotter... - 04:36 pm Revision 2fddb144: Allow -soundhw option to kvm
- For all of us that love to listen to music on our kvm virtual machines,
the -soundhw option is paramount.
Signed-off... - 04:36 pm Revision 156681c1: kvm: support usb devices
- All in one go, comma separated usb devices of all types.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewe... - 04:36 pm Revision e6f24d89: kvm: Add kvm_extra parameter
- As requested in Issue 261 and many other times.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Mic... - 04:36 pm Revision 7589346f: kvm: Add -vga option
- As requested in Issue 69.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansm... - 04:23 pm Revision 0ad7f5d8: kvm: use help based feature detection
- As discussed on the list some people backport features to different kvm
versions, making the version based detection ... - 04:03 pm Revision e3b89628: kvm: abstract getting --help output
- This will be used later, for now nothing changes.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: M... - 04:03 pm Revision a900a30c: kvm: always pass -usb
- This will be the default anyway and it was a mistake to pass it only if
the mouse was specified.
Signed-off-by: Guid... - 04:03 pm Revision 2c368f28: Add a non negative int hypervisor parameter check
- ...and use it for a few parameters for which it makes sense.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Rev... - 04:03 pm Revision 4888a609: kvm: allow setting smp cores, threads, sockets
- This was requested in Issue 322.
Note that maxcpus is not implemented yet, as it should be considered in
a cpu-hotplu... - 12:54 pm Revision 14fd6c81: kvm: add serial console speed
- The serial port speed changed between versions of qemu (what didn't?), so
the old hardcoded default doesn't do anymor... - 11:35 am Revision 83951b04: Merge branch 'devel-2.6'
- * devel-2.6:
QA: Use instance name for rename test
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-... - 10:26 am Revision 223b7cf4: Merge branch 'stable-2.6' into devel-2.6
- * stable-2.6:
QA: Use instance name for rename test
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed...
01/11/2013
- 06:17 pm Revision 69bc7a38: QA: Use instance name for rename test
- Reported in issue 341. In some setups the instance live in a different
netblock from the cluster. Therefore a the con... - 06:16 pm Revision 60a7335b: Add locking to _NetworkQuery
- Make use of _GetNames() to get the final network UUIDs.
Get networks info after having aquired the locks. Refactor
th... - 05:37 pm Revision b4d2d2cb: QA: Factorize retrieving non-existent groups from config
- Also add a check to make sure there are enough groups defined.
Signed-off-by: Michael Hanselmann <hansmi@google.com>...
01/10/2013
- 03:21 pm Revision 7cf58cad: Generate documentation from build directory
- When man pages should be included they need to be copied from man/*.rst.
This means documentation can no longer be bu... - 03:11 pm Revision e6ba3320: Add machine version in kvm runtime file
- kvm -M ? returns the supported machines (e.g. pc-1.1).
Add _GetDefaultMachineVersion() function to get the default va... - 02:44 pm Revision c816a371: Fix typo in the DRBD parser types file
- A missing letter has been added to a docstring.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Mi... - 01:36 pm Revision 58997abb: Add script to check man page references
- This script checks for some of the most obvious mistakes when formatting
man page references (which should have the f... - 01:34 pm Revision 354c4f62: man: Man page reference cleanup
- Sphinx is stricter than pandoc when parsing reST and does not allow an
opening parenthesis to directly follow inline ...
01/09/2013
- 07:17 pm Revision f1f6f117: test/Utils.hs: fix capitalization in docstring comment
- Signed-off-by: Dato Simó <dato@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 06:39 pm Revision 0df54fd2: Merge branch 'devel-2.6'
- * devel-2.6:
Add utility to format dictionary as key=value strings
Remove fixed FIXME
QA: Support master-netdev... - 06:30 pm Revision 30fa4476: Merge branch 'stable-2.6' into devel-2.6
- * stable-2.6:
Add utility to format dictionary as key=value strings
Remove fixed FIXME
QA: Support master-netde... - 05:57 pm Revision 63b883de: Add utility to format dictionary as key=value strings
- This will be used in QA to format network interface parameters.
This is a cherry-pick of master commit eac9b7b8
Sig... - 05:38 pm Revision 22ac4136: More documentation and man page fixes
- - Include numbers in man page references
- Use “:manpage:” where appropriate
- Don't escape underscore in verbatim te... - 05:23 pm Revision dbb4f850: Remove fixed FIXME
- This was fixed in stable-2.6, commit 053c356
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin... - 05:21 pm Revision c12e30ca: Remove fixed FIXME
- This was fixed in stable-2.6, commit 053c356
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin... - 05:20 pm Revision 558e2e8a: QA: Support master-netdev and default NIC parameters
- Requested in issue 337.
The parameter “bridge” was not documented and is therefore silently
replaced with “master-ne... - 05:20 pm Revision cbf5114e: QA: Do not pass "--bridge" to "gnt-cluster init"
- Commit ec0652a (June 2009) removed the option.
This is a cherry-pick of master commit
784537390cd5b1c4f5f8fb9401a62e... - 03:19 pm Revision 596f913e: Makefile: Fix list of directories
- Commit dbee5c9 had a wrong path.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Helga Velroyen <... - 01:42 pm Revision dbee5c92: Highlight external links in HTML documentation
- Based on MediaWiki's monobook skin.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <i... - 12:48 pm Revision 23d95cff: Unit tests for bdev and utils.lvm
- Also amended a comment of a tested method.
The tests are for methods introduced in commit 63c73073 (LVM disk creation... - 11:05 am Revision 9ef3e121: Update the monitoring agent design document
- This commit updates the design document of the monitoring agent according
to what has already been discussed in vario...
01/08/2013
- 06:16 pm Revision d78970ba: Support instance-minor pairing in the DRBD collector
- This commits enables the DRBD data collector to use the Confd client to
gather information about the pairing between ... - 06:16 pm Revision eb62691c: Support integrating instance information in the DRBD parser
- This commit modifies the DRBD parser and its data structures to include
information about the instance a DRBD minor b... - 05:21 pm Revision d4d94eee: NEWS: Add missing parenthesis
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com> - 01:23 pm Revision 37cfb91f: Add footer.rst as a dependency for all man pages
- Commit 6aff051 removed an intermediate step, but forgot to add
“footer.rst” as a direct dependency.
Signed-off-by: M... - 11:28 am Revision 3784c431: Update name of test/htest in doc/devnotes.rst
- Update the docs after the rename of 'test/hs/test' to
'test/hs/htest'. This must have been forgotten in 3e16567e.
Si... - 11:28 am Revision 93e09cb7: Convert gnt-os man page to sections
- As Constantinos observed, the gnt-os man page is not consistent with the
others. This patch adds the missing sections... - 11:28 am Revision fa5121f0: Fix "Tags" section capitalisation in the man pages
- "Tags" is a section, not a command, so let's title-case it (as opposed
to all upper-case). Furthermore, the RST marku... - 11:28 am Revision 29fc0e4e: Fix a couple of bugs in the gnt-instance man page
- The "list-fields" and "change-group" commands were mistakenly listed
as sections; we also rename the "Recovery" secti... - 11:28 am Revision 6210c812: Remove some obsolete entries from .gitignore
- Found while doing the previous .dot file changes and wondering what's
this "doc/*.in" stuff… it looks like these were... - 11:28 am Revision 6aff0514: Remove intermediate footer.man/footer.html files
- I don't remember why I introduced these when switching to pandoc, but
they are not absolutely needed. Instead of pre-... - 11:28 am Revision 74412d69: Enable a table of contents for the html version of man pages
- This makes the (very dull) html version of the man pages a bit more
readable, until such a time that we can switch ov... - 11:28 am Revision 7322bf7b: Rearrange tags in gnt-cluster/gnt-node
- This patch makes the gnt-cluster and gnt-node man page more consistent
with the other man pages, where the tag comman... - 11:28 am Revision f8e233a3: Stop manually building images out of dot files
- The first dot files we added way back in the 2.0 release are managed
manually: we build the .pngs ourselves, track th... - 11:28 am Revision 8fa74099: Inline the standalone dot files
- This removes entirely the standalone dot files by inlining them in the
RST documents - as they weren't referenced fro... - 11:28 am Revision fe7ad9c8: Improve a bit Haskell library recommended versions
- The hinotify library was missing any versions, and finding one that
works with ghc 6.12 (base 4.2.x) was not obvious.... - 11:26 am Revision 7ce2f8ee: Fix a bug in the generation of completion information
- Completion information for multi-command binaries were not generated in
the correct way, so the build-bash-complation...
01/07/2013
- 08:56 pm Revision c46a9ffb: Add small webserver for development
- When working on documentation it can be helpful to use a browser. In
some environments it's not possible to access th... - 08:56 pm Revision 3a817255: man pages: Lowercase name for syntax highlighting
- When the man pages' reST is built using Sphinx, “bash” must be used
instead of “Bash”. Pandoc works with both.
Signe... - 07:00 pm Revision 8d459129: Add "use_locking" parameter to network query opcode
- This was extracted from a patch by Dimitris Aragiorgis with the subject
“Add locking to _NetworkQuery”. The rest of t... - 04:21 pm Revision 27a19bf6: Makefile.am: Add missing space
- Commit acaf3ca missed this space before a backslash.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-...
01/04/2013
- 04:42 pm Revision 6249f1c2: Fix the installation location of mon-collector
- The mon-collector binary was erroneously installed twice: once in
/usr/bin/ and once in /usr/lib/ganeti/.
With this m... - 10:47 am Revision 2663321c: Improve the reception of replies in the confd client
- If a received reply is valid and there is still no valid reply,
keep it, no matter how new it is.
Signed-off-by: Mic...
Also available in: Atom