From ec563d86dc12594a405dc2327db5c064029cb3d8 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Fri, 17 Jul 2026 10:56:08 +0200 Subject: [PATCH] M #-: Bump OpenNebula and DB version to 7.6.0 --- include/NebulaService.h | 6 +-- install.sh | 6 ++- share/onegate/onegate | 2 +- share/rubygems/generate | 2 +- src/cloud/common/CloudClient.rb | 2 +- src/im_mad/remotes/VERSION | 2 +- .../src/org/opennebula/client/OneSystem.java | 2 +- src/oca/python/setup.py | 2 +- src/oca/ruby/opennebula/version.rb | 2 +- src/onecfg/lib/version.rb | 2 +- src/onedb/database_schema.rb | 4 +- src/onedb/local/7.4.0_to_7.6.0.rb | 43 +++++++++++++++++++ src/onedb/shared/7.4.0_to_7.6.0.rb | 34 +++++++++++++++ 13 files changed, 94 insertions(+), 15 deletions(-) create mode 100644 src/onedb/local/7.4.0_to_7.6.0.rb create mode 100644 src/onedb/shared/7.4.0_to_7.6.0.rb diff --git a/include/NebulaService.h b/include/NebulaService.h index 74fd2671d6..057df43877 100644 --- a/include/NebulaService.h +++ b/include/NebulaService.h @@ -150,7 +150,7 @@ public: */ static std::string code_version() { - return "7.3.85"; // bump version + return "7.5.80"; // bump version } /** @@ -159,7 +159,7 @@ public: */ static std::string shared_db_version() { - return "7.4.0"; + return "7.6.0"; } /** @@ -168,7 +168,7 @@ public: */ static std::string local_db_version() { - return "7.4.0"; + return "7.6.0"; } /** diff --git a/install.sh b/install.sh index 085734e8dd..44d2e5f8e7 100755 --- a/install.sh +++ b/install.sh @@ -1957,7 +1957,8 @@ ONEDB_SHARED_MIGRATOR_FILES="src/onedb/shared/2.0_to_2.9.80.rb \ src/onedb/shared/6.8.0_to_6.10.0.rb \ src/onedb/shared/6.10.0_to_7.0.0.rb \ src/onedb/shared/7.0.0_to_7.2.0.rb \ - src/onedb/shared/7.2.0_to_7.4.0.rb" + src/onedb/shared/7.2.0_to_7.4.0.rb \ + src/onedb/shared/7.4.0_to_7.6.0.rb" ONEDB_LOCAL_MIGRATOR_FILES="src/onedb/local/4.5.80_to_4.7.80.rb \ src/onedb/local/4.7.80_to_4.9.80.rb \ @@ -1983,7 +1984,8 @@ ONEDB_LOCAL_MIGRATOR_FILES="src/onedb/local/4.5.80_to_4.7.80.rb \ src/onedb/local/6.8.0_to_6.10.0.rb \ src/onedb/local/6.10.0_to_7.0.0.rb \ src/onedb/local/7.0.0_to_7.2.0.rb \ - src/onedb/local/7.2.0_to_7.4.0.rb" + src/onedb/local/7.2.0_to_7.4.0.rb \ + src/onedb/local/7.4.0_to_7.6.0.rb" #------------------------------------------------------------------------------- # Configuration files for OpenNebula, to be installed under $ETC_LOCATION diff --git a/share/onegate/onegate b/share/onegate/onegate index 1fdcadfdbe..a1a52be28e 100755 --- a/share/onegate/onegate +++ b/share/onegate/onegate @@ -29,7 +29,7 @@ require 'pp' module CloudClient # OpenNebula version - VERSION = '7.3.85' + VERSION = '7.5.80' # ######################################################################### # Default location for the authentication file diff --git a/share/rubygems/generate b/share/rubygems/generate index 32216d30ed..962c726172 100755 --- a/share/rubygems/generate +++ b/share/rubygems/generate @@ -19,7 +19,7 @@ require 'fileutils' require 'tmpdir' -VERSION = '7.3.85' +VERSION = '7.5.80' GRPC_PROTO_FILES_DIR='src/rm/grpc/proto' GRPC_TARGET_DIR='src/oca/ruby/opennebula/grpc' diff --git a/src/cloud/common/CloudClient.rb b/src/cloud/common/CloudClient.rb index 93a01b6ccd..17f022f8b0 100644 --- a/src/cloud/common/CloudClient.rb +++ b/src/cloud/common/CloudClient.rb @@ -51,7 +51,7 @@ end module CloudClient # OpenNebula version - VERSION = '7.3.85' + VERSION = '7.5.80' # ######################################################################### # Default location for the authentication file diff --git a/src/im_mad/remotes/VERSION b/src/im_mad/remotes/VERSION index eeefaf6007..4bc9848529 100644 --- a/src/im_mad/remotes/VERSION +++ b/src/im_mad/remotes/VERSION @@ -1 +1 @@ -7.3.85 +7.5.80 diff --git a/src/oca/java/src/org/opennebula/client/OneSystem.java b/src/oca/java/src/org/opennebula/client/OneSystem.java index 56cb1e4de0..b1d1948f58 100644 --- a/src/oca/java/src/org/opennebula/client/OneSystem.java +++ b/src/oca/java/src/org/opennebula/client/OneSystem.java @@ -32,7 +32,7 @@ public class OneSystem private static final String GROUP_QUOTA_INFO = "groupquota.info"; private static final String GROUP_QUOTA_UPDATE = "groupquota.update"; - public static final String VERSION = "7.3.85"; + public static final String VERSION = "7.5.80"; public OneSystem(Client client) { diff --git a/src/oca/python/setup.py b/src/oca/python/setup.py index af807b05ac..41d4e9a2cb 100644 --- a/src/oca/python/setup.py +++ b/src/oca/python/setup.py @@ -36,7 +36,7 @@ install_requires = [ if sys.version_info[0] < 3: install_requires.append('future') -version = '7.3.85' +version = '7.5.80' # mark pre-release v1 = int(version.split('.')[1]) diff --git a/src/oca/ruby/opennebula/version.rb b/src/oca/ruby/opennebula/version.rb index 37e02f47f2..c6baf2bbec 100644 --- a/src/oca/ruby/opennebula/version.rb +++ b/src/oca/ruby/opennebula/version.rb @@ -17,6 +17,6 @@ module OpenNebula # OpenNebula version - VERSION = '7.3.85' + VERSION = '7.5.80' end diff --git a/src/onecfg/lib/version.rb b/src/onecfg/lib/version.rb index f3e86cedac..8fde1e3388 100644 --- a/src/onecfg/lib/version.rb +++ b/src/onecfg/lib/version.rb @@ -16,6 +16,6 @@ module OneCfg - VERSION = '7.3.85' + VERSION = '7.5.80' end diff --git a/src/onedb/database_schema.rb b/src/onedb/database_schema.rb index 7a24e203be..c967ffabe4 100644 --- a/src/onedb/database_schema.rb +++ b/src/onedb/database_schema.rb @@ -150,8 +150,8 @@ class OneDBBacKEnd } } - LATEST_DB_VERSION = '7.4.0' - LATEST_LOCAL_DB_VERSION = '7.4.0' + LATEST_DB_VERSION = '7.6.0' + LATEST_LOCAL_DB_VERSION = '7.6.0' def get_schema(type, version = nil) if !version diff --git a/src/onedb/local/7.4.0_to_7.6.0.rb b/src/onedb/local/7.4.0_to_7.6.0.rb new file mode 100644 index 0000000000..1aa40efe8f --- /dev/null +++ b/src/onedb/local/7.4.0_to_7.6.0.rb @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------- # +# Copyright 2019-2026, OpenNebula Systems S.L. # +# # +# Licensed under the OpenNebula Software License # +# (the "License"); you may not use this file except in compliance with # +# the License. You may obtain a copy of the License as part of the software # +# distribution. # +# # +# See https://github.com/OpenNebula/one/blob/master/LICENSE.onsla # +# (or copy bundled with OpenNebula in /usr/share/doc/one/). # +# # +# Unless agreed to in writing, software distributed under the License is # +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # +# KIND, either express or implied. See the License for the specific language # +# governing permissions and limitations under the License. # +# -------------------------------------------------------------------------- # + +require 'json' +require 'nokogiri' +require 'yaml' + +$: << File.dirname(__FILE__) + +include OpenNebula + +module Migrator + def db_version + "7.6.0" + end + + def one_version + "OpenNebula 7.6.0" + end + + def up + init_log_time + + log_time + + true + end + +end diff --git a/src/onedb/shared/7.4.0_to_7.6.0.rb b/src/onedb/shared/7.4.0_to_7.6.0.rb new file mode 100644 index 0000000000..1275b69d49 --- /dev/null +++ b/src/onedb/shared/7.4.0_to_7.6.0.rb @@ -0,0 +1,34 @@ +# -------------------------------------------------------------------------- # +# Copyright 2019-2026, OpenNebula Systems S.L. # +# # +# Licensed under the OpenNebula Software License # +# (the "License"); you may not use this file except in compliance with # +# the License. You may obtain a copy of the License as part of the software # +# distribution. # +# # +# See https://github.com/OpenNebula/one/blob/master/LICENSE.onsla # +# (or copy bundled with OpenNebula in /usr/share/doc/one/). # +# # +# Unless agreed to in writing, software distributed under the License is # +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # +# KIND, either express or implied. See the License for the specific language # +# governing permissions and limitations under the License. # +# -------------------------------------------------------------------------- # + +require 'opennebula' + +include OpenNebula + +module Migrator + def db_version + "7.6.0" + end + + def one_version + "OpenNebula 7.6.0" + end + + def up + return true + end +end