Commit Graph
1125 Commits
Author SHA1 Message Date
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 67d1784f6e retry get thumbprint if key is deleted (#603) 2017-03-06 10:51:42 -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
goblin23 a71994696f changed permission for extension log directory. Without the x flag on group and outhers monitoring scripts can not enter the log directory in order to parse logfiles (#588) 2017-03-06 10:50:43 -08:00
brendandixon d3a25f6cba Corrected determination of heartbeat file 'freshness' (#599)
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-03-02 14:53:31 -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 de6866b8f4 ignore return code 32 (#577) 2017-01-26 17:18:35 -08:00
Yoon Hong f8f98600d3 Merge pull request #576 from hglkrijger/gh571
add more logging when mount fails
2017-01-26 17:06:45 -08:00
Hans Krijger b3288a9609 add more logging when mount fails 2017-01-26 17:00:15 -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
Yoon Hong 2f8c906868 Merge pull request #568 from jinhyunr/update-makepkg
Update makepkg.py to integrate with EDP
2017-01-20 17:27:30 -08:00
Yoon Hong a67bc54d44 Update makepkg.py to integrate with EDP 2017-01-20 17:06:50 -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 662e66c6c4 handle ExtensionError from decide_version (#563) 2017-01-19 15:59:37 -08:00
Hans Krijger 446b6c7e16 correct mkfile size check (#562) 2017-01-19 13:59:45 -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
Yoon Hong 509b8ddb37 Merge pull request #552 from jinhyunr/sysinfo
Instead of adding values in sysinfo directly to event, if a value
2017-01-17 14:02:31 -08:00
Yoon Hong ed240322e7 Refactor add_sysinfo() for better readability 2017-01-17 11:21:15 -08:00
brendandixon 78348197e7 Merge pull request #553 from Azure/pr-preferred-typo
Typo is log message
2017-01-17 10:09:21 -08:00
Christopher Boumenot bd335f1f25 Typo is log message
prefered -> preferred
2017-01-16 00:46:10 -08:00
Yoon Hong 9d04814ce2 Instead of adding values in sysinfo directly to event, if a value
already exist in the event, overwrite it to prevent duplicates.

This fixes #520.
2017-01-13 18:56:47 -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 960d64ae44 Merge pull request #537 from jinhyunr/fix_password_encoding
Fix password encrypting failure in python 2.* (#516)
2017-01-10 10:41:39 -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
Yoon Hong e0eb4c9d4f Fix file not found issue 2017-01-04 21:14:18 -08:00
Yoon Hong ba59e7c450 Fix password encrypting failure in python 2.* (#516) 2017-01-04 17:56:32 -08:00
Robert Schweikert cc84497511 - Handle interrupt signal (#524)
+ Proper number of arguments for handler, fixes #521
  + Do not interrupt once we are running to avoid leaving the system in an
    indeterminate state, fixes #515
2017-01-04 10:30:45 -08:00
ccic cb9c20f6a1 fix the issues for mounting resourcedisk (#517) 2016-12-14 11:36:39 -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
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
Yoon Hong 84f41eb73c Add more logging to prevent unnecessary confusion in case of sfdisk --part-type failure (#478) (#509) 2016-12-08 11:26:02 -08:00
Long Li 7d9749c122 Don't write IP/MAC to device running newer RDMA driver version 4.1 or newer (#508) 2016-12-08 10:44:23 -08:00
Yoon Hong ab717b5d7c Fix resource disk partition format detection (#478) (#501) 2016-12-06 14:30:15 -08:00