Failed to contact the endpoint at http://controller:35357/ for discovery. Fallback to using that endpoint as the base url.
2024-09-02 08:46:59
问题描述
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
创建域如下
最新文章
- web standards
- 【BZOJ】2154: Crash的数字表格
- HDU 1166 敌兵布阵 线段树
- PHP与javascript实现变量交互
- UINavigationController的popViewControllerAnimated问题
- scrapy抓取到中文,保存到json文件为unicode,如何解决.
- LightOj 1230 Placing Lampposts(树形DP)
- KVM 实现机制
- Microsoft Message Analyzer (微软消息分析器,“网络抓包工具 - Network Monitor”的替代品)官方正式版现已发布
- HTML (Hyper Text Markup Language) 常用标签
- pdf去水印
- Select、Poll、Epoll、 异步IO 介绍
- so beautiful so white
- linux之添加切换用户、系统变量、selinux、防火墙、系统中文乱码的讲解
- 极光推送(C#)
- 不同AI学科之间的联系
- defaultdict
- SpringDataJPA快速入门
- 乘积尾零|2018年蓝桥杯B组题解析第三题-fishers
- Javascript 在严格模式下不允许删除变量或对象