An error occurred fetching the project authors.
- Mar 21, 2013
-
-
Helga Velroyen authored
This patch extends the 'gnt-cluster init' command to set the list of enabled storage types on cluster creation. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This patch extends the 'gnt-cluster modify' command to manipulate the list of enabled storage types. Note that this currenlty does no validation with respect to whether or not there are instances currently using a storage type that is being removed from the list. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This extends the 'gnt-cluster info' command to list the storage types that are enabled on the cluster. It also fixes the broken indentation in the 'handleCall' function. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This patch adds the cluster's new field 'enabled_storage_types' to the configuration objects in python and haskell. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This patch adds the currently known and used storage methods to the constants.py file. Note that storage types are different from disk templates. For example both disk templates, drbd and plain, use lvm storage types. The rapi documentation asserts that valid storage types are limited to lvm and file. With the extension of storage types, this is not true anymore, but the implementation of listing storage units is not implemented for the new types. We disable the assert for now, adding a fixme to extend it once the listing of storage units is extended for the new types as well. 'gnt-node list-storage' currently does not support any other storage type than 'lvm' and 'file'. We limit the QA to storage types that are currently implemented for this operation. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Remove some erroneous formatting from the Mond man page. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Add all the supported commands to the API. The actual response is still to be implemented. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Add a stub implementation of the Mond HTTP server to Mond using the Haskell snap-server library. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michele Tartara authored
This commit updates the installation instructions and the user guide. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Bernardo Dal Seno authored
* devel-2.7 cfgupgrade: Fix error messages Update "FIXME" string in RAPI rapi client: add target_node to migrate instance Make diskless instances externally mirrored Fix migrate/failover -n for ext mirror storage Trivial merge: no conflicts Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
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>
-
- Mar 20, 2013
-
-
Bernardo Dal Seno authored
Messages were inconsistent. You could get both an error and a message saying that everything was fine. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
We are not ready for this change yet. Let's push it to 2.8. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Helga Velroyen authored
Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Mar 15, 2013
-
-
Michele Tartara authored
This commit adds the design document for introducing "reason trails", tracing the reason why opcodes are executed, step by step. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Mar 13, 2013
-
-
Michele Tartara authored
Also, add its logfiles and extra log files. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michele Tartara authored
Some daemons will need more than the single logfile that is currently allowed. This patch introduces the infrastructure to allow this. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michele Tartara authored
This commit adds the user and group variables for the monitoring agent in all the configuration files where they are required. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Mar 12, 2013
-
-
Daniel Krambrock authored
This allows migrating to any node, as it is already possible for failover, when instances are externally mirrored. Signed-off-by:
Daniel Krambrock <danielk_lists@z9d.de> Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
This addresses Issue 237. Mirroring no disk is a no-op. As such we can treat them like mirrored instances, since the data they need (none) will be present on all nodes. This is definitely enough to failover or migrate instances with a manual target node. Further work might be needed for support in hail. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
This fixes issue 396. - Fix a wrong comment that mentions drbd8 when actually the code acts only on externally mirrored instances. - Fix a wrong assert that requires failover/migrate to acquire the NAL on externally mirrored instances: this is the case only when a iallocator is used, not if a node is manually specified. Extra qa should be added, but this can only be done if an externally mirrored instance or a diskless instance is tested. It is easier to add it on the master branch, where we have diskless instances support. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
This is not run automatically (although it could/should), but is very useful during development. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
Now that all fields are implemented, and (I think) behave equivalent to the Python implementation, we can switch on the split queries for networks. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
Based on the implemented Ip4Network/Address types, we can now compute the (external) reservations. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
This patch adds some very simple IPv4 address/network types, and uses them in the 'Network' config object. We need these in order to properly compute the reserved IP addresses, without depending on an external library (which I haven't found, by the way). Currently the only operation supported is 'get next IP address', which is enough for us. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
This is in preparation for using OverloadedString extensions in this file, which conflicts with hlint 1.8.28's handling of annotations. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
HLint 1.8.28 requires us to always add "ignore CamelCase", which can be problematic sometimes (e.g. when using OverloadedStrings). Let's expand TestHelper to also support less-standard 'caseFooBar' names, so that we can remove the annotations. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
Side-effects of working on some other network-related stuff… Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
Currently, the Python code returns either FS_UNAVAIL (if these attributes are None) or the proper dicts. As we don't allow editing of these attributes, in most cases they will therefore be FS_UNAVAIL on the client. The Haskell code however returns missingRuntime, which is FS_NODATA, so a mismatch (that also incurs a RPC call). Fixing it is easy, and makes the output consistent. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
The Python code currently sorts this, but the Haskell code not. This should maybe have a test, but I'm not sure how far we want to encode such properties in tests… (and the real reason I'm not adding one is that we don't have a way to generate a random cluster _with_ instances). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
Currently, both the Python and Haskell code return the internal instance list unsorted, which means the output can vary depending on the phase of the moon (well, the Haskell code actually uses internally a tree, sorted by the instance name, but it's implementation detail). By adding an explicit sort step, we guarantee both stability of the output and consistency between the two query paths. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
Currently, the 'node' field is declared as a simple config field, so when only selecting this fields, the runtime gathering is no longer run and it's presumed that all nodes have a backup. So the output is not truthful (instead of just listing the nodes with at least one export, all are listed). By simply making it a runtime field, filtering works properly and we get the same output as the masterd code. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
And also use it for simple network fields. Currently the Python library returns jsnull, which is formatted as 'None' by the Python client, which (IMHO) is not nice, since these fields are strings (some of them) or "other". An undeclared gateway is easier to diagnose when properly reported by the server as missing, rather than "existing but null". Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Iustin Pop authored
The headers/type/descriptions had some differences from the Python code, when checked for exact equivalence. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Helga Velroyen authored
This patch updates the design doc "Design correct reporting of storage free space". The modifications were chosen to not conflict with any future changes of Ganeti regarding storage pools. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Bernardo Dal Seno authored
Diskless instances cannot really be reinstalled, not even through RAPI. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michele Tartara authored
Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Bernardo Dal Seno authored
* devel-2.7 Add QA for instance creation with policy violation Add QA for policy-instance interactions Add QA for cluster policies Unit tests for objects.InstancePolicy + a fix Unit tests for objects.FillIPolicy() + small fix Fix upgrade of policy in objects.Cluster Fix instance policy checks for default back-end parameters Fix restoring default instance specs in group policies Unit tests for cmdlib._GetUpdatedIPolicy() Fix policy check for disk templates Fix merge 8e09e801 that resulted in duplicated code GanetiRapiClient: fix the no_remember option Conflicts: qa/qa_cluster.py qa/qa_instance.py Conflicts are due to QA config in master using objects instead of dictionaries. Also updated some new QA code in devel for the same reason. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
The first line of a function should be blank, unless it is able to contain the whole function. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-