* 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
[#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>
* Fix for wrong decoding of certificate recieved from metadata server
* Fixing bug to make sure certificate data is saved as a binary file instead of a text file
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>