Commit Graph
240 Commits
Author SHA1 Message Date
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 6c3d49e7fa Merge pull request #831 from hglkrijger/master
add a unit test for sriov
2017-08-03 14:41:44 -07:00
Hans Krijger 9dd08e39c5 add a unit test for sriov 2017-08-03 12:49:52 -07: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
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
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
Brendan Dixon 8530016e71 Make version recognition more flexible
Report pre-provisioned VMs as ready
Reworked optional agent support

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-06-29 16:01:25 -07:00
Brendan Dixon 92dd1c3118 [#777] -- Deprovisioning when VM identifier changes is too aggressive
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-06-21 16:11:34 -07:00
Brendan Dixon eb3662e0e1 [#769] -- HostGAPlugin requests should never go through proxy
[#764] -- waagent -configuration-path:/path -start not take effect
[#761] -- MetadataProtocol has no client object
[#757] -- deprovision is executed even if input 'n'
[#754] -- /etc/resolv.conf is removed if create a VM base on an specialized image
[#746] -- Agent WALinuxAgent-2.2.12 is blacklisted - skipping download
[#740] -- Duplicate logging on RHEL/CentOS

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-06-21 13:41:05 -07:00
Hans Krijger ee88936d82 remove admin access requirement from AzureStack 2017-06-07 12:02:58 -07:00
Hans Krijger 902e71b22e ignore encoding errors when reading error response; new unit test (#748) 2017-06-07 11:39:28 -07:00
Brendan Dixon 648ef47950 v2.2.12
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-25 12:29:29 -07:00
Brendan Dixon 90cf4f680f [#711] -- There are too many log print to /var/log/waagent.log
[#714] -- Questionable split call in common/conf.py
[#717] -- Remove extension logs during deprovision
[#720] -- Reset of RDMA drivers not taking effect
[#724] -- Location of configuration file should be editable issue

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-23 15:45:33 -07:00
Brendan Dixon 8c7eaf9007 [#721] -- WALA deprovision process not clean up all cloudinit files
[#725] -- v2.2.11 can throw unexpected exceptions on provisioned VMs
[#727] -- v2.2.11 cannot update status for RDFE VMs

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-23 11:23:05 -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
brendandixon 5c90636dd8 Added Provisioning telemetry duration (#702)
Correctly handle cleaning directories that include symlinks
Reduced polling interval #701
Enable selective agent testing
Improved FIPS configuration variable name
Reduced cloud-init files removed on deprovision #631

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-08 16:27:56 -07:00
brendandixon 3e77d7daf9 Correct HandlerState status check (#699) and clean-up reported events (#700)
Add GoalState telemetry (#470)

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-04 15:06:18 -07:00
Brendan Dixon c115a7a410 Deprovision cloud-init data (#631)
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-03 16:15:10 -07:00
Brendan Dixon 89c6d2829f Remove status blob HEAD request (#694)
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-03 14:55:44 -07:00
Brendan Dixon b4b3bedfff Removed unnecessary directories and files #693
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-03 13:51:38 -07:00
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
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
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
brendandixon 0e6c66f455 Fix for #667 (#669)
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-04-17 12:20:15 -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 8ed38f4e91 Add telemetry for put status failures (#647)
* initial commit

* unit test fix
2017-04-04 11:32:52 -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
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 e4dc8ced1b ensure hostplugin fails gracefully (#602) 2017-03-06 10:51:26 -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 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 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 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 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
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
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 ab717b5d7c Fix resource disk partition format detection (#478) (#501) 2016-12-06 14:30:15 -08:00
Hans Krijger 92fe3f2bcb Host plugin updates (#505)
* fetch manifests and packages via host plugin channel when initial download fails

* emit a telemetry event to determine if blob type matches
2016-12-06 14:29:19 -08:00
Yoon Hong 41af2e23c8 use dd right away without using fallocate when file system is xfs (#468) (#502) 2016-12-06 11:34:20 -08:00