- 06 Feb, 2014 2 commits
-
-
Jose A. Lopes authored
... including, user, group, daemonizing code with command line options, integration with the Snap HTTP server, and logic. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Petr Pudlak authored
The Hoogle database is generated to doc/api/hs/ganeti.txt when Haddock is run. The database can be used by developers with a locally installed Hoogle command line tool or for a web installation of Hoogle. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 27 Jan, 2014 2 commits
-
-
Santi Raffa authored
The Ganeti code style has been stored on the project wiki at: https://code.google.com/p/ganeti/wiki/StyleGuide https://code.google.com/p/ganeti/wiki/HaskellStyleGuide This commit combines the two pages into an .rst file with minimal formatting and language changes. Note that the style guide introduced in this commit does not fit the code base in a number of ways, including: * Some Haskell files have lines longer than 78 characters * Some Haskell files have trailing whitespace * Some Python docstring initial sentences lack punctuation at the end The decision to either change the offending lines to fit the guidelines, to change the guidelines to fit the codebase or to simply ignore the discrepancies is left for other commits to solve. Signed-off-by:
Santi Raffa <rsanti@google.com> Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Jose A. Lopes authored
Export documents about 'cluster keys replacement' and 'design file based storage' from the wiki to the repository. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 22 Jan, 2014 1 commit
-
-
Jose A. Lopes authored
Add OS reinstall design doc to the list of design docs in the Makefile, otherwise it does not get compiled when modified, and add it also to the index page of the documentation, where all the other design docs are anchored. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 21 Jan, 2014 1 commit
-
-
Klaus Aehlig authored
For luxid to be feature-complete with respect to masterd, it also needs to answer requests about locks. This includes knowing the fields available for locks. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 20 Jan, 2014 1 commit
-
-
Klaus Aehlig authored
Virtual clusters are an efficient way to test how Ganeti behaves on a large cluster without requiring a large number of machines. Now that more tasks like job replication are done by luxid, provide that functionality in Haskell as well. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 17 Jan, 2014 1 commit
-
-
Jose A. Lopes authored
Fix overridable configure directories, namely, --bindir, --sbindir, and --mandir. Variables 'bindir', 'sbindir', and 'mandir' are exported from 'configure.ac' to 'Makefile.am'. At first, it would seem to be possible to do the following: MANDIR := $(mandir) ... mandir = $(versionedsharedir)$(datarootdir)/$(MANDIR) However, this does not work in the output of 'configure' (i.e., the 'Makefile'), these variables will be reordered: mandir = $(versionedsharedir)$(datarootdir)/$(MANDIR) ... MANDIR := $(mandir) As a result, 'MANDIR' will capture not the exported value from 'configure.ac' but the 'mandir' defined in the 'Makefile'. The solution is explicitly export these variables from 'configure.ac' with different names, namely, 'BINDIR', 'SBINDIR', and 'MANDIR': AC_SUBST([BINDIR], $bindir) AC_SUBST([SBINDIR], $sbindir) AC_SUBST([MANDIR], $mandir) The rest is just fixing the paths and the symlinks in the 'Makefile'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 16 Jan, 2014 2 commits
-
-
Jose A. Lopes authored
Add 'design-2.11.rst' which kvmd and instance shutdown to the top-level documentation and Makefile. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Helga Velroyen authored
This adapts various file to make the current master branch the new stable-2.12 branch. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 13 Jan, 2014 5 commits
-
-
Jose A. Lopes authored
Add unit tests for KVM daemon. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Jose A. Lopes authored
Add manpage for the KVM daemon. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
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>
-
Jose A. Lopes authored
Add KVM daemon logic, which contains monitors for Qmp sockets and directory/file watching. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Jose A. Lopes authored
* add user and group to 'configure.ac', 'Makefile.am' and 'AutoConf.hs.in' * extend 'Daemon' datatype with 'GanetiKvmd' and implement all related functions, such as, 'daemonName', etc. * export KVM daemon name as constant Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 10 Jan, 2014 1 commit
-
-
Klaus Aehlig authored
As 2.10 is the first version from which you can do automatic upgrades, there is nothing to do when going to any other version in the 2.10 branch. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 09 Jan, 2014 3 commits
-
-
Jose A. Lopes authored
Design document for KVM daemon which is needed by the instance shutdown detection for KVM. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Hrvoje Ribicic authored
The RAPI workload script supplies work for the RAPI compatibility tests. The initial version does very little, but can be expanded as needed. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Santi Raffa authored
The Ganeti code style has been stored on the project wiki at: https://code.google.com/p/ganeti/wiki/StyleGuide https://code.google.com/p/ganeti/wiki/HaskellStyleGuide This commit combines the two pages into an .rst file with minimal formatting and language changes. Note that the style guide introduced in this commit does not fit the code base in a number of ways, including: * Some Haskell files have lines longer than 78 characters * Some Haskell files have trailing whitespace * Some Python docstring initial sentences lack punctuation at the end The decision to either change the offending lines to fit the guidelines, to change the guidelines to fit the codebase or to simply ignore the discrepancies is left for other commits to solve. Signed-off-by:
Santi Raffa <rsanti@google.com> Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 20 Dec, 2013 1 commit
-
-
Helga Velroyen authored
This patch adds a couple of utility functions to manipulate the map of master candidate SSL certificate digests. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 18 Dec, 2013 1 commit
-
-
Klaus Aehlig authored
In this example, there are two drbd instances, rendering a total of four nodes ineligible for being offlined. Additionally, the master may not be offlined either, leaving a single candidate. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 17 Dec, 2013 4 commits
-
-
Petr Pudlak authored
The generic part will be reused in WConfd. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Petr Pudlak authored
Also create a new module for RPC errors. This allows it to be reused for other clients as well. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Petr Pudlak authored
Move rpc.py to rpc/node.py and modify imports in existing code. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Santi Raffa authored
Add Gluster to Ganeti by essentially cloning the shared file behaviour everywhere in the code base. Signed-off-by:
Santi Raffa <rsanti@google.com> Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 13 Dec, 2013 2 commits
-
-
Petr Pudlak authored
Currently they are generated only as Strings. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Petr Pudlak authored
Now the file contains the type class declaration as well. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
- 11 Dec, 2013 1 commit
-
-
Petr Pudlak authored
This will allow WConfD to use the general functions without importing Luxi.hs. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 06 Dec, 2013 1 commit
-
-
Jose A. Lopes authored
This fixes issue 634. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 02 Dec, 2013 1 commit
-
-
Klaus Aehlig authored
In order to allow informed decissions on when to start a job, it is necessary for luxid to keep track of the (active part of the) job queue. Add a scheduler, similar to the config reader, that does this, but also schedules jobs to be executed. At the moment this is just the simple mechanism of starting jobs until a fixed number of running jobs is reached. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 26 Nov, 2013 1 commit
-
-
Helga Velroyen authored
Switching from python to haskell queries, this patch removes the option to dis/enable the haskell queries at configure time. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Hrvoje Ribicic <riba@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>
-
- 14 Nov, 2013 2 commits
-
-
Jose A. Lopes authored
Merge code of 'hs2py-constants' into 'hs2py', which requires adding flag '--constants', and merge target 'src/hs2py-constants' into 'src/hs2py' in 'Makefile.am', also updating dependencies and variables. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Jose A. Lopes authored
This is a transitional step before merging 'hs2py-constants' and 'hs2py'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 12 Nov, 2013 2 commits
-
-
Jose A. Lopes authored
Sort design docs alphabetically in Makefile.am and fix whitespace. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Jose A. Lopes authored
Fixes issue 609. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 08 Nov, 2013 4 commits
-
-
Jose A. Lopes authored
Move Haskell constants from module 'Ganeti.HsConstants', which was a transitional module part of the Haskell to Python constant generation infrastructure, to module 'Ganeti.Constants'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
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>
-
Jose A. Lopes authored
Add 'AF_INET*' constants to the Haskell 'AutoConf' module, which requires extending the 'm4' invocation with additional substitutions, in the 'Makefile' target for 'src/AutoConf.hs'. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Jose A. Lopes authored
Add Python script to autotools which prints socket related constants. These constants are a transitional solution for eliminating the Python to Haskell constant generation given that the final solution will require a change in the configuration and, therefore, postponed to 2.11. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-