mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-08 21:17:43 +03:00
Bump version to 5.5.80
Also add the migrator to 5.4.1
This commit is contained in:
parent
98c51bcf4f
commit
b839dad36c
@ -357,7 +357,7 @@ public:
|
||||
*/
|
||||
static string code_version()
|
||||
{
|
||||
return "5.4.0"; // bump version
|
||||
return "5.5.80"; // bump version
|
||||
}
|
||||
|
||||
/**
|
||||
@ -366,7 +366,7 @@ public:
|
||||
*/
|
||||
static string shared_db_version()
|
||||
{
|
||||
return "5.4.0";
|
||||
return "5.5.80";
|
||||
}
|
||||
|
||||
/**
|
||||
@ -375,7 +375,7 @@ public:
|
||||
*/
|
||||
static string local_db_version()
|
||||
{
|
||||
return "5.4.0";
|
||||
return "5.5.80";
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1208,7 +1208,9 @@ ONEDB_SHARED_MIGRATOR_FILES="src/onedb/shared/2.0_to_2.9.80.rb \
|
||||
src/onedb/shared/4.11.80_to_4.90.0.rb \
|
||||
src/onedb/shared/4.90.0_to_5.2.0.rb \
|
||||
src/onedb/shared/5.2.0_to_5.3.80.rb \
|
||||
src/onedb/shared/5.3.80_to_5.4.0.rb"
|
||||
src/onedb/shared/5.3.80_to_5.4.0.rb \
|
||||
src/onedb/shared/5.4.0_to_5.4.1.rb \
|
||||
src/onedb/shared/5.4.1_to_5.5.80.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 \
|
||||
@ -1219,7 +1221,8 @@ ONEDB_LOCAL_MIGRATOR_FILES="src/onedb/local/4.5.80_to_4.7.80.rb \
|
||||
src/onedb/local/4.13.85_to_4.90.0.rb \
|
||||
src/onedb/local/4.90.0_to_5.3.80.rb \
|
||||
src/onedb/local/5.3.80_to_5.4.0.rb \
|
||||
src/onedb/local/5.4.0_to_5.5.80.rb"
|
||||
src/onedb/local/5.4.0_to_5.4.1.rb \
|
||||
src/onedb/local/5.4.1_to_5.5.80.rb"
|
||||
|
||||
|
||||
ONEDB_PATCH_FILES="src/onedb/patches/4.14_monitoring.rb \
|
||||
|
@ -13,7 +13,7 @@ require 'pp'
|
||||
module CloudClient
|
||||
|
||||
# OpenNebula version
|
||||
VERSION = '5.4.0'
|
||||
VERSION = '5.5.80'
|
||||
|
||||
# #########################################################################
|
||||
# Default location for the authentication file
|
||||
|
@ -21,7 +21,7 @@ require 'tmpdir'
|
||||
|
||||
|
||||
DEFAULTS={
|
||||
:version => "5.4.0",
|
||||
:version => "5.5.80",
|
||||
:date => Time.now.strftime("%Y-%m-%d"),
|
||||
:dependencies => []
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ end
|
||||
module CloudClient
|
||||
|
||||
# OpenNebula version
|
||||
VERSION = '5.4.0'
|
||||
VERSION = '5.5.80'
|
||||
|
||||
# #########################################################################
|
||||
# Default location for the authentication file
|
||||
|
@ -1 +1 @@
|
||||
5.4.0
|
||||
5.5.80
|
@ -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 = "5.4.0";
|
||||
public static final String VERSION = "5.5.80";
|
||||
|
||||
public OneSystem(Client client)
|
||||
{
|
||||
|
@ -69,5 +69,5 @@ require 'opennebula/vm_group_pool'
|
||||
module OpenNebula
|
||||
|
||||
# OpenNebula version
|
||||
VERSION = '5.4.0'
|
||||
VERSION = '5.5.80'
|
||||
end
|
||||
|
@ -52,8 +52,8 @@ require 'fsck/template'
|
||||
require 'fsck/quotas'
|
||||
|
||||
module OneDBFsck
|
||||
VERSION = "5.4.0"
|
||||
LOCAL_VERSION = "5.4.0"
|
||||
VERSION = "5.5.80"
|
||||
LOCAL_VERSION = "5.5.80"
|
||||
|
||||
def db_version
|
||||
if defined?(@db_version) && @db_version
|
||||
|
52
src/onedb/local/5.4.0_to_5.4.1.rb
Normal file
52
src/onedb/local/5.4.0_to_5.4.1.rb
Normal file
@ -0,0 +1,52 @@
|
||||
# -------------------------------------------------------------------------- #
|
||||
# Copyright 2002-2017, OpenNebula Project, OpenNebula Systems #
|
||||
# #
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
|
||||
# not use this file except in compliance with the License. You may obtain #
|
||||
# a copy of the License at #
|
||||
# #
|
||||
# http://www.apache.org/licenses/LICENSE-2.0 #
|
||||
# #
|
||||
# Unless required by applicable law or 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 'set'
|
||||
require 'base64'
|
||||
require 'zlib'
|
||||
require 'pathname'
|
||||
require 'yaml'
|
||||
require 'opennebula'
|
||||
|
||||
$: << File.dirname(__FILE__)
|
||||
|
||||
include OpenNebula
|
||||
|
||||
module Migrator
|
||||
def db_version
|
||||
"5.4.1"
|
||||
end
|
||||
|
||||
def one_version
|
||||
"OpenNebula 5.4.1"
|
||||
end
|
||||
|
||||
def up
|
||||
add_ha_indexes
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
def add_ha_indexes
|
||||
indexes = @db.indexes(:logdb)
|
||||
|
||||
@db.alter_table(:logdb) do
|
||||
add_index :fed_index, name: :fed_index_idx if !indexes[:fed_index_idx]
|
||||
add_index :timestamp, name: :timestamp_idx if !indexes[:timestamp_idx]
|
||||
end
|
||||
end
|
||||
end
|
29
src/onedb/shared/5.4.0_to_5.4.1.rb
Normal file
29
src/onedb/shared/5.4.0_to_5.4.1.rb
Normal file
@ -0,0 +1,29 @@
|
||||
# -------------------------------------------------------------------------- #
|
||||
# Copyright 2002-2017, OpenNebula Project, OpenNebula Systems #
|
||||
# #
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
|
||||
# not use this file except in compliance with the License. You may obtain #
|
||||
# a copy of the License at #
|
||||
# #
|
||||
# http://www.apache.org/licenses/LICENSE-2.0 #
|
||||
# #
|
||||
# Unless required by applicable law or 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. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
module Migrator
|
||||
def db_version
|
||||
"5.4.1"
|
||||
end
|
||||
|
||||
def one_version
|
||||
"OpenNebula 5.4.1"
|
||||
end
|
||||
|
||||
def up
|
||||
return true
|
||||
end
|
||||
end
|
@ -81,7 +81,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div id="footer" class="text-center large-12 columns">
|
||||
<a href="http://opennebula.org" target="_blank">OpenNebula 5.4.0</a>
|
||||
<a href="http://opennebula.org" target="_blank">OpenNebula 5.5.80</a>
|
||||
<br> by
|
||||
<a href="http://OpenNebula.systems" target="_blank">OpenNebula Systems</a>.
|
||||
</div>
|
||||
|
@ -28,7 +28,7 @@
|
||||
<% end %>
|
||||
|
||||
<div id="footer" style="overflow:visible;">
|
||||
<a href="http://opennebula.org" target="_blank">OpenNebula 5.4.0</a>
|
||||
<a href="http://opennebula.org" target="_blank">OpenNebula 5.5.80</a>
|
||||
by
|
||||
<a href="http://opennebula.systems" target="_blank">OpenNebula Systems</a>
|
||||
.
|
||||
|
Loading…
Reference in New Issue
Block a user