Hi,
The RGWDebugLog() function is writing debug logs at level 20, so you have
to make sure that debug_rgw = 20
Also, if Request.HTTP.StorageClass does not exist in the message (is "nil")
the string concat operator would fail, and the script would exit. So, it is
probably better to check that in the
I have a lua script that read Storageclass header of any put request (as I
understand):
local function isempty(input)
return input == nil or input == ''
end
if Request.RGWOp == 'put_obj' then
RGWDebugLog("Put_Obj with StorageClass: " .. Request.HTTP.StorageClass )
end
Then apply the script:
Yes, the documents show an example of upgrading from Nautilus to Pacific. But
I'm not really 100% trusting the Ceph documents, and I'm also afraid of what if
Nautilus is not compatible with Pacific in some operations of monitor or osd =)
___
ceph-users