From 4342bd6b8eaad0f6fcfdf902dfe78e51bced2809 Mon Sep 17 00:00:00 2001 From: Orit Wasserman Date: Mon, 18 Jan 2016 13:28:14 +0100 Subject: [PATCH] rgw: add error messages to realm::create Signed-off-by: Orit Wasserman --- src/rgw/rgw_rados.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 8eb90b36f86..f323287f7b0 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; } -- 2.47.3