Commit Graph
256 Commits
Author SHA1 Message Date
Brendan Dixon cbc2f4f366 Addressed issues #687, #604, and #531
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-02 13:28:19 -07:00
brendandixon 63baf63639 Merge pull request #682 from jayden-at-arista/route_fix
Default route is not added if it already exists
2017-05-02 10:05:07 -07:00
Brendan Dixon 1580a9fb34 Limit life of transport certificate to two-years
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-01 15:08:33 -07:00
Brendan Dixon a4b653fdc2 Support mixed case hostnames on RedHat
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-01 14:52:08 -07:00
Brendan Dixon 66305f0bea Enabled FIPS support
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-01 14:44:22 -07:00
Brendan Dixon aa06f5bbba Added auto-update support for Azure Stack
Enabled telementry for Azure Stack

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-04-28 15:55:30 -07:00
Jayden Navarro 4e592383a4 Default route is not added if it already exists 2017-04-28 10:43:55 -07:00
Hans Krijger 6883b02ac1 update version to 2.2.10 (#677) 2017-04-19 10:22:08 -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
enihcam ab90f075d1 Add Arch distro support (#670)
* Add Arch distro support

* Added archDistro in waagent2.0

* Added missing dependency for archDistro

* Revert "Added missing dependency for archDistro"

This reverts commit 259cc020c42ec575dbe11c3057002d03e90353a4.

* Revert "Added archDistro in waagent2.0"

This reverts commit dc51cdfcb392b3958e0bcb60b3144226f07d3723.

* Enable waagent AutoUpdate for archlinux.
2017-04-18 12:02:01 -07:00
Hans Krijger d43299ab1c update agent to 2.2.9 (#672) 2017-04-17 13:04:23 -07:00
Hans Krijger 7d613b721d route/dhcp logging cleanup (#665) 2017-04-12 12:20:52 -07:00
Hans Krijger c990b474ff reset channel if host plugin put status fails (#663) 2017-04-11 16:24:32 -07:00
Hans Krijger aaba3bf759 update version to 2.2.8 (#660)
* update version to 2.2.8

* fix unit tests
2017-04-10 12:14:33 -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 0b93f681fb add basic 32 bit support to interface detection (#644)
* add basic 32 bit support to network detection

* switch check so 64bt is default
2017-04-03 14:27:01 -07:00
Hans Krijger c0a9cc93f8 Bug fixes (#642)
* additional logging when exceptions occur (#640)

* handle heartbeat keyerror correctly (#641)

* correct ext state case sensitivity check (#639)

* better old event handling (#637)

* unit test fix

* pr feedback
2017-04-03 11:29:34 -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
hufengwei 66c5628751 Add support for EulerOS (#614) 2017-03-31 11:18:14 -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 4364b87cb6 update agent version to 2.2.6 (#617) 2017-03-09 14:40:00 -08:00
Hans Krijger b64ee63893 when routing table is malformed, only emit logs once (#612) 2017-03-08 16:01:47 -08:00
Hans Krijger 28683169cc retry once when network unreachable (#609) 2017-03-08 16:01:36 -08:00
Hans Krijger e4dc8ced1b ensure hostplugin fails gracefully (#602) 2017-03-06 10:51:26 -08:00
Long Li 9b7079be76 Fix a reboot issue when updating RDMA driver on ND host update (#594)
* Return failure if module is already loaded at the time of probe

* Return failure when module is not present in lsmod

* CentOS: Reboot the system when newly installed RDMA module fails to probe or load

* SUSE: Reboot the system when newly installed RDMA module fails to probe or load
2017-03-06 10:51:11 -08:00
Hans Krijger f561aeed50 Fix cache-incarnation sync (#587)
* when hostname record is missing, assume current

* version update to 2.2.4.1

* minor cleanup; reduce duplicate http logging

* update the incarnarnation file after all caches

* remove http proxy logging unless proxy set

* force goalstate update when host plugin call fails

* update version to 2.2.5
2017-02-09 15:41:50 -08:00
Hans Krijger 2010d7623c update version to 2.2.4 (#584)
* update version to 2.2.4

* update unit tests
2017-02-02 11:14:12 -08:00
Hans Krijger 620b83337c Extend vm status (#579)
* add os name, version and hostname to status blob; minor cleanup

* add unit test for vm status format

* update status version to 1.1
2017-01-30 10:38:35 -08:00
Hans Krijger a36dd736f2 fix del_root_password on FreeBSD (#578) 2017-01-27 13:56:31 -08:00
Hans Krijger d18d34cdd5 CentOS 7.0 hostnamectl fix (#573)
* cleanup and reformat file; fallback to hostname when hostnamectl fails; logging cleanup

* cleanup
2017-01-25 17:33:06 -08:00
Hans Krijger 38933fa6c6 update version to 2.2.3 (#570) 2017-01-23 14:53:50 -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 2950edb430 CoreOS fix (#567)
* reformat

* cleanup; add distro_code_name to os factory
2017-01-20 16:43:03 -08:00
Hans Krijger 469d8ae074 Debian fixes (#566)
* add traceback

* update debian service calls
2017-01-20 16:07:45 -08:00
Hans Krijger 38c112ae5c apply patch from Debian (#565) 2017-01-20 13:17:30 -08:00
Hans Krijger 58baf8979a Unhandled errors (#564)
* ensure path exists before access

* handle read only filesystems

* check for swap file before getting size

* fix customdata decoding
2017-01-20 13:15:55 -08:00
Hans Krijger ec8238fa19 add a log message when primary nic is not found (#561) 2017-01-19 13:48:46 -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
Christopher Boumenot bd335f1f25 Typo is log message
prefered -> preferred
2017-01-16 00:46:10 -08: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
Hans Krijger b77eb0f4be fix the logic for agent version (#547) 2017-01-13 12:01:28 -08:00
Hans Krijger 8a16d23143 support offline hostname changes (#545) 2017-01-11 12:35:22 -08: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
Hans Krijger 6b79ddda5c support NetworkManager leases (#543) 2017-01-11 10:20:57 -08:00
Yoon Hong ba59e7c450 Fix password encrypting failure in python 2.* (#516) 2017-01-04 17:56:32 -08:00
Hans Krijger 4452c6a8e6 Minor bug fixes (#536)
* add missing None check - #513

* catch extension and value errors - #519

* only warn about httplib support once - #528
2017-01-09 16:11:23 -08:00
Hans Krijger 5949843494 fix for hostnamectl (#534) 2017-01-06 14:21:27 -08:00
Hans Krijger 8f91a15cd5 RHEL-7 hostname (#533)
* use hostnamectl for redhat 7.x

* create directory if it is missing
2017-01-06 13:06:08 -08:00
Hans Krijger 515415a478 Update version to 2.2.2 (#511)
* logging update

* updating version for testing

* updating version to 2.2.2
2016-12-12 11:59:00 -08:00