The issue is with the python syntax.

However since last week I had trouble understanding the basic installation steps and their order in the docs,

I tried to use: https://www.server-world.info/en/note?os=CentOS_7&p=openstack_rocky&f=2
As my installation refence for a minimal installation.

It helped me a lot to install both rocky and train versions.

 

Hope it helps,

Eliezer

 

----

Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: ngtech1ltd@gmail.com

cid:image001.png@01D2675E.DCF360D0

 

From: doug schmidt <douglas.j.schmidt@gmail.com>
Sent: Saturday, November 30, 2019 4:53 PM
To: openstack-discuss@lists.openstack.org
Subject: Openstack - Rocky Install

 

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.

 

https://docs.openstack.org/install-guide/openstack-services.html#minimal-deployment-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 ~]#