Commit Graph
523 Commits
Author SHA1 Message Date
William Pearson 3f5480ad21 Rename ExtensionRollingUpgrade to IsPartOfScaleSet 2017-09-23 19:34:33 -07:00
William Pearson e7a90402f2 Fix for missing upgradeGuid parsed as empty string 2017-09-22 15:13:42 -07:00
Hans Krijger 596c416d3b update version to 2.2.18 2017-09-19 14:58:27 -07:00
Hans Krijger 5aa92197e3 fix for firewall flushing 2017-09-19 14:57:43 -07:00
Hans Krijger 9632cfc587 fix for agent update outside of goal state update 2017-09-19 14:53:04 -07:00
Hans Krijger 0fd3487c39 fix check for sudoer file content 2017-09-19 14:52:33 -07:00
Hans Krijger 3bee9489b6 minor refactor and cleanup 2017-09-19 14:52:17 -07:00
William Pearson 15d835854c Fix comment in test code. Add log statements. 2017-09-18 15:19:12 -07:00
Robert Schweikert 8450757ec4 - SUSE rdma
+ Simplify the check for rdma package installed, we only support
    RDMA on distros where startswith is available
2017-09-15 09:08:02 -04:00
Brendan Dixon 76ac55bada Merge remote-tracking branch 'upstream/master' 2017-09-14 09:21:53 -07:00
brendandixon ef9c7ce970 Hotfix/2.2.17 (#883)
* [#879] -- OS.EnableFirewall=y breaks load balanced sets probing

Signed-off-by: Brendan Dixon <brendandixon@me.com>

* Set version to v2.2.17

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-09-13 18:45:39 -07:00
Brendan Dixon d5e64dc1e9 Set version to v2.2.17
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-09-13 16:51:29 -07:00
William Pearson bc2cdf2b23 Add explanatory comments for extension rolling upgrade 2017-09-13 15:56:00 -07:00
Brendan Dixon 34c10d5542 [#879] -- OS.EnableFirewall=y breaks load balanced sets probing
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-09-13 15:06:30 -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
Robert Schweikert 7b9c2b0c73 - RDMA load fixes for SUSE
+ Fix comparison issue that causes the installed RDMA package to not
    be detected. Tris triggers a re-install of the package which in turn
    triggers a reboot. Thus we end up in a endless reboot loop.
2017-09-08 14:49:55 -04:00
William Pearson bc0ecc51ba Add unit testing for rolling upgrade extension change
Fix typos caught by testing
Properly handle enabled->disabled/uninstall state change and
disabled/uninstall->enabled state change
2017-09-07 13:49:34 -07:00
William Pearson 197b9fe5d9 Only update upgrade GUID after a successful upgrade 2017-09-07 09:55:29 -07:00
William Pearson 4bc735d169 Report the upgradeGuid back to CRP in the status blob 2017-09-07 09:34:40 -07:00
William Pearson 76f37fea1e Add extension rolling upgrade logic
Parse upgrade GUID and rolling upgrade flag from XML
Save old GUIDs
Only upgrade if the flag is False or the old GUID does not match the new GUID
2017-09-06 13:44:56 -07:00
Brendan Dixon 5c08800860 Update to v2.2.16
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-09-01 11:07:35 -07:00
Brendan Dixon fef4062e0f Improve error message when trying IOErrors
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-31 15:36:23 -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 3dd33a797c Update to v2.2.15
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-24 15:29:00 -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 f92c4b1420 Made firewall establishment iptable version aware
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-24 10:34:15 -07:00
Brendan Dixon be77729cb8 Improve firewall handling and make GoalState retrieval more robust
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-22 16:11:50 -07:00
Brendan Dixon b50e28cbbd Add wait to iptables commands
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-22 11:19:39 -07:00
Brendan Dixon 03beb77fb9 [#850] -- Cannot get to state 'Running' with Provisioning.Enabled=n
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-22 10:24:55 -07:00
Brendan Dixon ace5d8e701 Emit Firewall events
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2017-08-21 11:42:09 -07:00
Brendan Dixon bdb715be2c [#845] -- ')' is missed in show-configuration
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-18 09:54:55 -07:00
Shital Savekar 38e6d951ba Fixing typo 2017-08-18 14:43:19 +05:30
Brendan Dixon 4de213b76b Improve error logging
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-17 13:35:41 -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
brendandixon 53ca96622b Merge pull request #836 from longlimsft/ubuntu_p10
Support RDMA on Ubuntu
2017-08-10 15:15:39 -07:00
Long Li 70c13c381b Read OS.UpdateRdmaDriver from config file
OS.UpdateRdmaDriver is already defined earlier. This value tells WALA if it will do automatic kernel update for Ubuntu.
2017-08-04 22:08:05 +00:00
Long Li 9051d18a4e Add Ubuntu support to RDMA factory 2017-08-04 22:08:05 +00:00
Long Li 92ea4ff47f Add Ubuntu RDMA support for driver update and reconfiguration
Ubuntu packages multiple versions of RDMA driver in the kernel. This adds support for resolving the correct driver based on the host ND version, and to update kernel if none is found.
2017-08-04 22:07:58 +00: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
Hans Krijger d2aa726373 unit test fix 2017-08-01 13:24:03 -07:00
Hans Krijger c2604c6f20 add duration to log messages; minor cleanup 2017-08-01 11:26:49 -07:00
Long Li 2d85d4b745 Resolve RDMA module name and attempt to load module on boot
On some distributions (e.g. Ubuntu), RDMA module is defined by alias in modprobed and blacklisted. In this case we need to resolve it to the real module name, and attempt to load module if it's not already loaded.
2017-07-27 19:20:37 +00: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
Robert Schweikert 362a2386d9 - Fix RDMA driver loading when online repo is not available (#815)
+ When the online repo is not available zypper could hang on waiting for
    user confirmation about skipping the repo, we also tried to refresh
    the repo again after we already knew it was not available.
  + Code generated an error on zypper return code 106, which only indicates
    that repos were skipped but does not mean package install failed.
2017-07-27 09:48:28 -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 3b5faa5968 [#807] -- The agent should not emit duplicate events
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-07-21 14:41:50 -07:00