Skip to content

Instantly share code, notes, and snippets.

@theanalyst
Created May 2, 2016 13:43
Show Gist options
  • Select an option

  • Save theanalyst/891781582ddc454bafdc5ef7d075ec7a to your computer and use it in GitHub Desktop.

Select an option

Save theanalyst/891781582ddc454bafdc5ef7d075ec7a to your computer and use it in GitHub Desktop.
2016-05-02 13:14:02.867741 7f46a87d8700 2 req 87:0.000032::GET /nonexistant.html::initializing for trans_id = tx000000000000000000057-005727529a-fbe3-us-east-1
2016-05-02 13:14:02.867748 7f46a87d8700 10 host=s3website.mywebsite.domain.com
2016-05-02 13:14:02.867762 7f46a87d8700 20 subdomain=s3website domain=mywebsite.domain.com in_hosted_domain=1 in_hosted_domain_s3website=1
2016-05-02 13:14:02.867801 7f46a87d8700 20 get_handler handler=29RGWHandler_REST_Obj_S3Website
2016-05-02 13:14:02.867807 7f46a87d8700 10 handler=29RGWHandler_REST_Obj_S3Website
2016-05-02 13:14:02.867809 7f46a87d8700 2 req 87:0.000101:s3:GET /nonexistant.html::getting op 0
2016-05-02 13:14:02.867813 7f46a87d8700 10 op=28RGWGetObj_ObjStore_S3Website
2016-05-02 13:14:02.867816 7f46a87d8700 2 req 87:0.000107:s3:GET /nonexistant.html:get_obj:authorizing
2016-05-02 13:14:02.867822 7f46a87d8700 2 req 87:0.000113:s3:GET /nonexistant.html:get_obj:normalizing buckets and tenants
2016-05-02 13:14:02.867825 7f46a87d8700 10 s->object=nonexistant.html s->bucket=s3website
2016-05-02 13:14:02.867832 7f46a87d8700 2 req 87:0.000120:s3:GET /nonexistant.html:get_obj:init permissions
2016-05-02 13:14:02.867910 7f46a87d8700 15 decode_policy Read AccessControlPolicy<AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>website-user</ID><DisplayName>website user</DisplayName></Owner><AccessControlList><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group"><URI>http://acs.amazonaws.com/groups/global/AllUsers</URI></Grantee><Permission>READ</Permission></Grant><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"><ID>website-user</ID><DisplayName>website user</DisplayName></Grantee><Permission>FULL_CONTROL</Permission></Grant></AccessControlList></AccessControlPolicy>
2016-05-02 13:14:02.867929 7f46a87d8700 2 req 87:0.000220:s3:GET /nonexistant.html:get_obj:recalculating target
2016-05-02 13:14:02.867933 7f46a87d8700 10 retargetStarting retarget
2016-05-02 13:14:02.867939 7f46a87d8700 10 retarget get_effective_key nonexistant.html -> nonexistant.html
2016-05-02 13:14:02.867943 7f46a87d8700 2 req 87:0.000234:s3:GET /nonexistant.html:get_obj:reading permissions
2016-05-02 13:14:02.867967 7f46a87d8700 20 get_obj_state: rctx=0x7f46a87d2620 obj=s3website:nonexistant.html state=0x7f477400a048 s->prefetch_data=1
2016-05-02 13:14:02.869773 7f46a87d8700 15 decode_policy Read AccessControlPolicy<AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>website-user</ID><DisplayName>website user</DisplayName></Owner><AccessControlList><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group"><URI>http://acs.amazonaws.com/groups/global/AllUsers</URI></Grantee><Permission>READ</Permission></Grant><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"><ID>website-user</ID><DisplayName>website user</DisplayName></Grantee><Permission>FULL_CONTROL</Permission></Grant></AccessControlList></AccessControlPolicy>
2016-05-02 13:14:02.869782 7f46a87d8700 5 Searching permissions for uid=anonymous mask=49
2016-05-02 13:14:02.869784 7f46a87d8700 5 Permissions for user not found
2016-05-02 13:14:02.869786 7f46a87d8700 5 Searching permissions for group=1 mask=49
2016-05-02 13:14:02.869787 7f46a87d8700 5 Found permission: 1
2016-05-02 13:14:02.869789 7f46a87d8700 5 Getting permissions id=anonymous owner=website-user perm=1
2016-05-02 13:14:02.869790 7f46a87d8700 10 uid=anonymous requested perm (type)=1, policy perm=1, user_perm_mask=15, acl perm=1
2016-05-02 13:14:02.869794 7f46a87d8700 10 read_permissions on s3website(@{i=us-east-1.rgw.buckets.index,e=us-east-1.rgw.buckets.non-ec}us-east-1.rgw.buckets.data[8d3e47dd-c28b-40ff-9af9-ab800ad63b4d.64483.4]):nonexistant.html only_bucket=0 ret=-2
2016-05-02 13:14:02.869803 7f46a87d8700 20 TODO Serve Custom error page here if bucket has <Error>
2016-05-02 13:14:02.869811 7f46a87d8700 20 get_obj_state: rctx=0x7f46a87d18d0 obj=s3website:error.html state=0x7f477400ba68 s->prefetch_data=0
2016-05-02 13:14:02.870871 7f46a87d8700 10 manifest: total_size = 151
2016-05-02 13:14:02.870882 7f46a87d8700 20 get_obj_state: setting s->obj_tag to 8d3e47dd-c28b-40ff-9af9-ab800ad63b4d.64483.49^@
2016-05-02 13:14:02.870908 7f46a87d8700 20 get_obj_state: rctx=0x7f46a87d18d0 obj=s3website:error.html state=0x7f477400ba68 s->prefetch_data=0
2016-05-02 13:14:02.870923 7f46a87d8700 20 rados->get_obj_iterate_cb oid=8d3e47dd-c28b-40ff-9af9-ab800ad63b4d.64483.4_error.html obj-ofs=0 read_ofs=0 len=151
2016-05-02 13:14:02.870971 7f46a87d8700 20 rados->aio_operate r=0 bl.length=0
2016-05-02 13:14:02.871444 7f47c7fff700 20 get_obj_aio_completion_cb: io completion ofs=0 len=151
2016-05-02 13:14:02.871500 7f46a87d8700 20 get_obj_state: rctx=0x7f46a87d2620 obj=: state=0x7f477400d878 s->prefetch_data=0
2016-05-02 13:14:04.420820 7f46a87d8700 0 WARNING: could not defer gc entry for obj
2016-05-02 13:14:04.420948 7f46a87d8700 20 op->ERRORHANDLER: err_no=-2 new_err_no=-2
2016-05-02 13:14:04.420956 7f46a87d8700 20 error_content is set, we need to serve it INSTEAD of firing the formatter
2016-05-02 13:14:04.420973 7f46a87d8700 2 req 87:1.553264:s3:GET /nonexistant.html:get_obj:op status=0
2016-05-02 13:14:04.420977 7f46a87d8700 2 req 87:1.553268:s3:GET /nonexistant.html:get_obj:http status=404
2016-05-02 13:14:04.420980 7f46a87d8700 1 ====== req done req=0x7f46a87d2710 op status=0 http_status=404 ======
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment