Project

General

Profile

Actions

Bug #36619

closed

radosgw-admin realm pull fails with an error "request failed: (13) Permission denied If the realm has been changed on the master zone, the master zone's gateway may need to be restarted to recognize this user."

Added by Gajanan Mudaliar over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
% Done:

0%

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

Description

Hi All,

I am trying to setup a multi-site following the below link

http://docs.ceph.com/docs/master/radosgw/multisite/#migrating-a-single-site-system-to-multi-site

Following are the commands executed on the primary site:

  1. radosgw-admin realm create --rgw-realm=movies --default -c /etc/ceph/wcdcdev.conf
  2. radosgw-admin zonegroup create --rgw-zonegroup=us --endpoints=http://wcdc-osd5.dev.us.local:8080 --rgw-realm=movies --master --default -c /etc/ceph/wcdcdev.conf
  3. radosgw-admin zone create --rgw-zonegroup=us --rgw-zone=us-east --master --default --endpoints={http://wcdc-osd5.dev.us.local:8080} -c /etc/ceph/wcdcdev.conf
  4. radosgw-admin user create --uid="synchronization-user" --display-name="Synchronization User" --system -c /etc/ceph/wcdcdev.conf
  5. radosgw-admin zone modify --rgw-zone=us-east --access-key=0N7VJ37U07VEHSQ3Q940 --secret=OYI052p8geadVHgIeOkhuZJAI6GCs6CdUBph6crC -c /etc/ceph/wcdcdev.conf
  6. radosgw-admin period update --commit
  1. systemctl stop ceph-radosgw@rgw.`hostname -s`
  2. systemctl start ceph-radosgw@rgw.`hostname -s`
  3. systemctl enable ceph-radosgw@rgw.`hostname -s`
  4. systemctl status ceph-radosgw@rgw.`hostname -s`

On the secondary site:

  1. radosgw-admin realm pull --url=http://wcdc-osd5:8080 --access-key=0N7VJ37U07VEHSQ3Q940 --secret=OYI052p8geadVHgIeOkhuZJAI6GCs6CdUBph6crC
    request failed: (13) Permission denied
    If the realm has been changed on the master zone, the master zone's gateway may need to be restarted to recognize this user.
Actions

Also available in: Atom PDF