Dear Orit,

On 10/07/2016 04:21 AM, Orit Wasserman wrote:
Hi,

On Wed, Oct 5, 2016 at 11:23 PM, Andrei Mikhailovsky <and...@arhont.com> wrote:
Hello everyone,

I've just updated my ceph to version 10.2.3 from 10.2.2 and I am no longer
able to start the radosgw service. When executing I get the following error:

2016-10-05 22:14:10.735883 7f1852d26a00  0 ceph version 10.2.3
(ecc23778eb545d8dd55e2e4735b53cc93f92e65b), process radosgw, pid 2711
2016-10-05 22:14:10.765648 7f1852d26a00  0 pidfile_write: ignore empty
--pid-file
2016-10-05 22:14:11.287772 7f1852d26a00  0 zonegroup default missing zone
for master_zone=

This means you are missing a master zone , you can get here only if
you configured a realm.
Is that the case?

Can you provide:
radosgw-admin realm get
radosgw-admin zonegroupmap get
radosgw-admin zonegroup get
radosgw-admin zone get  -rgw-zone=default

Orit

I have not yet modified anything since the jewel upgrade - do you mind if I post the output for these from our cluster for your opinion? There is apparently no realm configured (which is what I expect for this cluster), but it sounds like you think this situation shouldn't arise in that case.

root@cephgw04:~# radosgw-admin realm get
missing realm name or id, or default realm not found
root@cephgw04:~# radosgw-admin realm list
{
    "default_info": "",
    "realms": []
}

root@cephgw04:~# radosgw-admin zonegroupmap get
failed to read current period info: (2) No such file or directory{
    "zonegroups": [],
    "master_zonegroup": "",
    "bucket_quota": {
        "enabled": false,
        "max_size_kb": -1,
        "max_objects": -1
    },
    "user_quota": {
        "enabled": false,
        "max_size_kb": -1,
        "max_objects": -1
    }
}
2016-10-07 14:33:15.299994 7fecf5cf4900 0 RGWPeriod::init failed to init realm id : (2) No such file or directory
root@cephgw04:~# radosgw-admin zonegroup get
failed to init zonegroup: (2) No such file or directory
root@cephgw04:~# radosgw-admin zonegroup get --rgw-zonegroup=default
{
    "id": "default",
    "name": "default",
    "api_name": "",
    "is_master": "true",
    "endpoints": [],
    "hostnames": [],
    "hostnames_s3website": [],
    "master_zone": "",
    "zones": [
        {
            "id": "default",
            "name": "default",
            "endpoints": [],
            "log_meta": "false",
            "log_data": "true",
            "bucket_index_max_shards": 32,
            "read_only": "false"
        }
    ],
    "placement_targets": [
        {
            "name": "default-placement",
            "tags": []
        },
        {
            "name": "ec42-placement",
            "tags": []
        }
    ],
    "default_placement": "ec42-placement",
    "realm_id": ""
}

root@cephgw04:~# radosgw-admin zone get --rgw-zone=default
{
    "id": "default",
    "name": "default",
    "domain_root": ".rgw",
    "control_pool": ".rgw.control",
    "gc_pool": ".rgw.gc",
    "log_pool": ".log",
    "intent_log_pool": ".intent-log",
    "usage_log_pool": ".usage",
    "user_keys_pool": ".users",
    "user_email_pool": ".users.email",
    "user_swift_pool": ".users.swift",
    "user_uid_pool": ".users.uid",
    "system_key": {
        "access_key": "",
        "secret_key": ""
    },
    "placement_pools": [],
    "metadata_heap": ".rgw.meta",
    "realm_id": ""
}


--
Graham Allan
Minnesota Supercomputing Institute - g...@umn.edu
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to