Message ID | 1300191618.2434.27.camel@wido-desktop (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/block/rbd.c b/block/rbd.c index f722cb4..7cd12f4 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -222,6 +222,11 @@ static int qemu_rbd_create(const char *filename, QEMUOptionParameter *options) return -EIO; } + if (rados_conf_read_file(cluster, "/etc/ceph/ceph.conf") < 0) { + error_report("error reading configuration file"); + return -EIO; + } + if (rados_connect(cluster) < 0) { error_report("error connecting");