Hi,
this is not a ceph issue but your openstack cli command as the error
message states.
Try one interface at a time:
openstack endpoint create swift public http://ceph-osd3:8080/swift/v1
--region RegionOne swift
openstack endpoint create swift admin http://ceph-osd3:8080/swift/v1
--region RegionOne swift
openstack endpoint create swift internal
http://ceph-osd3:8080/swift/v1 --region RegionOne swift
Zitat von Michel Niyoyita <micou12@xxxxxxxxx>:
Hello ,
Below are errors I am getting once I am trying to integrate swift with
Radosgateway.
From openstack side once i try to endpoint which will point to the
radosgateway :
(kolla-open) [stack@kolla-open kolla]$ openstack endpoint create
--publicurl http://ceph-osd3:8080/swift/v1 --adminurl
http://ceph-osd3:8080/swift/v1 --internal http://ceph-osd3:8080/swift/v1
--region RegionOne swift
usage: openstack endpoint create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty] [--region <region-id>]
[--enable | --disable]
<service> <interface> <url>
openstack endpoint create: error: argument <interface>: invalid choice: '
http://ceph-osd3:8080/swift/v1' (choose from 'admin', 'public', 'internal')
(kolla-open) [stack@kolla-open kolla]$
below are my /etc/ceph/ceph.conf file :
[client.rgw.ceph-osd3]
rgw_dns_name = ceph-osd3
host = ceph-osd3
keyring = /var/lib/ceph/radosgw/ceph-rgw.ceph-osd3/keyring
log file = /var/log/ceph/ceph-rgw-ceph-osd3.log
rgw frontends = civetweb port=10.10.29.110:8080 num_threads=100
rgw_keystone_url=http://10.10.29.150:35357
rgw_keystone_admin_user=admin
rgw_keystone_admin_password=admin
rgw_keystone_admin_tenant=admin
rgw_keystone_accepted_role=admin Member swiftoperator
rgw_keystone_token_cache_size=200
rgw_keystone_revocation_interval=300
[client.rgw.ceph-osd3.rgw0]
host = ceph-osd3
keyring = /var/lib/ceph/radosgw/ceph-rgw.ceph-osd3.rgw0/keyring
log file = /var/log/ceph/ceph-rgw-ceph-osd3.rgw0.log
rgw frontends = beast endpoint=10.10.29.110:8080
rgw thread pool size = 512
please note that my rgw_dns_name = ceph_osd3 with 10.10.29.110 as IP
and 10.10.29.150 all-in-one IP
Please crosscheck where I might make mistake and try to correct.
Best regards
Michel
On Mon, Aug 30, 2021 at 11:25 AM Etienne Menguy <etienne.menguy@xxxxxxxx>
wrote:
Hi,
There are some information on Ceph documentation
https://docs.ceph.com/en/latest/radosgw/keystone/ <
https://docs.ceph.com/en/latest/radosgw/keystone/> .
- Use keystone as auth for RGW
- Create service and register your RGW as swift
Étienne
> On 27 Aug 2021, at 15:47, Michel Niyoyita <micou12@xxxxxxxxx> wrote:
>
> Hello ,
>
> I have configured RGW in my ceph cluster deployed using ceph ansible and
> create sub user to access the created containers and would like to
replace
> swift by RGW in the openstack side. Anyone can help on configuration to
be
> done in the OpenStack side in order to integrate those services. I have
> deployed OpenStack wallaby using Kolla-ansible on ubuntu 20.04. and ceph
> pacific 16.2.5 was deployed using ansible on ubuntu 20.04
>
> Kindly help for the configuration or documentation.
>
> Best Regards
>
> Michel
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx