Reviewed: https://review.opendev.org/753927 Committed: https://git.openstack.org/cgit/openstack/masakari/commit/?id=cd05dc31bb8c4ce529dac4698dd7bb80866a4139 Submitter: Zuul Branch: stable/stein
commit cd05dc31bb8c4ce529dac4698dd7bb80866a4139 Author: suzhengwei <sugar-2...@163.com> Date: Fri Apr 17 08:59:35 2020 +0800 check expired notifications Occasionally, there would be notifications which will remain 'new', 'error' or 'running' status all times, and not to be processed again. Due to this, operator can not update the segment or host. This patch add one task to periodically check unfinished notifications. If one unfinished notification is expired, just set its status to 'failed'. Conflicts: masakari/tests/unit/engine/test_engine_mgr.py - difference of import mock and import unittest.mock Closes-Bug: #1773765 Change-Id: If49635639dd976aeec3ea73e702ad2636fcf1e0a (cherry picked from commit 3a4f782441f6bdcfb8ee49a393937267fc246c56) ** Tags added: in-stable-stein ** Tags added: in-stable-train -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773765 Title: There is a possibility that 'running' notification will remain To manage notifications about this bug go to: https://bugs.launchpad.net/masakari/+bug/1773765/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs