Christopher Boumenot
ac6f4904ac
v2.2.21
2018-01-26 22:51:20 +00:00
Christopher Boumenot
27c16553f5
ship warning and errors logs to Geneva ( #991 )
2018-01-17 13:58:18 -08:00
Christopher Boumenot
210ada4928
do not blacklist due to IOErrors ( #988 )
2018-01-04 12:36:40 -08:00
Brendan Dixon
18d1625634
v2.2.19
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-11-09 10:51:53 -08:00
Brendan Dixon
0026f4516d
[ #929 ] -- wire.py#update_goal_state does not handle out-of-date GoalState errors
...
Improved HTTP error messages
Added HTTP IOError event
Convert internal error numbers into useful names
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-11-01 11:55:02 -07:00
Brendan Dixon
74bd379d17
Remove safe-deploy code
...
Adjust delay and retry values for failed HTTP requests
Ensure current agent is not removed from disk
Add operation to extension error events
Improve tracking of child agent exceptions
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-10-26 16:30:24 -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
fe812ccb44
Merged v2.2.18
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-10-09 14:04:17 -07:00
Hans Krijger
9632cfc587
fix for agent update outside of goal state update
2017-09-19 14:53:04 -07:00
Brendan Dixon
693a40aac6
Renamed safe-deploy files and objects to make purpose clear
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-09-12 13:31:17 -07:00
Brendan Dixon
d6da347727
Added safe deployment support
...
[#875 ] -- The agent should include the incarnation number in ProcessGoalState events
[#874 ] -- The interval allowed before forcibly terminating the child process is too long
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-09-11 15:47:25 -07:00
Brendan Dixon
9b92a7705a
Align HTTP status code handling with HostPlugin
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-08-24 11:40:18 -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
2d8f620ec0
[ #800 ] -- HostGAPlugin still use proxy while auto-updating
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-07-25 16:19:52 -07:00
Brendan Dixon
c6173de894
[ #801 ] -- Agent fails to clean-up PID files
...
[#811 ] -- Comments inline in /etc/waagent.conf cause config to not be read
[#812 ] -- Agent fails and isn't recoverable if an extension's log directory is not present anymore
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-07-25 13:57:13 -07:00
Brendan Dixon
8530016e71
Make version recognition more flexible
...
Report pre-provisioned VMs as ready
Reworked optional agent support
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-06-29 16:01:25 -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
90cf4f680f
[ #711 ] -- There are too many log print to /var/log/waagent.log
...
[#714 ] -- Questionable split call in common/conf.py
[#717 ] -- Remove extension logs during deprovision
[#720 ] -- Reset of RDMA drivers not taking effect
[#724 ] -- Location of configuration file should be editable issue
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-05-23 15:45:33 -07:00
Brendan Dixon
f8916bc43a
Emit event if reprovisioning without a deprovision ( #706 )
...
Correct enabling test agents
Blacklist agent due to any failure
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-05-10 12:32:59 -07:00
brendandixon
5c90636dd8
Added Provisioning telemetry duration ( #702 )
...
Correctly handle cleaning directories that include symlinks
Reduced polling interval #701
Enable selective agent testing
Improved FIPS configuration variable name
Reduced cloud-init files removed on deprovision #631
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-05-08 16:27:56 -07:00
brendandixon
0e6c66f455
Fix for #667 ( #669 )
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-04-17 12:20:15 -07:00
Hans Krijger
c0a9cc93f8
Bug fixes ( #642 )
...
* additional logging when exceptions occur (#640 )
* handle heartbeat keyerror correctly (#641 )
* correct ext state case sensitivity check (#639 )
* better old event handling (#637 )
* unit test fix
* pr feedback
2017-04-03 11:29:34 -07:00
brendandixon
7676bf8513
Enabled PageBlob support through HostGAPlugin ( #625 )
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-03-27 15:30:49 -07:00
Hans Krijger
e4dc8ced1b
ensure hostplugin fails gracefully ( #602 )
2017-03-06 10:51:26 -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
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
Hans Krijger
1ed45981d2
fix unit tests
2016-09-27 10:18:14 -07:00
Brendan Dixon
41c81907db
Ensure to load latest agents
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-09-20 11:57:57 -07:00
brendandixon
c7fd71254a
Ensure agent and extension hotfix versions are examined ( #430 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-09-16 11:50:00 -07:00
Hans Krijger
6830c8e32a
minor refactor and reformat; ensure current agent is excluded from get_latest_update; adds unit test
2016-09-07 15:30:06 -07:00
Hans Krijger
f81238cbfb
ensure null bytes are not present in shlex input
2016-08-31 15:25:13 -07:00
Hans Krijger
ae94587069
update version to 2.1.6 ( #362 )
...
* update version to 2.1.6
* fix unit test
2016-08-12 16:48:21 -07: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
Brendan Dixon
f3587a31e7
Improved tracking successful agent enablement and fix #319
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-13 13:25:46 -07:00
brendandixon
7c8f681b29
Fix #297 and signal forwarding recursion ( #317 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-12 16:03:31 -07:00
Brendan Dixon
1f49b244e9
Prevent cycling agent
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-08 18:20:50 -07:00
Brendan Dixon
b9d85179d0
Fix #306 and #307
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-08 15:33:11 -07:00
Brendan Dixon
00aa43ab83
Moved environment monitoring and event collection into child process
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-08 15:26:52 -07:00
Brendan Dixon
fca4fa78fb
Improved telemetry and enabled re-spawning of child process
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-07 09:46:48 -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
101bd74eb0
Ensure child process is terminated - #272
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-29 11:56:52 -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
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
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