Mahmood Ali
d89687d014
agent: shutdown agent http server last
...
Shutdown http server last, after nomad client/server components
terminate.
Before this change, if the agent is taking an unexpectedly long time to
shutdown, the operator cannot query the http server directly: they
cannot access agent specific http endpoints and need to query another
agent about the troublesome agent.
Unexpectedly long shutdown can happen in normal cases, e.g. a client
might hung is if one of the allocs it is running has a long
shutdown_delay.
Here, we switch to ensuring that the http server is shutdown last.
I believe this doesn't require extra care in agent shutting down logic
while operators may be able to submit write http requests. We already
need to cope with operators submiting these http requests to another
agent or by servers updating the client allocations.
2020-04-13 10:50:07 -04:00
..
2020-04-13 10:50:07 -04:00
2019-11-19 10:36:41 -05:00
2018-03-11 17:43:19 +00:00
2018-04-18 12:02:11 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2019-08-29 16:09:02 -05:00
2018-04-18 13:55:51 -04:00
2017-10-13 16:37:33 -07:00
2018-04-18 12:02:11 -04:00
2018-04-18 12:02:11 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 12:02:11 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2019-04-12 15:48:36 +00:00
2019-04-12 15:48:36 +00:00
2017-10-13 16:31:46 -07:00
2018-04-18 12:02:11 -04:00
2017-10-06 14:35:14 -07:00
2018-04-18 13:55:51 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-05-11 18:05:43 -04:00
2019-12-10 13:10:47 +01:00
2020-01-08 10:44:00 -05:00
2019-05-16 17:06:03 -04:00
2019-05-12 22:04:50 -04:00
2019-05-12 22:04:50 -04:00
2019-11-19 16:05:53 -06:00
2018-04-18 13:51:17 -04:00
2019-06-28 20:31:28 -05:00
2018-04-18 13:51:17 -04:00
2019-11-19 16:05:53 -06:00
2019-04-11 14:25:49 +02:00
2019-05-12 22:04:50 -04:00
2019-04-26 12:47:53 +02:00
2019-04-26 12:47:53 +02:00
2020-03-23 15:57:24 -04:00
2020-03-23 15:57:24 -04:00
2019-04-23 12:50:23 +02:00
2019-04-23 12:50:23 +02:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2020-03-23 13:58:30 -04:00
2017-07-20 21:24:21 -07:00
2020-03-31 09:45:21 -04:00
2018-04-18 13:51:17 -04:00
2018-12-13 13:22:17 -05:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-05-07 14:50:01 -05:00
2018-05-24 12:44:21 -04:00
2018-04-18 13:51:17 -04:00
2019-08-07 09:50:35 -07:00
2018-04-18 12:02:11 -04:00
2018-12-12 09:17:31 -05:00
2018-12-10 12:18:24 -05:00
2019-12-16 10:08:17 -05:00
2019-12-16 10:08:17 -05:00
2018-12-04 11:50:59 -05:00
2019-05-13 18:53:47 -05:00
2019-09-20 12:24:53 -05:00
2018-04-18 13:51:17 -04:00
2018-04-18 21:21:43 -04:00
2018-05-10 15:30:44 -05:00
2018-05-21 18:00:14 -05:00
2018-04-18 13:51:17 -04:00
2018-08-14 14:06:04 -04:00
2019-12-19 14:59:12 -05:00
2019-08-27 07:36:32 -07:00
2019-12-19 14:59:12 -05:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2019-04-12 20:55:55 +00:00
2019-04-12 20:55:55 +00:00
2019-04-12 20:55:55 +00:00
2018-11-08 09:48:43 -06:00
2018-11-08 09:48:43 -06:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2020-02-12 10:42:33 -06:00
2018-04-18 13:51:17 -04:00
2020-03-21 17:52:49 -04:00
2019-04-10 10:34:10 -05:00
2020-01-08 08:24:03 -05:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 12:02:11 -04:00
2019-09-24 09:20:41 -07:00
2019-12-16 10:08:17 -05:00
2018-03-11 19:06:15 +00:00
2020-03-17 14:45:11 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2019-09-09 10:04:41 -07:00
2018-04-18 13:51:17 -04:00
2019-05-13 10:01:19 -04:00
2019-11-06 16:33:13 -05:00
2020-01-02 14:42:27 -08:00
2018-04-18 13:51:17 -04:00
2020-01-02 14:42:27 -08:00
2019-10-04 16:36:18 -04:00
2020-03-31 17:13:52 -04:00
2018-06-14 15:48:01 +02:00
2017-12-18 14:29:41 -08:00
2020-02-16 16:04:59 -06:00
2020-02-16 16:04:59 -06:00
2020-02-16 16:04:59 -06:00
2017-12-18 14:29:41 -08:00
2018-04-18 12:02:11 -04:00
2018-03-21 20:27:32 -07:00
2018-04-18 12:02:11 -04:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2018-01-16 13:35:32 -08:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2020-03-23 13:58:30 -04:00
2020-03-26 17:07:18 -04:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:58:30 -04:00
2019-12-17 13:20:14 -05:00
2019-10-24 10:41:54 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2019-11-20 17:59:55 -06:00
2018-04-18 13:51:17 -04:00
2018-04-18 13:55:51 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 13:51:17 -04:00
2019-11-20 17:59:34 -06:00
2018-04-18 12:02:11 -04:00
2017-09-19 10:08:23 -05:00
2018-04-18 13:55:51 -04:00
2017-09-19 10:08:23 -05:00
2018-04-18 13:55:51 -04:00
2017-09-19 10:08:23 -05:00
2018-04-18 12:02:11 -04:00
2017-09-19 10:08:23 -05:00
2018-04-18 13:55:51 -04:00
2018-04-18 12:02:11 -04:00
2017-07-20 21:24:21 -07:00
2018-05-11 18:05:43 -04:00
2017-07-20 21:24:21 -07:00
2018-05-11 18:05:43 -04:00
2018-04-18 13:51:17 -04:00
2018-04-18 12:02:11 -04:00
2018-04-18 12:02:11 -04:00
2017-08-29 08:42:09 -07:00
2020-03-23 13:58:30 -04:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2020-01-13 11:34:46 +01:00
2018-04-18 12:02:11 -04:00
2019-06-13 08:03:16 -07:00
2017-07-20 21:24:21 -07:00
2018-04-18 12:02:11 -04:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:59:25 -04:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:58:30 -04:00
2020-03-23 13:58:30 -04:00