RGWPeriodPusher was using an empty RGWAccessKey for inter-zonegroup
messages, which were rejected as an anonymous user with 403 Forbidden.
this prevented multi-zonegroup configurations from converging on the
same period configuration
Fixes: http://tracker.ceph.com/issues/39287
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
f97be8cb6e025442607042d9defc01542049d472)
Conflicts:
src/rgw/rgw_period_pusher.cc
- mimic has store where master has store->svc.zone (in the argument list)
hint = conns.emplace_hint(
hint, std::piecewise_construct,
std::forward_as_tuple(zonegroup.get_id()),
- std::forward_as_tuple(cct, store, zonegroup.get_id(), zonegroup.endpoints, RGWAccessKey()));
+ std::forward_as_tuple(cct, store, zonegroup.get_id(), zonegroup.endpoints));
}
}