* 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
* 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
[#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>
[#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>
[#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>
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>
* formatting fixes, update error text, remove unused imports
* modify error logic to use host plugin upload as a fallback
* initial commit for host plugin work
* adds the vmAgentLog api
* code review feedback