History | View | Annotate | Download (3.7 kB)
Officially require Python 2.6+
We have no way to test Python 2.4 compatibility anymore, and thatversion is long deprecated. From version 2.8+ require Python 2.6 orabove (but still not 3.0).
Signed-off-by: Guido Trotter <ultrotter@google.com>Reviewed-by: Michael Hanselmann <hansmi@google.com>
Fix OCF files installation in devel/upload
LIBDIR was not defined, so the files ended up directly under /, notgood. Now they're properly installed under /usr/lib/ocf, as perhttp://linux-ha.org/wiki/OCF_Resource_Agents.
Also add "set -u" to prevent future occurrences of this kind of bug....
Add ganeti-master-role.ocf example file
This allows controlling the cluster master role if the nodes are part ofa linux-HA cluster.
Add ganeti-node-role ocf example file
This allows offlining nodes that don't respond if they are part of alinux-HA cluster.
Switch devel/upload to a static file
We had twice in the past days questions about devel/upload being"broken", since bash re-reads shell scripts during their run and thisfile can get regenerated due to Makefile changes.
Since we only need this to be dynamically built for 3 variables, let's...
Generate devel/upload during build time from template
- Use variable with prefix instead of grep and sed- Always run with /bin/bash
Reviewed-by: ultrotter
Fix a typo in a devel/upload comment
Files are uploaded to $prefix/sbin, not $prefix/bin
Reviewed-by: iustinp
Add tool to ease testing of unsubmitted patches
The upload tool can be used to submit the current code to an arbitrary list ofnodes. This helps developers in easily testing their changes before submittingthem.