From: Orit Wasserman Date: Mon, 18 Jan 2016 12:28:14 +0000 (+0100) Subject: rgw: add error messages to realm::create X-Git-Tag: v10.1.0~354^2~50 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4342bd6b8eaad0f6fcfdf902dfe78e51bced2809;p=ceph.git rgw: add error messages to realm::create Signed-off-by: Orit Wasserman --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 8eb90b36f864..f323287f7b02 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -700,6 +700,7 @@ int RGWRealm::create(bool exclusive) // create the control object for watch/notify ret = create_control(); if (ret < 0) { + ldout(cct, 0) << "ERROR creating control for new realm " << name << ": " << cpp_strerror(-ret) << dendl; return ret; } RGWPeriod period; @@ -724,6 +725,7 @@ int RGWRealm::create(bool exclusive) } ret = set_current_period(period); if (ret < 0) { + lderr(cct) << "ERROR: failed set current period " << current_period << dendl; return ret; }