- 17 Jul, 2014 1 commit
-
-
Petr Pudlak authored
This requires to compile each object file twice, once without profiling, for TH splicing, and then once with profiling enabled. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 11 Jul, 2014 1 commit
-
-
Petr Pudlak authored
Remove implemented ones from the draft list and add the ones fully or partially implemented in 2.12. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 10 Jul, 2014 2 commits
-
-
Klaus Aehlig authored
Make gnt-cluster upgrade honor the --with-backup-dir configure option. In this way, at configure time, it can be decided in which directory the configuration backup tar balls are put. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Klaus Aehlig authored
During Ganeti version upgrades, Ganeti creates a backup of the full configuration directory. Add a new configure option to decide in which directory the backup tar ball is to be put. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 07 Jul, 2014 6 commits
-
-
Klaus Aehlig authored
...that was accidentally removed in e8127e66. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Petr Pudlak authored
In particular, test serialization of IPv4Reservation, which is used on the Python part as well. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
We verify that 'readJSON . showJSON == Ok' and that maps are equal iff keys map to the same values. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
Internally, they're implemented using IntSets, which work quite well for both sparse and dense sets. The implementation is hidden outside the module so it's possible to replace it with something else, if needed. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
Currently, the part that loads/saves locks is generic, with no lock specifics. Abstract it so that it can be reused for temporary reservations. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
The function fsync(2) is not packaged in any package we currently depend on, but we need it nevertheless. For a single function, however, it is easier, also for people trying to build Ganeti, to just do the foreign function call ourselves, instead of depending on yet another package. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 04 Jul, 2014 1 commit
-
-
Apollon Oikonomopoulos authored
Add a DRBD 8.4 configuration with the first resource empty, together with the relevant Haskell and Python tests. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 25 Jun, 2014 2 commits
-
-
Petr Pudlak authored
Currently it does only some basic checking, like valid UUIDs. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
Verify that the results of allocation do not depend on the presence of an overfull group, if the option --independent-groups is given. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
- 04 Jun, 2014 1 commit
-
-
Petr Pudlak authored
This monads wraps the writer monad. It allows a computation to emit multiple errors messages and deal with them at the end. This will be used for configuration verification, as well as for other verification purposes such as verification of JSON input. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 03 Jun, 2014 1 commit
-
-
Klaus Aehlig authored
...so that it can be used by other daemons as well. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 30 May, 2014 1 commit
-
-
Klaus Aehlig authored
...from the jobs code, as this functionality is now carried out by wconfd. Also remove dead code resulting from this removal. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 29 May, 2014 1 commit
-
-
Petr Pudlak authored
.. and add a function for random secrets, just as we have in Python code. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 27 May, 2014 1 commit
-
-
Klaus Aehlig authored
To avoid further cluttering the already overly long Utils.hs move the Statistics data type with its related functions into a separate submodule. This also provides a better encapsulation of this type where the Constructors are not exported. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 26 May, 2014 1 commit
-
-
Petr Pudlak authored
.. which can contain multiple values for a single key. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 19 May, 2014 1 commit
-
-
Petr Pudlak authored
It just encapsulates 'MVar ()', but hides the implementation and enforces that the only way how to use a lock is to (internally) use 'bracket'. This ensures that the lock never becomes locked forever due to a programing error or an exception. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 15 May, 2014 1 commit
-
-
Petr Pudlak authored
The log messages are kept in internal 'WriterT' monad and can be extracted after a computation is run. This can be used to log in a pure piece code, or when logging output needs to be delayed in a critical part. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 13 May, 2014 1 commit
-
-
Klaus Aehlig authored
This daemon does not do anything anymore, so we can as well get rid of it. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com>
-
- 12 May, 2014 3 commits
-
-
Yuto KAWAMURA(kawamuray) authored
It will be fail if LC_ALL was set to non-utf8 locale(e.g, 'C') by following error. col: Invalid or incomplete multibyte or wide character man: command exited with status 1: col -b -p -x Signed-off-by:
Yuto KAWAMURA(kawamuray) <kawamuray.dadada@gmail.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
.. and a supplied function that works inside the lens. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
This patch adds the first step, the reservation of DRBD minors. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 08 May, 2014 2 commits
-
-
Klaus Aehlig authored
The configuration shows an unbalanced cluster with a node being drained. The natural evacuation strategy includes frf-moves. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Hrvoje Ribicic <riba@google.com>
-
Hrvoje Ribicic authored
Adding the HEXTRA option to make might not be practical for a change that should be always applied, e.g., hiding a certain package. This patch allows the flags to be specified at the configure level. Signed-off-by:
Hrvoje Ribicic <riba@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 05 May, 2014 1 commit
-
-
Ilias Tsitsimpis authored
Add 'ReqInstanceDisks' request type and allow Confd to query for the disks of an instance. The helper function 'getInstanceDisks' returns the list of instances on the given node along with their disks and is used by the function 'addInstNameToLv'. Update the test's data file 'instance-prim-sec' and rename it to 'instance-disks' as it doesn't return the primary and secondary instances of a node any more, but it returns the instances and their disks. Signed-off-by:
Ilias Tsitsimpis <iliastsi@grnet.gr> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
- 29 Apr, 2014 4 commits
-
-
Apollon Oikonomopoulos authored
Test the consistency between daemon-util and the systemd unit files: - Each service started/stopped by daemon-util must have a respective unit file. - The daemon user/group in the service file must be the same as the one reported by daemon-util. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Apollon Oikonomopoulos authored
We add templates for systemd service files and systemd targets under doc/examples/systemd and flag them to be built. The generated files are also added to .gitignore. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Jose A. Lopes <jabolopes@google.com>
-
Petr Pudlak authored
In particular, functions for retrying a MonadPlus action: It is repeated until it returns a valid result. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Apollon Oikonomopoulos authored
Currently, design-node-security.rst is not included in the dist tarball, making it impossible to rebuild the documentation using only the tarball. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 28 Apr, 2014 1 commit
-
-
Thomas Thrainer authored
This design doc describes which tests are added in order to test the performance of Ganeti, specifically when handling multiple jobs in parallel. Note that this design doc is submitted to stable-2.10 so performance changes over different Ganeti versions can be captured. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 24 Apr, 2014 1 commit
-
-
Klaus Aehlig authored
In this example, the cluster has two nodes and four instances, two with primary on each of the nodes. The most scarce resource on this cluster are (virtual) CPUs and the second node has 3 times the CPU speed of the first one. So distributing the instances 1 and 3 gives a more balanced cluster. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 22 Apr, 2014 3 commits
-
-
Klaus Aehlig authored
...to simplify manipulation of them. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Klaus Aehlig authored
...so that manipulations deep within such an object get more simple. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
Klaus Aehlig authored
Move all the definition of objects to a spearate file. In this way, the lense module for JQueue can use these objects, while JQueue can use the lenses. For use outside, we reexport the objects. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Petr Pudlak <pudlak@google.com>
-
- 17 Apr, 2014 3 commits
-
-
Petr Pudlak authored
They will be used by Luxi daemon to spawn jobs as separate processes. The communication protocol between the Luxi daemon and a spawned process is described in the documentation of module Ganeti.Query.Exec. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
Currently it exports a function for creating livelock files. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Petr Pudlak authored
This is needed for properly executing Python job processes. Signed-off-by:
Petr Pudlak <pudlak@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-