ceph / ceph-cookbook

Chef cookbooks for Ceph
Apache License 2.0
100 stars 108 forks source link

trying to bootstrap a test cluster, osds are not created (auth error) #221

Open mdsteveb opened 8 years ago

mdsteveb commented 8 years ago

I'm trying to rebuild my test cluster from scratch with a much newer version of the cookbook than I used last time. This is on Ubuntu 14.04, installing ceph hammer.

It's building the monitor okay and it looks like the osd prepare step worked (they're all partitioned as expected anyway), but it's failing to activate them with a librados permission error.

It looks like the bootstrap-osd key is deployed to the osd hosts' /var/lib/ceph/bootstrap-osd/ceph.keyring okay but is not installed in the cluster:

# ceph auth list
installed auth entries:

client.admin
    key: AQC...XQ==
    caps: [mds] allow
    caps: [mon] allow *
    caps: [osd] allow *
client.bootstrap-mds
    key: AQ...nw==
    caps: [mon] allow profile bootstrap-mds
client.bootstrap-rgw
    key: AQ...xQ==
    caps: [mon] allow profile bootstrap-rgw
#