[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Mika Saari
Hi, I have added debug_rgw 20 to configuration. When checking docker logs -f I get this error for my radowgw request (swift post test3 --debug) Would there be a way to get more debug information from radosgw to solve this 401 problem ? Thanks a lot, -Mika --- clip clip debug

[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Wissem MIMOUNA
Hi, The radosgw should have a dedicated user (different from you swift user) for authentifiation with keystone ( openstack) in the project "service" and you should also add the role "_member_" in the rgw_keystone_accepted_roles. Regards -Message d'origine- De : Mika Saari Envoyé : je

[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Mika Saari
Hi, Adding below what I tested. Do you see from this what I am doing wrong? Thank you very much, -Mika --clip clip-- OPENSTACK SIDE: [root@controller ~]# openstack user create --domain default --password-prompt rgwswift User Password: Repeat User Password: +-+

[ceph-users] Re: Ceph 15.2.3 on Ubuntu 20.04 with odroid xu4 / python thread Problem

2021-01-07 Thread kefu chai
Oliver Weinmann 于2021年1月7日 周四16:32写道: > Hi, > > thanks for the quick reply. I will test it. Do I have to recompile ceph in > order to test it? > No, you just need to apply the change of ceph_argparse.py. > Am 07.01.2021 um 02:13 schrieb kefu chai: > > > > On Thursday, January 7, 2021, Oliver We

[ceph-users] Re: Ceph 15.2.3 on Ubuntu 20.04 with odroid xu4 / python thread Problem

2021-01-07 Thread Oliver Weinmann
Hi, thanks for the quick reply. I will test it. Do I have to recompile ceph in order to test it? Am 07.01.2021 um 02:13 schrieb kefu chai: On Thursday, January 7, 2021, Oliver Weinmann > wrote: Hi, I have a similar if not the same issue. I run armbi

[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Wissem MIMOUNA
The user rgwswift only for radosgw config ( do not use it in your file openrc ) use swift user instead . Also , keep the default project to admin ( os_project_name ) . Rgds De : Mika Saari Envoyé : jeudi 7 janvier 2021 12:45 À : Wissem MIMOUNA Cc : ceph-users@ceph.io Objet : Re: [ceph-users]

[ceph-users] safest way to remove a host from Mimic

2021-01-07 Thread Adrian Nicolae
Hi guys, I need to remove a host (osd server) from my Ceph Mimic.  First I started to remove every OSD drive one by one with 'ceph osd out' and then 'ceph osd purge'.  After all the drives will be removed from the crush map, I will still have the host empty, without any drive, and with the cr

[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Mika Saari
Hi, Changed switch-openrc and verified the project to be "admin". Unfortunately problems stills. I think I have configured the Ceph now somehow wrong with command ceph config set mgr rgw_keystone_url http://controller:5000 It probably should be something like ceph config set client.

[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Wissem MIMOUNA
Hi, The user rgwswift should have the role admin in the project service . This user should be used in ceph to authenticate other users via keystone . What the following command show : openstack role assignment list –user rgwswift --project service –names Rgds De : Mika Saari Envoyé : jeudi 7

[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Mika Saari
Hi, The result for the request is [root@controller ~]# openstack role assignment list --user rgwswift --project service --names +---+--+---+-+++---+ | Role | User | Group | Project | Domain | System | Inherited

[ceph-users] [cinder] Cinder & Ceph Integration Error: No Valid Backend

2021-01-07 Thread SSelf
All; We're having problems with our Openstack/Ceph integration. The versions we're using are Ussuri & Nautilus. When trying to create a volume, the volume is created, though the status is stuck at 'ERROR'. This appears to be the most relevant line from the Cinder scheduler.log: 2021-01-07 14:

[ceph-users] Ceph orch syntax to create OSD on a partition?

2021-01-07 Thread Marc Spencer
All, I acknowledge it’s not a fantastic idea, but I wish to create an OSD on a partition rather than an entire device. I can’t seem to find the answer in the documentation. Is there a way using ceph orch daemon add osd to identify targets other than a whole device? Thanks in advance. - m

[ceph-users] Re: [cinder] Cinder & Ceph Integration Error: No Valid Backend

2021-01-07 Thread SSelf
All; The overall issue has been resolved. There were two major causes: Misplacement of keyring(s) (they were not within /etc/ceph/) 'openstack-cinder-volume' service was not started/enabled Thank you, Stephen Self IT Manager ss...@performair.com 463 South Hamilton Court Gilbert, Arizona 85

[ceph-users] Re: Larger number of OSDs, cheroot, cherrypy, limits + containers == broken

2021-01-07 Thread David Orman
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-e204b1c101 Ken - thanks for driving this forward. Everyone else involved - if you can test and give a +1 (assuming it works) that'd be great, otherwise it'll be the normal 14 day period before it's promoted to stable. I've already tested wi

[ceph-users] Re: Ceph 15.2.3 on Ubuntu 20.04 with odroid xu4 / python thread Problem

2021-01-07 Thread Oliver Weinmann
Ok, I replaced the whole file ceph_argparse.py with the patched one from github. Instead of an throwing an error it now seems to be stuck forever. Or am I to impatient? I'm running debian buster so this is not the latest ceph release octopus, but nautilus: root@odroidxu4:~# dpkg -l ceph Desire

[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Tony Liu
Is swift service endpoint created in OpenStack? Tony > -Original Message- > From: Mika Saari > Sent: Thursday, January 7, 2021 3:45 AM > To: Wissem MIMOUNA > Cc: ceph-users@ceph.io > Subject: [ceph-users] Re: Ceph RadosGW & OpenStack swift problem > > Hi, > > Adding below what I test

[ceph-users] Re: Ceph RadosGW & OpenStack swift problem

2021-01-07 Thread Mika Saari
Hi all, Thanks a lot for the tips. I finally found out what was the problem. The "WHO" field in the "ceph config set" was not correct. I was using "client.radosgw.gateway" but after using "ceph config dump" I found out that when radosgw was executed up it had generated "client.rgw.default" named