Activity
From 12/20/2012 to 01/18/2013
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...
12/28/2012
- 05:53 pm Revision 855f9bad: Document the ExtStorage `SetInfo' functionality
- Small updates to the extstorage design document and interface.
Signed-off-by: Constantinos Venetsanopoulos <cven@grn... - 05:51 pm Revision ef13148c: gnt-storage man page: make commands sub-sections
- This makes the man page more consistent with the others (except
gnt-os, that is).
Signed-off-by: Constantinos Venets... - 05:50 pm Revision f6b9c6e5: Fix a bad data type in Hcheck.hs
- While trying to understand why some code was not being tested, I
realised that we have a bad data type in Hcheck.hs.
... - 05:50 pm Revision 2fd5a116: Move src/Ganeti/HTools/Program.hs to Program/Main.hs
- This removes one more tab conflict; this is the last module in our
code where we have both x.hs and x/.
Furthermore,...
12/27/2012
- 03:35 pm Revision 208b02e3: A bit more name cleanup
- - gen-coverage → gen-py-coverage
- coverage-htools.tix → coverage-hs.tix
Signed-off-by: Iustin Pop <iustin@google.co... - 03:34 pm Revision 784e77f0: Split the hs-check test rule
- Currently, both the unit test and the shell tests are run (manually)
from this rule. This has two downsides: you can'... - 03:34 pm Revision 1c0f9d12: Remove duplicate test file functions
- This patch unifies the functions that generated the tree
reorganisation discussion in the first place :)
Signed-off-... - 03:34 pm Revision 3e16567e: Rename test/hs/test to htest
- The current base name of 'test' means that this binary will generate
profiling, coverage, etc. files with the name 't... - 03:34 pm Revision 83846468: Move htest/ files under the test/ tree
- htest/data becomes test/data/htools (basically reverting commit
8feabc89), and htest/* becomes test/hs/*.
Most chang... - 03:34 pm Revision 90066780: Move python test files to test/py
- This is the first step of the test files reorganisation: moving test/*
(except test/data) to new directory test/py/.
... - 03:33 pm Revision 19e1b715: Return master ip script output in case of failure
- Currently only the exit code is returned, which is somewhat pointless:
for failures, we already know it's ≠ 0, so we ... - 03:33 pm Revision d9a900dc: Replace htools→hs in configure/makefile rules
- This continues the cleanup of the 'htools' name, by replacing 'htools'
with 'hs' in configure and makefile rules.
Th... - 03:33 pm Revision 8775e62a: Fix LUInstanceRecreateDisks with iallocator
- Recent iallocator changes (commit fb60bc6a, “iallocator: Add node
whitelist”) broke the parameter validation for LUIn... - 03:32 pm Revision 8775b5b2: Fix dependency on built python sources for hs-check
- Since we call into Python for opcodes and other type compatibility
checks, we need to ensure that the python sources ...
12/24/2012
- 11:38 pm Revision 3add7574: Rename htools/ to src/
- Per offline discussions, this is the first patch of the
renames. Tested with "make distcheck", seems to work fine.
T...
12/22/2012
- 08:11 pm Revision 75b32fff: Optimise autotools/run-in-tempdir
- I made a mistake when adding support for htools to run-in-tempdir, by
needlessly copying the htools binaries, when it... - 08:11 pm Revision acaf3ca7: Fix building of Constants.hs w.r.t .pyc files
- Unless this is run under run-in-tempdir, it will create as usual the
.pyc files.
Signed-off-by: Iustin Pop <iustin@g... - 11:47 am Revision b954f097: Add the gnt-storage client
- Add a new client called 'gnt-storage'.
The client interacts with the ExtStorage interface, similarly to
the way gnt-o... - 11:47 am Revision 95b92c34: Add ExtStorage related man pages
- * ganeti-extstorage-interface man page
* gnt-storage man page
Signed-off-by: Constantinos Venetsanopoulos <cven@grn... - 09:40 am Revision c64c3854: Extend the hcheck shell tests
- This adds a few new hcheck tests, to extend the coverage.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:... - 09:40 am Revision 591fa888: Extend the hbal shell tests
- After this patch, almost all of hbal except the actual Luxi execution
is being covered by unit- or shelltests.
Signe...
12/21/2012
- 10:26 pm Revision 108c0a3e: Merge branch 'devel-2.6'
- * devel-2.6:
Final update of NEWS file for 2.6.2 and version bump
Fix job completion with big job queues
confd:... - 08:50 pm Revision ce003543: Fix build breakage after exclusive storage commits
- This fixes:
htest/Test/Ganeti/Rpc.hs:50:14:
Couldn't match expected type `Rpc.RpcCallNodeInfo'
agains... - 08:42 pm Revision 478a3308: Merge branch 'stable-2.6' into devel-2.6
- No conflicts, really trivial.
* stable-2.6:
Final update of NEWS file for 2.6.2 and version bump
Fix job complet... - 07:06 pm Revision 2a196443: Refactor checks for a new template in LUInstanceSetParams
- All the checks have been moved to a private method, so as to make
CheckPrereq() smaller and more readable (pylint was... - 07:06 pm Revision 6ebfef42: LUs raise an error if they cannot handle exclusive_storage
- This happens when the exclusive_storage flag is set, and the requested
operation is incompatible with the flag or not... - 06:52 pm Revision 61481c52: Free disk space reporting follows exclusive storage rules
- When exclusive_storage is set, nodes report only the space that could be
used to create new disk according to the rul... - 06:45 pm Revision 319322a7: Call node_info RPCs with the exclusive_storage flag
- The flag is read from the configuration and passed to the RPC.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com... - 06:45 pm Revision 1a3c5d4e: Add exclusive_storage parameter to node_info RPC
- The flag is passed to the low-level functions that need it, but it's not
yet used. Also, RPCs get just a default valu... - 05:47 pm Revision 3601d488: 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:47 pm Revision 78453739: QA: Do not pass "--bridge" to "gnt-cluster init"
- Commit ec0652a (June 2009) removed the option.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iu... - 05:47 pm Revision c1912a48: gnt-* list-fields: Show friendly field type
- For people writing query filters (documented in ganeti(7)) knowing a field's
type can be useful.
$ gnt-instance list... - 04:09 pm Revision 5ff543c3: Fix build after addition of 'empty-cluster.data'
- Of course I forgot to add this to TEST_FILES… and only distcheck
catches it.
Signed-off-by: Iustin Pop <iustin@googl... - 04:06 pm Revision 5e2e45b7: Improve assertion message in LUClusterVerifyGroup
- In issue 240 this assertion fails. While reproducing was not possible
with the master branch, having a more verbose m... - 03:55 pm Revision be862db9: gnt-network(8): Reorder commands
- Hiding the “connect” and “disconnect” commands below the tag operations
isn't good. The same is done in “gnt-instance... - 03:55 pm Revision e23cb7ca: gnt-network(8): Re-add editor settings and re-wrap
- Commit a04cc7a added “gnt-network.rst”, but didn't copy the editor
settings from another reST file.
Signed-off-by: M... - 01:40 pm Revision 63c73073: LVM disk creation uses dedicated PVs
- When exclusive_storage is set, PVs are allocated according to the
design-partitioned design doc.
Signed-off-by: Bern... - 01:40 pm Revision d4724b14: Call blockdev_create RPCs with the exclusive_storage flag
- The flag is read from the configuration and passed to the RPC.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com... - 01:40 pm Revision 59726e15: Added class to contain information about a PV
- This makes the code more readable and easier to upgrade.
bdev.LogicalVolume.GetPVInfo and the code that depends on it... - 01:40 pm Revision ee1478e5: Add exclusive_storage parameter to blockdev_create RPC
- The flag is passed to the low-level functions that need it, but it's not
yet used.
Signed-off-by: Bernardo Dal Seno ... - 01:19 pm Revision 053976f3: Add htest/hroller to .gitignore
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 01:19 pm Revision 04cc7d3f: Extend hroller shell tests
- Currently only --help and --version are tested; the patch extends this
with testing parsing of an empty cluster, of a... - 12:16 pm Revision dccf6eaf: Silence erroneous hlint warning
- This patch adds an ignore for an hlint warning that wants camelcase to be used
in the name of a "case" test.
But if c... - 11:32 am Revision 911ee606: opcodes: Common parameter for target groups
- Also add a missing parenthesis at the end.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido ... - 11:32 am Revision ee93aa8a: gnt-network: Fix CLI issues with node groups
- The original implementation reserved the name “all” to specify all node
groups. That would prevent the use of a node ... - 11:30 am Revision 3fe5484a: gnt-network(8): Remove "rename"
- It is not implemented after all.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <u... - 11:29 am Revision 3924c9e0: gnt-network CLI improvements
- - Use unpacking instead of addressing indivdual list items
- Add “--submit” and “--priority” support where possible
-... - 11:29 am Revision f2212a5d: Improve network query algorithm
- Similar to commit 572a277. Directly iterate over “self.wanted” instead
of iterating through all networks and checking... - 11:29 am Revision 070b780d: Change network error text
- This error is thrown if a network name already exists, not if the
network itself (e.g. “1.2.3.0/24”) is defined.
Sig... - 11:27 am Revision 503574ec: Format network field "group_list" in client
- The field is now a list of tuples containing the group name, mode and
link.
Signed-off-by: Michael Hanselmann <hansm... - 11:24 am Revision f1222089: Fix iallocator for nodegroups with no tags
- _ComputeNodeGroupData() raises error if a group has no tags
when list(gdata.tags) is invoked. Use “gdata.GetTags()” i...
12/20/2012
- 06:34 pm Revision 37dfcacb: Replace custom strip newlines in UUID generation
- Since now rStripSpace lives in Utils.hs, we can use it directly (as
UUIDs shouldn't contain spaces anyway).
Signed-o... - 06:17 pm Revision 04063ba7: Add Confd client to the Haskell code base
- The client queries all the master candidates in parallel, until the minimum
number of replies, defined in the constan... - 06:17 pm Revision d8e9131b: Add function to fetch the list of master candidates
- This commits adds to the Haskell codebase a function to fetch the list of
IPs of the master candidates from the SSCon... - 06:17 pm Revision 1a0defea: Add the parseReply function to the Confd utils
- This function will be used by the Haskell Confd client to parse the replies
it receives from the server.
Unit test i... - 06:16 pm Revision 497f5cbf: Rename the Confd utils parseMessage function to parseRequest
- With the upcoming implementation of the Haskell Confd client, requests will
no longer be the only kind of message to ... - 06:16 pm Revision 5bfcd75f: Make the parseRequest function more general
- The parseRequest function of the Confd utils can be used to parse both request
(in the server) and reply (in the clie... - 06:16 pm Revision 80a0546b: Add function for generating UUIDs in the Haskell codebase
- Its first use will be to generate the salt for ConfD requests of the Haskell
client, as in the Python client.
Unit t... - 06:15 pm Revision 46300ac2: Move Confd getCurrentTime to Utils
- The Confd server implementation has a getCurrentTime function.
This commit moves it to the Utils.hs file of Confd, so... - 05:53 pm Revision 9f6f74b4: Fixup too-long-line in Objects.hs
- Sorry, didn't see this before pushing the previous commit (277a2ec9).
Signed-off-by: Iustin Pop <iustin@google.com>
... - 05:29 pm Revision 277a2ec9: ExtStorage support in htools
- This just adds new constructors for the disk template and related
types, enabling the Ext storage.
Signed-off-by: Co... - 05:12 pm Revision ea626b33: confd: strip newlines before logging the request
- The Python confd client sends newlines in messages (due to use of
DumpSignedJson/DumpJson), so that results in ugly d... - 05:12 pm Revision 256e28c4: Move rstripSpace from Ssconf to Utils
- Also renames it in the process and adds a few tests for it.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-b... - 05:08 pm Revision 53258324: objects.NIC: Look up mode only once, capitalize acronym
- Look up “NIC_MODE” only once, capitalize “NIC” in error messages.
Signed-off-by: Michael Hanselmann <hansmi@google.c... - 05:08 pm Revision 42653ebd: gnt-cluster(8): Quoting, small fixes
- Quote fixed strings where appropriate and replace “nic” (an acronym)
with “network interface”.
Signed-off-by: Michae... - 05:08 pm Revision eac9b7b8: Add utility to format dictionary as key=value strings
- This will be used in QA to format network interface parameters.
Signed-off-by: Michael Hanselmann <hansmi@google.com... - 05:06 pm Revision 938adc87: Multiple ExtStorage Providers and ext-params
- Add support for passing parameters to the ext template (ext-params).
Take advantage of disk-params, that don't seem t... - 05:06 pm Revision aa6c1bb1: Adjust LUInstanceSetParams wrt the `ext' template
- Initial support for the `ext' template in gnt-instance modify.
Take care of all needed checks in CheckArguments and C... - 05:06 pm Revision 376631d1: Implement the External Storage Interface
- With this commit we introduce the External Storage Interface
to Ganeti, abbreviated: ExtStorage Interface.
The ExtSt... - 03:37 pm Revision 32ba31be: Stop all daemons on cluster initialization
- Addresses issue 145. When daemons are still running from a previous
cluster instance, starting the daemons again will... - 03:37 pm Revision da1dcce1: Make node groups' networks field a dict of nicparams
- The networks field of the node groups class is a dictionary
of nic params and not a list of networks. This should fix... - 03:36 pm Revision e7e2552e: Update the shared storage design document
- Update the shared storage design document to reflect the current
changes, after the implementation of the ExtStorage ... - 02:16 pm Revision efe2137a: Final update of NEWS file for 2.6.2 and version bump
- I'm already setting this to a release date of tomorrow, since QA on
the 2.6 branch has been clean.
Signed-off-by: Iu... - 12:37 pm Revision 5f30ea3f: netutils: Normalize all FQDNs
- Addresses issue 147. Only the hostnames resolved using
“netutils.Hostname($name)” were normalized, but those returned... - 12:01 pm Revision 814e1e23: Display command description in htools usage message
- By abstracting the command/personality formatting, we can easily
switch htools to the same output as the rest of the ... - 11:57 am Revision 044fff06: More style updates for network-related code
- Error message formatting, else/if merging to elif, docstrings.
Signed-off-by: Michael Hanselmann <hansmi@google.com>... - 11:57 am Revision aa279109: NEWS: Opportunistic locking, clarifications
- Some rewording, some clarifications, and a new item on opportunistic
locking.
Signed-off-by: Michael Hanselmann <han... - 11:57 am Revision cfa79a23: cmdlib: Additional opportunistic locking check
- If opportunistic locking is requested in the opcode, but no iallocator
is used (not specified or no default), an erro...
Also available in: Atom