//コントローラ:35357 /発見のためのhttpでのエンドポイントへの接続に失敗しました。フォールバックベースURLとそのエンドポイントを使用します。

問題の説明

行っOpenStackのインストールプロセス、

openstack domain create --description "Domain" example

次のように与えられました:

Failed to contact the endpoint at http://controller:35357/ for discovery. Fallback to using that endpoint as the base url.

問題解決

ビューのln -s /usr/share/keystone/wsgi-keystone.conf /etc/httpd/conf.d/対応のWSGI-keystone.confファイルソフトの接続を作成し、専用ポート5000のリスナーおよび設定情報をオープンしました。これは、35357ポートモニタの設定を追加しました。

Listen 35357
Listen 35357
<VirtualHost *:5000>
    WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
    WSGIProcessGroup keystone-public
    WSGIScriptAlias / /usr/bin/keystone-wsgi-public
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    LimitRequestBody 114688
    <IfVersion >= 2.4>
      ErrorLogFormat "%{cu}t %M"
    </IfVersion>
    ErrorLog /var/log/httpd/keystone.log
    CustomLog /var/log/httpd/keystone_access.log combined

    <Directory /usr/bin>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
    </Directory>
</VirtualHost>


<VirtualHost *:35357>
     WSGIDaemonProcess keystone-admin processes=5 threads=1 user=keystone group=keystone display-name=%{GROUP}
     WSGIProcessGroup keystone-admin
     WSGIScriptAlias / /usr/bin/keystone-wsgi-admin
     WSGIApplicationGroup %{GLOBAL}
     WSGIPassAuthorization On
     <IfVersion >= 2.4>
       ErrorLogFormat "%{cu}t %M"
     </IfVersion>
     ErrorLog /var/log/httpd/keystone-error.log
     CustomLog /var/log/httpd/keystone-access.log combined
    <Directory /usr/bin>
      <IfVersion >= 2.4>
        Require all granted
      </IfVersion>
     <IfVersion < 2.4>
        Order allow,deny                                              
        Allow from all                                                
     </IfVersion>
    </Directory>
</VirtualHost>
Alias /identity /usr/bin/keystone-wsgi-public
<Location /identity>
    SetHandler wsgi-script
    Options +ExecCGI

    WSGIProcessGroup keystone-public
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
</Location>

HTTPはサービスを再起動します。

systemctl stop httpd.service
systemctl start httpd.service

次のようにドメインを作成します。

おすすめ

転載: www.cnblogs.com/Pan-xi-yi/p/12077824.html