21 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
Yoon Hong c3532dd93a Merge pull request #444 from jinhyunr/SecureHostGAConnection
Send additional headers when using HostGAPlugin (#443)
2016-09-30 14:05:03 -07:00
Hans Krijger 1ed45981d2 fix unit tests 2016-09-27 10:18:14 -07:00
Yoon Hong 26377e6c96 Send additional headers when using HostGAPlugin (#443) 2016-09-23 15:57:49 -04:00
SRIKKANTH 80ae8ad656 Metadata certificate download support added. 2016-09-07 14:56:22 -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 a7364c801b Added package building script
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-08 08:58:42 -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 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
Hans Krijger 028a77f3b4 Dhcp caching (#271)
* fix bug in cache lookup logic; allow skipping the cache in failure mode

* code review feedback
2016-06-28 11:12:51 -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
Hans Krijger fc9684b25c Multi-nic improvements (#237)
* update loopback detection to use SIOCGIFFLAGS and IFF_LOOPBACK; add unit tests

* adds a check for the wireserver ip, and if it does exist then skip the dhcp lookup and route manipulation; adds unit tests

* ensure the first selected interface is the primary, which is that with the default route; adds unit tests

* parse the wireserver from the dhcp leases file on disk; distro-specific, this is the ubuntu implementation; adds unit tests

* unit test fixes, python 3 changes

* code review feedback
2016-06-21 11:28:07 -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
Dong Liu 71ca08dfa6 Internal version extension should not be chosen when autoupgrade is true, add test cases for autoupgrade. 2016-02-18 15:26:18 +08:00
Yue Zhang 79f6dcebb8 Fix parsing xml event 2016-01-21 13:05:13 +08:00
Yue Zhang 5bfc685856 Refactor extension handler 2016-01-12 17:10:56 +08:00
Yue Zhang 16b28c84ab Improve unit test 2016-01-08 12:19:36 +08:00