Created
November 18, 2015 22:30
-
-
Save anonymous/bfa221c146ffad435eb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peluse@peluse-VBM:~/keystone$ openstack endpoint show ec493462101948d08f1409b61bacd994 | |
+--------------+----------------------------------------------+ | |
| Field | Value | | |
+--------------+----------------------------------------------+ | |
| adminurl | http://controller:8080/v1 | | |
| enabled | True | | |
| id | ec493462101948d08f1409b61bacd994 | | |
| internalurl | http://controller:8080/v1/AUTH_%(tenant_id)s | | |
| publicurl | http://controller:8080/v1/AUTH_%(tenant_id)s | | |
| region | RegionOne | | |
| service_id | d9214cd24faf474bbee383f60a9e78e0 | | |
| service_name | swift | | |
| service_type | object-store | | |
swift-proxy.conf (relevant section) | |
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache bulk tempurl ratelimit crossdomain container_sync authtoken keystoneauth staticweb container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server | |
[filter:authtoken] | |
paste.filter_factory = keystonemiddleware.auth_token:filter_factory | |
identity_uri = http://controller:35357/ | |
admin_tenant_name = service | |
admin_user = swift | |
admin_password = swift | |
auth_uri = http://controller:5000/ | |
cache = swift.cache | |
include_service_catalog = False | |
delay_auth_decision = True | |
auth_protocol = http | |
[filter:keystoneauth] | |
use = egg:swift#keystoneauth | |
reseller_prefix = AUTH, SERVICE | |
operator_roles = admin, swiftoperator | |
SERVICE_service_roles = service | |
attempt to get token: | |
peluse@peluse-VBM:~/swift$ curl -v -H 'X-Storage-User: swift:swift' -H 'X-Storage-Pass: swift' http://controller:5000/v2.0/tokens | |
* Hostname was NOT found in DNS cache | |
* Trying 127.0.0.1... | |
* Connected to controller (127.0.0.1) port 5000 (#0) | |
> GET /v2.0/tokens HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: controller:5000 | |
> Accept: */* | |
> X-Storage-User: swift:swift | |
> X-Storage-Pass: swift | |
> | |
< HTTP/1.1 404 Not Found | |
< Vary: X-Auth-Token | |
< Content-Type: application/json | |
< Content-Length: 93 | |
< X-Openstack-Request-Id: req-84d7d5ee-4342-4cdd-95e3-9d422859ac37 | |
< Date: Wed, 18 Nov 2015 22:27:04 GMT | |
< | |
* Connection #0 to host controller left intact | |
{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}peluse@peluse-VBM:~/swift$ | |
peluse@peluse-VBM:~/swift$ | |
peluse@peluse-VBM:~/swift$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment