cloud sync module testing

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

 



Hi all, 

I'm trying to test this feature but  I did not manage to make it working. In my simple setup, I have a small mimic cluster with 3 vms at work and I have access to a S3 cloud provider (not amazon). 
Here is my period configuration, with one realm, one zonegroup and 2 zones:
--------------------------------------------------------------------------------------------------------------
{
    "id": "fc158476-a882-47da-a615-b3dd4c95bc3f",
    "epoch": 17,
    "predecessor_uuid": "102bd810-6964-4576-8b25-ef2b62122e25",
    "sync_status": [],
    "period_map": {
        "id": "fc158476-a882-47da-a615-b3dd4c95bc3f",
        "zonegroups": [
            {
                "id": "8250957b-bce2-4b30-a8e4-118990c1d545",
                "name": "ch",
                "api_name": "ch",
                "is_master": "true",
                "endpoints": [
                    "http://localhost:8080"
                ],
                "hostnames": [],
                "hostnames_s3website": [],
                "master_zone": "0b806e14-136e-48c6-99d8-07ba03780538",
                "zones": [
                    {
                        "id": "0b806e14-136e-48c6-99d8-07ba03780538",
                        "name": "cephpolbo",
                        "endpoints": [
                            "http://localhost:8080"
                        ],
                        "log_meta": "false",
                        "log_data": "true",
                        "bucket_index_max_shards": 0,
                        "read_only": "false",
                        "tier_type": "",
                        "sync_from_all": "true",
                        "sync_from": [],
                        "redirect_zone": ""
                    },
                    {
                        "id": "570f3df3-20a9-49dd-b9d3-a9b8f2177047",
                        "name": "exoscale",
                        "endpoints": [
                            "https://******:443"
                        ],
                        "log_meta": "false",
                        "log_data": "true",
                        "bucket_index_max_shards": 0,
                        "read_only": "false",
                        "tier_type": "cloud",
                        "sync_from_all": "true",
                        "sync_from": [],
                        "redirect_zone": ""
                    }
                ],
                "placement_targets": [
                    {
                        "name": "default-placement",
                        "tags": []
                    }
                ],
                "default_placement": "default-placement",
                "realm_id": "f32efe47-1830-4350-9971-0b2ee59c0e36"
            }
        ],
        "short_zone_ids": [
            {
                "key": "0b806e14-136e-48c6-99d8-07ba03780538",
                "val": 3335063808
            },
            {
                "key": "570f3df3-20a9-49dd-b9d3-a9b8f2177047",
                "val": 1220876408
            }
        ]
    },
    "master_zonegroup": "8250957b-bce2-4b30-a8e4-118990c1d545",
    "master_zone": "0b806e14-136e-48c6-99d8-07ba03780538",
    "period_config": {
        "bucket_quota": {
            "enabled": false,
            "check_on_raw": false,
            "max_size": -1,
            "max_size_kb": 0,
            "max_objects": -1
        },
        "user_quota": {
            "enabled": false,
            "check_on_raw": false,
            "max_size": -1,
            "max_size_kb": 0,
            "max_objects": -1
        }
    },
    "realm_id": "f32efe47-1830-4350-9971-0b2ee59c0e36",
    "realm_name": "earth",
    "realm_epoch": 2
}
-----------------------------------------------------------------------------------
And this is the cloud zone config: 
----------------------------------------------------------------------------------------
{
    "id": "570f3df3-20a9-49dd-b9d3-a9b8f2177047",
    "name": "exoscale",
    "domain_root": "exoscale.rgw.meta:root",
    "control_pool": "exoscale.rgw.control",
    "gc_pool": "exoscale.rgw.log:gc",
    "lc_pool": "exoscale.rgw.log:lc",
    "log_pool": "exoscale.rgw.log",
    "intent_log_pool": "exoscale.rgw.log:intent",
    "usage_log_pool": "exoscale.rgw.log:usage",
    "reshard_pool": "exoscale.rgw.log:reshard",
    "user_keys_pool": "exoscale.rgw.meta:users.keys",
    "user_email_pool": "exoscale.rgw.meta:users.email",
    "user_swift_pool": "exoscale.rgw.meta:users.swift",
    "user_uid_pool": "exoscale.rgw.meta:users.uid",
    "otp_pool": "exoscale.rgw.otp",
    "system_key": {
        "access_key": "system_key",
        "secret_key": "secret_key"
    },
    "placement_pools": [
        {
            "key": "default-placement",
            "val": {
                "index_pool": "exoscale.rgw.buckets.index",
                "data_pool": "exoscale.rgw.buckets.data",
                "data_extra_pool": "exoscale.rgw.buckets.non-ec",
                "index_type": 0,
                "compression": ""
            }
        }
    ],
    "metadata_heap": "",
    "tier_config": {
        "connection": {
            "access_key": "cloud_access_key",
            "secret": "cloud_secret_key"
        }
    },
    "realm_id": "f32efe47-1830-4350-9971-0b2ee59c0e36"
}

And this is what I got in radosgw logs:
-------------------------------------------------------------------------------------------------------------
2018-11-06 11:19:43.528 7f536f4e7700 10 received header:
2018-11-06 11:19:43.528 7f536ece6700 20 cr:s=0x55992fbfafc0:op=0x55992fb95500:21RGWPostRESTResourceCRI9RGWPeriodiE: operate()
2018-11-06 11:19:43.528 7f536ece6700  5 failed to wait for op, ret=-2: POST https://******:443/admin/realm/period?period=fc158476-a882-47da-a615-b3dd4c95bc3f&epoch=17&rgwx-zonegroup=8250957b-bce2-4b30-a8e4-118990c1d545
2018-11-06 11:19:43.528 7f536ece6700 20 cr:s=0x55992fbfafc0:op=0x55992fb95500:21RGWPostRESTResourceCRI9RGWPeriodiE: operate() returned r=-2
2018-11-06 11:19:43.528 7f536ece6700 20 cr:s=0x55992fbfafc0:op=0x55992fc81200:14PushAndRetryCR: operate()
2018-11-06 11:19:43.528 7f536ece6700 10 rgw period pusher: waiting 30.000000s for retry..
----------------------------------------------------------------------------------------------------------------
I'm using beast as HTTP frontend. I'm not sure if the information that is going in the POST is needed for this kind of zones.

It's my first approach on Multisite  so maybe there is a misconfiguration somewhere.
Any suggestion?

Thank you in advance!

Roberto

Sent with ProtonMail Secure Email.

_______________________________________________
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