Bug #17736
closedPure EC pools, RGW cannot create system user
0%
Description
I create all EC pools to begin a multisite configuration in Jewel 10.2.3 on CentOS 7
[default]
rgw_realm_root_pool = gold.rgw.root
rgw_zonegroup_root_pool = gold.rgw.root
rgw_zone_root_pool = gold.rgw.root
rgw_period_root_pool = gold.rgw.root
[client.rgw.cephrgw]
rgw_zone = us-east
rgw_frontends = "civetweb port=80"
host = cephrgw
ceph osd pool create <pool-name> 8 8 erasure
gold.rgw.root
us-east.rgw.control
us-east.rgw.data.root
us-east.rgw.gc
us-east.rgw.log
us-east.rgw.users.uid
us-east.rgw.users.keys
us-east.rgw.meta
us-east.rgw.buckets.index
us-east.rgw.buckets.data
- ceph osd pool get gold.rgw.root crush_ruleset
crush_ruleset: 1
1. realm, zonegroup, zone are created successfully
2. Cannot create system user
radosgw-admin user create --uid=zone.user --display-name 'Zone User' --system --access-key=$SYSTEM_ACCESS_KEY --secret=$SYSTEM_SECRET_KEY
2016-10-28 13:29:47.649031 7fb0b44079c0 0 error in read_id for id : (2) No such file or directory
2016-10-28 13:29:47.649807 7fb0b44079c0 0 error in read_id for id : (2) No such file or directory
could not create user: unable to create user, unable to store user info
This process works if the pools are replicated pools
Files
Updated by Richard Chan over 7 years ago
1. If us-east.rgw.log pool is replicated then system user can be created
2. us-east.rgw.buckets.index us-east.rgw.buckets.data must also be replicated otherwise all bucket operations (s3cmd) fail
2016-10-28 14:02:02.978924 7f532af85700 1 ====== starting new request req=0x7f532af7f710 =====
2016-10-28 14:02:02.985363 7f532af85700 0 WARNING: couldn't find acl header for object, generating default
2016-10-28 14:02:02.987783 7f532af85700 0 WARNING: set_req_state_err err_no=95 resorting to 500
2016-10-28 14:02:02.987853 7f532af85700 1 ====== req done req=0x7f532af7f710 op status=-95 http_status=500 ======
2016-10-28 14:02:02.987894 7f532af85700 1 civetweb: 0x7f5368004c80: 192.168.100.53 - - [28/Oct/2016:14:02:02 +0000] "PUT /testing/ HTTP/1.1" 500 0 - -
2016-10-28 14:02:05.994735 7f532af85700 1 ====== starting new request req=0x7f532af7f710 =====
2016-10-28 14:02:05.998392 7f532af85700 0 WARNING: couldn't find acl header for object, generating default
2016-10-28 14:02:06.000596 7f532af85700 0 WARNING: set_req_state_err err_no=95 resorting to 500
2016-10-28 14:02:06.000687 7f532af85700 1 ====== req done req=0x7f532af7f710 op status=-95 http_status=500 ======
2016-10-28 14:02:06.000731 7f532af85700 1 civetweb: 0x7f5368004c80: 192.168.100.53 - - [28/Oct/2016:14:02:05 +0000] "PUT /testing/ HTTP/1.1" 500 0 - -
2016-10-28 14:02:12.010048 7f532af85700 1 ====== starting new request req=0x7f532af7f710 =====
2016-10-28 14:02:12.012734 7f532af85700 0 WARNING: couldn't find acl header for object, generating default
2016-10-28 14:02:12.014801 7f532af85700 0 WARNING: set_req_state_err err_no=95 resorting to 500
2016-10-28 14:02:12.014896 7f532af85700 1 ====== req done req=0x7f532af7f710 op status=-95 http_status=500 ======
2016-10-28 14:02:12.014938 7f532af85700 1 civetweb: 0x7f5368004c80: 192.168.100.53 - - [28/Oct/2016:14:02:12 +0000] "PUT /testing/ HTTP/1.1" 500 0 - -
Updated by Yehuda Sadeh over 7 years ago
- Status changed from New to Won't Fix
rgw cannot use ec pool for metadata as it lacks some of the functionality that it requires. Please open a doc bug if you think docs are wrong. Thanks!
Updated by Richard Chan over 7 years ago
Done! - thank you for this information.