- 13 Jan, 2014 1 commit
-
-
Jose A. Lopes authored
Add KVM daemon entry point, command-line options, backgrounding, etc Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 22 Nov, 2013 1 commit
-
-
Petr Pudlak authored
This file is used for development to point to code definitions. Apparently this has been broken since Februrary [cc40185c]. The improved version fixes the problem and uses Exuberant Ctags <http://ctags.sourceforge.net/>. It uses "etags" instead of "ctags", so Emacs compatibility should be maintained. The extra suffixes "-osuf" and "hisuf" are used to avoid problems with already compiled object files. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
- 08 Nov, 2013 1 commit
-
-
Jose A. Lopes authored
Tear down Python to Haskell constant conversion infrastructure, which includes eliminating the autotool 'convert-constants' and the Haskell module, namely 'Ganeti.PyConstants', which held the converted contants. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 31 Oct, 2013 1 commit
-
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 28 Oct, 2013 1 commit
-
-
Petr Pudlak authored
Signed-off-by:
Petr Pudlak <pudlak@google.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 25 Sep, 2013 1 commit
-
-
Jose A. Lopes authored
The previous patch has made '_autoconf' obsolete. This patch completely removes '_autoconf' and the 'Makefile' targets for it. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 11 Sep, 2013 2 commits
-
-
Klaus Aehlig authored
Upon build time, also generate, in the directory doc/users, files containing the groups, the users with their primary group, and the additional groupmemberships to be added. In this way, packages can use their own way of adding users to the system, instead of telling the adiministrator to run tools/users-setup. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Jose A. Lopes authored
Add Makefile target to generate 'AutoConf.hs' and add this file to '.gitignore'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 29 Aug, 2013 2 commits
-
-
Jose A. Lopes authored
Setup a transitional Haskell to Python constant generation infrastructure. This infrastructure is transitional and Python constants will not be migrated to Haskell all at once. Instead, some constants will be incrementally pulled from Python and moved to Haskell. This is a list of the relevant modules in this infrastructure: * Ganeti.HsConstants: contains the Haskell constants that are used both in Haskell (once re-exported through Ganeti.Constants) and generated in Python * Ganety.Hs2Py.ListConstants: contains the list of Haskell constants to be generated in Python; these constants are defined in the previous module and the list is automatically generated by the Makefile * hs2py-constants: Haskell program that outputs the actual constant definitions in Python; this task cannot be performed by 'hs2py' just yet because this programs depends on the 'Constants' module. But once all the constants have migrated to Haskell, then 'hs2py-constants' and 'hs2py' can be merged. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Jose A. Lopes authored
Rename the generated 'Constants.hs' module, which contains the Haskell constants generated from Python, to 'PyConstants.hs' in order to eliminate duplicated constants in Haskell, a problem introduced by the Haskell to Python constant generation, and to circumvent a problem with import/export of Haskell modules. Add a new module named 'Constants.hs' which imports 'PyConstants.hs' and exports its names. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 07 Aug, 2013 1 commit
-
-
Jose A. Lopes authored
Python opcode generation produces 'opcodes.py' and there is also the program 'hs2py' which must go in .gitignore. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 23 Jul, 2013 1 commit
-
-
Apollon Oikonomopoulos authored
Add an example logrotate snippet, along with the relevant documentation. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 17 Jul, 2013 2 commits
-
-
Thomas Thrainer authored
As queryd will, in the future, handle all LUXI request, queue jobs and most likely perform various other tasks, it is renamed to luxid already. This will safe some headache when upgrading Ganeti installations, as we don't have to deal with a daemon rename. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Thomas Thrainer authored
queryd is added as a new daemon which handles configuration queries over LUXI. This functionality was removed from confd, which now only queries over the network. The queryd user is added to the master group such that it can access server.pem. The confd user no longer needs to be in the master group. This fixes issue 292. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 28 Jun, 2013 1 commit
-
-
Dimitris Aragiorgis authored
Add new script vif-ganeti that could be used instead of default vif-bridge in order NIC customization can be more flexible. Extract common code from kvm-ifup and insert it in a new file net-common that is being sourced by kvm-ifup and vif-ganeti and located under package lib dir (/usr/lib/ganeti/). Install vif-ganeti properly with make under /usr/lib/ganeti too. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 09 Apr, 2013 1 commit
-
-
Michele Tartara authored
When executed in split user mode, Ganeti requires a specific set of users and groups to be created in the appropriate way. This commit introduces a tool that takes care of that automatically. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 05 Apr, 2013 1 commit
-
-
Michele Tartara authored
Setting up a proper environment for building a Ganeti can be quite difficult. This patch adds a script for building a compressed chroot with all the required libraries and tools. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 21 Mar, 2013 1 commit
-
-
Michele Tartara authored
This commit adds the core infrastructure of the monitoring daemon, and integrates it in the build and test systems. The actual functionality of the monitoring daemon is still completely missing. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 25 Feb, 2013 1 commit
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Dato Simó <dato@google.com>
-
- 22 Feb, 2013 1 commit
-
-
Iustin Pop authored
This is an autogenerated file, so it has to go into gitignore, thanks Michael! Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 16 Jan, 2013 1 commit
-
-
Michael Hanselmann authored
Similar to other scripts, “tools/burnin” just becomes a wrapper script. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 15 Jan, 2013 1 commit
-
-
Michael Hanselmann authored
Before this patch, HTML versions of man pages (man/*.rst) were already built. However, since they are separate from the normal documentation, their content is not indexed for Sphinx' search functionality. Additionally it would simply be nice to have everything in one place. To this end a new configure-time option is added to enable the inclusion of man pages into the documentation. A dedicated option is necessary to still be able to provide a static documentation build in the tarball (not including man pages) as man pages contain build-specific paths and values. The documentation with man pages is written to the directory “doc/man-html”. A future patch will extend Sphinx to link occurences of “:manpage:`…`” to these man pages. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 08 Jan, 2013 3 commits
-
-
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
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
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>
-
- 27 Dec, 2012 2 commits
-
-
Iustin Pop authored
The current base name of 'test' means that this binary will generate profiling, coverage, etc. files with the name 'test.*', result in tab-completion conflicts with the test directory. Let's slightly change its base name for typing easiness. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
htest/data becomes test/data/htools (basically reverting commit 8feabc89), and htest/* becomes test/hs/*. Most changes beside the rename are trivial s/…/…, with the exception of autotools/run-in-tempdir, which needed some more changes now that test/ is not just Python files: - test/py is still being copied - test/hs moves from individual symlinks to entire dir symlink - test/data is symlinked in its entirety Checked with make distcheck, pep8 and pylint, so at least VPATH builds are OK. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 24 Dec, 2012 1 commit
-
-
Iustin Pop authored
Per offline discussions, this is the first patch of the renames. Tested with "make distcheck", seems to work fine. The only change outside of the renaming is a bit of simplification in the .gitignore rules; otherwise, simply s/htools/src/. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 22 Dec, 2012 1 commit
-
-
Constantinos Venetsanopoulos authored
* ganeti-extstorage-interface man page * gnt-storage man page Signed-off-by:
Constantinos Venetsanopoulos <cven@grnet.gr> Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 21 Dec, 2012 1 commit
-
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 13 Dec, 2012 1 commit
-
-
Michele Tartara authored
It is a binary file and it should never be added to the git repository. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 12 Dec, 2012 1 commit
-
-
Michele Tartara authored
It is implemented as a single binary receiving, as its first parameter, the name of the actual data collector to be run. This way, its structure can be used for all the future data collectors. Also, factored out of bdev.py into constants.py the location of the DRBD status file. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 06 Dec, 2012 2 commits
-
-
Michael Hanselmann authored
Sometimes a node is not removed properly from a cluster (especially during development). This new tool stops all daemons and removes (after making copies) the most critical files. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
The design for this is in “doc/design-node-add.rst”. The tool receives a JSON data structure on stdin and configures the node's daemon after verifying the received values. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 23 Nov, 2012 1 commit
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 15 Nov, 2012 2 commits
-
-
Guido Trotter authored
This allows offlining nodes that don't respond if they are part of a linux-HA cluster. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Guido Trotter authored
This allows controlling the cluster master role if the nodes are part of a linux-HA cluster. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 07 Nov, 2012 1 commit
-
-
Iustin Pop authored
We had twice in the past days questions about devel/upload being "broken", since bash re-reads shell scripts during their run and this file can get regenerated due to Makefile changes. Since we only need this to be dynamically built for 3 variables, let's make the file static and read those three variables when it is run, instead of when it is built, which allows us to re-read the "latest version" of these vars as well. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- 23 Oct, 2012 1 commit
-
-
Michael Hanselmann authored
This is a new tool as per the design document “design-ssh-setup”. It receives a JSON data structure on its standard input and configures the SSH daemon and root's SSH keys accordingly. Unit tests are included. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 16 Oct, 2012 1 commit
-
-
Iustin Pop authored
This only supports test delay for now, is not built by default (only on demand), and is also not installed anywhere. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-