- Apr 05, 2013
-
-
Helga Velroyen authored
This patch rewrites and extends the design doc about storage reporting with respect to disk templates and storage types. In constrast to the previous version, we now consider disk templates as the user-facing entity, that the user can dis/enable for the cluster. Storage types on the other hand describe the underlying technology used by the various disk templates. Storage reporting will use a mapping from disk templates to storage types to pick the correct method to report the storage for the respective disk templates. Note that the design doc in this state still contains some questions and FIXMEs. Feel free to comment on those. I will complete them directly or in future patches. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Apr 04, 2013
-
-
Bernardo Dal Seno authored
This is based on the --donwgrade option of cfgupgrade, first introduced in 1709435e. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Apr 03, 2013
-
-
Michele Tartara authored
The version numbers of two programs had been swapped. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- Apr 02, 2013
-
-
Bernardo Dal Seno authored
This is required because of 0e79564a; otherwise, the pylint-qa target will fail. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Some required dependencies were missing from the installation instructions. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- Mar 28, 2013
-
-
Michele Tartara authored
Also adds the DCStatusCode, part of DCStatus, and the addStatus utility function for adding the "status" field to an already existing JSValue. The design document is updated to have the status codes sorted by increasing seriousness. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Michele Tartara authored
Also, update the JSON output (and the design document) so that it is not in camelcase anymore. This is part of a bigger effort to remove camelcase from the exposed JSON. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
Michele Tartara authored
Having 'null' instead of an empty string for an empty status message increases the complexity of the code with no real improvement. This patch modifies the monitoring agent design document solving this issue. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Bernardo Dal Seno <bdalseno@google.com>
-
- Mar 27, 2013
-
-
Bernardo Dal Seno authored
Minimum and maximum instance specs are put together into a single element of the instance policy. This is in preparation for introducing multiple min/max specs. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Bernardo Dal Seno authored
There will be only one standard specification in instance policies. Signed-off-by:
Bernardo Dal Seno <bdalseno@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Mar 26, 2013
-
-
Michele Tartara authored
Add some additional information about how to use/test the RAPI, including how to specify authentication credentials. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- Mar 21, 2013
-
-
Helga Velroyen authored
- Use entities as examples for storage types that are actually storage types. - Fix mixing up 'external_storage' and 'exclusive_storage'. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
To minimize the confusion between whether or not a storage type is the same as a storage method, I updated the design doc to use 'storage type' instead of 'storage method' consistently. 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>
-
- 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 12, 2013
-
-
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>
-
Michele Tartara authored
Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Mar 05, 2013
-
-
Iustin Pop authored
This should help a lot of users, since pylint 0.21.1 was quite an old version… The tree is "clean" w.r.t. the new pylint version. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- Feb 28, 2013
-
-
Iustin Pop authored
Thanks Michael for pointing out the error! Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
The document doesn't mention which certificates need to be passed as ca-file, so let's try to clarify that. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Feb 26, 2013
-
-
Michael Hanselmann authored
Many resources, but not all, list their supported methods. With a new reST directive, this list is now automatically generated and also lists the required permissions. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Feb 22, 2013
-
-
Michael Hanselmann authored
- Document fields in “rapi/users” file in the order they appear (username, password, options) - Mention new “--require-authentication” option - Clarify use of “write” on “GET” method Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Feb 21, 2013
-
-
Michele Tartara authored
The previous patch was incomplete when erroneously pushed. This patch, originally intended as part of the previous one, fixes it. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michele Tartara authored
Update the monitoring agent design document adding the format of the HTTP queries that will have to be used to query the monitoring agent. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Feb 20, 2013
-
-
Michael Hanselmann authored
Sometimes it can be difficult to determine the access permissions needed for a certain RAPI resource without looking at code. This table, added at the end of “rapi.rst”, shows all resources and the permissions needed for their methods. Another nice side-effect of this change is that there's an automatic cross-checking between implemented resources and methods and the documentation. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Feb 19, 2013
-
-
Guido Trotter authored
- Specify that there will be options for selecting nodes by at least nodegroups and tags, rather than just individually. - Specify a better handling for non-redundant instances (eg. plain or file) which today are simply ignored - Specify that the rolling maintenance behavior is triggered by instances being up, but also overridable - Remove execution of rolling maintenances altogether, as it is deemed unsafe in the current version, and move it to future work, discuss the requirements that were pointed out for it to be safe. Cosmetic: - Fix numbered list, which were rendered incorrectly in the HTML version Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
A newly added table of RAPI access permissions will link to all resources and their supported methods. For this reason link targets need to be added. The GET method on “/2/nodes/[node_name]” was not separately mentioned. This is also fixed. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michael Hanselmann authored
Assert that the documented fields are equal to those in the actual object. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Feb 18, 2013
-
-
Michele Tartara authored
This commit expands the monitoring agent design document improving the description of the general report file format. There can be two kinds of data collectors (performance and status collectors). Every collector can now be part of a category of collectors (such as storage, instance, daemon, hypervisor, etc.) that defines a minimum basic structure that has to be common to all the collectors part of the same class. Also, such basic structure is defined for all the currently envisioned class of collectors. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Feb 15, 2013
-
-
Guido Trotter authored
This is described in Issue 83. Update both the install guide and the gnt-instance manpage. In the install guide move another KVM specific example inside a new KVM admonition for the hypervisor parameters section. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Constantinos Venetsanopoulos authored
* ganeti-extstorage-interface: add examples * gnt-instance: document the “ext” template * remove a few double spaces Also link to its design doc in the design-2.7 doc Signed-off-by:
Constantinos Venetsanopoulos <cven@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com> Signed-off-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
This is a long standing bug in Ganeti. Add a small design on how we plan to fix this for Ganeti 2.7. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Guido Trotter authored
Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Hroller in 2.7 was implemented (as an experiment) but never explicitly designed. This design mentions the current functionality, and explains the changes that will happen for the next release to support live maintenance scheduling (rolling reboot). Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Feb 12, 2013
-
-
Iustin Pop authored
The documentation still points to /etc/ganeti/remote-commands, although the code is already using restricted-command. Update the documentation and a few docstrings accordingly. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Feb 11, 2013
-
-
Dimitris Aragiorgis authored
This info is not used by Ganeti and therefore is removed. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Dimitris Aragiorgis authored
This slot was not used by Ganeti so the same info can be provided via tags. In order not to break configuration data we add a FromDict() method in Network config object that removes the deprecated network_type (if found) and then invoke the parent's method (which does the validation). Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
This should address 359, but I'm not sure if it covers all of 2.7… Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Feb 08, 2013
-
-
Guido Trotter authored
1) Move the hooks environment dict generator inside the object. This also adds missing values such as network family and uuid. 2) Use the same generator both for the os environment and for the instance hooks. 3) Update manpage and hooks documentation. Also update a forgotten docstring about a tuple's content. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Feb 06, 2013
-
-
Guido Trotter authored
Also update the documentation target versions and the cfgupgrade tool to recognize 2.6 and upgrade to 2.7 Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-