Can't log into /dashboard/

asked 2019-10-10 15:34:33 -0500

Hello everyone.

I am new to Openstack environment. I have a goal for myself to learn Openstack in home and need your help :)

I followed this instruction:

https://docs.openstack.org/devstack/latest/guides/single-machine.html (https://docs.openstack.org/devstack/l...)

after few tries, fixing small bugs finally it ended with success.

but, when I try to open dashboard:

http://192.168.0.104/dashboard/

I have 403 Forbidden page:

Forbidden
You don't have permission to access /dashboard/ on this server.

I didn't touch /etc/httpd/httpd.conf or /etc/httpd/conf.d/horizon.conf - they are just as installed.

That's why, I am confused, why after clear installation I have such error.

Additionally, when I open second link which was given to me after installation: http://192.168.0.104/identity/

I get an answer:

{"versions": {"values": [{"status": "stable", "updated": "2019-07-19T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.13", "links": [{"href": "http://192.168.0.104/identity/v3/", "rel": "self"}]}]}}

Here is nestat -an |grep LIST oputput

tcp        0      0 127.0.0.1:45879         0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9696            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:6080            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9191            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:60999         0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8775            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:25672           0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:6633          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 192.168.0.104:2379      0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:6640          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp6       0      0 :::5672                 :::*                    LISTEN
tcp6       0      0 :::2380                 :::*                    LISTEN

and cat /etc/httpd/conf.d/horizon.conf |grep -v "#"

<virtualhost *:80="">
    WSGIScriptAlias /dashboard /opt/stack/horizon/openstack_dashboard/wsgi.py
    WSGIDaemonProcess horizon user=stack group=stack processes=3 threads=10 home=/opt/stack/horizon display-name=%{GROUP}
    WSGIApplicationGroup %{GLOBAL}

    SetEnv APACHE_RUN_USER stack
    SetEnv APACHE_RUN_GROUP stack
    WSGIProcessGroup horizon

    DocumentRoot /opt/stack/horizon/.blackhole/
    Alias /dashboard/media /opt/stack/horizon/openstack_dashboard/static
    Alias /dashboard/static /opt/stack/horizon/static

    RedirectMatch "^/$" "/dashboard/"

    <directory/>
        Options FollowSymLinks
        AllowOverride None
    </directory>

    <directory opt="" stack="" horizon=""/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        <ifversion <="" 2.4="">
            Order allow,deny
            Allow from all
        </ifversion>
        <ifversion>= 2.4>
            Require all granted
        </ifversion>
    </directory>
    <ifversion ...
(more)
edit retag flag offensive close merge delete