- 30 Jul, 2013 3 commits
-
-
Michele Tartara authored
Describe the new parameter in the manpage of gnt-instance. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Describe the new feature in the NEWS file. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Most of the code is shared with instance migrate, so we actually only need to add the parameter and pass its value along the the common code. Also, tests and harep are updated to support the right set of options to the "failover" opcode. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- 29 Jul, 2013 3 commits
-
-
Stratos Psomadakis authored
Document the addition of the vnet_hdr HV parameter for KVM in the NEWS file for 2.8. Signed-off-by:
Stratos Psomadakis <psomas@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Stratos Psomadakis authored
Document the vnet_hdr HV parameter for KVM in the gnt-instance man page. Signed-off-by:
Stratos Psomadakis <psomas@grnet.gr> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Guido Trotter authored
- Create stub "initial release" entry for beta1. - Keep main 2.8 release information at top - Add initial "since beta1" section Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
- 26 Jul, 2013 2 commits
-
-
Michele Tartara authored
The downgrade was not correctly removing some of the UUIDs (namely, those of disks and NICs). Fixes Issue 510. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
After adding a new KVM parameter, RAPI queries related to KVM have become too big, so we need to increase this. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 25 Jul, 2013 5 commits
-
-
Klaus Aehlig authored
In the sense of hbal, and, in fact, all htools, drained nodes are considered as offline. Also, the cluster score is not just the sum of its component, but, e.g., the count of instances on offline nodes is weighted stronger. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Michele Tartara authored
Starting from Ganeti 2.8 all the disks need to have a UUID. A function for adding a UUID automatically to disks was present, but it didn't consider disks with children (like DRBD). The function is modified to work recursively. Partially fixes Issue 510. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@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 1 commit
-
-
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 2 commits
-
-
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>
-
- 22 Jul, 2013 1 commit
-
-
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>
-
- 19 Jul, 2013 1 commit
-
-
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>
-
- 18 Jul, 2013 2 commits
-
-
Michele Tartara authored
Commit 91525dee fixed Issue 477 but broke "gnt-cluster info". This commit offers a solution to both problems, by changing the permission of the socket instead of changing the permission the confd process is run with. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
The Haskell library functions only allow to change file ownership using uid/gid. A function for doing that with explicit names is added by this commit. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- 17 Jul, 2013 7 commits
-
-
Thomas Thrainer authored
As queryd will, in the future, handle all LUXI request, queue jobs and most likely perform various other tasks, it is renamed to luxid already. This will safe some headache when upgrading Ganeti installations, as we don't have to deal with a daemon rename. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
While there is a luxi query QueryNetworks, the rapi client does not provide such a method. Document this by declaring it in the KNOWN_UNUSED_LUXI calls. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Helga Velroyen authored
A while ago, the execution of python unit tests was accidentally disabled for distcheck. This patch enables them again. This will lead to a couple of tests failing, but we decided to submit this first and then fix the broken tests in separate patches. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Thomas Thrainer authored
Add a man page for ganeti-queryd and update the documentation for ganeti-confd in various places. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
Test for the newly introduces ganeti-queryd in the environment test of QA. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
queryd is added as a new daemon which handles configuration queries over LUXI. This functionality was removed from confd, which now only queries over the network. The queryd user is added to the master group such that it can access server.pem. The confd user no longer needs to be in the master group. This fixes issue 292. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Thomas Thrainer authored
Confd's functionality to watch the Ganeti configuration file is extracted to the ConfigReader module. No functional changes are introduced. This extraction makes will enable us to split queryd from confd, as queryd will have to use the same functionality. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 16 Jul, 2013 1 commit
-
-
Christos Stavrakakis authored
Add timestamp fields to the list of available network query fields in the Haskell code. Signed-off-by:
Christos Stavrakakis <cstavr@grnet.gr> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 15 Jul, 2013 4 commits
-
-
Klaus Aehlig authored
* stable-2.7 Fix RAPI to include missing network fields Add support for querying network timestamps In the crontab example, look for the correct binary Fix wrong numbering in UPGRADE documentation Conflicts: src/Ganeti/Objects.hs test/hs/Test/Ganeti/Objects.hs Resolved by taking both additions. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Klaus Aehlig authored
ClientOps' handle_request dispatches on the luxi request received. Change this to first verify if the request is luxi.REQ_ALL. In this way, we catch programming errors introducing "secret" luxi requests earlier. This is relevant, as our other checks for internal consistency compare against luxi.REQ_ALL. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Michele Tartara authored
The modify_etc_hosts options, enabling the cluster to modify the /etc/hosts files of nodes, and to keep them in sync, could only be set at cluster init time. With this commit it can now be changed through modify_etc_hosts as well. Fixes Issue 206. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
The option will be used by gnt-cluster modify in the following commit. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 12 Jul, 2013 2 commits
-
-
Klaus Aehlig authored
When the QueryNetwork was introduced as a method, apparently it was forgotten in the Haskell world. Add it here as well. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Klaus Aehlig authored
At debug level, we can well afford to have a detailed entry for each message received by a server. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 11 Jul, 2013 3 commits
-
-
Michele Tartara authored
Starting confd as a member of the daemons group allows the RAPI daemon to access the LUXI socket. Fixes Issue 477. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
executeRpcCall is the function to be used for executing RPCs, so it makes sense to use it as the single point for logging all thte RPC call errors. Fixes Issue 293. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
This function can be useful to multiple RPC calls, therefore it is moved to the file containing the common RPC functions. Also, it is made more generic by changing its signature. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 10 Jul, 2013 3 commits
-
-
Leon Handreke authored
This patch exposes the bulk argument of the jobs resource on the RAPI python wrapper, making it possible to retrieve status information about all jobs with a single call. Signed-off-by:
Leon Handreke <lhandreke@google.com> Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
"git send-email" is used as part of the official workflow but it was not installed in the chroot. This patch adds it. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Verify that the CanRead function is actually able to check whether a file has the proper permissions. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-