Problem RGW agent sync: [radosgw_agent][ERROR ] HttpError: Http error code 403 content Forbidden

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello to all,

I have create an async replica from 2 zone in a region.

 

I have problem with user and permission: Http error code 403 content Forbidden

 

I have create user for manage replica but don’t see the info.

 

sudo radosgw-admin user create --uid="site2" --display-name="Zone site2" --name client.rgw.servergw001 --system --access-key=admincephsite2 --secret=admincephsite2pwd

{

    "user_id": "site2",

    "display_name": "Zone site2",

    "email": "",

    "suspended": 0,

    "max_buckets": 1000,

    "auid": 0,

    "subusers": [],

    "keys": [

        {

            "user": "site2",

            "access_key": "admincephsite2",

            "secret_key": "admincephsite2pwd"

        }

    ],

    "swift_keys": [],

    "caps": [],

    "op_mask": "read, write, delete",

    "system": "true",

    "default_placement": "",

    "placement_tags": [],

    "bucket_quota": {

        "enabled": false,

        "max_size_kb": -1,

        "max_objects": -1

    },

    "user_quota": {

        "enabled": false,

        "max_size_kb": -1,

        "max_objects": -1

    },

    "temp_url_keys": []

}

 

 

sudo radosgw-admin metadata list user

[

]

 

 

 

 

 

 

Log of problem with replica agent.

 

2016-02-24 17:23:10,830 5524 [radosgw_agent][INFO  ]  __                __              __    ___        ___

2016-02-24 17:23:10,830 5524 [radosgw_agent][INFO  ] /__` \ / |\ | /  `       /\   / _`   |__   |\ |  |

2016-02-24 17:23:10,830 5524 [radosgw_agent][INFO  ] .__/  |  | \| \__,    /~~\ \__> |___ | \|  |

2016-02-24 17:23:10,830 5524 [radosgw_agent][INFO  ]                                      v1.2.4

2016-02-24 17:23:10,830 5524 [radosgw_agent][INFO  ] agent options:

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]  args:

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    conf                          : None

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    dest_access_key               : ****************

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    dest_secret_key               : ****************

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    dest_zone                     : site2

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    destination                   : http://servergwmi001.intra.hosting.it:7480

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    incremental_sync_delay        : 30

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    lock_timeout                  : 60

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    log_file                      : /var/log/radosgw/radosgw-sync.log

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    log_lock_time                 : 20

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    max_entries                   : 1000

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    metadata_only                 : False

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    num_workers                   : 1

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    object_sync_timeout           : 216000

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    prepare_error_delay           : 10

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    quiet                         : False

2016-02-24 17:23:10,831 5524 [radosgw_agent][INFO  ]    rgw_data_log_window           : 30

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    source                        : http://servergw001.intra.hosting.it:7480

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    src_access_key                : ****************

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    src_secret_key                : ****************

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    src_zone                      : site1

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    sync_scope                    : full

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    test_server_host              : None

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    test_server_port              : 8080

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    verbose                       : True

2016-02-24 17:23:10,832 5524 [radosgw_agent][INFO  ]    versioned                     : False

2016-02-24 17:23:10,832 5524 [radosgw_agent.client][INFO  ] creating connection to endpoint: http://servergwmi001.intra.hosting.it:7480

2016-02-24 17:23:10,832 5524 [boto][DEBUG ] Using access key provided by client.

2016-02-24 17:23:10,832 5524 [boto][DEBUG ] Using secret key provided by client.

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] StringToSign:

GET

 

 

Wed, 24 Feb 2016 16:23:10 GMT

/admin/config

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Signature:

AWS admincephsite2:Jx9VyxhCYggBpnMnE2bM4stkMk4=

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] url = ''

params={}

headers={'Date': 'Wed, 24 Feb 2016 16:23:10 GMT', 'Content-Length': '0', 'Authorization': u'AWS admincephsite2:Jx9VyxhCYggBpnMnE2bM4stkMk4=', 'User-Agent': 'Boto/2.38.0 Python/2.7.5 Linux/3.10.0-229.el7.x86_64'}

data="">

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Method: GET

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Path: /admin/config

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Data:

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Headers: {}

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Host: servergwmi001.intra.hosting.it:7480

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Port: 7480

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Params: {}

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] establishing HTTP connection: kwargs={'port': 7480, 'timeout': 70}

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Token: None

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] StringToSign:

GET

 

 

Wed, 24 Feb 2016 16:23:10 GMT

/admin/config

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Signature:

AWS admincephsite2:Jx9VyxhCYggBpnMnE2bM4stkMk4=

2016-02-24 17:23:10,833 5524 [boto][DEBUG ] Final headers: {'Date': 'Wed, 24 Feb 2016 16:23:10 GMT', 'Content-Length': '0', 'Authorization': u'AWS admincephsite2:Jx9VyxhCYggBpnMnE2bM4stkMk4=', 'User-Agent': 'Boto/2.38.0 Python/2.7.5 Linux/3.10.0-229.el7.x86_64'}

2016-02-24 17:23:10,848 5524 [boto][DEBUG ] Response headers: [('date', 'Wed, 24 Feb 2016 16:22:41 GMT'), ('content-length', '29'), ('x-amz-request-id', 'tx000000000000000000006-0056cdd8d1-25c20-site2'), ('content-type', 'application/json'), ('accept-ranges', 'bytes')]

2016-02-24 17:23:10,848 5524 [radosgw_agent][ERROR ] HttpError: Http error code 403 content Forbidden

 

 

 

 

 

Andrea

 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux