Actions
Bug #13628
closedrgw:swift use Civetweb ssl can not get right url
% Done:
0%
Source:
other
Tags:
Backport:
hammer,infernalis
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
$swift -A https://node112/auth/v1 -U keyuser:keyuser -K keyuser stat -v --insecure StorageURL: http://node112:0/swift/v1 Auth Token: AUTH_rgwtk0f0000006b6579757365723a6b657975736572b82ccf13229fc5511fd23156d55e2910ebfcfbb924be9e25d38dc03702e3995b94ac29a1 Account: v1 Containers: 0 Objects: 0 Bytes: 0 Server: Proxy
It should return StorageURL: https://node112/swift/v1
This led to swift use civetweb ssl unusable
ceph.conf
[client.radosgw.gateway] host = node112 keyring = /etc/ceph/ceph.client.radosgw.keyring log file = /var/log/radosgw/client.radosgw.gateway.log #rgw frontends = civetweb port=80 rgw frontends = "civetweb port=443s ssl_certificate=/home/ceph/ssl/server.pem" rgw dns name = node112 debug rgw = 30
Updated by weijun duan over 8 years ago
$swift -A https://node112/auth/v1 -U keyuser:keyuser -K keyuser stat -v --insecure StorageURL: http://node112:0/swift/v1 Auth Token: AUTH_rgwtk0f0000006b6579757365723a6b657975736572b82ccf13229fc5511fd23156d55e2910ebfcfbb924be9e25d38dc03702e3995b94ac29a1 Account: v1 Containers: 0 Objects: 0 Bytes: 0 Server: Proxy
should be
$curl -D- -H 'X-Auth-User: keyuser:keyuser' -H 'X-Auth-Key: keyuser' https://node112/auth/v1.0 -k HTTP/1.1 204 No Content X-Storage-Url: http://node112:0/swift/v1 X-Storage-Token: AUTH_rgwtk0f0000006b6579757365723a6b657975736572d1ea7a56dcfb24c1ceda31560d09b31614b8a06aa79e3fb7922b86ab39d4e676b710acb0 X-Auth-Token: AUTH_rgwtk0f0000006b6579757365723a6b657975736572d1ea7a56dcfb24c1ceda31560d09b31614b8a06aa79e3fb7922b86ab39d4e676b710acb0 Content-type: application/json Content-Length: 0
paste mistake
Updated by Yehuda Sadeh over 8 years ago
- Status changed from New to Pending Backport
- Backport set to hammer
Merged, commit:c601a807e0161aca9b1dc48e25cfc52c79e03eed
Updated by Nathan Cutler over 8 years ago
- Copied to Backport #13716: rgw:swift use Civetweb ssl can not get right url added
Updated by Nathan Cutler over 8 years ago
- Backport changed from hammer to hammer,infernalis
Yehuda, that commit is in master only, so I'm adding infernalis.
Updated by Nathan Cutler over 8 years ago
- Copied to Backport #13717: rgw:swift use Civetweb ssl can not get right url added
Updated by Nathan Cutler almost 8 years ago
- Status changed from Pending Backport to Resolved
Actions