Following the instructions at
http://docs.ceph.com/docs/jewel/radosgw/multisite/ All works if the zone pools are replicated. Creating the system user fails if all pools are EC. Config [default] rgw realm root pool = silver.rgw.root rgw zonegroup root pool = silver.rgw.root rgw period root pool = silver.rgw.root rgw zone root pool = silver.rgw.root [client.rgw.rgw1] host = rgw1 rgw_frontends = "civetweb port=80" rgw_zone = us-east ## make all pools ceph osd pool create us-east.rgw.control 8 8 erasure ceph osd pool create us-east.data.root 8 8 erasure ceph osd pool create us-east.rgw.gcl 8 8 erasure ## create realm silver ## create zonegroup us ## create zone us-east OK This next step fails: radosgw-admin user create --uid=zone.user --display-name="Zone User" --access-key=$SYSTEM_ACCESS_KEY --secret=$SYSTEM_SECRET_KEY --system could not create user: unable to create user, unable to store user info debug-rgw=20 shows 2016-10-28 14:40:30.861482 7efca30e79c0 20 cr:s=0x7efca3cc7e60:op=0x7efca3cc70f0:N12_GLOBAL__N_114FindAnyShardCRE: operate() 2016-10-28 14:40:30.861484 7efca30e79c0 20 cr:s=0x7efca3cc7e60:op=0x7efca3cc70f0:N12_GLOBAL__N_114FindAnyShardCRE: operate() returned r=-2 2016-10-28 14:40:30.861485 7efca30e79c0 20 stack->operate() returned ret=-2 2016-10-28 14:40:30.861485 7efca30e79c0 20 run: stack=0x7efca3cc7e60 is done 2016-10-28 14:40:30.861534 7efca30e79c0 10 find_oldest_log_period found no log shards for period 7b252b85-ce6a-4bf3-8ef7-181c806262bd; returning period 7b252b85-ce6a-4bf3-8ef7-181c806262bd 2016-10-28 14:40:30.861804 7efc327e4700 20 reqs_thread_entry: start 2016-10-28 14:40:30.861810 7efca30e79c0 20 init_complete bucket index max shards: 0 2016-10-28 14:40:30.861843 7efca30e79c0 20 get_system_obj_state: rctx=0x7ffe8b6acba0 obj=us-east.rgw.users.uid:zone.user state=0x7efca3cd1708 s->prefetch_data=0 2016-10-28 14:40:30.861870 7efca30e79c0 10 cache get: name=us-east.rgw.users.uid+zone.user : miss 2016-10-28 14:40:30.861914 7efc33fe7700 20 reqs_thread_entry: start 2016-10-28 14:40:30.862356 7efca30e79c0 10 cache put: name=us-east.rgw.users.uid+zone.user info.flags=0 2016-10-28 14:40:30.862367 7efca30e79c0 10 adding us-east.rgw.users.uid+zone.user to cache LRU end 2016-10-28 14:40:30.862379 7efca30e79c0 20 get_system_obj_state: rctx=0x7ffe8b6ac9e0 obj=us-east.rgw.users.keys:Qc8MKEagUhjAEEqt7bGu state=0x7efca3cd1708 s->prefetch_data=0 2016-10-28 14:40:30.862384 7efca30e79c0 10 cache get: name=us-east.rgw.users.keys+Qc8MKEagUhjAEEqt7bGu : miss 2016-10-28 14:40:30.862819 7efca30e79c0 10 cache put: name=us-east.rgw.users.keys+Qc8MKEagUhjAEEqt7bGu info.flags=0 2016-10-28 14:40:30.862831 7efca30e79c0 10 adding us-east.rgw.users.keys+Qc8MKEagUhjAEEqt7bGu to cache LRU end 2016-10-28 14:40:30.862865 7efca30e79c0 20 get_system_obj_state: rctx=0x7ffe8b6ac480 obj=us-east.rgw.users.keys:Qc8MKEagUhjAEEqt7bGu state=0x7efca3cdab18 s->prefetch_data=0 2016-10-28 14:40:30.862874 7efca30e79c0 10 cache get: name=us-east.rgw.users.keys+Qc8MKEagUhjAEEqt7bGu : type miss (requested=6, cached=0) 2016-10-28 14:40:30.863304 7efca30e79c0 10 cache put: name=us-east.rgw.users.keys+Qc8MKEagUhjAEEqt7bGu info.flags=0 2016-10-28 14:40:30.863314 7efca30e79c0 10 moving us-east.rgw.users.keys+Qc8MKEagUhjAEEqt7bGu to cache LRU end could not create user: unable to create user, unable to store user info -- Richard Chan
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com