]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/rest: completely terminate cherrypy in shutdown
authorTim Serong <tserong@suse.com>
Mon, 8 May 2017 13:03:55 +0000 (23:03 +1000)
committerTim Serong <tserong@suse.com>
Mon, 8 May 2017 13:03:55 +0000 (23:03 +1000)
commitafd9c3a93e7314533cb8ab096ce68755beda809a
tree99a195e3d3143d4f5916f32fea43527ad5798565
parent867b1d83c4f58e5babf5093de817ecd69ff9f1f0
pybind/mgr/rest: completely terminate cherrypy in shutdown

cherrypy.engine.stop() doesn't actually completely kill cherrypy,
which means cherrypy.engine.block() never returns, so this module's
thread never completes cleanly.

Signed-off-by: Tim Serong <tserong@suse.com>
src/pybind/mgr/rest/module.py