Check in the UI if you can increase the cluster level to 3.6 (if it's still not set).
On Tue, Jun 22, 2021 at 0:21, Miguel Angel Costas<migacos2002@gmail.com> wrote:Hi All,I am trying to upgrade my ovirt from 3.6.7.5 to 4.0 but after restoring the backup and execute engine-setup an error message appear related to the cluster version. i have checked on the portal and the cluster version is set up in 3.6. Do you have any idea about how to solve that?[root@na5lovm01 ~]# engine-backup --mode=restore --no-restore-permissions --provision-db --file=/ovirt_bkp/miga-090621.tar --log=engine-backup-restore.logPreparing to restore:- Unpacking file '/ovirt_bkp/miga-090621.tar'Restoring:- Files------------------------------------------------------------------------------Please note:Operating system is different from the one used during backup.Current operating system: centos7Operating system at backup: centos6Apache httpd configuration will not be restored.You will be asked about it on the next engine-setup run.------------------------------------------------------------------------------Provisioning PostgreSQL users/databases:- user 'engine', database 'engine'Restoring:- Engine database 'engine'- Cleaning up temporary tables in engine database 'engine'------------------------------------------------------------------------------Please note:The engine database was backed up at 2021-06-09 13:13:29.000000000 -0300 .Objects that were added, removed or changed after this date, such as virtualmachines, disks, etc., are missing in the engine, and will probably requirerecovery or recreation.------------------------------------------------------------------------------You should now run engine-setup.Done.[root@na5lovm01 ~]# engine-setup[ INFO ] Stage: Initializing[ INFO ] Stage: Environment setupConfiguration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20210609140045-iiue97.logVersion: otopi-1.5.2 (otopi-1.5.2-1.el7.centos)[ INFO ] Stage: Environment packages setup[ INFO ] Stage: Programs detection[ INFO ] Stage: Environment setup[ INFO ] Stage: Environment customization--== PRODUCT OPTIONS ==--Configure Image I/O Proxy on this host? (Yes, No) [Yes]:Please note: Data Warehouse is required for the engine. If you choose to not configure it on this host, you have to configure it on a remote host, and then configure the engine on this host so that it can access the database of the remote Data Warehouse host.Configure Data Warehouse on this host (Yes, No) [Yes]:--== PACKAGES ==--[ INFO ] Checking for product updates...[ INFO ] No product updates found--== NETWORK CONFIGURATION ==--Setup can automatically configure the firewall on this system.Note: automatic configuration of the firewall may overwrite current settings.Do you want Setup to configure the firewall? (Yes, No) [Yes]: No--== DATABASE CONFIGURATION ==--Where is the DWH database located? (Local, Remote) [Local]:Setup can configure the local postgresql server automatically for the DWH to run. This may conflict with existing applications.Would you like Setup to automatically configure postgresql and create DWH database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:--== OVIRT ENGINE CONFIGURATION ==----== STORAGE CONFIGURATION ==----== PKI CONFIGURATION ==----== APACHE CONFIGURATION ==--Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications.Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]:Setup can configure apache to use SSL using a certificate issued from the internal CA.Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]:--== SYSTEM CONFIGURATION ==----== MISC CONFIGURATION ==--Please choose Data Warehouse sampling scale:(1) Basic(2) Full(1, 2)[1]:--== END OF CONFIGURATION ==--[ INFO ] Stage: Setup validation[ ERROR ] The following Clusters have a too old compatibility level, please upgrade them:Default[ ERROR ] Failed to execute stage 'Setup validation': Trying to upgrade from unsupported versions: 3.5[ INFO ] Stage: Clean upLog file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20210609140045-iiue97.log[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20210609140247-setup.conf'[ INFO ] Stage: Pre-termination[ INFO ] Stage: Termination[ ERROR ] Execution of setup failedI checked the engine database and I couldn't find date related to the cluster version. I just found that:-bash-4.1$ psql -U postgres -d enginepsql (8.4.20)Type "help" for help.engine=# select * from cluster_features;feature_id | feature_name | version | category | description--------------------------------------+--------------------------+---------+----------+------------------------------------00000017-0017-0017-0017-000000000066 | GLUSTER_GEO_REPLICATION | 3.5 | 2 | Gluster Geo-Replication00000018-0018-0018-0018-000000000093 | GLUSTER_SNAPSHOT | 3.5 | 2 | Gluster Volume Snapshot Management00000019-0019-0019-0019-000000000300 | GLUSTER_BRICK_MANAGEMENT | 3.5 | 2 | Gluster Brick ProvisioningBest regards_______________________________________________Users mailing list -- users@ovirt.orgTo unsubscribe send an email to users-leave@ovirt.orgPrivacy Statement: https://www.ovirt.org/privacy-policy.htmloVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/