
Le 05/02/2019 à 10:51, Lucie Leistnerova a écrit :
Hi Hetz,
On 2/5/19 10:25 AM, Hetz Ben Hamo wrote:
Hi,
I upgraded to 4.3 and on the hosted engine web interface, I see the "dashboard" button twice, one below the other.
How can I fix it or is it a known bug?
Yes, it is known issue and guys are working on that. Package ovirt-engine-dashboard is obsolete and ovirt-engine-ui-extensions is the new one. The fix then should remove the obsolete package, now it stays.
Remove package ovirt-engine-dashboard and one dashboard button disappears.
Hi, I upgraded to 4.3 and hit the same issue. I ran "yum remove ovirt-engine-dashboard" and I saw the additional button disappear. I was tired and then mistyped : "yum remove -y ovirt-engine-dashboard" At first, I thought it would do nothing as I just removed it. Instead, it *did* things, as if there was an alias from this package name to the "ovirt-engine-ui-extensions" name. Is it possible? Well, I ctrl-C'ed it in hurry and saw it uninstalled : ovirt-engine-extension-aaa-ldap-setup-1.3.8-1.el7.noarch ovirt-engine-extension-aaa-ldap-1.3.8-1.el7.noarch ovirt-engine-api-explorer-0.0.2-1.el7.centos.noarch ovirt-engine-backend-4.3.0.4-1.el7.noarch ovirt-engine-dbscripts-4.3.0.4-1.el7.noarch So I reinstalled these packages. I witnessed that my GUI wasn't working anymore, so I ran "engine-setup". I answered the same questions I answered since years so I was pretty confident - I run this command at each upgrade, it does work. Now, troubles are coming. I choose to backup the database and to perform the vacuum. After confirming the otopi answers, I see this failure : [ INFO ] Configuring WebSocket Proxy [ INFO ] Backing up database localhost:engine to '/var/lib/ovirt-engine/backups/engine-20190206084916.CbO3sD.dump'. [ INFO ] Creating/refreshing Engine database schema [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] Aucun fichier ou dossier de ce type [ INFO ] Rolling back DWH database schema [ INFO ] Clearing DWH database ovirt_engine_history [ INFO ] Rolling back database schema [ INFO ] Clearing Engine database engine [ INFO ] Restoring Engine database engine [ INFO ] Restoring file '/var/lib/ovirt-engine/backups/engine-20190206084916.CbO3sD.dump' to database localhost:engine. [ ERROR ] Errors while restoring engine database, please check the log file for details [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190206084840-2ps56v.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190206084929-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed When looking at the log file above (https://framadrop.org/r/ywTOD-Q02-#dA6hdYaxfZpgUB68gtJLB9inH5oJajrL4H9LTktDd...) , I see a lot of SQL queries, then : 2019-02-06 08:49:17,955+0100 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executeRaw:813 execute: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'eng2019-02-06 08:49:17,960+0100 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executeRaw:869 execute-result: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-dTraceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 856, in executeRaw preexec_fn=preexec_fn, File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] Aucun fichier ou dossier de ce type 2019-02-06 08:49:17,961+0100 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", line 427, in _misc raiseOnError=False, File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 912, in execute **kwargs File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 856, in executeRaw preexec_fn=preexec_fn, File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] Aucun fichier ou dossier de ce type 2019-02-06 08:49:17,961+0100 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Misc configuration': [Errno 2] Aucun fichier ou dossier de ce type Well, I thought I messed up with packages, and I thought a compete yum update would help, as I read :
Le 05/02/2019 à 15:19, Greg Sheremeta wrote :
The fix is pushed. Standalone engine upgrades should be fine starting
now. `yum update` any appliance engines or already upgraded engines to get the latest ovirt-engine-ui-extensions, which fixes the problem.
So I ran a yum update. After running again engine-setup, it is failing the same way. I compared the complete rpm list with another 4.3 DC with no issue, and apart the removed ovirt-engine-dashboard package and obviously many upgraded packages, I see no obvious missing parts. I'm at loss and don't know how to save this DC, so any help is welcome. -- Nicolas ECARNOT