Skip to content

Commit 59f42b0

Browse files
committed
qa/tasks/mon_thrash: enhanced logging in thrash
Fixes: https://tracker.ceph.com/issues/71344 Signed-off-by: Kamoltat Sirivadhna <[email protected]>
1 parent bd7440e commit 59f42b0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

qa/tasks/mon_thrash.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,13 @@ def _do_thrash(self):
354354

355355
if mons_to_freeze:
356356
for mon in mons_to_freeze:
357+
self.log('freezing mon.{m}'.format(m=mon))
357358
self.freeze_mon(mon)
358359
self.log('waiting for {delay} secs to unfreeze mons'.format(
359360
delay=self.freeze_mon_duration))
360361
time.sleep(self.freeze_mon_duration)
361362
for mon in mons_to_freeze:
363+
self.log('unfreezing mon.{m}'.format(m=mon))
362364
self.unfreeze_mon(mon)
363365

364366
if self.maintain_quorum:
@@ -382,15 +384,18 @@ def _do_thrash(self):
382384
self.switch_task()
383385

384386
for mon in mons_to_kill:
387+
self.log('reviving mon.{m}'.format(m=mon))
385388
self.revive_mon(mon)
386389
# do more freezes
387390
if mons_to_freeze:
388391
for mon in mons_to_freeze:
392+
self.log('freezing mon.{m}'.format(m=mon))
389393
self.freeze_mon(mon)
390394
self.log('waiting for {delay} secs to unfreeze mons'.format(
391395
delay=self.freeze_mon_duration))
392396
time.sleep(self.freeze_mon_duration)
393397
for mon in mons_to_freeze:
398+
self.log('unfreezing mon.{m}'.format(m=mon))
394399
self.unfreeze_mon(mon)
395400

396401
self.manager.wait_for_mon_quorum_size(len(mons))

src/msg/async/ProtocolV2.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,7 +1894,7 @@ CtPtr ProtocolV2::handle_auth_done(ceph::bufferlist &payload)
18941894
}
18951895

18961896
CtPtr ProtocolV2::finish_client_auth() {
1897-
dout(cct, 20) << __func__ << dendl;
1897+
ldout(cct, 20) << __func__ << dendl;
18981898
if (HAVE_MSGR2_FEATURE(peer_supported_features, COMPRESSION)) {
18991899
return send_compression_request();
19001900
}
@@ -1903,7 +1903,7 @@ CtPtr ProtocolV2::finish_client_auth() {
19031903
}
19041904

19051905
CtPtr ProtocolV2::finish_server_auth() {
1906-
dout(cct, 20) << __func__ << dendl;
1906+
ldout(cct, 20) << __func__ << dendl;
19071907
// server had sent AuthDone and client responded with correct pre-auth
19081908
// signature.
19091909
// We can start conditioanl msgr protocol

0 commit comments

Comments
 (0)