Commit Graph

4 Commits

Author SHA1 Message Date
Ilya Shakhat e55bd553aa Fix representation of signal.SIG* constants
Pass signals as strings instead of using python constants
which depend on host system and have different types on py27 vs py3.

Change-Id: Ib8d7136bb3aed125a987678672142ce72e33af6f
Closes-bug: #1836736
2019-07-22 09:44:25 +02:00
ZhijunWei 3815e94721 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I379e5684ada1b0c961260f2017543479080f8c23
2019-01-06 19:04:51 +08:00
Anton Studenov 7eb1f4a038 Remove brackets from Service.GREP variables
This patch makes content of GREP variables more readable
and clear. Also it helps to protect users/developers from
missing brackets in GREP variables.

* Use `grep -v grep` to to filter grep from ps output.

Change-Id: I8455a347912d853b5245e654781f8f117d340298
2017-02-01 10:45:34 +03:00
Anton Studenov 5869467025 Fuel services refactoring
added ansible modules:
 kill - allows to send signals to processes found by ps|grep
 freeze - allows to freeze processes for specified seconds

now services should define only GREP variable that will be
used to check whether service processes are present on node and
send SIGKILL/SIGSTOP/SIGCONT to service processes.

Change-Id: Ifb0a744058c599bd635cda9a367f6f56526706a7
2016-10-12 14:36:20 +03:00