Hi,

the ansible-runner-service cleanup PR is not yet merged: https://github.com/oVirt/ovirt-engine/pull/257
So until merged please just remove /etc/httpd/conf.d/zz-ansible-runner-service.conf
Once this file is removed, python3-mod_wsgi should no longer be needed.

Thanks,
Martin


On Sun, Apr 17, 2022 at 11:16 PM Nir Soffer <nsoffer@redhat.com> wrote:
I upgraded today to
ovirt-engine-4.5.1-0.2.master.20220414121739.gitb2384c6521.el8.noarch

Engine setup failed to complete when restarting httpd:

# engine-setup
...
[ INFO  ] Restarting httpd
[ ERROR ] Failed to execute stage 'Closing up': Failed to start service 'httpd'
[ INFO  ] Stage: Clean up
          Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20220418000357-gn9jww.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20220418000447-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

[root@engine ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2022-04-18 00:04:47 IDT; 19s ago
     Docs: man:httpd.service(8)
  Process: 15359 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
(code=exited, status=1/FAILURE)
 Main PID: 15359 (code=exited, status=1/FAILURE)
   Status: "Reading configuration..."

Apr 18 00:04:47 engine.local systemd[1]: Starting The Apache HTTP Server...
Apr 18 00:04:47 engine.local httpd[15359]: [Mon Apr 18 00:04:47.727854
2022] [so:warn] [pid 15359:tid 140623023360320] AH01574: mo>
Apr 18 00:04:47 engine.local httpd[15359]: AH00526: Syntax error on
line 4 of /etc/httpd/conf.d/zz-ansible-runner-service.conf:
Apr 18 00:04:47 engine.local httpd[15359]: Invalid command
'WSGIDaemonProcess', perhaps misspelled or defined by a module not
incl>

After installing python3-mod_wsgi httpd can be started, and engine-setup works.

Do we miss requires: in the spec?

Nir



--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.