- 20 Jun, 2013 2 commits
-
-
Michele Tartara authored
The server.pem file is 0440 (materd_uid, masterd_gid) and cannot be accessed by confd. This patch contains a workaround for 2.8.0~beta1 (adding conf to the masterd group in the user setup tool, and remembering the users to actually execute that tool while upgrading). This partially fixes Issue 292. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
The heuristics for tiered allocation has been improved in that it chooses to shrink such a resource next where by shrinking only this resource a valid allocation can be made, if such a resource exists. In order to decide whether such a resource exists, all potential sizes of this resource are verified. We can improve performance by cutting, as soon a potential allocation of an instance is no longer blocked on this resource. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 19 Jun, 2013 1 commit
-
-
Klaus Aehlig authored
* stable-2.7 More agressively line break man pages Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 18 Jun, 2013 4 commits
-
-
Klaus Aehlig authored
Newer versions of pandoc (as, e.g., shipped with Ubuntu 13.04) more agressively quote, in particular minus signs. That sometimes leads to unintended line breaks, which are a problem, if the new line starts with a dot. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Now that alpha versions are supported, we can bump the version number for branch stable-2.8 to 2.8. This also requires updating the cfgupgrade tool. Thanks to the previous patches, all the other documents can be upgraded during the alpha lifetime, before switching to beta (that will enable the version number checks). Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
One of the unit tests checks whether cfgupgrade's downgrade option is idempotent. It is, but a version number check made it impossible to actually downgrade multiple times. With this change, both the current-version version number and the target-version version number are accepted by the downgrade tool. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
The downgrade option of the cfgupgrade tool was not changing the version number in the configuration file of the cluster while performing the downgrade. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 17 Jun, 2013 4 commits
-
-
Klaus Aehlig authored
In this example, memory prevents adding more than one instance on the first node. Yet, on the other nodes, 2 instances can be placed each, if disks are shrunk appropriately. This, however, requires to courageous decision to shrink disks next, even though more nodes fail to allocate more due to memory than to disk. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
In tired allocation, hspace shrinks that resource of the instance next, that causes failure on most nodes. While, this is not a bad strategy in general, it can lead hspace into a dead end if for a large number of nodes a particular resource blocks any further allocation of policy compliant instances. So we improve the heuristics in that it chooses to shrink such a resource next where by shrinking only this resource a valid allocation can be made, if such a resource exists. This improves the results in some cases, while still keeping the computational complexity of the algorithm low. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
For a function f :: a -> GenericResult a, iterate it (in the sense of the monad), until the result is Bad; return the list of values occurred. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
GenericResult, while rightfully a type of its own, is isomorphic to Either. So, also provide the case analysis function (i.e., the universal arrow out of the sum). Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 14 Jun, 2013 9 commits
-
-
Michele Tartara authored
Alpha versions should not check for version numbers in READMEs and documentation. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Alpha versions are still under heavy development, and can therefore not have an entry in the NEWS file yet. The entry will have to be added before switching to the first beta version. Partially fixes Issue 448 Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Unit tests verifying the behaviour of the check-news script are added. This required adding a new make target, "autotools-check" directly called from "commit-check", because the usual tests are executed in the build directory, whereas these, being relative to the autotools, cannot be executed there because the files of the autotools/ directory are not copied do not belong in the build directory. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
An alpha version can be used to name a release while a previous one is still being developed. E.g. 2.9.0~alpha1 can be out while 2.8.0~rc1 is being worked on. When a version is marked as alpha, it is allowed to have unreleased versions before it in the NEWS file, in order to simplify merges of the NEWS file itself between the two development branches. Partially fixes Issue 448. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
There was a typo in the name of the script for launching offline tests. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
* stable-2.7 Make shrinkByType aware of individual disks Add a test for hspace to respect instance policy Conflicts: (trival, take union of added files/tests) Makefile.am test/hs/shelltests/htools-hspace.test Semantic conflicts: test/data/htools/hspace-tiered-ipolicy.data (adapt to changed text format) Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
In this example, the instance policy for disks prevents allocation of more than one instance per node. The test verifies that tiered allocation still respects this and doesn't attempt to place policy violating instances on the cluster. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
When shrinking an instances, you can't just get smaller disk footprint while leaving the individual disks as they are. Make the shrink heuristic aware of that fact, and decrease all individual disks as well. Fixes issue 484. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 12 Jun, 2013 3 commits
-
-
Michele Tartara authored
The index page of the documentation used to be just a list of links. Now it is a proper introduction to all the other pages. Fixes Issue 424. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Add to the NEWS file the list of modifications performed during the 2.8 development cycle. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
- 04 Jun, 2013 6 commits
-
-
Klaus Aehlig authored
Make the force option of the ClusterSetParams Opcode available on the command line. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
If set, the op code will, in particular, try to set the master IP on the new netdev, even if shutting down the master IP on the old netdev failed. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Michele Tartara authored
The administrator's guide must include a section describing the monitoring daemon and its API, in order for the users to be able to use it. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
It will be included by both the design document and the user documentation. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Add information regarding the monitoring agent and its security to the security document. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Christos Stavrakakis authored
Export UUIDs and names of instance NICs and disks to the environment of OS scripts and instance related hooks. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 03 Jun, 2013 2 commits
-
-
Klaus Aehlig authored
In the output of gnt-cluster info, restrict the hypervisor parameters to those hypervisors that are enabled. This fixes issue 443. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Bernardo Dal Seno authored
We support running most of the QA tests on an existing cluster. One big exception was RAPI, as the credentials for the QA RAPI user were created at cluster setup. This patch allows to recover the password for the QA user (if configured) from an existing cluster and hence run RAPI tests. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 31 May, 2013 1 commit
-
-
Bernardo Dal Seno authored
* stable-2.7: Document users-setup tool Adjusting permissions after confd start Ensure the queue socket has the right permissions Update IAllocator interface documentation Conflicts: doc/iallocator.rst Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 30 May, 2013 1 commit
-
-
Michele Tartara authored
The users-setup tool was added but had no documentation up to now. This commit fixes this issue. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
- 29 May, 2013 7 commits
-
-
Helga Velroyen authored
This is a workaround for issue 477. Confd resets the permissions of the query socket in a wrong way. This patch fixes them after the start of confd. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Guido Trotter authored
RAPI needs to be able to perform queries as well. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
Update the missing documentation for the tags fields of node groups. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> (partially cherry picked from commit 2daca99b ) Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Thomas Thrainer authored
The entry also mentions the required change in the IAllocator protocol. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Thomas Thrainer authored
hail-alloc-invalid-network defines a cluster with two nodegroups and an allocation request which does not fit on any of the groups. Group 1 has invalid disk-templates while Group 2 is not connected to the right networks. hail-alloc-restricted-network defines a cluster wih two nodegroups. Nodegroup Group 1 is only used as last_resort group, but is chosen by hail as only this group is connected to the right networks. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Thomas Thrainer authored
Before trying to allocate nodes in node groups, node groups are now filtered based on the networks they are connected to an the networks which are required by the new instance. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Thomas Thrainer authored
Add a NIC type and extend the Instance type by a list of NIC's. Parse the NIC's in allocation requests and store them for now. Later patches will make use of this field in order to ensure that the requested instance is only placed in node groups wich are connected to those networks. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-