I need help resolve the error on ubuntu 18.04 oracle vm just before i could get to dashboard. Got stack at Lab4 https://www.youtube.com/watch?v=7Nfsujler_8&lc=UgwhaJit92wsad75vSd4AaABAg

asked 2020-02-09 14:54:14 -0500

Gimjam gravatar image
 I need help resolve the error on log below just before i could get to the dashboard.I am installing openstack on Oracle VM  running ubuntu 18.04 ...I am a novice trying to create a cloud simulation platform for my academic project on fault tolerance in cloud computing.I was following the openstack tutorial Lab 4 Install and Configure Horizon Dashboard | Openstack Rocky on ubuntu on Youtube and Got stack at Lab4   oot@controller:~# tail -f /var/log/apache2/error.log                  [Fri Dec 20 14:56:04.547735 2019] [wsgi:error] [pid 20204:tid 140086758786816] [remote 127.0.0.1:50524]   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module [Fri Dec 20 14:56:04.547765 2019] [wsgi:error] [pid 20204:tid 140086758786816] [remote 127.0.0.1:50524]     __import__(name) [Fri Dec 20 14:56:04.547784 2019] [wsgi:error] [pid 20204:tid 140086758786816] [remote 127.0.0.1:50524]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/settings.py", line 379, in <module> [Fri Dec 20 14:56:04.547814 2019] [wsgi:error] [pid 20204:tid 140086758786816] [remote 127.0.0.1:50524]     from local.local_settings import *  # noqa: F403,H303 [Fri Dec 20 14:56:04.547861 2019] [wsgi:error] [pid 20204:tid 140086758786816] [remote 127.0.0.1:50524]   File "/usr/lib/python2.7/dist-packages/openstack_dashboard/local/local_settings.py", line 373 [Fri Dec 20 14:56:04.547879 2019] [wsgi:error] [pid 20204:tid 140086758786816] [remote 127.0.0.1:50524]     'supported_vnic_types': ['*'], [Fri Dec 20 14:56:04.547891 2019] [wsgi:error] [pid 20204:tid 140086758786816] [remote 127.0.0.1:50524]                          ^ [Fri Dec 20 14:56:04.547901 2019] [wsgi:error] [pid 20204:tid 140086758786816] [remote 127.0.0.1:50524] SyntaxError: invalid syntax [Sun Jan 05 22:56:16.420784 2020] [mpm_event:notice] [pid 2357:tid 139939111955392] AH00489: Apache/2.4.29 (Ubuntu) mod_wsgi/4.5.17 Python/2.7 configured -- resuming normal operations [Sun Jan 05 22:56:17.388787 2020] [core:notice] [pid 2357:tid 139939111955392] AH00094: Command line: '/usr/sbin/apache2'
edit retag flag offensive close merge delete

Comments

Your question is almost unreadable. Could you format it so that it doesn't hurt the eyes?

A syntax error is mentioned in line 3 of local_settings.py. Fix that and try again.

Bernd Bausch gravatar imageBernd Bausch ( 2020-02-09 16:55:30 -0500 )edit