Commit Graph

26 Commits

Author SHA1 Message Date
Hans Krijger c93a969f5c Merge 2.2.20 (#1014)
* hotfix to remove purge; update version to 2.2.20

* update test data

* update test data

* update purge; pep8 fixes

* unit tests

* readability, unit tests
2018-01-23 17:27:48 -08:00
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
Brendan Dixon 0352a85712 [#897] -- 'Target handler state' wall of errors
[#896] -- End of Line Comments are Not Supported nor Handled
[#891] -- Create a Telemetry Event to Track Custom Data Execution
[#884] -- Cleanup Old Goal State and Extension Cache
[#876] -- The agent should use a scaling back-off when retrying HTTP requests
[#869] -- The agent should report OS information in the correct JSON format.

Updated version to 2.2.18.1
Replaced errno.EREMOTEIO with fixed value (since the constant is not present in all Python 2.7 versions)

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-10-18 14:57:16 -07:00
Brendan Dixon e85d5327a4 [#908] -- Set Files to 0400 in /var/lib/waagent
[#906] -- Hardcoded value for sshd's ClientAliveInterval (180)
[#899] -- Improve HeartBeat Event
[#898] -- Send dummy status if extension fails to write a #.status file

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-10-17 09:18:46 -07:00
Brendan Dixon 285aeff238 [#783] -- The agent fails to use the standard Linux environment variables for HTTP proxy
[#830] -- Ensure VM identifier is properly ordered

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-15 10:21:52 -07:00
Brendan Dixon d0b583cc6f [#823] -- Show config options in use
[#784] -- Adjust http retry and logging

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-11 09:37:33 -07:00
Brendan Dixon eb3662e0e1 [#769] -- HostGAPlugin requests should never go through proxy
[#764] -- waagent -configuration-path:/path -start not take effect
[#761] -- MetadataProtocol has no client object
[#757] -- deprovision is executed even if input 'n'
[#754] -- /etc/resolv.conf is removed if create a VM base on an specialized image
[#746] -- Agent WALinuxAgent-2.2.12 is blacklisted - skipping download
[#740] -- Duplicate logging on RHEL/CentOS

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-06-21 13:41:05 -07:00
Brendan Dixon 8c7eaf9007 [#721] -- WALA deprovision process not clean up all cloudinit files
[#725] -- v2.2.11 can throw unexpected exceptions on provisioned VMs
[#727] -- v2.2.11 cannot update status for RDFE VMs

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-23 11:23:05 -07:00
brendandixon 3e77d7daf9 Correct HandlerState status check (#699) and clean-up reported events (#700)
Add GoalState telemetry (#470)

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-04 15:06:18 -07:00
Brendan Dixon 89c6d2829f Remove status blob HEAD request (#694)
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-03 14:55:44 -07:00
Hans Krijger 8ed38f4e91 Add telemetry for put status failures (#647)
* initial commit

* unit test fix
2017-04-04 11:32:52 -07:00
Hans Krijger 94f3ad334b NSG improvements (#638)
* ensure host channel use is sticky; additional logging; unit test updates

* pr feedback
2017-03-31 11:20:49 -07:00
Hans Krijger 620b83337c Extend vm status (#579)
* add os name, version and hostname to status blob; minor cleanup

* add unit test for vm status format

* update status version to 1.1
2017-01-30 10:38:35 -08: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 37fdcb4937 Pass necessary values only to HostPluginProtocol constructor instead of passing in whole goalstate object (#452) 2016-10-26 13:16:42 -07:00
Yoon Hong 34b08320c1 Remove Redundant code in HostPluginProtocol and use call_storage_service for both default protocol and host plugin protocol(#452) 2016-10-26 13:16:42 -07: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 42be001a3a Pass goal_state as an argument when creating HostPluginProtocol (#443) 2016-09-23 20:31:44 -04:00
Yoon Hong 26377e6c96 Send additional headers when using HostGAPlugin (#443) 2016-09-23 15:57:49 -04:00
Hans Krijger 91d64b5fb9 ensure all calls to call_storage_service use http proxy; pep8 fixes and cleanup (#399) 2016-09-01 16:45:25 -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
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