IT/Openstack

[Openstack - Train] Error "The requested URL /auth/login/ was not found on this server."

louky 2019. 11. 6. 20:28
반응형

OpenstackTrain version의 dashboard를  2019.11.06 날짜 기준으로 설치시 아래와 같이 오류가 발생하였다.

 

Not Found

The requested URL /auth/login/ was not found on this server.

 

 새로운 version release 되면서 또 Config내 필수 정보가 누락되는것 같다. 

 

필자가 경험한 것을 토대로 해결하였으며, 이외에도 다른 문제가 있을 수도 있지만 필자는 아래와 같이 간단히 해결하였다. 

 

[root@controller ~]#cat /etc/openstack-dashboard/local_settings
# -*- coding: utf-8 -*-

# ----------------------------------------------------------------------
# NOTE: The default values of the settings are defined in
# openstack_dashboard/defaults.py. Prevously most available settings
# were listed in this example file, but it is no longer true.
# For available settings, see openstack_dashboard/defaults.py and
# the horizon setting reference found at
# https://docs.openstack.org/horizon/latest/configuration/settings.html.
#
# Django related settings and HORIZON_CONFIG still exist here.
# Keep in my mind that they will be revisit in upcoming releases.
# ----------------------------------------------------------------------

import os

from django.utils.translation import ugettext_lazy as _


from openstack_dashboard.settings import HORIZON_CONFIG

DEBUG = False

# This setting controls whether or not compression is enabled. Disabling
# compression makes Horizon considerably slower, but makes it much easier
# to debug JS and CSS changes
#COMPRESS_ENABLED = not DEBUG

# This setting controls whether compression happens on the fly, or offline
# with `python manage.py compress`
# See https://django-compressor.readthedocs.io/en/latest/usage/#offline-compression
# for more information
#COMPRESS_OFFLINE = not DEBUG

WEBROOT = '/dashboard/'          ##  이부분이 누락되어 발생되는 현상이므로 추가 한다. 

 이후 해당 데몬을 재시작한다. 

[root@controller ~]#systemctl restart httpd

 

 

Openstack  train Dashboard(horizon)설치는 아래를 참고 한다.  

2019/11/06 - [IT/Openstack] - [Openstack - Train] Centos에 설치하기(7) - Horizon (Dashboard)

반응형