27 Commits
Author SHA1 Message Date
Brendan Dixon 84d4532558 Correctly handle agent family without package URIs
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-10-25 10:43:00 -07:00
Hans Krijger 1ed45981d2 fix unit tests 2016-09-27 10:18:14 -07:00
Brendan Dixon 41c81907db Ensure to load latest agents
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-09-20 11:57:57 -07:00
Yoon Hong 93d9105cf4 Merge pull request #437 from jinhyunr/remove_shell
Replace unnecessary shell out logics with python based ones (#232)
2016-09-19 20:54:50 -04:00
Yoon Hong 5576dea216 Replace unnecessary shell out logics with python based ones (#232) 2016-09-16 20:02:43 -04:00
brendandixon c7fd71254a Ensure agent and extension hotfix versions are examined (#430)
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-09-16 11:50:00 -07:00
Hans Krijger 6830c8e32a minor refactor and reformat; ensure current agent is excluded from get_latest_update; adds unit test 2016-09-07 15:30:06 -07:00
Hans Krijger f81238cbfb ensure null bytes are not present in shlex input 2016-08-31 15:25:13 -07:00
Hans Krijger ae94587069 update version to 2.1.6 (#362)
* update version to 2.1.6

* fix unit test
2016-08-12 16:48:21 -07:00
Brendan Dixon 40bb31726a Migrated extension state and status back to v2.0.x location
Added restart telemetry
Check if process is orphaned
Ensure orphaned processes complete

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-25 12:53:52 -07:00
Brendan Dixon f3587a31e7 Improved tracking successful agent enablement and fix #319
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-13 13:25:46 -07:00
brendandixon 7c8f681b29 Fix #297 and signal forwarding recursion (#317)
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-12 16:03:31 -07:00
brendandixon d5b279c838 Merge pull request #310 from brendandixon/nocycle
Prevent cycling agent
2016-07-11 11:06:57 -07:00
Brendan Dixon 1f49b244e9 Prevent cycling agent
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-08 18:20:50 -07:00
Hans Krijger bda4e61b41 Explicitly specify enable timeout as 5m (#303)
* Explicitly specify enable timeout as 5m

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>

* fix unit tests
2016-07-08 17:15:31 -07:00
Brendan Dixon b9d85179d0 Fix #306 and #307
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-08 15:33:11 -07:00
Brendan Dixon 00aa43ab83 Moved environment monitoring and event collection into child process
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-08 15:26:52 -07:00
Brendan Dixon fca4fa78fb Improved telemetry and enabled re-spawning of child process
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-07 09:46:48 -07:00
Brendan Dixon feb1d7b621 Corrected self-update to preserve errors and improved telemetry (#290)
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-06 15:33:21 -07:00
Brendan Dixon 101bd74eb0 Ensure child process is terminated - #272
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-29 11:56:52 -07:00
Brendan Dixon 20020aea05 Improved download process and ensured output is not buffered
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-28 15:42:12 -07:00
Brendan Dixon 1afa6a199c Converted update process to rely on HandlerManifest
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-24 13:16:11 -07:00
Brendan Dixon 2c44b88946 Corrected extension version selection and stdout/stderr redirection
Corrects extension version selection (issue #238).
Corrects hanlding of stdout / stderr (issue #260).

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-23 14:52:40 -07:00
brendandixon 2799c3b615 Agent Self-Update Feature (#244)
The Agent will monitor for more recent versions and update itself
(without impacting the installed version). If the new Agent fails
(in a very bad way or consistently), the code rolls back to the prior
version.

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-21 12:18:06 -07:00
Yue Zhang da9ebe0a3d Separate provision agent and guest agent
Ensured correct return
Temporarily disable autoupdate

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-06-01 15:27:32 -07:00
brendandixon e55d8dee0e Revert "Separate provision agent and guest agent" 2016-05-31 11:24:23 -07:00
Yue Zhang efff9d6e0e Separate provision agent and guest agent 2016-05-31 11:15:10 -07:00