From: Leonid Chernin Date: Tue, 28 Jan 2025 08:23:38 +0000 (+0000) Subject: nvmeofgw*: change log level of critical nvmeof monitor events to 1 X-Git-Tag: v20.0.0~310^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=57c4e1615772e4218c2c90edc85803c8fee8106e;p=ceph.git nvmeofgw*: change log level of critical nvmeof monitor events to 1 Signed-off-by: Leonid Chernin --- diff --git a/src/mon/NVMeofGwMon.cc b/src/mon/NVMeofGwMon.cc index c9a6b789b8940..e69a9d3b86618 100644 --- a/src/mon/NVMeofGwMon.cc +++ b/src/mon/NVMeofGwMon.cc @@ -88,7 +88,7 @@ void NVMeofGwMon::tick() // This case handles either local slowness (calls being delayed // for whatever reason) or cluster election slowness (a long gap // between calls while an election happened) - dout(10) << ": resetting beacon timeouts due to mon delay " + dout(4) << ": resetting beacon timeouts due to mon delay " "(slow election?) of " << now - last_tick << " seconds" << dendl; for (auto &i : last_beacon) { i.second = now; @@ -110,7 +110,7 @@ void NVMeofGwMon::tick() auto& lb = itr.first; auto last_beacon_time = itr.second; if (last_beacon_time < cutoff) { - dout(10) << "beacon timeout for GW " << lb.gw_id << dendl; + dout(1) << "beacon timeout for GW " << lb.gw_id << dendl; pending_map.process_gw_map_gw_down(lb.gw_id, lb.group_key, propose); _propose_pending |= propose; last_beacon.erase(lb); @@ -544,13 +544,13 @@ bool NVMeofGwMon::prepare_beacon(MonOpRequestRef op) << map.created_gws << dendl; goto set_propose; } else { - dout(10) << "GW prepares the full startup " << gw_id + dout(4) << "GW prepares the full startup " << gw_id << " GW availability: " << pending_map.created_gws[group_key][gw_id].availability << dendl; if (pending_map.created_gws[group_key][gw_id].availability == gw_availability_t::GW_AVAILABLE) { - dout(4) << " Warning :GW marked as Available in the NVmeofGwMon " + dout(1) << " Warning :GW marked as Available in the NVmeofGwMon " << "database, performed full startup - Apply GW!" << gw_id << dendl; pending_map.handle_gw_performing_fast_reboot(gw_id, group_key, propose); @@ -578,7 +578,7 @@ bool NVMeofGwMon::prepare_beacon(MonOpRequestRef op) ack_map.created_gws[group_key][gw_id] = pending_map.created_gws[group_key][gw_id]; ack_map.epoch = map.epoch; - dout(4) << " Force gw to exit: Sending ack_map to GW: " + dout(1) << " Force gw to exit: Sending ack_map to GW: " << gw_id << dendl; auto msg = make_message(ack_map); mon.send_reply(op, msg.detach());