- Aug 12, 2014
-
-
JEANVOINE Emmanuel authored
-
JEANVOINE Emmanuel authored
Upstream version 3.3.0~rc3
-
JEANVOINE Emmanuel authored
-
JEANVOINE Emmanuel authored
-
Stéphane Martin authored
The module Ruby/Mysql has a part in C language. This part manages the socket which is connected to the server. This socket is not referenced by ruby. When we fork this socket is dumped to the child and we can not find this socket with ObjectSpace. So this patch replace ObjectSpace by "Dir.foreach('/proc/self/fd')". This line iterate with all opened file descriptor for the current application. Change-Id: I214638750dbdb6e7f3e1e6cd2768d1fcf959c072
-
JEANVOINE Emmanuel authored
-
JEANVOINE Emmanuel authored
-
Stéphane Martin authored
The kaworkflow uses different matching than environment. This is an issue when the API is used. Because the API use directly deploy without ask environment This patch fixes the bug: https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=5631 Change-Id: Idb3c7caabbf8dc550438c4afc81b5c223d7c079b
-
- Aug 08, 2014
-
-
Stéphane Martin authored
The webrick server has pool of threads. Threrefore, when a servlet never finishes, the used thread becomes busy. When all threads are busy, the webrick server can't respond to new request. This timeout raise an exception after 10 min if the servlet has not finished. This exception shows where the thread was locked. Change-Id: Ic646ab22c33760e242238f3a3551eec74dd7e5ce
-
Lucas Nussbaum authored
-
Stéphane Martin authored
Before this patch the hook part of kaworkflow catch SignalException to detect if the timeout was reached. Now we need to catch Timeout::Error, because the exception SignalException is no more raised since the patch https://intranet.grid5000.fr/gerrit/#/c/2198/ (61156f11) Change-Id: I3333bd46b63a5e3969f298c32d07498ed73ee524
-
- Aug 07, 2014
-
-
Lucas Nussbaum authored
-
stephane martin authored
With this patch the arity and auto-propagate parameters of kadeploy is given to kascade Change-Id: Id6143c7812d08dcacca848a6e0bef98bf9cd1d7d
-
Lucas Nussbaum authored
Change-Id: I2dfe59dc453fef46438ba5c0875436030f42f3d8
-
Lucas Nussbaum authored
Currently, when a process is signaled (in case of timeout, for example), Execute#wait raises a SignalException. This exception is not properly caught by the automata. This patch disables the exception when checkstatus == false, which is the case everywhere in the Kadeploy code. Change-Id: I36cdc821319ee98fdc8b9d17704902ead8a62633
-
- Aug 06, 2014
-
-
stephane martin authored
Execute checks if a file descriptor is closed before close or read it without any lock. If another thread calls 'wait' function, it can close a file descriptor when the first thread has just check the file descriptor state. So, the action of the first thread raises the exception : 'IOError : already closed'. Change-Id: Ic014d090ccda8237f681e8878c9e7dcd169874fd
-
Lucas Nussbaum authored
Change-Id: Iaa0e00db578c70a1a2838cdb11f8bf6b37b35b32
-
Lucas Nussbaum authored
Change-Id: Ib48236b83e225ced9f9b5198dfc824848d3bd70c
-
Lucas Nussbaum authored
Change-Id: I3bda1f45da13675a0b3da20a296f3a0cc1d54bae
-
Lucas Nussbaum authored
Upstream version 3.3.0~rc2
-
Lucas Nussbaum authored
-
Lucas Nussbaum authored
Change-Id: I1c1ea6bc294de232134c28c0fda053d2258038b0
-
- Aug 02, 2014
-
-
Lucas Nussbaum authored
Change-Id: I3246d520479e0256c375853f41ee12293f59e2d2
-
Lucas Nussbaum authored
Change-Id: I6361cf7980a5101d1b7164fd777fad43d260ea50
-
Lucas Nussbaum authored
This avoids a lintian warning. Change-Id: Ib7e62bddcb2def6c60e8a59ec9bfb88576caab6e
-
- Aug 01, 2014
-
-
Lucas Nussbaum authored
This directory is created by the daemon, at startup. There's no point in creating it in the Debian package (or chowning it) as it is cleared on reboot anyway. Change-Id: I42cbec56f5910bb3edcb918a797a0c3089c25b2d
-
- Jul 31, 2014
-
-
JEANVOINE Emmanuel authored
-
JEANVOINE Emmanuel authored
Upstream version 3.3.0~rc1
-
JEANVOINE Emmanuel authored
-
JEANVOINE Emmanuel authored
-
Stéphane Martin authored
A client disconnection kills the handle thread. The handle thread can allocate some resources (ex : refs token in cache or compressedCSV) and be killed out of all ensure and it does not return ret. Change-Id: I9be248c26d9c2eb54650e8b9d19d1e1e52a6691a
-
JEANVOINE Emmanuel authored
* changes: [Execute] Use function instead of copy/paste for io reading. [Kaworkflow] Don't create pipe for hook because nobody reads the result of hook.
-
JEANVOINE Emmanuel authored
-
JEANVOINE Emmanuel authored
-
Stéphane Martin authored
Before this patch, when automata kills a thread, it does not wait the end of this thread and it frees the data structure. Therefore, the thread can continue after free (depend of scheduler) and it raises some exceptions. Change-Id: I103cfa15a67b7d448fe0780e9253db81e1809473
-
Stéphane Martin authored
Change-Id: I3beb28ffcea8132e397980071be27a282b5dc142
-
Stéphane Martin authored
Before this patch, the execute function has a flag to disable stdin redirection. This patch provides flag to disable stderr and stdout redirections. This reduce the number of pipes. With this patch all disabled redirections in new process are opened with /dev/null file descriptor instead of kadeploy standard input/output. Change-Id: I03f917d01fd185dfde8f18f50f8333bb4eebd245
-
Stéphane Martin authored
Change-Id: I42d41b310d6b01de074314e5023514111b2d6e43
-
Stéphane Martin authored
Before this patch, the hook process is never timed out. Change-Id: I07841e2c83d3ae8957fba885210cbfddb7623cd9
-
- Jul 30, 2014
-
-
Lucas Nussbaum authored
Change-Id: I4a7e47bad91b1a419daf1cca25ab71398a06c0b3
-