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
fb16cba28b
[ #822 ] -- Update docs
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-10-20 11:01:59 -07: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
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
0ce5c390bf
[ #865 ] -- The agent should retry ETIMEDOUT (110) IOErrors
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-08-31 15:13:46 -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
e247e7b2f2
Restrict access to Azure fabric services
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-08-17 13:12:34 -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
052a99f856
[ #808 ] -- The agent should more gracefully handle out-of-space disk errors (IOError 28)
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-08-02 12:38:54 -07:00
brendandixon
56c4bd6f6c
[ #791 ] -- Prevent bloating sudoers waagent when agent has problem ( #816 )
...
Signed-off-by: Brendan Dixon <brendandixon@me.com >
2017-07-27 09:50:42 -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
Hans Krijger
50690a196d
ensure config file is updated correctly ( #542 )
...
* ensure config file is updated correctly
* unit test fix
* correct ordering
2017-01-11 10:53:38 -08:00
Yoon Hong
e0eb4c9d4f
Fix file not found issue
2017-01-04 21:14:18 -08:00
Yoon Hong
ba59e7c450
Fix password encrypting failure in python 2.* ( #516 )
2017-01-04 17:56:32 -08:00
Yoon Hong
abe5357b58
1. Add is_str_none_or_whitespace to textutil for string emptiness check ( #487 )
...
2. Update remove_bom to properly handle empty/none/whitespace string
(#486 )
3. Update remove_bom to check length of the input
2016-12-01 11:56:38 -08:00
Hans Krijger
1da8e32266
ensure the proxy port is an integer; logging improvements
2016-09-27 15:30:53 -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
1f49b244e9
Prevent cycling agent
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-08 18:20:50 -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
23b2c2eefe
Corrected FlexibleVersion comparison of prerelease tags ( #252 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-21 15:06:14 -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
Mingye Wang
3c5a9e73d9
fix for #127 . try to use posix.fallocate and fallocate before falling back to dd; adds unit tests for basic functionality and shellutil.quote ( #215 )
2016-06-07 11:38:15 -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
16b28c84ab
Improve unit test
2016-01-08 12:19:36 +08:00