Commit Graph
25 Commits
Author SHA1 Message Date
Christopher Boumenot 5702f36b6b ignore transient iptables error 2018-01-24 22:30:46 -08:00
Christopher Boumenot 243e8f30c9 Check for minimum iptables version (#1009)
* ship warning and errors logs to Geneva (#991)

* precisely delete rules upon removal

* limit the number of deletios
2018-01-19 17:33:14 -08:00
Brendan Dixon fb16cba28b [#822] -- Update docs
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-10-20 11:01:59 -07:00
Hans Krijger 5aa92197e3 fix for firewall flushing 2017-09-19 14:57:43 -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 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 ace5d8e701 Emit Firewall events
Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2017-08-21 11:42:09 -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
Hans Krijger 9dd08e39c5 add a unit test for sriov 2017-08-03 12:49:52 -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
Hans Krijger ee88936d82 remove admin access requirement from AzureStack 2017-06-07 12:02:58 -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
Hans Krijger d7d41284e1 Provisioning logging improvements (#673)
* log the device list when finding dvd

* improve logging for get_dvd_device

* improve logging for mount_dvd

* more granular logging for copy_ovf_env

* provisioning logging and error cleanup

* ubuntu provisioning logging cleanup

* improve Ubuntu provisioning logging

* ubuntu provision cleanup

* debugging for cloud-init

* add validation method and logging for cloud-init

* error cleanup, fix mount

* minor cleanup

* add validate cloud-init logging

* unit test fixes
2017-04-18 14:35:11 -07:00
Hans Krijger 764b1ba4ae Add support for Match blocks in sshd config (#551)
* add unit tests for conf_sshd

* add support for match blocks in sshd config

* make checks case insensitive
2017-01-13 18:06:28 -08:00
Tim Rupp edba18b61c Adds more hooks (#510)
simplified some code. Added the delete user hook. collapsed
some keyword args
2016-12-09 11:34:58 -08:00
Tim Rupp 94a0b4948b Adds BIG-IP integration to WAAgent
This patch includes the implementation portion of BIG-IP integration
with WAAgent.
2016-11-29 13:16:05 -08:00
Yoon Hong 5576dea216 Replace unnecessary shell out logics with python based ones (#232) 2016-09-16 20:02:43 -04:00
Hans Krijger 74ffd41bb1 do not try encode None, always return a string from get_primary_interface (#287) 2016-07-01 09:00:38 -07:00
Hans Krijger 028a77f3b4 Dhcp caching (#271)
* fix bug in cache lookup logic; allow skipping the cache in failure mode

* code review feedback
2016-06-28 11:12:51 -07:00
Hans Krijger fc9684b25c Multi-nic improvements (#237)
* update loopback detection to use SIOCGIFFLAGS and IFF_LOOPBACK; add unit tests

* adds a check for the wireserver ip, and if it does exist then skip the dhcp lookup and route manipulation; adds unit tests

* ensure the first selected interface is the primary, which is that with the default route; adds unit tests

* parse the wireserver from the dhcp leases file on disk; distro-specific, this is the ubuntu implementation; adds unit tests

* unit test fixes, python 3 changes

* code review feedback
2016-06-21 11:28:07 -07:00
Hans Krijger 9fa305ba0a fix for bad unit test patch (#236) 2016-06-15 17:27:54 -07:00
Hans Krijger 25a1a9120e port retry code over from 2.0 agent; add unit test; fixes RDBug 5286341 (#217) 2016-06-09 10:40:38 -07:00