panto-agent doesn't update configuration
Problem description
When the configuration of an Agent is updated on panto-server
, the corresponding panto-agent
doesn't update its configuration.
Environment
Panto versions
- Panto server version: 0.4.0
- Panto agent version: 0.4.0
- Panto web version: 0.4.0
Local environment
- Operating system: macOS 10.13.6 (17G65)
- Browser and version: Google Chrome 69.0.3497.100
Reproduction
- setup an Agent
- configure one probe on the Agent
- fire the
panto-agent
process up on the Agent, with debug verbosity - configure a new probe on the Agent
- wait for the new probe to be spawned by the Agent
Expected behavior
The new probe should be configured and added to the scheduler, and run periodically.
Observed behavior
The Agent needs to be restarted so the new configuration is taken into account.
Technical tasks
-
check if agent.ts_configuration
gets upgraded on ProbeConfiguration creation/update ; -
check if agent-version
is in every response headers ; -
check if agent-version
header is read by agent, in every case ; -
check if test between agent-version
andscheduler.Version
is well done.
Edited by Julien Andrieux