Project

General

Profile

Bug #13628

rgw:swift use Civetweb ssl can not get right url

Added by weijun duan almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
10/28/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
hammer,infernalis
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:

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

Copied to rgw - Backport #13716: rgw:swift use Civetweb ssl can not get right url Resolved
Copied to rgw - Backport #13717: rgw:swift use Civetweb ssl can not get right url Resolved

Associated revisions

Revision e0fd540b (diff)
Added by weijun duan almost 3 years ago

rgw:swift use Civetweb ssl can not get right url

Fixes: #13628

Signed-off-by: Weijun Duan <>

Revision 1b06f03b (diff)
Added by weijun duan almost 3 years ago

rgw:swift use Civetweb ssl can not get right url

Fixes: #13628

Signed-off-by: Weijun Duan <>
(cherry picked from commit e0fd540bf441e2f8276cbd96c601a0539892efe2)

Revision 65ea6bbc (diff)
Added by weijun duan almost 3 years ago

rgw:swift use Civetweb ssl cannot get right url

Fixes: #13628

Signed-off-by: Weijun Duan <>
(cherry picked from commit e0fd540bf441e2f8276cbd96c601a0539892efe2)

History

#1 Updated by weijun duan almost 3 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

#3 Updated by Nathan Cutler almost 3 years ago

  • Project changed from Ceph to rgw

#4 Updated by Yehuda Sadeh almost 3 years ago

  • Status changed from New to Pending Backport
  • Backport set to hammer

Merged, commit:c601a807e0161aca9b1dc48e25cfc52c79e03eed

#5 Updated by Nathan Cutler almost 3 years ago

  • Copied to Backport #13716: rgw:swift use Civetweb ssl can not get right url added

#6 Updated by Nathan Cutler almost 3 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 almost 3 years ago

  • Copied to Backport #13717: rgw:swift use Civetweb ssl can not get right url added

#8 Updated by Nathan Cutler over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF