[ceph-users] Re: RGW: Using Lua script to monitor storage class put operations

2023-05-14 Thread Yuval Lifshitz
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

[ceph-users] RGW: Using Lua script to monitor storage class put operations

2023-05-14 Thread viplanghe6
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:

[ceph-users] Re: Upgrade Ceph cluster + radosgw from 14.2.18 to latest 15

2023-05-14 Thread viplanghe6
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