Commit Graph
1125 Commits
Author SHA1 Message Date
brendandixon 61890e2686 Merge pull request #923 from brendandixon/master
Updated version
2017-10-27 09:40:33 -07:00
Brendan Dixon 4fd8a8e8ec Updated version
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-10-27 09:35:04 -07:00
brendandixon 0f595b4e94 Merge pull request #921 from brendandixon/master
Stability improvements
2017-10-27 09:34:08 -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
brendandixon 099f4f6417 Merge pull request #914 from brendandixon/master
Address #822
2017-10-20 12:28:20 -07:00
Brendan Dixon fb16cba28b [#822] -- Update docs
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-10-20 11:01:59 -07:00
brendandixon bf99c1d79a Merge pull request #913 from brendandixon/master
[#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)
2017-10-18 16:44:38 -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
brendandixon 7b94a9711a Merge pull request #880 from uiri/rolling
Rolling Extension Upgrades
2017-10-17 10:05:24 -07:00
brendandixon 389086c1c0 Merge pull request #910 from brendandixon/master
[#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
2017-10-17 10:00:14 -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
brendandixon 87b9cad964 Merge pull request #907 from dwj300/master
Sleep 1 second between polls for cloud-init created SSH keys
2017-10-16 10:32:23 -07:00
Douglas Jordan 8f04cfe1f9 Updating max_retry to match 2017-10-12 23:08:52 +00:00
Ubuntu fad348120c Changing host key sleep to 1 second as we are only querying if a file exists. Could be even less. 2017-10-12 23:00:30 +00:00
brendandixon 5bc5b62dbd Merge pull request #877 from rjschwei/endlessBootOoops
- RDMA load fixes for SUSE
2017-10-12 10:22:49 -07:00
William Pearson 22b69b6485 Remove upgrade GUID *after* performing disable/uninstall 2017-10-10 16:56:16 -07:00
brendandixon 988cce6ad0 Merge pull request #903 from brendandixon/master
Merged v2.2.18
2017-10-09 14:23:42 -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
Brendan Dixon 862bbc10b1 Merge remote-tracking branch 'upstream/master' 2017-10-09 10:06:18 -07:00
William Pearson 4f92c3c829 Do not change seqNo for testing rolling upgrades 2017-10-02 14:49:42 -07:00
William Pearson 8663a92b16 Remove flag IsPartOfScaleSet 2017-09-27 13:14:20 -07:00
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
William Pearson a2a86b296d Add test for hotfix upgrades 2017-09-22 11:30:01 -07:00
Hans Krijger 4316e399ce add new test data for 2.2.18 2017-09-19 15:48:11 -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
Hans Krijger 70a9e81901 Hotfix/2.2.17 (#893)
* [#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-19 14:22:30 -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 c132b830bc Adjust safe-deploy JSON
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-09-14 10:48:45 -07: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
brendandixon bf7766ddc0 Merge pull request #878 from brendandixon/master
Added safe deployment support and more

[#875] -- The agent should include the incarnation number in ProcessGoalState events
[#874] -- The interval allowed before forcibly terminating the child process is too long
2017-09-11 15:55:20 -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
brendandixon a146f27147 Merge pull request #870 from brendandixon/master
Update to v2.2.16
2017-09-01 11:15:32 -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
brendandixon a635cf64c7 Merge pull request #867 from brendandixon/master
Improve error message when trying IOErrors
2017-08-31 15:42:17 -07:00