Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dot@cloud:~$ keystone tenant-list
- +----------------------------------+-----------+---------+
- | id | name | enabled |
- +----------------------------------+-----------+---------+
- | 00412c5a25a84f0babf1d38dd9231645 | service | True |
- | 5f4cd7c8c08a4d88b4e62103c7f48bce | openstack | True |
- +----------------------------------+-----------+---------+
- dot@cloud:~$ keystone user-list
- +----------------------------------+---------+-------+-------+
- | id | enabled | email | name |
- +----------------------------------+---------+-------+-------+
- | 68f5842e2f8945bbb8b77c9431b6f299 | True | None | swift |
- | 70870f33f83048c7ac495b47c155fcb7 | True | None | admin |
- +----------------------------------+---------+-------+-------+
- dot@cloud:~$ keystone role-list
- +----------------------------------+--------+
- | id | name |
- +----------------------------------+--------+
- | 53c125e9d84140cb8ea8a4fe30ae0fac | admin |
- | 80cb02529ad64f6d99237cb46d93345e | member |
- +----------------------------------+--------+
- dot@cloud:~$ keystone service-list
- +----------------------------------+----------+--------------+---------------------------+
- | id | name | type | description |
- +----------------------------------+----------+--------------+---------------------------+
- | 7e3c8d628ea14275b364f7ea18e565ad | swift | object-store | Object Storage Service |
- | f53b065710c94d30bbf2338ee812050b | keystone | identity | Keystone Identity Service |
- +----------------------------------+----------+--------------+---------------------------+
- dot@cloud:~$ keystone endpoint-list
- +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+-----------------------------+
- | id | region | publicurl | internalurl | adminurl |
- +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+-----------------------------+
- | 824fa52ff67147f790a2558ecab0203f | RegionOne | http://127.0.0.1:5000/v2.0 | http://127.0.0.1:5000/v2.0 | http://127.0.0.1:35357/v2.0 |
- | 93ff62fda0ae4174a23870e846142366 | RegionOne | http://127.0.0.1:8080/v1/AUTH_%(tenant_id)s | http://127.0.0.1:8080/v1/AUTH_%(tenant_id)s | http://127.0.0.1:8080/ |
- +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+-----------------------------+
- PROXY-SERVER.CONF
- [DEFAULT]
- bind_port = 8080
- user = dot
- log_facility = LOG_LOCAL1
- [pipeline:main]
- #pipeline = healthcheck cache tempauth proxy-logging proxy-server
- pipeline = catch_errors cache keystone proxy-server
- [app:proxy-server]
- use = egg:swift#proxy
- #allow_account_management = true
- account_autocreate = true
- [filter:keystone]
- paste.filter_factory = keystone.middleware.swift_auth:filter_factory
- operator_roles = admin, swiftoperator
- [filter:authtoken]
- paste.filter_factory = keystone.middleware.auth_token:filter_factory
- # Delaying the auth decision is required to support token-less
- # usage for anonymous referrers ('.r:*').
- delay_auth_decision = 1
- auth_port = 35357
- auth_host = 127.0.0.1
- auth_token = ADMIN
- admin_token = ADMIN
- [filter:tempauth]
- use = egg:swift#tempauth
- user_admin_admin = admin .admin .reseller_admin
- user_test_tester = testing .admin
- user_test2_tester2 = testing2 .admin
- user_test_tester3 = testing3
- [filter:healthcheck]
- use = egg:swift#healthcheck
- [filter:cache]
- use = egg:swift#memcache
- [filter:catch_errors]
- use = egg:swift#catch_errors
- [filter:proxy-logging]
- use = egg:swift#proxy_logging
- ERROR:
- swift -V 2.0 -A http://127.0.0.1:5000/v2.0 -U service:swift -K swift list
- Account GET failed: http://127.0.0.1:8080/v1/AUTH_00412c5a25a84f0babf1d38dd9231645?format=json 401 Unauthorized [first 60 chars of response] 401 Unauthorized
- This server could not verify that you are
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement