[ceph-users] Re: Metrics for object sizes

2021-04-22 Thread Szabo, Istvan (Agoda)
Objects inside RGW buckets like in couch base software they have their own metrics and has this information. Istvan Szabo Senior Infrastructure Engineer --- Agoda Services Co., Ltd. e: istvan.sz...@agoda.com

[ceph-users] Re: [Suspicious newsletter] Re: cephadm: how to create more than 1 rgw per host

2021-04-22 Thread Szabo, Istvan (Agoda)
Have you ever tried this? Did it work for you? Istvan Szabo Senior Infrastructure Engineer --- Agoda Services Co., Ltd. e: istvan.sz...@agoda.com --- On 2021. Apr 22.,

[ceph-users] Re: monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]

2021-04-22 Thread Ilya Dryomov
On Thu, Apr 22, 2021 at 10:16 PM Cem Zafer wrote: > > This client ceph-common version is 16.2.0, here are the outputs. > > indiana@mars:~$ ceph -v > ceph version 16.2.0 (0c2054e95bcd9b30fdd908a79ac1d8bbc3394442) pacific > (stable) > > indiana@mars:~$ dpkg -l | grep -i ceph-common > ii

[ceph-users] Re: Configuring an S3 gateway

2021-04-22 Thread Rok Jaklič
I agree. Documentation here is pretty vague. systemd services for osds on ubuntu 20.04 and ceph pacific version 16.2.1 does not work either, so I have to run it manually with /usr/bin/ceph-osd -f --cluster ceph --id some-number --setuser ceph --setgroup ceph I think it would be much better if

[ceph-users] Re: wrong socket path with ceph daemonperf

2021-04-22 Thread Fabrice Bacchella
> Le 22 avr. 2021 à 22:13, Fabrice Bacchella a > écrit : > > I doing a custom, manual installation of ceph. I changed the cluster name > from the default one to 'ngceph'. > > I changed the installation path to /data/ceph. > > A lot of thing correctly resolves the settings. But one command

[ceph-users] /ceph-osd-prestart.sh does use the configuration

2021-04-22 Thread Fabrice Bacchella
I'm using a rpm build directly from ceph, ceph-osd-16.2.1-0.el8.x86_64 I tweaked the configuration with a custom cluster name and custom installation dir In the unit, there is the configuration: ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i And this script

[ceph-users] wrong socket path with ceph daemonperf

2021-04-22 Thread Fabrice Bacchella
I doing a custom, manual installation of ceph. I changed the cluster name from the default one to 'ngceph'. I changed the installation path to /data/ceph. A lot of thing correctly resolves the settings. But one command fails: CLUSTER=/data/ceph/conf/ngceph.conf CLUSTER=ngceph ceph daemonperf

[ceph-users] Re: ceph-csi on openshift

2021-04-22 Thread Bosteels Nino
It does seem you can apply some rbac in openshift: https://docs.openshift.com/container-platform/4.6/authentication/managing-security-context-constraints.html For now I'm having no luck, though I ve used the serviceaccountname now in the custom security context constraint. On 22/04/2021,

[ceph-users] Re: monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]

2021-04-22 Thread Ilya Dryomov
On Thu, Apr 22, 2021 at 9:24 PM Cem Zafer wrote: > > Sorry to disturb you again but changing the value to yes doesnt affect > anything. Executing simple ceph command from the client replies the following > error, again. I'm not so sure it is related with that parameter. > Have you any idea

[ceph-users] Re: Configuring an S3 gateway

2021-04-22 Thread Fabrice Bacchella
> Le 22 avr. 2021 à 20:40, Casey Bodley a écrit : > > On Thu, Apr 22, 2021 at 2:26 PM Fabrice Bacchella > mailto:fabrice.bacche...@orange.fr>> wrote: >> >> I'm trying to configure an S3 gateway with pacific and can't wrap my mind >> around. >> >> In the configuration file, my configuration

[ceph-users] Re: Configuring an S3 gateway

2021-04-22 Thread Casey Bodley
On Thu, Apr 22, 2021 at 2:26 PM Fabrice Bacchella wrote: > > I'm trying to configure an S3 gateway with pacific and can't wrap my mind > around. > > In the configuration file, my configuration is: > > [client.radosgw.fa41] > rgw_data = /data/ceph/data/radosgw/$cluster.$id > log_file =

[ceph-users] Zero Reclaim/Trim on RBD image

2021-04-22 Thread Vikas Rana
Hi Friends, We have multiple RBD images/devices. We used fstrim to reclaim space on XFS filesystem on RBD images and it works great. Some of the RBD images, we share as block devices to Vmware using SCST. Any suggestion on how to reclaim space on these devices? The images are about 20TB

[ceph-users] Configuring an S3 gateway

