Project

General

Profile

Actions

Bug #21368

closed

rados gateway failed to sync with openstack keystone

Added by hoan nv over 6 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi all.

ceph version :
ii ceph 12.2.0-1xenial amd64 distributed storage and file system
ii ceph-base 12.2.0-1xenial amd64 common ceph daemon libraries and management tools
ii ceph-common 12.2.0-1xenial amd64 common utilities to mount and interact with a ceph storage cluster
ii ceph-deploy 1.5.38 all Ceph-deploy is an easy to use configuration tool
ii ceph-fuse 12.2.0-1xenial amd64 FUSE-based client for the Ceph distributed file system
ii ceph-mds 12.2.0-1xenial amd64 metadata server for the ceph distributed file system
ii ceph-mgr 12.2.0-1xenial amd64 manager for the ceph distributed storage system
ii ceph-mon 12.2.0-1xenial amd64 monitor server for the ceph storage system
ii ceph-osd 12.2.0-1xenial amd64 OSD server for the ceph storage system
ii libcephfs2 12.2.0-1xenial amd64 Ceph distributed file system client library
ii python-cephfs 12.2.0-1xenial amd64 Python 2 libraries for the Ceph libcephfs library

openstack version : ocata https://www.openstack.org/software/ocata/

I install a ceph cluster and integration with openstack keystone use this guide.

http://docs.ceph.com/docs/master/radosgw/keystone

This is ceph config radosgw.

[client.rgw.hoannv-ceph-luminous-1]
host = hoannv-ceph-luminous-1
rgw_frontends = "civetweb port=80"
rgw_zone=vczone-nps
rgw keystone api version = 3
rgw keystone url = https://10.3.105.71:5000
rgw keystone admin user = admin
rgw keystone admin password = admin123
rgw keystone admin domain = Default
rgw keystone admin project = admin
rgw keystone admin tenant = admin
rgw_keystone_verify_ssl = false
#rgw_keystone_accepted_roles = admin
rgw_keystone_token_cache_size = 10
rgw_keystone_revocation_interval = 300
rgw s3 auth use keystone = true
rgw_keystone_make_new_tenants = true
rgw keystone implicit tenants = true

Openstack keystone log.

172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"
172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"
172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"
172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"
172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"
172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"
172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"
172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"
172.29.236.100 - - [12/Sep/2017:14:35:50 +0700] "POST /v3/s3tokens HTTP/1.1" 404 415 "-" "-"

I found keystone api /v3/s3tokens not exist.
Now s3 api moved to swift3: https://github.com/openstack/swift3

what version of ceph and openstack this intergration guide work?
How i can integration ceph radosgw and openstack keystone?

Thanks.

Hoan

Actions #1

Updated by Orit Wasserman over 6 years ago

  • Assignee set to Radoslaw Zarzynski
Actions #2

Updated by Orit Wasserman over 6 years ago

  • Assignee changed from Radoslaw Zarzynski to Abhishek Lekshmanan
Actions #3

Updated by Matt Benjamin over 6 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Abhishek Lekshmanan over 6 years ago

  • Status changed from In Progress to Need More Info

For me locally with keystone v3 this url is working (ie. keystone endpoints 5000 url, what logs do you see from the keystone side that might indicate details on why POST requests from RGW are failing.

Actions #5

Updated by Yehuda Sadeh over 6 years ago

Is this still a problem for you?

Actions #6

Updated by hoan nv over 6 years ago

Yehuda Sadeh wrote:

Is this still a problem for you?

It still error. I must change to keystone v2. It works.
But if openstack don't support v2. It not work.

Thanks.

Actions #7

Updated by hoan nv over 6 years ago

Yes. It worked. I updated to newest ceph.

Thanks.

Actions #8

Updated by Casey Bodley over 6 years ago

  • Status changed from Need More Info to Resolved
Actions #9

Updated by hyun ha over 4 years ago

hoan nv wrote:

Yes. It worked. I updated to newest ceph.

Thanks.

hi, I have same problem as above issue with ceph rgw version 12.2.11. what version did you use?

Actions #10

Updated by hoan nv over 4 years ago

hyun ha wrote:

hoan nv wrote:

Yes. It worked. I updated to newest ceph.

Thanks.

hi, I have same problem as above issue with ceph rgw version 12.2.11. what version did you use?

Currently, i use 13.2.6 ceph versions.

Actions #11

Updated by hyun ha over 4 years ago

hoan nv wrote:

hyun ha wrote:

hoan nv wrote:

Yes. It worked. I updated to newest ceph.

Thanks.

hi, I have same problem as above issue with ceph rgw version 12.2.11. what version did you use?

Currently, i use 13.2.6 ceph versions.

thanks!

Actions

Also available in: Atom PDF