osd: verify osd config sanity checks

Signed-off-by: Loic Dachary <loic@dachary.org>