← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1897683] [NEW] Install and configure for Red Hat Enterprise Linux and CentOS in horizon

 

Public bug reported:

on centos8.2 openstack ussuri

in /etc/httpd/conf.d/openstack-dashboard.conf

django.wsgi file has been deprecated since the Rocky,so here must use
wsgi.py

#WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py

I have an example file below,This works fine in my environment.

#cat /etc/httpd/conf.d/openstack-dashboard.conf
WSGIDaemonProcess dashboard
WSGIProcessGroup dashboard
WSGISocketPrefix run/wsgi
WSGIApplicationGroup %{GLOBAL}

WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py
#Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
Alias /static /usr/share/openstack-dashboard/static/
<Location />
  <ifVersion >= 2.4>
    Require all granted
  </ifVersion>
  <ifVersion < 2.4>
    Order allow,deny
    Allow from all
  </ifVersion>
</Location>

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: documentation

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1897683

Title:
  Install and configure for Red Hat Enterprise Linux and CentOS in
  horizon

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  on centos8.2 openstack ussuri

  in /etc/httpd/conf.d/openstack-dashboard.conf

  django.wsgi file has been deprecated since the Rocky,so here must use
  wsgi.py

  #WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
  WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py

  I have an example file below,This works fine in my environment.

  #cat /etc/httpd/conf.d/openstack-dashboard.conf
  WSGIDaemonProcess dashboard
  WSGIProcessGroup dashboard
  WSGISocketPrefix run/wsgi
  WSGIApplicationGroup %{GLOBAL}

  WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py
  #Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/
  Alias /static /usr/share/openstack-dashboard/static/
  <Location />
    <ifVersion >= 2.4>
      Require all granted
    </ifVersion>
    <ifVersion < 2.4>
      Order allow,deny
      Allow from all
    </ifVersion>
  </Location>

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1897683/+subscriptions


Follow ups