- 30 Jul, 2013 1 commit
-
-
Jose A. Lopes authored
Makefile.am rule for doc/html/index.html and doc/man-html/index.html requires executing sphinx-wrapper. However, sphinx-wrapper was not in the dependency list for this rule. Signed-off-by:
Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 26 Jul, 2013 1 commit
-
-
Pulkit Singhal authored
Add design document for the Ceph/RBD support in Ganeti, as it will be implemented during a GSoC project. Signed-off-by:
Pulkit Singhal <pulkitatiiit@gmail.com> Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 25 Jul, 2013 5 commits
-
-
Guido Trotter authored
* stable-2.9: Update NEWS and version for Ganeti 2.7.1 Add hvparam to disable VNET_HDR on tap devices daemon-util: pass --oknodo at rotate_logs Fix another missing renaming Add logrotate example daemon-util: provide rotate_logs and rotate_all_logs actions Fix usage of mapping from disk templates to storage types Rename VALID_STORAGE_TYPES to STORAGE_TYPES Unit tests for constants consistency Rename disk_template/storage_type map + cleanup Move space reporting constant to constants.py Update hroller manpage Update NEWS file wrt to file storage dir Update man page of gnt-cluster regarding file-storage-dir gnt-cluster {init, modify} --file-storage-dir Always return tuples in Expand*Name Prepare QA for shared file storage Fix permission errors for split users Make RAPI export device names and UUIDs Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Guido Trotter authored
* stable-2.8: Update NEWS and version for Ganeti 2.7.1 Add hvparam to disable VNET_HDR on tap devices daemon-util: pass --oknodo at rotate_logs Add logrotate example daemon-util: provide rotate_logs and rotate_all_logs actions Fix permission errors for split users Make RAPI export device names and UUIDs Conflicts: lib/constants.py: trivial lib/rapi/rlib2.py: trivial Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Guido Trotter authored
* stable-2.7: Update NEWS and version for Ganeti 2.7.1 daemon-util: pass --oknodo at rotate_logs Add logrotate example daemon-util: provide rotate_logs and rotate_all_logs actions Conflicts: NEWS: trivial configure.ac: trivial (keep 2.8 version) Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Guido Trotter authored
Release 2.7.1 with a handful of minor fixes. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Stratos Psomdakis authored
IFF_VNET_HDR allows tap devices to extract a VIRTIO_NET_HDR from pkts going through the tap iface, enabling segmentation offload for the virtio nics. Current (Debian) kernels (3.2 for Debian Squeeze backrports / Wheezy) don't seem able to handle well VMs with 'broken' virtio ifaces (e.g. FreeBSD virtio-net driver), using GSO. Broken or malicious virtio-net drivers can cause the host kernel to flood the logs with WARNs(), effectively live-locking the system and affecting its overall stabitlity (eg DRBD disconnects). The WARN() flooding has been fixed / ratelimited in Linus' tree, but it hasn't been backported to -stable. This patch adds the vnet_hdr hvparam for KVM, to select whether the tap devices used for KVM virtio ifaces will get created with VNET_HDR support (IFF_VNET_HDR), even when the underlying kernel supports it, in order to avoid this issue. Signed-off-by:
Stratos Psomadakis <psomas@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 24 Jul, 2013 4 commits
-
-
Klaus Aehlig authored
This is a design document detailing the semantics of the fine-grained control of jobs in Ganeti. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Dimitris Aragiorgis authored
This is a design document detailing the implementation of device hotplugging in Ganeti. Signed-off-by:
Dimitris Aragiorgis <dimara@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Sebastian Gebhard authored
Extensions for "gnt-instance show" to output the vlan parameter which was introduced by my recent patch series. This is done by extending the nic object that is used to output the info. Every other occurrence of this object is adopted as well. This should fix the errors during make commit-check and lint errors Signed-off-by:
Sebastian Gebhard <sege@fs.ei.tum.de> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Apollon Oikonomopoulos authored
daemon-util's rotate_logs() did not pass --oknodo to start-stop-daemon while HUPing the daemon processes. As a result, rotate_logs would fail for a non-running daemon causing rotate_all_logs to exit prematurely. We can fix this by either passing --oknodo to start-stop-daemon, or have rotate_all_logs ignore any errors. The former is probably a safer approach - as it doesn't mask any potential coding errors in rotate_logs - and is also semantically correct (we only care about log rotation if a daemon is actually running). Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 23 Jul, 2013 13 commits
-
-
Helga Velroyen authored
This fixes a (due to a merge) slipped occurence of VALID_STORAGE_TYPES which was renamed to STORAGE_TYPES. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Apollon Oikonomopoulos authored
Add an example logrotate snippet, along with the relevant documentation. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Apollon Oikonomopoulos authored
Modify daemon-util to allow sending SIGHUP to one or all daemons. This is meant as a utility function to be used in logrotate definitions. Signed-off-by:
Apollon Oikonomopoulos <apoikos@gmail.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This fixes the currently broken tests due to a slipped occurrence of the mapping from disk templates to storage types due to a merge. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Helga Velroyen authored
For consistency, this patch renames 'VALID_STORAGE_TYPES' to 'STORAGE_TYPES', because the set of valid disk templates is also just names 'DISK_TEMPLATES'. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This patch adds some unit tests to ensure the consistency of various constants regarding disk templates. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This patch renames the mapping of disk templates to storage types to MAP_DISK_TEMPLATE_STORAGE_TYPE, which is a more expressive name since it indicates that it is a mapping and does not have the inconsistent usage of singular and plural anymore. Additionally, this patch sorts the disk templates alphabetically in the constants file. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This patch moves the constant which is used to determine whether a storage type provides storage space reporting from the utils package to the constants. This way, we can also use it in haskell and it fits there semantically better anyway. Additionally, I added unit tests that make sure that the constant is in sync with the actual implementation in the backend. This will make sure that when new storage types provide space reporting, those functions are actually used in the backend. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Klaus Aehlig authored
Offline nodes are properly ignored and support for online rolling reboots is added, so this should no longer be mentioned under bugs. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Helga Velroyen authored
This updates the NEWS file in a way that it mentions now that 'gnt-cluster init' got the new option '--file-storage-dir'. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Helga Velroyen authored
This extends the description of 'gnt-cluster init' and 'gnt-cluster modify' with respect to the file storage directory. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Helga Velroyen authored
This patch implements consistent usage and behavior of the --file-storage-dir option in 'gnt-cluster init' and 'gnt-cluster modify'. It includes a bunch of unit tests as well. Additionally, it enables the previously written unit tests for 'instance_storage', which were forgotten to be included in the Makefile so far. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Thomas Thrainer authored
ExpandNodeName and ExpandInstanceName now always return a tuple. If the node/instance was not found, (None, None) is returned. This fixes bugs where callers blindly assign the return value of those methods to multiple variables without checking if it was None. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 22 Jul, 2013 8 commits
-
-
Michele Tartara authored
Using None in a VTYPE_MAYBE_STRING is wrong, because it cannot really be serialized to a Haskel Nothing, but given that this can (and does) influence external components already using None, it is turned to a warning in order not to break the existing behavior. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
The NIC configuration used the python "None" instead of a proper Nothing. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
The Nothing value of a Haskell Maybe needs to be properly encoded. If a Python "None" is used, it is not going to be handled properly when the resulting JSON is decoded by Haskell. This patch adds support for proper "Nothing" encoding. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Sebastian Gebhard authored
This patch fixes some KeyErrors that were introduced by the vlan implementation and showed up when certain parameters were missing: gnt-cluster init without network mode gnt-isntance add without vlan Signed-off-by:
Sebastian Gebhard <sege@fs.ei.tum.de> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Helga Velroyen authored
This prepares the QA for running tests regarding shared file storage. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Thomas Thrainer authored
Correctly set ownership and permissions for daemon log files, correct the name of the luxid logfile and set the ownership of the query socket correctly. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Thomas Thrainer authored
This design document describes the plan to create a test framework and actual unit tests for the cmdlib module. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 19 Jul, 2013 6 commits
-
-
Michele Tartara authored
After adding LuxiD, the list of daemons has to be updated in the tests as well. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Add a 2.9 configuration file and modify the test to use it. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
The minimal cluster config has changed, but the sample in the tests had not been updated yet. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
* stable-2.9 Fix parsing of drbdsetup show output for DRBD 8.4 Revert "Disable failing QA test" Add unit test for drbdsetup show parsing GenerateDiskTemplate: Proper check for valid disk templates Fix iallocator unit tests Move bdev unit tests to filestorage unit tests Fix deprecation warning about exception Add debug logging to Confd Add documentation line to getNodeInstances Let ReqNodeInstances work with node UUIDs Update Gluster Ganeti Support doc * stable-2.8 Add timestamps to haskell network query fields Extract ConfigReader from Confd/Server.hs Add queryd daemon (split from confd) Add ganeti-queryd to QA env test Document ganeti-queryd Enable unit tests again Document the rapi client not to have a QueryNetworks method Rename queryd to luxid Add hs function to easily change file ownership Fix permission problem related to Issue 477 No conflicts. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Christos Stavrakakis authored
Add UUIDs and names of instance's disks and NICs to the list of instance fields that are returned from RAPI. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Weiwei Jia authored
Update the document as agreed on the mailing list: the project should be realized in two parts: one is for supporting Xen VMs (similarly to the sharedfile template) and the other one for QEMU/KVM VMs. Signed-off-by:
Weiwei Jia <harryxiyou@gmail.com> Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 18 Jul, 2013 2 commits
-
-
Klaus Aehlig authored
* stable-2.8 Fix permission problem related to Issue 477 Add hs function to easily change file ownership Conflicts: src/Ganeti/Utils.hs (trivial) trivial Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Michele Tartara authored
The "primaryNode" and "secondaryNode" fields of "Instance" entities in the cluster configuration where changed to use UUIDs instead of names. The ReqNodeInstances query inside Confd was not upgraded yet, and was thus not working anymore. This commit fixes it. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-