Am trying to do a test upgrade of nebula from 4.12 to 5.2…The fsck doesnt report any errors but the upgrade fails with the following message
cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
ruby -v
2.0.0p598 (2014-11-13) [x86_64-linux]
Version read:
Shared tables 4.11.80 : OpenNebula 4.12.1 daemon bootstrap
Local tables 4.11.80 : OpenNebula 4.12.1 daemon bootstrap
MySQL dump stored in /var/lib/one/mysql_localhost_opennebula_2016-11-1_14:31:17.sql
Use ‘onedb restore’ or restore the DB using the mysql command:
mysql -u user -h server -P port db_name < backup_fileRunning migrators for shared tables
Running migrator /usr/lib/one/ruby/onedb/shared/4.11.80_to_4.90.0.rb
Done in 1.51s
Running migrator /usr/lib/one/ruby/onedb/shared/4.90.0_to_5.2.0.rb
Done in 0.35s
Database migrated from 4.11.80 to 5.2.0 (OpenNebula 5.2.0) by onedb command.
Running migrators for local tables
Running migrator /usr/lib/one/ruby/onedb/local/4.11.80_to_4.13.80.rb
- WARNING WARNING WARNING WARNING WARNING WARNING WARNING *
OpenNebula 4.13.80 improves the management of FAILED VMs
Please remove (onevm delete) any FAILED VM before continuing.
- WARNING WARNING WARNING WARNING WARNING WARNING WARNING *
The scheduler (and oned) has been update to enforce access
rights on system datastores. This new version also checks that
the user can access the System DS.
This may require to update system DS rights of your cloud
Do you want to proceed ? [y/N]
Error while upgrading from 4.11.80 to 4.13.80
/usr/lib/one/ruby/onedb/onedb.rb:238:inapply_migrators' /usr/lib/one/ruby/onedb/onedb.rb:179:in
upgrade’
/usr/bin/onedb:313
/usr/lib/one/ruby/cli/command_parser.rb:449:incall' /usr/lib/one/ruby/cli/command_parser.rb:449:in
run’
/usr/lib/one/ruby/cli/command_parser.rb:76:ininitialize' /usr/bin/onedb:222:in
new’
/usr/bin/onedb:222
The database will be restored
MySQL DB opennebula at localhost restored.
Is there anything obvious that am missing ?
Imran