Dear All,
I was able to use ceph RadosGW without swift using kolla-ansible External Ceph guide [1]. Please give it a go.

Thanks


[1] https://docs.openstack.org/kolla-ansible/latest/reference/storage/external-ceph-guide.html#radosgw

On Wed, 26 Apr 2023 at 20:22, Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com> wrote:
Hello.
I was able to make swift run with ceph by restart osd daemon. . 

Thank you @Danny Webb and @Eugen Block. I follow your advices and do it.
Summary:
recreate swift endpoint which need point ceph gw
create openstack user and account for ceph gw. project is service
and set parameters like 
https://docs.ceph.com/en/latest/radosgw/keystone/

with new cephadm we need use "ceph config set" and restart osd daemon.


@Jeremy Stanley I think too. Is there any idea use ceph instead of swift completely? I feel not much people use swift.

Nguyen Huu Khoi


On Wed, Apr 26, 2023 at 8:56 PM Eugen Block <eblock@nde.ag> wrote:
Hi,

not so long ago I wrote down what was necessary in my lab environment 
to configure a cephadm based cluster with keystone authentication for 
S3 (swift) clients. In Openstack you need swift endpoints which point 
to the rados gateway(s) in your external ceph cluster. So you don't 
really set up swift but only create the endpoints for your clients. I 
can't comment what exactly needs to be done with kolla but you should 
get the general idea, I hope.

Regards,
Eugen

[1] 
https://serverfault.com/questions/1118004/cephadm-openstack-keystone-integration

Zitat von Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com>:

> Hello. Thank you for your email,
> But the problem is that I use cephadm so it is not like a traditional way
> to configure, I am trying to test.
> Nguyen Huu Khoi
>
>
> On Wed, Apr 26, 2023 at 3:51 PM Danny Webb <Danny.Webb@thehutgroup.com>
> wrote:
>
>> https://docs.ceph.com/en/latest/radosgw/keystone/
>> ------------------------------
>> *From:* Danny Webb <Danny.Webb@thehutgroup.com>
>> *Sent:* 26 April 2023 09:50
>> *To:* Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com>; OpenStack Discuss <
>> openstack-discuss@lists.openstack.org>
>> *Subject:* Re: [kolla-ansible][swift][ceph]
>>
>> So if I remember correctly from when we did this a long while back, you
>> don't really do much on the openstack deployment side.   Ceph comes with a
>> swift compliant interface so the only thing required was in the ceph.conf
>> to enable keystone as an authentication mechanism.
>> ------------------------------
>> *From:* Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com>
>> *Sent:* 26 April 2023 02:08
>> *To:* OpenStack Discuss <openstack-discuss@lists.openstack.org>
>> *Subject:* [kolla-ansible][swift][ceph]
>>
>>
>> * CAUTION: This email originates from outside THG *
>> ------------------------------
>> Hello guys.
>> I am working to make openstack swift save data on ceph. I am using kolla
>> ansible and see it need enable swift first but I don't want to make swift
>> ring on my controller. I just want use external ceph.
>> Pls you give me some advices
>> Thank you
>> Nguyen Huu Khoi
>>






--

බුද්ධික සංජීව ගොඩාකුරු 
Buddhika Sanjeewa Godakuru 

Systems Analyst/Programmer 
Deputy Webmaster / University of Kelaniya

Information and Communication Technology Centre (ICTC) 
University of Kelaniya, Sri Lanka, 
Kelaniya, 
Sri Lanka. 

Mobile : (+94) 071 5696981 
Office : (+94) 011 2903420 / 2903424 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
University of Kelaniya Sri Lanka, accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient, this email and/or any information it contains should not be copied, disclosed, retained or used by you or any other party and the email and all its contents should be promptly deleted fully from our system and the sender informed.

E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++