Hide Forgot
Description of problem: engine-setup ... [ INFO ] Creating/refreshing Engine database schema [ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/schema.sh' failed to execute [ INFO ] Yum Performing yum transaction rollback [ INFO ] Yum Status: Downloading Packages 2016-01-14 14:42:53 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executeRaw:878 execute-result: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engi ne', '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160114144121-d8xeep.log', '-c', 'apply'], rc=1 2016-01-14 14:42:53 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:936 execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine' , '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160114144121-d8xeep.log', '-c', 'apply'] stdout: Creating schema engine@localhost:5432/engine Saving custom users permissions on database objects... 2016-01-14 14:42:53 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:941 execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine' , '-d', 'engine', '-l', '/var/log/ovirt-engine/setup/ovirt-engine-setup-20160114144121-d8xeep.log', '-c', 'apply'] stderr: FATAL: Operation aborted, found duplicate version: 09099999 2016-01-14 14:42:53 DEBUG otopi.context context._executeMethod:156 method exception Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/context.py", line 146, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", line 291, in _misc oenginecons.EngineDBEnv.PGPASS_FILE File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 946, in execute command=args[0], RuntimeError: Command '/usr/share/ovirt-engine/dbscripts/schema.sh' failed to execute 2016-01-14 14:42:53 ERROR otopi.context context._executeMethod:165 Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/schema.sh' failed to execute Version-Release number of selected component (if applicable): rhevm-setup-3.6.2.5-0.1.el6.noarch How reproducible: 100% Steps to Reproduce: 1. upgrade to 3.6.2-9 rpms 2. engine-setup 3. Actual results: failure of engine-setup Expected results: should work Additional info:
(In reply to Jiri Belka from comment #0) > '-c', 'apply'] stderr: > FATAL: Operation aborted, found duplicate version: 09099999 Are you sure that's not a left-over from a previous test you did? We do not normally have such numbers. Please provide output of: ls -l /usr/share/ovirt-engine/dbscripts/upgrade/
Yes, PEBKAC. Sorry for the noise.