2017-01-04 8 views
1

私はcentos 7サーバにOpenStack newtonをインストールしようとしています。すべてうまくいきますが、ダッシュボードに接続できません。OpenStack newtonダッシュボード到達不能CentOS 7

ここに私のすべての観察があります。

[[email protected] hpchost1]# service httpd status -l 
Redirecting to /bin/systemctl status -l 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: active (running) since Wed 2017-01-04 05:46:13 UTC; 20s ago 
    Docs: man:httpd(8) 
      man:apachectl(8) 
    Process: 4113 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS) 
    Process: 4157 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force (code=exited, status=0/SUCCESS) 
    Process: 4133 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear (code=exited, status=0/SUCCESS) 
Main PID: 4180 (httpd) 
    Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec" 
    CGroup: /system.slice/httpd.service 
      ├─4180 /usr/sbin/httpd -DFOREGROUND 
      ├─4182 /usr/sbin/httpd -DFOREGROUND 
      ├─4183 (wsgi:keystone- -DFOREGROUND 
      ├─4184 (wsgi:keystone- -DFOREGROUND 
      ├─4185 (wsgi:keystone- -DFOREGROUND 
      ├─4186 (wsgi:keystone- -DFOREGROUND 
      ├─4187 (wsgi:keystone- -DFOREGROUND 
      ├─4188 (wsgi:keystone- -DFOREGROUND 
      ├─4189 (wsgi:keystone- -DFOREGROUND 
      ├─4190 (wsgi:keystone- -DFOREGROUND 
      ├─4191 (wsgi:keystone- -DFOREGROUND 
      ├─4192 (wsgi:keystone- -DFOREGROUND 
      ├─4193 /usr/sbin/httpd -DFOREGROUND 
      ├─4194 /usr/sbin/httpd -DFOREGROUND 
      ├─4195 /usr/sbin/httpd -DFOREGROUND 
      ├─4196 /usr/sbin/httpd -DFOREGROUND 
      └─4197 /usr/sbin/httpd -DFOREGROUND 

Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/actions-delete-selected.template.html' 
Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/action-list.scss' 
Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/split-button.html' 
Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/actions.controller.js' 
Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/actions.directive.js' 
Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/actions.detail.mock.html' 
Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/actions.custom.mock.html' 
Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/action-list.module.js' 
Jan 04 05:45:59 controller python[4133]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/action-list/button-tooltip.directive.js' 
Jan 04 05:46:13 controller systemd[1]: Started The Apache HTTP Server. 

私のhttpdのerror.log

[Wed Jan 04 05:52:03.403879 2017] [core:notice] [pid 4601] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 
[Wed Jan 04 05:52:03.405399 2017] [suexec:notice] [pid 4601] AH: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) 
[Wed Jan 04 05:52:03.423890 2017] [auth_digest:notice] [pid 4601] AH01757: generating secret for digest authentication ... 
[Wed Jan 04 05:52:03.424849 2017] [lbmethod_heartbeat:notice] [pid 4601] AH02282: No slotmem from mod_heartmonitor 
[Wed Jan 04 05:52:03.440126 2017] [mpm_prefork:notice] [pid 4601] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations 
[Wed Jan 04 05:52:03.440161 2017] [core:notice] [pid 4601] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' 

私のOpenStackの-dashboard.conf

WSGIDaemonProcess dashboard 
WSGIProcessGroup dashboard 
WSGISocketPrefix run/wsgi 

WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi 
Alias /dashboard/static /usr/share/openstack-dashboard/static 

<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi> 
    Options All 
    AllowOverride All 
    Require all granted 
</Directory> 

<Directory /usr/share/openstack-dashboard/static> 
    Options All 
    AllowOverride All 
    Require all granted 
</Directory> 

私は問題を把握することができません。すべてがうまく見えます。問題を理解するのを助けてください。

ありがとうございます。どんな種類の助けにも感謝します。

答えて

0

ここでは、オープンスタック展開で世話を必要とするポートの一覧を示します。ダッシュボードには、あなただけのオープンポート80

List of ports , openstack

0

することができます私は同じ問題を抱えていました。

悲しいことに、これはCentosからのパッケージのアップグレードによって導入されたバグです(私はCentos 7.4シリーズから考えています)。 systemctl restart httpd:その後のhttpdを再起動

WSGIDaemonProcess dashboard 
WSGIProcessGroup dashboard 
WSGISocketPrefix run/wsgi 
WSGIApplicationGroup %{GLOBAL} 

WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi 
Alias /dashboard/static /usr/share/openstack-dashboard/static 

<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi> 
    Options All 
    AllowOverride All 
    Require all granted 
</Directory> 

<Directory /usr/share/openstack-dashboard/static> 
    Options All 
    AllowOverride All 
    Require all granted 
</Directory> 

:それを解決するために、あなたはあなたに「/etc/httpd/conf.d/openstack-dashboard.conf」ファイルを変更する必要があります。

注:欠品がある:WSGIApplicationGroupの%{GLOBAL}

関連する問題