Bug #13628
rgw: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
Related issues
Associated revisions
rgw:swift use Civetweb ssl can not get right url
Fixes: #13628
Signed-off-by: Weijun Duan <duanweijun@h3c.com>
rgw:swift use Civetweb ssl can not get right url
Fixes: #13628
Signed-off-by: Weijun Duan <duanweijun@h3c.com>
(cherry picked from commit e0fd540bf441e2f8276cbd96c601a0539892efe2)
rgw:swift use Civetweb ssl cannot get right url
Fixes: #13628
Signed-off-by: Weijun Duan <duanweijun@h3c.com>
(cherry picked from commit e0fd540bf441e2f8276cbd96c601a0539892efe2)
History
#1 Updated by weijun duan over 5 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
#2 Updated by weijun duan over 5 years ago
#3 Updated by Nathan Cutler over 5 years ago
- Project changed from Ceph to rgw
#4 Updated by Yehuda Sadeh over 5 years ago
- Status changed from New to Pending Backport
- Backport set to hammer
Merged, commit:c601a807e0161aca9b1dc48e25cfc52c79e03eed
#5 Updated by Nathan Cutler over 5 years ago
- Copied to Backport #13716: rgw:swift use Civetweb ssl can not get right url added
#6 Updated by Nathan Cutler over 5 years ago
- Backport changed from hammer to hammer,infernalis
Yehuda, that commit is in master only, so I'm adding infernalis.
#7 Updated by Nathan Cutler over 5 years ago
- Copied to Backport #13717: rgw:swift use Civetweb ssl can not get right url added
#8 Updated by Nathan Cutler almost 5 years ago
- Status changed from Pending Backport to Resolved