- Jan 14, 2013
-
-
Michael Hanselmann authored
* devel-2.6: QA: Use instance name for rename test Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
* stable-2.6: QA: Use instance name for rename test Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Jan 11, 2013
-
-
Michael Hanselmann authored
Reported in issue 341. In some setups the instance live in a different netblock from the cluster. Therefore a the configuration-global “rename” name shouldn't be used for them. Instead another instance name is used. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Dimitris Aragiorgis authored
Make use of _GetNames() to get the final network UUIDs. Get networks info after having aquired the locks. Refactor the code to use new local variables: - "network_uuids" returned from _GetNames() - "all_networks" that are the latest network info - "name_to_uuid" used for getting network UUID out of NIC's network Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
Also add a check to make sure there are enough groups defined. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Jan 10, 2013
-
-
Michael Hanselmann authored
When man pages should be included they need to be copied from man/*.rst. This means documentation can no longer be built from the static reST files alone (which are referenced using “abs_top_srcdir”). Similar to Python files, automake doesn't copy or link the input files for documentation into the build tree. This patch adds all files required to build the documentation to “srclink_files”, renames the “docrst" variable to “docinput”, and then references the files in the build tree using “abs_top_builddir”. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Dimitris Aragiorgis authored
kvm -M ? returns the supported machines (e.g. pc-1.1). Add _GetDefaultMachineVersion() function to get the default value. Upon kvm runtime file creation (this is in _GenerateKVMRuntime() invoked only in StartInstance()) append this info in kvm_cmd. During live migration the -incoming kvm process is started based on this file. In case of different KVM versions between source and target nodes there is a possibility (e.g. due to a kvm bug) for migration to fail silently. This patch forces the target node to emulate the same machine version used by running process. If KVM on target node does not support it the -incoming kvm process will crash and migration will be aborted. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
A missing letter has been added to a docstring. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michael Hanselmann authored
This script checks for some of the most obvious mistakes when formatting man page references (which should have the form “**ganeti**\(7)”). While this works now, it is very hard to avoid ambiguities (e.g. references within verbatim blocks) when using regular expressions. Also fixes a typo in Makefile.am by replacing “harcoded” with “hardcoded”. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
Sphinx is stricter than pandoc when parsing reST and does not allow an opening parenthesis to directly follow inline markup. [1] describes the rules. A backslash, as described in [2], can be used to separate the two. Additionally, there were different forms for referring to man pages. Sometimes it was a plain “ganeti(7)”, sometimes “**ganeti**(7)” and other times “**ganeti(7)**” (of course with different names and numbers). Commit 7acbda7b added a new paragraph and used the Sphinx-specific “:manpage:…” markup, which isn't supported by pandoc. It is replaced with a standard reference. [1] http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html# inline-markup-recognition-rules [2] http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html# character-level-inline-markup Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Jan 09, 2013
-
-
Dato Simó authored
Signed-off-by:
Dato Simó <dato@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
* devel-2.6: Add utility to format dictionary as key=value strings Remove fixed FIXME QA: Support master-netdev and default NIC parameters QA: Do not pass "--bridge" to "gnt-cluster init" Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
* stable-2.6: Add utility to format dictionary as key=value strings Remove fixed FIXME QA: Support master-netdev and default NIC parameters QA: Do not pass "--bridge" to "gnt-cluster init" Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
This will be used in QA to format network interface parameters. This is a cherry-pick of master commit eac9b7b8 Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
- Include numbers in man page references - Use “:manpage:” where appropriate - Don't escape underscore in verbatim text (e.g. “``always_failover``) as it would show up in the generated man page - Quote whole paths, not just build-time part Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
This was fixed in stable-2.6, commit 053c356a Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
This was fixed in stable-2.6, commit 053c356a Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Requested in issue 337. The parameter “bridge” was not documented and is therefore silently replaced with “master-netdev”. A note is added to “qa-sample.json” describing how comments work. This is a cherry-pick of master commit 3601d488 Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Commit ec0652ad (June 2009) removed the option. This is a cherry-pick of master commit 78453739 Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Commit dbee5c92 had a wrong path. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michael Hanselmann authored
Based on MediaWiki's monobook skin. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Bernardo Dal Seno authored
Also amended a comment of a tested method. The tests are for methods introduced in commit 63c73073 (LVM disk creation uses dedicated PVs). Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Michele Tartara authored
This commit updates the design document of the monitoring agent according to what has already been discussed in various meetings and email threads. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jan 08, 2013
-
-
Michele Tartara authored
This commits enables the DRBD data collector to use the Confd client to gather information about the pairing between DRBD minors and instances. For testing purposes, the DRBD data collector now requires either zero or two parameters: one is the DRBD file, one is the pairings file. When no parameter is passed, the collector is in "production mode" and takes the data from /proc/drbd and from the Confd client. The shell tests of mon-collector are updated accordingly. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michele Tartara authored
This commit modifies the DRBD parser and its data structures to include information about the instance a DRBD minor belongs to. Test files have been updated as well, to support the new field in the data structures. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Michael Hanselmann authored
Commit 6aff0514 removed an intermediate step, but forgot to add “footer.rst” as a direct dependency. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Yiannis Tsiouris authored
Update the docs after the rename of 'test/hs/test' to 'test/hs/htest'. This must have been forgotten in 3e16567e. Signed-off-by:
Yiannis Tsiouris <gtsiour@softlab.ntua.gr> Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Found while doing the previous .dot file changes and wondering what's this "doc/*.in" stuff… it looks like these were obsoleted over the years by not paying attention on cleanup patches: - doc/build: obsoleted by commit 13de7d59 - doc/*.in: obsoleted by commit 2ab2b9f5 - doc/html: was always a directory since its introduction in commit d17e74b4, mark it as so - devel/clean-cluster: was introduced with initial .gitignore addition (commit 7a47c582), but we don't actually generate it Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
This removes entirely the standalone dot files by inlining them in the RST documents - as they weren't referenced from more than one document either way. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
The first dot files we added way back in the 2.0 release are managed manually: we build the .pngs ourselves, track them in .gitingore, etc. Since then, we have switched to allow sphinx to build/manage them itself, so it makes sense to cleanup the build system and covert everything to this simpler method. This patch simply converts from "image: x.png" to "graphviz: x.dot", as an externally-referenced dot file, and removes all the custom makefile rules for png conversion. The next patch will bring the conversion further (by inlining then). Additionally, while checking that the patch doesn't change the html output, I saw that the use of "shape=diamond" with non-trivial labels results in very ugly diagrams; so we split the question in such decision boxes to make them more reasonably looking. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
This patch makes the gnt-cluster and gnt-node man page more consistent with the other man pages, where the tag commands are listed in a separate section at the end. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
This makes the (very dull) html version of the man pages a bit more readable, until such a time that we can switch over to sphinx fully. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
I don't remember why I introduced these when switching to pandoc, but they are not absolutely needed. Instead of pre-generating them (which might save some trivial cpu time), we can simply pass footer.rst as an additional input file to pandoc. The advantage in doing so is that semantic information is preserved; when pre-generating and including them as-is, the entire structure is lost, as pandoc won't reinterpret them, so things like a potential table of contents will simply ignore the footer. The patch also adds a new target to rebuild all man pages (both groff and html formats), for testing changes to the pages easier. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
The hinotify library was missing any versions, and finding one that works with ghc 6.12 (base 4.2.x) was not obvious. The test-framework-quickcheck2 recommended version didn't actually work with the test-framework version, so fix that as well. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
As Constantinos observed, the gnt-os man page is not consistent with the others. This patch adds the missing sections. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
"Tags" is a section, not a command, so let's title-case it (as opposed to all upper-case). Furthermore, the RST markup was wrong for the gnt-network man page. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
The "list-fields" and "change-group" commands were mistakenly listed as sections; we also rename the "Recovery" section to match better its content. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Completion information for multi-command binaries were not generated in the correct way, so the build-bash-complation script failed when such a binary was actually found. This commit fixes this issue, and a related docstring typo as well. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jan 07, 2013
-
-
Michael Hanselmann authored
When working on documentation it can be helpful to use a browser. In some environments it's not possible to access the files directly from a graphical browser. This trivial webserver exports all files in the current directory and unlike alternatives such as thttpd, doesn't check for world-readable permissions. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-