rgw can't find zone

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

 



I am running two Ceph clusters on 18.2.2. On both clusters, I initially configured rgw using the following config from a yaml file:

service_type: rgw
service_id: s3.jvm.gh79
placement:
    label: rgw
    count_per_host: 1
spec:
    rgw_realm: jvm
    rgw_zone: gh79
    ssl: true
    rgw_frontend_port: 9443
    rgw_frontend_type: beast
    rgw_frontend_ssl_certificate: |

Note, that I didn't configure anything else regarding realms, zonegroups or zones. I then modified the tags on 3 of my cephnodes to include rgw and the services got installed, configured and started. I am pretty sure, that I did this after I updated Ceph to 18.2.2. A couple of days ago, one of my cephnodes, hosting a rgw rebootet and the rgw service didn't come up again. When I looked at the logs I saw that the rgw service had an error when looking up the zone - which seems non-existent at this point:

Mai 23 12:43:00 bceph06 radosgw[3608419]: deferred set uid:gid to 167:167 (ceph:ceph)
Mai 23 12:43:00 bceph06 radosgw[3608419]: ceph version 18.2.2 (531c0d11a1c5d39fbfe6aa8a521f023abf3bf3e2) reef (stable), process radosgw, pid 2
Mai 23 12:43:00 bceph06 radosgw[3608419]: framework: beast
Mai 23 12:43:00 bceph06 radosgw[3608419]: framework conf key: ssl_port, val: 9443
Mai 23 12:43:00 bceph06 radosgw[3608419]: framework conf key: ssl_certificate, val: config://rgw/cert/rgw.s3.jvm.gh79
Mai 23 12:43:00 bceph06 radosgw[3608419]: init_numa not setting numa affinity
Mai 23 12:43:01 bceph06 radosgw[3608419]: rgw main: ERROR: could not find zone (gh79)
Mai 23 12:43:01 bceph06 radosgw[3608419]: rgw main: ERROR: failed to start notify service ((2) No such file or directory
Mai 23 12:43:01 bceph06 radosgw[3608419]: rgw main: ERROR: failed to init services (ret=(2) No such file or directory)
Mai 23 12:43:01 bceph06 ceph-5ccaf98c-ec2a-11ee-8293-bc2411f9733d-rgw-s3-jvm-gh79-bceph06-rwkczj[3608415]: 2024-05-23T10:43:01.014+0000 7fe0b87b3a80 -1 Couldn't init storage provider (RADOS)
Mai 23 12:43:01 bceph06 radosgw[3608419]: Couldn't init storage provider (RADOS)

The rados zone configs look like this at the moment:

root@cephnode01:/# radosgw-admin zone list
{
    "default_info": "e67d13fc-8343-4c88-9b1f-a8286f46f44a",
    "zones": [
        "default"
    ]
}

So, why did it work in the first place and what would be the easiest way of resolving this?
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



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


  Powered by Linux