Will Pearson
fdb2b8a404
Use cached extension version manifest if available ( #919 )
...
* Use cached extension version if available
* Pass etag to get_ext_handler_pkgs
* Fix failing stale goal state test
* On a stale goalstate, restart extension handling
Also, simplify the fetch manifest logic which identifies a stale
goal state
* Address first round of PR comments.
* Get rid of stopgap loop for stale goal states
* Use previous pattern to populate ext manifest cache
* Simplify get_ext_manifest
2018-01-16 17:26:16 -08:00
Will Pearson
ad7158bfdc
Bug fix for upgrade GUID change ( #979 )
...
* Bug fix for upgrade GUID change
Reduce log spam from skipping an upgrade based on the GUID staying the same.
Ensure that the Agent reports the correct extension version and its state as enabled in cases where the GUID is the same.
Fix unit testing for the upgrade GUID feature
* Log same upgrade guid on each new goal state
* Rename "guid" variables to "upgrade_guid"
2018-01-02 15:02:12 -08:00
William Pearson
4f92c3c829
Do not change seqNo for testing rolling upgrades
2017-10-02 14:49:42 -07:00
William Pearson
a2a86b296d
Add test for hotfix upgrades
2017-09-22 11:30:01 -07:00
William Pearson
15d835854c
Fix comment in test code. Add log statements.
2017-09-18 15:19:12 -07:00
William Pearson
bc0ecc51ba
Add unit testing for rolling upgrade extension change
...
Fix typos caught by testing
Properly handle enabled->disabled/uninstall state change and
disabled/uninstall->enabled state change
2017-09-07 13:49:34 -07:00
Brendan Dixon
b4b3bedfff
Removed unnecessary directories and files #693
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-05-03 13:51:38 -07:00
Hans Krijger
92fe3f2bcb
Host plugin updates ( #505 )
...
* fetch manifests and packages via host plugin channel when initial download fails
* emit a telemetry event to determine if blob type matches
2016-12-06 14:29:19 -08:00
Yoon Hong
314c2c17aa
Turn off Overprovisioning feature ( #490 ) ( #491 )
2016-12-01 18:05:42 -08:00
Yoon Hong
466f98728a
Refactor some logics in wire.py for better isolation ( #452 )
2016-10-26 13:07:38 -07:00
Yoon Hong
d03d92551a
Add Overprovisioning support ( #452 )
2016-10-26 13:07:38 -07:00
Yoon Hong
5576dea216
Replace unnecessary shell out logics with python based ones ( #232 )
2016-09-16 20:02:43 -04: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
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
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
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