Actions
Bug #31527
openforeman-installer fails to configure Postgres on CentOS Stream 8
Status:
New
Priority:
Normal
Assignee:
-
Category:
External modules
Target version:
-
Difficulty:
Triaged:
Yes
Description
1) Install Foreman on CentOS 8
2) Upgrade host to Centos Stream 8, OS upgraded fine
3) Notice httpd did not start:
Dec 17 13:35:42 foreman.example.com systemd[1]: Starting The Apache HTTP Server... ... ec 17 13:35:42 foreman.example.com httpd[348365]: [Thu Dec 17 13:35:42.585406 2020] [so:warn] [pid 348365] AH01574: module systemd_module is already loaded, skipping Dec 17 13:35:42 foreman.example.com httpd[348365]: [Thu Dec 17 13:35:42.585893 2020] [so:warn] [pid 348365] AH01574: module cgi_module is already loaded, skipping Dec 17 13:35:42 foreman.example.com httpd[348365]: AH00534: httpd: Configuration error: More than one MPM loaded. Dec 17 13:35:42 foreman.example.com systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
4) Attempt to run foreman-installer to resolve:
2020-12-14 11:16:14 [DEBUG ] [configure] importing '/usr/share/foreman-installer/modules/postgresql/manifests/globals.pp' in environment production 2020-12-14 11:16:14 [DEBUG ] [configure] Automatically imported postgresql::globals from postgresql/globals into production 2020-12-14 11:16:14 [ERROR ] [configure] Evaluation Error: Error while evaluating a Function Call, No preferred version defined or automatically detected. (file: /usr/share/foreman-installer/modules/postgresql/manifests/globals.pp, line: 231, column: 5) on node dhcp-8-29-92.lab.eng.rdu2.redhat.com 2020-12-14 11:16:14 [NOTICE] [configure] System configuration has finished. 2020-12-14 11:16:14 [NOTICE] [post] Executing hooks in group post
Looks like the OS detection code in /usr/share/foreman-installer/modules/postgresql/manifests/globals.pp does not know how to resolve CentOS 8 version strings and may need an update
Actions