- 28 Jan, 2019 1 commit
-
-
Valentin Reis authored
The last merge changed the API visual style to increase readability. The manual merging was not done in a proper way however, and some of the changes from its previous merges were reverted. This commit fixes this.
-
- 23 Jan, 2019 1 commit
-
-
Valentin Reis authored
This commit does two things: - re-indents the message schema to be more readable - lets `cmd listen --filter` print any incoming message, without discriminating on container_uuid. This makes cmd listen usable until a proper application_uuid management is written into nrm.
-
- 21 Jan, 2019 1 commit
-
-
Sridutt Bhalachandra authored
Made necesseary fixes required to make the aggregative downstream api integration to work with the new downstream messaging layer. Also,fixed the case where daemon crashed when an application message (from libnrm using pmpi) was received after container was killed run_policy on all containers removed as the controller no longer has application manager info Any other refactoring and fixes required (check merge request discussion) See Issues #13, #20 and Merge !41
-
- 09 Jan, 2019 1 commit
-
-
Valentin Reis authored
the gitlab-ci.yml file now points to argotest/gitlab/basic.yml on master.
-
- 04 Jan, 2019 1 commit
-
-
Valentin Reis authored
This includes renaming "progress" to performance in argo_perf_wrapper. There are two distincts keywords in the messaging layer: "performance" for all things related to hardware, and "progress", for all things relating to the application.
-
- 21 Dec, 2018 2 commits
-
-
Swann Perarnau authored
Replace the downstream API handling by the new messaging layer. Not that we don't have a clean way to deal with dynamic concurrency control using this API, so we disable the handling of it for now.
-
Swann Perarnau authored
Add downstream RPC client/server classes that are the same as the upstream ones. This is part of a series of changes to downstream to allow for more reliable communications between the daemon and applications. At this time, the daemon never replies, so the RPC_REQ is basically used as a way to publish events to the daemon.
-
- 10 Dec, 2018 1 commit
-
-
Valentin Reis authored
- added correct SIGINT/process ending handling to cmd - fixed kill/list containers - added ZMQ_LINGER 0 to the socket options.
-
- 28 Nov, 2018 3 commits
-
-
Swann Perarnau authored
Move the container start/exit events to the upstream pub/sub event stream. As these are more of a global event now that we support multiple commands in the same container, it makes sense to move them to the more general event stream. This patch also remove the code in cmd waiting for container start or exit, making (temporarily) the cmd unable to report power metrics. We will fix that in a later commit. This patch fixes complicated issues we had with how a job running multiple commands in the container might not all wait for the end of the container: now none of them do.
-
Swann Perarnau authored
Add a upstream pub client, to be able to listen to messages coming from the daemon on the upstream pub/sub channel. Doesn't support any fancy filter, as that's not used by the daemon so far.
-
Swann Perarnau authored
Current code sends start/exit events when a container is created and process_start/process_exit when its already there. Instead, have the container start/exit only care about container stuff, and always sends the process start/exit events around. That makes the cmd run fsm easier to work out. Changes the message format a tiny bit. Fixes some missing stdout/stderr issues we had before.
-
- 21 Oct, 2018 2 commits
-
-
Swann Perarnau authored
Replace the fragile upstream communications with the new messaging layer, improving the stability and performance of this API. NOTE: this breaks previous clients NOTE: this patch is missing client tracking, to handle children signals.
-
Swann Perarnau authored
Abstracts away the exact wire format and client/server details, while changing the RPC side to work over ROUTER/DEALER sockets, as to avoid the lost messages issues we've been having with PUB/SUB for RPC.
-