Re: rgw with unix socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rok,

It was I think planned years ago to drop the fcgi front-end.  I'm unsure if
Pacific does have it.

Matt


On Mon, Oct 17, 2022 at 11:31 AM Rok Jaklič <rjaklic@xxxxxxxxx> wrote:

> Hi,
>
> I try to configure ceph with rgw and unix socket (based on
> https://docs.ceph.com/en/pacific/man/8/radosgw/?highlight=radosgw). I have
> in ceph.conf something like this:
> [client.radosgw.ctplmon3]
> host = ctplmon3
> rgw socket path = /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock
> log file = /var/log/ceph/client.radosgw.ctplmon3.log
> rgw print continue = false
>
> When I start radosgw with:
> radosgw -c /etc/ceph/ceph.conf --setuser ceph --setgroup ceph -n
> client.radosgw.ctplmon3
>
> I get in logs:
> 2022-10-17T17:11:22.925+0200 7f75c72545c0  0 ceph version 16.2.10
> (45fa1a083152e41a408d15505f594ec5f1b4fe17) pacific (stable), process
> radosgw, pid 4077748
> 2022-10-17T17:11:22.925+0200 7f75c72545c0  0 framework: beast
> 2022-10-17T17:11:22.925+0200 7f75c72545c0  0 framework conf key: port, val:
> 7480
> 2022-10-17T17:11:22.925+0200 7f75c72545c0  1 radosgw_Main not setting numa
> affinity
> 2022-10-17T17:11:24.863+0200 7f75c72545c0  0 framework: beast
> 2022-10-17T17:11:24.863+0200 7f75c72545c0  0 framework conf key:
> ssl_certificate, val: config://rgw/cert/$realm/$zone.crt
> 2022-10-17T17:11:24.863+0200 7f75c72545c0  0 framework conf key:
> ssl_private_key, val: config://rgw/cert/$realm/$zone.key
> 2022-10-17T17:11:24.863+0200 7f75c72545c0  0 starting handler: beast
> 2022-10-17T17:11:24.867+0200 7f75c72545c0  0 set uid:gid to 167:167
> (ceph:ceph)
> 2022-10-17T17:11:24.904+0200 7f75c72545c0  1 mgrc service_daemon_register
> rgw.11621227 metadata {arch=x86_64,ceph_release=pacific,ceph_version=ceph
> version 16.2.10 (45fa1a083152e41a408d15505f594ec5f1b4fe17) pacific
> (stable),ceph_version_short=16.2.10,cpu=Intel(R) Xeon(R) Silver 4114 CPU @
> 2.20GHz,distro=almalinux,distro_description=AlmaLinux 8.6 (Sky
> Tiger),distro_version=8.6,frontend_config#0=beast
> port=7480,frontend_type#0=beast,hostname=ctplmon3.arnes.si
> ,id=radosgw.ctplmon3,kernel_description=#1
> SMP Tue Aug 2 13:42:59 EDT
>
> 2022,kernel_version=4.18.0-372.19.1.el8_6.x86_64,mem_swap_kb=8388604,mem_total_kb=65325948,num_handles=1,os=Linux,pid=4077748,realm_id=,realm_name=,zone_id=c2c70444-7a41-4acd-a0d0-9f87d324ec72,zone_name=default,zonegroup_id=b1e0d55c-f7cb-4e73-b1cb-6cffa1fd6578,zonegroup_name=default}
> 2022-10-17T17:20:37.712+0200 7f75ae9a2700 -1 received  signal: Interrupt,
> si_code : 128, si_value (int): 0, si_value (ptr): 0, si_errno: 0, si_pid :
> 0, si_uid : 0, si_addr0, si_status0
>
> ... where it seems it started rgw on port and ip.
>
> Looking at:
> https://github.com/ceph/ceph/blob/quincy/src/rgw/rgw_asio_frontend.cc
>
> I do not see any reference to handling rgw on unix sockets. Is this even
> implemented?
>
> Kind regards,
> Rok
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
>

-- 

Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://www.redhat.com/en/technologies/storage

tel.  734-821-5101
fax.  734-769-8938
cel.  734-216-5309
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux