Commit Graph

69 Commits

Author SHA1 Message Date
Mehdi Abaakouk 4d06b7df0e Don't use signal.alarm on python2 2016-09-27 22:17:57 +02:00
Mehdi Abaakouk 1a0a31a416 Fix Graceful shutdown timeout with parent died 2016-09-27 22:01:29 +02:00
Mehdi Abaakouk 4441b3ddd7 Rename oslo-config entry point 2016-09-21 11:22:04 +02:00
Mehdi Abaakouk d08d48dd4e Add ServiceManager termination hook
Sem-Ver: feature
2016-09-21 10:40:03 +02:00
Mehdi Abaakouk b1ff9ea284 Add new oslo.service/cotyledon diff 2016-09-21 10:33:54 +02:00
Mehdi Abaakouk c4832f368f Fix oslo_config list_opts 2016-09-21 10:23:33 +02:00
Mehdi Abaakouk 4a9af8ea19 Don't ship test binary 2016-09-21 10:21:17 +02:00
Mehdi Abaakouk 2d5bef79de Add oslo config glue
Sem-Ver: feature
2016-09-21 10:11:42 +02:00
Mehdi Abaakouk 40a80c12c9 Add graceful shutdown timeout
Sem-Ver: feature
2016-09-21 10:06:15 +02:00
Mehdi Abaakouk 5d7eff23a4 Ensure initialization is always called 2016-09-19 17:50:12 +02:00
Mehdi ABAAKOUK 83730ecb47 Merge pull request #5 from jd/master
Reduce sleep time while waiting for ever
2016-09-19 17:50:04 +02:00
Mehdi Abaakouk 7312f76afd Move release testing to py35 2016-09-12 15:49:14 +02:00
Mehdi Abaakouk d50ee9cb38 fix time.sleep on darwin 2016-09-12 15:48:27 +02:00
Julien Danjou 640743402b Reduce sleep time while waiting for ever
100000000 is the maximum on Darwin
2016-09-12 15:08:49 +02:00
Mehdi Abaakouk af4dd073cd Follow termination of our children only 2016-08-03 00:50:39 +02:00
Mehdi Abaakouk 972603c38b Call atexit hook on parent only and with sys.exit 2016-08-02 18:45:47 +02:00
Mehdi Abaakouk c31d1c266d doc: Add examples 2016-07-21 17:45:25 +02:00
Mehdi Abaakouk 5fa7d50c24 readme: typo 2016-07-21 17:31:54 +02:00
Mehdi Abaakouk c165fb82af readme: typo 2016-07-21 17:30:44 +02:00
Mehdi Abaakouk b04bb5a6ba readme: Add more detail 2016-07-21 17:29:51 +02:00
Mehdi Abaakouk deea080142 Add Cotyledon story 2016-07-21 17:25:09 +02:00
Mehdi Abaakouk 771d3e60b4 Enhance description 2016-07-21 17:08:21 +02:00
Mehdi Abaakouk e2866f5a6f Revert "Add py35 tests"
This reverts commit 6b3c4f3a95.
2016-07-14 22:36:52 +02:00
Mehdi Abaakouk ddbda9dfb2 Remove useless classifier 2016-07-14 22:19:04 +02:00
Mehdi Abaakouk 6b3c4f3a95 Add py35 tests 2016-07-14 22:18:44 +02:00
Mehdi Abaakouk 1daa6044bb Fix owner 2016-07-14 18:51:36 +02:00
Mehdi Abaakouk d51683a7b4 Update README links 2016-07-14 18:48:33 +02:00
Mehdi ABAAKOUK 677a78e24c Merge pull request #1 from jd/jd/doc-fix
A few doc fixes
2016-07-14 16:39:14 +02:00
Mehdi Abaakouk 3b05a04743 Only catch errno.ECHILD 2016-07-08 00:20:38 +02:00
Mehdi Abaakouk bbfed3e47c switch unexpected pid from warn to error 2016-07-08 00:17:21 +02:00
Mehdi Abaakouk a99ed91f21 release:Run py34 tests first 2016-07-07 10:33:54 +02:00
Mehdi Abaakouk 9f006f2860 Allow non hashable args/kwargs
NamedTuple hash is the hash of all args, we don't really
want this. args/kwargs can be non-hashable.

So we use our own class.
2016-07-07 10:28:10 +02:00
Mehdi Abaakouk 9a19bf0748 Run tests before release 2016-07-07 10:20:23 +02:00
Mehdi Abaakouk 13aa4bceb4 re-re-handles signal during service init
This change remove usage of metaclass to do this.
2016-07-06 13:25:57 +02:00
Mehdi Abaakouk 023f5f90c3 Don't use oslosphinx 2016-07-06 10:01:49 +02:00
Mehdi Abaakouk e2cc2a633c Wait all children, not only the first one 2016-07-06 02:25:24 +02:00
Mehdi Abaakouk a55a08b840 improve logging 2016-07-06 01:16:15 +02:00
Mehdi Abaakouk dd61aaf2ca pep8 fix 2016-07-05 19:09:00 +02:00
Mehdi Abaakouk 2d221f94f9 re-handles signal during service init
The previous implementation was not working as expected on py3
2016-07-05 18:59:19 +02:00
Mehdi Abaakouk 9d765a8056 Don't call terminate twice on double child sigterm 2016-07-05 18:41:44 +02:00
Mehdi Abaakouk 6510826ed3 handles signal during service init
This change ensures signal are handled correctly during the service
initialization.
2016-07-05 18:07:56 +02:00
Mehdi Abaakouk 3b25dedfce docs: fix example 2016-07-05 15:35:08 +02:00
Mehdi Abaakouk 539dc61a2a release: Allow to pass version 2016-07-05 15:23:02 +02:00
Mehdi Abaakouk a816d0f4f4 Allow to pass args and kwargs for services 2016-07-05 14:11:56 +02:00
Mehdi Abaakouk 8316a6415c Fix worker_id in tests 2016-06-27 19:04:20 +02:00
Mehdi Abaakouk 49997adbb0 Start worker_id at 0 2016-06-27 18:52:03 +02:00
Mehdi Abaakouk 901003d21e Add systemd notify support 2016-06-23 10:19:48 +02:00
Mehdi Abaakouk 0bb17dd7ab Run atexit hooks 2016-06-23 10:05:23 +02:00
Mehdi Abaakouk b0dac1b873 Some code deduplication 2016-06-23 10:05:23 +02:00
Mehdi Abaakouk beb39f108c Remove hardcoded version 2016-06-23 10:05:23 +02:00