To test the federated configuration, we will first add some objects to the us-east
zone via the radosgw
instance, us-east-1
, using Swift. Then, after the data synchronization between the us-east
and us-west
zones, we will access the same objects from the us-west
zone via the us-west-1
gateway interface.
For the
us-east
zone user, create a Swift subuser:# radosgw-admin subuser create --uid="us-east" --subuser="us-east:swift" --access=full --name client.radosgw.us-east-1 --key-type swift --secret="7VJm8uAp71xKQZkjoPZmHu4sACA1SY8jTjay9dP5" # radosgw-admin subuser create --uid="us-east" --subuser="us-east:swift" --access=full --name client.radosgw.us-west-1 --key-type swift --secret="7VJm8uAp71xKQZkjoPZmHu4sACA1SY8jTjay9dP5"
Similarly, for the
us-west
zone user, create the Swift subuser:# radosgw-admin subuser create --uid="us-west" --subuser="us-west:swift" --access=full --name client.radosgw.us-east-1 --key-type swift --secret="AAJm8uAp71xKQZkjoPZmHu4sACA1SY8jTjay9dP5...