0

当尝试从步骤 #7 ( http://docs.opennebula.io/5.12/intro_release_notes/upgrades/upgrading_single.html#step-7-upgrade-the-database-version )将数据库从 v5.10 升级到 v5.12 时我收到以下输出:

$ sudo onedb upgrade -v -u ****-S localhost -p '*******' -d opennebula
Version read:
Shared tables 5.10.0 : Database migrated from 5.4.1 to 5.10.0 (OpenNebula 5.9.80) by onedb command.
Local tables  5.10.0 : Database migrated from 5.4.1 to 5.10.0 (OpenNebula 5.9.80) by onedb command.

MySQL dump stored in /var/lib/one/mysql_localhost_opennebula_2020-6-18_15:59:0.sql
Use 'onedb restore' or restore the DB using the mysql command:
mysql -u user -h server -P port db_name < backup_file


>>> Running migrators for shared tables
Database already uses version 5.10.0

>>> Running migrators for local tables
Database already uses version 5.10.0

Total time: 0.03s

预期的行为是它应该升级到 database schema v5.12,但在这种情况下,它似乎没有做任何事情,因为它只尝试升级到v5.10,但我的数据库版本已经是v5.10

我已经确认安装的 OpenNebula 软件包是 v5.12 来自/etc/yum.repos.d/opennebula.repo.

请指教。

4

1 回答 1

0

请注意,正如文档所述,“如果他们正在运行非商业 OpenNebula 云,OpenNebula 社区版的用户可以从以前的稳定版本升级。为了访问迁移器包,需要通过...” https://opennebula.io/get-migration/

于 2020-06-22T08:24:45.783 回答