2021-04-22 Thread Fabrice Bacchella
I'm trying to configure an S3 gateway with pacific and can't wrap my mind around. In the configuration file, my configuration is: [client.radosgw.fa41] rgw_data = /data/ceph/data/radosgw/$cluster.$id log_file = /data/ceph/logs/$cluster-radosgw.$id.log rgw_frontends = "beast

[ceph-users] Re: RGW objects has same marker and bucket id in different buckets.

2021-04-22 Thread by morphin
Its crystal clear now. Thank you so much for the answers. The problem is I cant delete these pending objects with radosgw-admin object rm $obj. Also sync error trim does nothing. Due to this problem I've created a New bucket and copied these objects from the main source (out of cluster) and also

[ceph-users] Re: rbd snap create now working and just hangs forever

2021-04-22 Thread Ilya Dryomov
On Thu, Apr 22, 2021 at 6:00 PM Boris Behrens wrote: > > > > Am Do., 22. Apr. 2021 um 17:27 Uhr schrieb Ilya Dryomov : >> >> On Thu, Apr 22, 2021 at 5:08 PM Boris Behrens wrote: >> > >> > >> > >> > Am Do., 22. Apr. 2021 um 16:43 Uhr schrieb Ilya Dryomov >> > : >> >> >> >> On Thu, Apr 22, 2021

[ceph-users] Re: monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]

2021-04-22 Thread Ilya Dryomov
On Thu, Apr 22, 2021 at 6:01 PM Cem Zafer wrote: > > Thanks Ilya, pointing me out to the right direction. > So if I change the auth_allow_insecure_global_id_reclaim to true means older > userspace clients allowed to the cluster? Yes, but upgrading all clients and setting it to false is

[ceph-users] Re: rbd snap create now working and just hangs forever

2021-04-22 Thread Boris Behrens
Am Do., 22. Apr. 2021 um 17:27 Uhr schrieb Ilya Dryomov : > On Thu, Apr 22, 2021 at 5:08 PM Boris Behrens wrote: > > > > > > > > Am Do., 22. Apr. 2021 um 16:43 Uhr schrieb Ilya Dryomov < > idryo...@gmail.com>: > >> > >> On Thu, Apr 22, 2021 at 4:20 PM Boris Behrens wrote: > >> > > >> > Hi, > >>

[ceph-users] Re: rbd snap create now working and just hangs forever

2021-04-22 Thread Ilya Dryomov
On Thu, Apr 22, 2021 at 5:08 PM Boris Behrens wrote: > > > > Am Do., 22. Apr. 2021 um 16:43 Uhr schrieb Ilya Dryomov : >> >> On Thu, Apr 22, 2021 at 4:20 PM Boris Behrens wrote: >> > >> > Hi, >> > >> > I have a customer VM that is running fine, but I can not make snapshots >> > anymore. >> > rbd

[ceph-users] Re: monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]

2021-04-22 Thread Ilya Dryomov
On Thu, Apr 22, 2021 at 5:04 PM Cem Zafer wrote: > > Hi Ilya, > Yes you are correct, I have set auth_allow_insecure_global_id_reclaim to > false. > Host ceph-common package version is 16.2.0 and the cluster ceph -v output is > as follows. > > root@ceph100:~# ceph -v > ceph version 16.2.1

[ceph-users] Re: RGW objects has same marker and bucket id in different buckets.

2021-04-22 Thread Matt Benjamin
Hi Morphin, On Thu, Apr 22, 2021 at 3:40 AM by morphin wrote: > > Thanks for the answer. > > I have 2 question: > 1- If I use different user and a bucket what will happen? Is this > design only for same user or user independent? It's user independent. > 2- If I delete the Source bucket with

[ceph-users] Re: rbd snap create now working and just hangs forever

2021-04-22 Thread Boris Behrens
Am Do., 22. Apr. 2021 um 16:43 Uhr schrieb Ilya Dryomov : > On Thu, Apr 22, 2021 at 4:20 PM Boris Behrens wrote: > > > > Hi, > > > > I have a customer VM that is running fine, but I can not make snapshots > > anymore. > > rbd snap create rbd/IMAGE@test-bb-1 > > just hangs forever. > > Hi Boris,

[ceph-users] Re: rbd snap create now working and just hangs forever

2021-04-22 Thread Ilya Dryomov
On Thu, Apr 22, 2021 at 4:20 PM Boris Behrens wrote: > > Hi, > > I have a customer VM that is running fine, but I can not make snapshots > anymore. > rbd snap create rbd/IMAGE@test-bb-1 > just hangs forever. Hi Boris, Run $ rbd snap create rbd/IMAGE@test-bb-1 --debug-ms=1 --debug-rbd=20 let

