openstack(Q)错误
为什么这亚子
错误百分之80都源于配置文件
展开
-
openstack keystone报错
Conflict occurred attempting to store user - Duplicate entry found with name demo at domain ID c50bee6da8ed47c3a5071b25a1ec76cf. (HTTP 409) (Request-ID: req-0fb329ca-efc5-482d-8927-38fa44c0e310)[root@controller ~]# openstack user create --domain demo --pa原创 2021-08-29 12:58:04 · 1564 阅读 · 1 评论 -
openstack 401错误
[root@controller ~]# openstack user create --domain demo --password 000000 glanceThe request you have made requires authentication. (HTTP 401) (Request-ID: req-038d8115-c3b2-4b35-8d4d-f4b274497117)检查export变量,查看变量脚本是否写错,检查无误后再次创建[root@controller ~]# op原创 2021-05-31 09:52:26 · 2215 阅读 · 0 评论 -
keystone创建服务报错404
[root@controller ~]# openstack service create --name keystone identity(http://controller:35357/v3/OS-KSADM/services): The resource could not be found. (HTTP 404) (Request-ID: req-0b95528e-2f7c-4b19-872d-a7bde0cb1142)404报错是找不到请求的网页先检查wsgi文件是否正确,在查看expo原创 2021-05-31 09:30:03 · 1715 阅读 · 2 评论 -
openstack iaas平台云主机重启ip丢失
**这边可以看见是没有ip地址的**这下就要用service network restart 重启网卡修复但是用systemctl restart network 就会卡死原创 2021-05-11 09:13:11 · 643 阅读 · 0 评论 -
openstack Q版keystone The request you have made requires authentication. (HTTP 401) (Request-ID: req-
这次我看官方文档做到keystone创建域时报错[root@contoller ~]# openstack domain create --description "Default demo" demoThe request you have made requires authentication. (HTTP 401) (Request-ID: req-9a6221a3-e7b3-48c8-8408-8ee823221cf4)我就在仔细对照了一下openstack官方文档,一点错误也没有,为什么原创 2021-04-28 15:02:46 · 1387 阅读 · 1 评论 -
检查cinder报错ERROR: Unable to establish connection to http://controller:8776/v3/0c7ed40f44724804b83afd7
[root@controller ~]# cinder service-list ERROR: Unable to establish connection to http://controller:8776/v3/0c7ed40f44724804b83afd7cdbe70765/os-services: HTTPConnectionPool(host='controller', port=8776): Max retries exceeded with url: /v3/原创 2021-04-27 11:24:38 · 3380 阅读 · 0 评论 -
openstack dashboard 手动搭建后进不去
添加这行或者修改SESSION_ENGINE = 'django.contrib.sessions.backends.file'原创 2021-04-26 18:28:36 · 221 阅读 · 0 评论 -
opestack compute service list 报错
(HTTP 503) (Request-ID: req-b4bedf97-115c-401d-9775-b97ec09d9d20)查看nova-api日志tail -f /var/log/nova/nova-api.log2021-04-26 02:42:57.133 36754 WARNING oslo_config.cfg [req-5c9a7ba1-1525-47e6-a0fe-e0d10408aa97 - - - - -] Option "os_region_name" from group原创 2021-04-26 14:58:57 · 2163 阅读 · 0 评论 -
glance 上传镜像报错Error finding address for http://controller:9292/v2/schemas/image: Unable to establish
[root@controller ~] glance image-create --name "Centos7.5" --disk-format qcow2 --container-format bare --progress < /opt/iaas/images/CentOS_7.5_x86_64_XD.qcow2 Error finding address for http://controller:9292/v2/schemas/image: Unable to establish co原创 2021-04-25 09:34:13 · 3861 阅读 · 5 评论 -
openstack keystone创建identify服务报错(http://controller:35357/V3/services): The resource could not be fou
*[root@controller ~]# openstack service create --name keystone --description "openstack identity" identity****(http://controller:35357/V3/services): The resource could not be found. (HTTP 404)**export查看变量declare -x MAIL="/var/spool/mail/root"declar...原创 2021-04-24 11:42:38 · 1124 阅读 · 0 评论 -
搭建openstack keystone服务创建域报错An unexpected error prevented the server from fulfilling your request. (H
**搭建openstack(Q) keystone服务创建域报错An unexpected error prevented the server from fulfilling your request. (HTTP500)**检查数据库配置文件my.cnf有没有配置,配置不正确修改或者添加。在systemc deamon-reload ##重新加载系统服务systemc restart mariadb ##重启系统在连接数据库后创建域成功! su -s /bin/sh -c "keyst原创 2021-04-22 09:15:14 · 4072 阅读 · 0 评论 -
创建glance用户报错Failed to discover available identity versions when contacting http://:5000/v3. Attempti
这里我们就要检查全局环境变量了查看创建的admin-openrc.sh文件发现*$HOST_NAME没有写[root@controller ~]# cat admin-openrc.sh export OS_PROJECT_DOMAIN_NAME=demoexport OS_USER_DOMAIN_NAME=demoexport OS_PROJECT_NAME=adminexport OS_USERNAME=adminexport OS_PASSWORD=000000**export O.原创 2021-04-22 09:49:56 · 1312 阅读 · 2 评论 -
glance创建数据数据表报错/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:1336: OsloDBDepre
查看配置文件看看有没有错误,检查后未发现错误[root@controller ~]# vim /etc/glance/glance-api.conf[database]connection = mysql+pymysql://glance:000000@controller/glance[root@controller ~]# vim /etc/glance/glance-registry.conf [database]connection = mysql+pymysql://glance:原创 2021-04-22 09:42:13 · 3134 阅读 · 0 评论