[kolla-ansible][swift][ceph]
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
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
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
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
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-integra... 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
Hello. I was able to make swift run with ceph by restart osd daemon. . Thank you @Danny Webb <Danny.Webb@thehutgroup.com> and @Eugen Block <eblock@nde.ag>. 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 <fungi@yuggoth.org> 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-integra...
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
On 2023-04-26 21:47:30 +0700 (+0700), Nguyễn Hữu Khôi wrote: [...]
Is there any idea use ceph instead of swift completely? I feel not much people use swift. [...]
Lots of people do use Swift, both with and without the rest of OpenStack (even stand-alone it can be a great high-performance object store independent of other services). Lots of other people use Ceph's RadosGW API to mimic popular parts of the Swift API because they're already using Ceph for related things in their environment and don't want the added complexity of running both Ceph and Swift. It's up to you to decide which best fits your and your users' needs. Just be aware that if you don't run actual Swift in your environment, it doesn't qualify for use of the OpenStack Powered Platform or OpenStack Powered Object Storage trademarks[*], if that matters to you at all. RadosGW and Ceph are not OpenStack services, even though they're often used in combination with OpenStack services. "Proper" (from the Interop WG's perspective) full deployments of the OpenStack platform are expected to provide the actual Swift API to end users, not a substitute like Ceph's RadosGW. [*] https://www.openstack.org/brand/interop/ -- Jeremy Stanley
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-c... 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 <Danny.Webb@thehutgroup.com> and @Eugen Block <eblock@nde.ag>. 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 <fungi@yuggoth.org> 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-integra...
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. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
On 2023-04-26 08:50:24 +0000 (+0000), Danny Webb wrote:
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. [...]
That's not really the same thing as backing actual Swift services with data stored in Ceph, that's replacing the user-facing Swift API with Ceph's attempt to recreate some of the same functionality. For a lot of people that's "good enough" but note that there are a lot of things which won't be quite the same (like lack of proper multi-tenant namespacing for containers, performance limitations with large container counts, et cetera) but also there's a number of Swift features that Ceph simply doesn't have. -- Jeremy Stanley
participants (5)
-
Buddhika S. Godakuru - University of Kelaniya
-
Danny Webb
-
Eugen Block
-
Jeremy Stanley
-
Nguyễn Hữu Khôi