[ceph-users] ceph-csi on openshift

2021-04-22 Thread Bosteels Nino
Hi, I’m trying to get the ceph-csi working on openshift (I followed this guide: https://docs.ceph.com/en/latest/rbd/rbd-kubernetes/). On openshift it seems you can’t run privileged containers per default and can’t use HostPath etc. For these you need to create a security context constraint (a

[ceph-users] rbd snap create now working and just hangs forever

2021-04-22 Thread Boris Behrens
Hi, I have a customer VM that is running fine, but I can not make snapshots anymore. rbd snap create rbd/IMAGE@test-bb-1 just hangs forever. When I checked the status with rbd status rbd/IMAGE it shows one watcher, the cpu node where the VM is running. What can I do to investigate further,

[ceph-users] Re: monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]

2021-04-22 Thread Ilya Dryomov
On Thu, Apr 22, 2021 at 3:24 PM Cem Zafer wrote: > > Hi, > I have recently add a new host to ceph and copied /etc/ceph directory to > the new host. When I execute the simple ceph command as "ceph -s", get the > following error. > > 021-04-22T14:50:46.226+0300 7ff541141700 -1 monclient(hunting): >

[ceph-users] monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2]

2021-04-22 Thread Cem Zafer
Hi, I have recently add a new host to ceph and copied /etc/ceph directory to the new host. When I execute the simple ceph command as "ceph -s", get the following error. 021-04-22T14:50:46.226+0300 7ff541141700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only

[ceph-users] Re: cephadm: how to create more than 1 rgw per host

2021-04-22 Thread by morphin
Hello. Its easy. In ceph.conf copy the rgw fields and change 3 things. 1- name 2- log path name 3- client port. After that feel free to start rgw service with systemctl. Check service status and Tail the rgw log file. Try to read or write and check the logs. If everything works as expected then

[ceph-users] Re: cephadm: how to create more than 1 rgw per host

2021-04-22 Thread i...@z1storage.com
Does anyone know how to create more than 1 rgw per host? Surely it's not a rare configuration. On 2021/04/19 17:09, i...@z1storage.com wrote: Hi Sebastian, Thank you. Is there a way to create more than 1 rgw per host until this new feature is released? On 2021/04/19 11:39, Sebastian

[ceph-users] Re: ceph-csi on openshift

2021-04-22 Thread Marc
I have been hacking this ceph-csi code to get it to work with mesos. The guys developing this csi ceph driver do not seem to grasp the concept of csi. That it should be a universal driver for OC platforms. They are totally focussing on making ceph work with kubernetes. Recently I noticed that

[ceph-users] Re: RGW objects has same marker and bucket id in different buckets.

2021-04-22 Thread by morphin
Thanks for the answer. I have 2 question: 1- If I use different user and a bucket what will happen? Is this design only for same user or user independent? 2- If I delete the Source bucket with radosgw-admin or via S3 delete, what will happen to these objects? Also I have more questions if

[ceph-users] Download-Mirror eu.ceph.com misses Debian Release file

2021-04-22 Thread Robert Sander
Hi, to whomever it may concern: The mirror server eu.ceph.com does to carry the Release files for 15.2.11 in https://eu.ceph.com/debian-15.2.11/dists/*/ and 16.2.1 in https://eu.ceph.com/debian-16.2.1/dists/*/ Regards -- Robert Sander Heinlein Consulting GmbH Schwedter Str. 8/9b, 10119 Berlin

[ceph-users] Re: After upgrade to 15.2.11 no access to cluster any more

2021-04-22 Thread Robert Sander
Am 22.04.21 um 09:07 schrieb Robert Sander: > What should I do? I should also upgrade the CLI client which still was at 15.2.8 (Ubuntu 20.04) because a "ceph orch upgrade" run only updates the software inside the containers. Regards -- Robert Sander Heinlein Consulting GmbH Schwedter Str.

[ceph-users] Re: After upgrade to 15.2.11 no access to cluster any more

2021-04-22 Thread Dan van der Ster
Hi Robert, That's not very good ! You can probably set that back to false on each mon with: ceph daemon mon.`hostname -s` config set auth_allow_insecure_global_id_reclaim true -- Dan On Thu, Apr 22, 2021 at 9:08 AM Robert Sander wrote: > > Hi, > > I upgraded a test cluster to 15.2.11 and

[ceph-users] After upgrade to 15.2.11 no access to cluster any more

2021-04-22 Thread Robert Sander
Hi, I upgraded a test cluster to 15.2.11 and after the upgrade has been finished the cluster status was in HEALTH_WARN because of: AUTH_INSECURE_GLOBAL_ID_RECLAIM_ALLOWED: mons are allowing insecure global_id reclaim According to the documentation at