Hi,I'm having an issue with httpd not starting on my install. I have installed rocky
on a windows 10 laptop with virtualbox and centos 7 guests. So far I have
2 controllers and 3 compute nodes. I have followed the install docs for rocky.
Minimal services have been installed and configured.keystone, glance, nova, neutron are
configured and running. I followed the install for horizon dashboard, and that is where I'm getting
httpd.service failing. I have gone over the configuration a few times, but I can not find what the issue is. Any ideas of where to look or what to fix?
Thanks for any help with this
------------------------
[root@openstack-cntr1 ~]# systemctl | egrep -i 'openstack|neutron|httpd'
● httpd.service loaded failed failed The Apache HTTP Server
neutron-dhcp-agent.service loaded active running OpenStack Neutron DHCP Agent
neutron-linuxbridge-agent.service loaded active running OpenStack Neutron Linux Bridge Agent
neutron-metadata-agent.service loaded active running OpenStack Neutron Metadata Agent
neutron-server.service loaded active running OpenStack Neutron Server
openstack-glance-api.service loaded active running OpenStack Image Service (code-named Glance) API server
openstack-glance-registry.service loaded active running OpenStack Image Service (code-named Glance) Registry server
openstack-nova-api.service loaded active running OpenStack Nova API Server
openstack-nova-conductor.service loaded active running OpenStack Nova Conductor Server
openstack-nova-consoleauth.service loaded active running OpenStack Nova VNC console auth Server
openstack-nova-novncproxy.service loaded active running OpenStack Nova NoVNC Proxy Server
openstack-nova-scheduler.service loaded active running OpenStack Nova Scheduler Server
[root@openstack-cntr1 ~]# systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@openstack-cntr1 ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─openstack-dashboard.conf
Active: failed (Result: exit-code) since Sat 2019-11-30 09:45:46 EST; 15s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 12855 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear -v0 (code=exited, status=1/FAILURE)
Nov 30 09:45:46 openstack-cntr1 python[12855]: File "/usr/share/openstack-dashboard/openstack_dashboard/settings.py", line 376, in <module>
Nov 30 09:45:46 openstack-cntr1 python[12855]: from local.local_settings import * # noqa: F403,H303
Nov 30 09:45:46 openstack-cntr1 python[12855]: File "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py", line 399
Nov 30 09:45:46 openstack-cntr1 python[12855]: 'supported_vnic_types': ['*'],
Nov 30 09:45:46 openstack-cntr1 python[12855]: ^
Nov 30 09:45:46 openstack-cntr1 python[12855]: IndentationError: unexpected indent
Nov 30 09:45:46 openstack-cntr1 systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 30 09:45:46 openstack-cntr1 systemd[1]: Failed to start The Apache HTTP Server.
Nov 30 09:45:46 openstack-cntr1 systemd[1]: Unit httpd.service entered failed state.
Nov 30 09:45:46 openstack-cntr1 systemd[1]: httpd.service failed.
[root@openstack-cntr1 ~]#