Installing on a pristine Centos 8, I had to manually install the correct version of ansible and postgres 12, then change the service name from postgresql-12 to postgresql.

There are scripts looking for init.d/postgresql. Since Centos 8 implements SystemCtl , there should be no init.d's (and there are none)

2022-06-12 15:46:19,761-0400 INFO otopi.ovirt_engine_setup.engine_common.postgres postgres._initDbIfRequired:232 Initializing PostgreSQL
2022-06-12 15:46:19,761-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres plugin.executeRaw:813 execute: ('/etc/init.d/postgresql', 'initdb'), executable='None', cwd='None', env=None
2022-06-12 15:46:19,767-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.provisioning.postgres plugin.executeRaw:869 execute-result: ('/etc/init.d/postgresql', 'initdb'), exception
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/otopi/plugin.py", line 856, in executeRaw
    preexec_fn=preexec_fn,
  File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/init.d/postgresql': '/etc/init.d/postgresql'
2022-06-12 15:46:19,789-0400 DEBUG otopi.context context._executeMethod:145 method exception
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/provisioning/postgres.py", line 192, in _misc
    self._provisioning.provision()
  File "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/postgres.py", line 490, in provision
    self._initDbIfRequired()
  File "/usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/postgres.py", line 257, in _initDbIfRequired
    'initdb',
  File "/usr/lib/python3.6/site-packages/otopi/plugin.py", line 912, in execute
    **kwargs
  File "/usr/lib/python3.6/site-packages/otopi/plugin.py", line 856, in executeRaw
    preexec_fn=preexec_fn,
  File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/init.d/postgresql': '/etc/init.d/postgresql'
2022-06-12 15:46:19,790-0400 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory: '/etc/init.d/postgresql': '/etc/init.d/postgresql'
2022-06-12 15:46:19,790-0400 DEBUG otopi.transaction transaction.abort:124 aborting 'DNF Transaction'
2

David Johnson
Director of Development, Maxis Technology
844.696.2947 ext 702 (o) | 479.531.3590 (c)

 

Follow us: 



On Sun, Jun 12, 2022 at 1:49 PM David Johnson <djohnson@maxistechnology.com> wrote:
Hi everyone,

I am attempting to reinstall as a clean system, and the install is failing silently.

At the point where I should be able to run engine-setup, the engine setup utility is absent.

Installation medium: iso downloaded from https://resources.ovirt.org/pub/ovirt-4.4/iso/ovirt-node-ng-installer/4.4.10-2022030308/el8/ovirt-node-ng-installer-4.4.10-2022030308.el8.iso

As I attempt to install the missing dependencies, I keep getting deeper into missing rpm land.

If this iso is no longer any good, even though it is only 4 months old, it should probably be documented as bad or art least superceded by a fixed iso.