Bump the version number to 2.9.0~alpha1.
This also requires updating version numbers in cfgupgrade tool.
Furthermore, a data file for test representing a 2.8 configuration had the
version number set to 2.7 in order to prevent tests failing while the current
branch was artificially kept behind its actual version number. Now that alpha
versions are possible, it can be moved back to 2.8 as it was supposed to be.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
# Configure script for Ganeti
m4_define([gnt_version_major], [2])
# Configure script for Ganeti
m4_define([gnt_version_major], [2])
-m4_define([gnt_version_minor], [8])
+m4_define([gnt_version_minor], [9])
m4_define([gnt_version_revision], [0])
m4_define([gnt_version_suffix], [~alpha1])
m4_define([gnt_version_full],
m4_define([gnt_version_revision], [0])
m4_define([gnt_version_suffix], [~alpha1])
m4_define([gnt_version_full],
#: Target major version we will upgrade to
TARGET_MAJOR = 2
#: Target minor version we will upgrade to
#: Target major version we will upgrade to
TARGET_MAJOR = 2
#: Target minor version we will upgrade to
#: Target major version for downgrade
DOWNGRADE_MAJOR = 2
#: Target minor version for downgrade
#: Target major version for downgrade
DOWNGRADE_MAJOR = 2
#: Target minor version for downgrade
config_minor, config_revision))
DowngradeAll(config_data)
config_minor, config_revision))
DowngradeAll(config_data)
- # Upgrade from 2.{0..7} to 2.8
- elif config_major == 2 and config_minor in range(0, 9):
+ # Upgrade from 2.{0..7} to 2.9
+ elif config_major == 2 and config_minor in range(0, 10):
if config_revision != 0:
logging.warning("Config revision is %s, not 0", config_revision)
UpgradeAll(config_data)
if config_revision != 0:
logging.warning("Config revision is %s, not 0", config_revision)
UpgradeAll(config_data)