Swift Keystone Authentication Fails
Hello Team,
I am unable to login to Swift using the Keystone integration. Here is sample output when I try to get swift status:
vagrant@swift:~$ swift -A http://
Auth GET failed: http://
I tried adding TempAuth entries to the Proxy config as well, but that is not working for me either. Please see my Proxy Config file contents below:
172.16.0.203 is my Swift Server
172.16.0.201 is my Controller Node, which runs Keystone
[DEFAULT]
bind_port = 443
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
user = swift
log_facility = LOG_LOCAL1
[pipeline:main]
pipeline = catch_errors healthcheck cache authtoken keystoneauth proxy-server
[app:proxy-server]
use = egg:swift#proxy
account_autocreate = true
allow_account_
[filter:tempauth]
use = egg:swift#tempauth
user_admin_admin = admin .admin .rseller_admin
[filter:
use = egg:swift#
[filter:cache]
use = egg:swift#memcache
[filter:keystone]
paste.filter_
operator_roles = Member,admin
[filter:authtoken]
paste.filter_
service_port = 5000
service_host = 172.16.0.201
auth_port = 35357
auth_host = 172.16.0.201
auth_protocol = http
auth_token = ADMIN
admin_token = ADMIN
admin_tenant_name = service
admin_user = swift
admin_password = swift
cache = swift.cache
[filter:
use = egg:swift#
[filter:swift3]
use = egg:swift#swift3
[filter:
use = egg:swift#
operator_roles = admin, swiftoperator
[filter:swiftauth]
use = egg:keystone#
keystone_url = http://
keystone_
keystone_
keystone_
[filter:tokenauth]
paste.filter_
auth_protocol = http
auth_host = 172.16.0.201
auth_port = 35357
auth_uri = http://
admin_token = 999888777666
delay_auth_decision = 0
memecache_host = 172.16.0.203:11211
The keystone endpoint was successfully created:
+------
| id | region | publicurl | internalurl | adminurl | service_id |
+------
| 3bb430404e1f4da
| 6cc1aedc3e15434
| 78fda6ce75034e8
| 9bf69ed68d404a9
| b4d2945af5d24e5
| e5e3664088be429
+------
Also, the swift user is an admin in the service tenant:
vagrant@swift:~$ keystone tenant-list
+------
| id | name | enabled |
+------
| 9106c2e5f44840f
| b334b98cc9f241d
+------
vagrant@swift:~$ keystone user-role-list --user swift --tenant_id b334b98cc9f241d
+------
| id | name | user_id | tenant_id |
+------
| 9fe2ff9ee4384b1
| fb981f22fd5d4cf
+------
Any advice would be appreciated
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Trevor R Jr
- Solved:
- Last query:
- Last reply: