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
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
Hans Krijger
15a139bc04
only set initialized when available, so initialization is retried during host update
2017-06-07 11:41:20 -07:00
Hans Krijger
902e71b22e
ignore encoding errors when reading error response; new unit test ( #748 )
2017-06-07 11:39:28 -07:00
Hans Krijger
eec198c522
add traceback to logging when there is a host plugin exception
2017-05-24 16:03:40 -07:00
Hans Krijger
c990b474ff
reset channel if host plugin put status fails ( #663 )
2017-04-11 16:24:32 -07:00
Hans Krijger
01f3961cec
better error handling if host plugin not available ( #649 )
2017-04-04 16:02:43 -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
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
bb07960413
update logging; update goal state when out of date ( #569 )
2017-01-23 14:36:55 -08:00
Hans Krijger
9ea18d8658
Add telemetry event for host plugin usage ( #560 )
...
* reformat file
* add host plugin event; minor cleanup
* clean up imports
2017-01-18 18:50:01 -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
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
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
12ffa9af28
Apply Hans' comments ( #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
3185c3023a
Send whole VM Status json string to HostGAPlugin for status uploading ( #443 )
2016-09-27 00:26:12 -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
42053d9bbf
Host channel fix ( #375 )
...
* use the correct data for host channel fallback; adds unit test
adds unit test
* update the agent version to 2.1.6.1
2016-08-18 15:40:31 -07:00
Hans Krijger
4b35d88a83
Host plugin channel ( #250 )
...
* 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
2016-06-21 11:29:11 -07:00