Project

General

Profile

Actions

Bug #20935

closed

rgw opslog cannot record referrer when using curl as client

Added by Jiaying Ren over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

curl --referer jiaying localhost:8000/111/66666666666666666666666666

root@ceph-node1# (git::master) ./bin/radosgw-admin -c ceph.conf log show --object=2017-08-07-17-0bd736e3-9f49-4dcd-b0b3-01e43ab2d99f.4106.1-111 {
"bucket_id": "0bd736e3-9f49-4dcd-b0b3-01e43ab2d99f.4106.1",
"bucket_owner": "testid",
"bucket": "111",
"log_entries": [ {
....
}, {
"bucket": "111",
"time": "2017-08-07 09:23:42.817341Z",
"time_local": "2017-08-07 17:23:42.817341",
"remote_addr": "127.0.0.1",
"user": "anonymous",
"operation": "GET",
"uri": "/111/66666666666666666666666666",
"http_status": "403",
"error_code": "AccessDenied",
"bytes_sent": 213,
"bytes_received": 0,
"object_size": 0,
"total_time": 2189668,
"user_agent": "curl/7.29.0",
"referrer": ""
}, {
....
}
],
"log_sum": {
"bytes_sent": 426,
"bytes_received": 0,
"total_time": 3994118,
"total_entries": 3
}
}


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #22623: luminous: rgw opslog cannot record referrer when using curl as clientResolvedCasey BodleyActions
Actions

Also available in: Atom PDF