]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/progress/module.py: s/events/_events/ #29625
authorKamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Tue, 13 Aug 2019 03:15:25 +0000 (23:15 -0400)
committerKamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Fri, 16 Aug 2019 20:50:48 +0000 (16:50 -0400)
commit297a0a33a2e34aed7b6e5456c34f0751c403dd03
tree126faab44174957351ec83c4d0e1528ebe68723a
parent2b5f62852b86ab89f19d0f35414601889dfb0269
mgr/progress/module.py: s/events/_events/ #29625

Fixes time out failure because the module was trying to accessing
attribute events line 437 in this block of code:

435 if marked == "in":
436 for ev_id in list(self._events):
437 ev = self.events[ev_id]
438 if isinstance(ev, PgRecoveryEvent) and osd_id in ev.which_osds:
439 self.log.info("osd.{0} came back in, cancelling event".format(
440 osd_id
441 ))
442 self._complete(ev)

Therefore, it wouldn't trigger an event

Fixes: https://tracker.ceph.com/issues/40618
Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
src/pybind/mgr/progress/module.py