Expecting to find domain in project. The server could ...




報錯

[root@controller ~]# glance image-list
Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-7daf2981-f576-485e-8d8c-e924980d28bd)


less /var/log/glance/api.log 
less /var/log/keystone/keystone.log 
兩份日志文件沒有獲取到目標信息

解決方案
# RC 文件配置異常, 正確示例如下

export OS_USERNAME=admin
export OS_PASSWORD=ADMIN_PASS
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_AUTH_URL=http://controller:5000/v3
export OS_IDENTITY_API_VERSION=3
export OS_AUTH_TYPE=password


注意大小寫、字段名、接口版本


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM