Comment 1 for bug 1774279

Revision history for this message
James Page (james-page) wrote : Re: gnocchi send requests to ceph to early

I think this is less about gnocchi, and more about ceph-mon (which does the actual pool creation). In later ceph releases, pool creation fails if no OSD's are present at the point in time the pool is created. Its possible to work around this to some extent by setting the expected-osd-count configuration option on ceph-mon, but even this has some chance of racing.

I think we need to evolve the ceph-mon/ceph-osd relation to allow ceph-mon to determine when OSD's are up and usable; at this point pools can be created.

FWIW this behaviour appears to have been introduced in newer Ceph releases.