Hello,
I’m running an upgrade test (in a OpenNebula that runs in a VM) from 5.10.1 to 5.12.0.3. After browsing OpenNebula web, I found this document Upgrading Single Front-end Deployments — OpenNebula 5.12.13 documentation. I have done an step-by-step from section “Upgrading from 5.6.x+”. In step 7 “Upgrade the Database version”, system returns an error when tries to do the SQLite DB upgrade:
[oneadmin@localhost one]$ onedb upgrade -v -s /var/lib/one/one.db
Version read:
Shared tables 5.10.0 : OpenNebula 5.10.1 (45f6d6df) daemon bootstrap
Local tables 5.10.0 : OpenNebula 5.10.1 (45f6d6df) daemon bootstrapSqlite database backup stored in /var/lib/one/one.db_2021-4-8_15:39:5.bck
Use ‘onedb restore’ to restore the DB.Running migrators for shared tables
Database already uses version 5.10.0Running migrators for local tables
Database already uses version 5.10.0Total time: 0.10s
ERROR: Database upgrade to the latest versions (local 5.10.0, shared 5.10.0)
wasn’t successful due to missing migration descriptors. Migrators are
provided as part of Enterprise Edition for customers with active subscription.
For community with non-commercial deployments they are provided via a
dedicated migration package, which must be obtained separately.The database will be restored
Sqlite database backup restored in /var/lib/one/one.db
I have filled the form to receive the migration packaged and, after I have received email with credentials access, I have seen that migration packages are ONLY to upgrade to 6.0… so, how can I upgrade to 5.12.0.3?
Also, if I run a “onedb fsck” I get these errors/warnings:
Augeas gem is not installed, run
gem install augeas -v '0.6'
to install it
[oneadmin@localhost one]$ gem install augeas -v ‘0.6’
Building native extensions. This could take a while…
ERROR: Error installing augeas:
ERROR: Failed to build gem native extension./usr/bin/ruby extconf.rb
checking for main() in -laugeas… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib64
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/usr/bin/ruby
–with-augeaslib
–without-augeaslib
extconf.rb:37:in `': libaugeas is not installed (RuntimeError)Gem files will remain installed in /var/lib/one/.gem/ruby/gems/augeas-0.6.0 for inspection.
Results logged to /var/lib/one/.gem/ruby/gems/augeas-0.6.0/ext/augeas/gem_make.out
So… I need help…
Thanks.