Commit Graph
1125 Commits
Author SHA1 Message Date
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
brendandixon 0726cf9d3d Merge pull request #698 from brendandixon/master
Deprovision cloud-init data (#631)
2017-05-04 11:56:58 -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
brendandixon e221a17433 Merge pull request #697 from brendandixon/master
Remove status blob HEAD request (#694)
2017-05-03 15:44:37 -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
brendandixon 87eb0814e4 Merge pull request #696 from brendandixon/master
Removed unnecessary directories and files #693
2017-05-03 13:56:52 -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
brendandixon 9828480d63 Merge pull request #695 from hglkrijger/udev-fix
Ensure all udev rules are copied in Ubuntu
2017-05-03 13:07:10 -07:00
Hans Krijger 0a85b3effd fix setup for udev rules in ubuntu 2017-05-03 12:49:15 -07:00
brendandixon 971e9085c4 Merge pull request #692 from brendandixon/master
Addressed issues #687, #604, and #531
2017-05-02 13:36:39 -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
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
brendandixon c2ca938ff5 Merge pull request #691 from brendandixon/master
Limit life of transport certificate to two-years
2017-05-01 16:30:38 -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
brendandixon 955b532504 Merge pull request #690 from brendandixon/master
Enabled FIPS support and address #668.
Support mixed case hostnames on RedHat #686.
2017-05-01 15:04:38 -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
brendandixon aff2499721 Merge pull request #683 from brendandixon/master
Added auto-update support for Azure Stack (#518)
2017-05-01 14:43:20 -07:00
Brendan Dixon 4769a095d1 Merge remote-tracking branch 'upstream/master' 2017-05-01 14:38:38 -07:00
brendandixon ba35b342e0 Merge pull request #685 from jgreat/mkfs-options-order
Change option order for mkfs. Alpine is being picky
2017-05-01 14:13:23 -07:00
jgreat 5e64b3dfa4 change option order for mkfs. Alpine is being picky 2017-04-29 17:17:53 -05: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 a3b152489d clean up extension directories without status (#675)
* additional logging for extension status

* cleanup extension directories without a valid status
2017-04-18 16:32:22 -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 9ca715cfb0 Override decode custom data (#674)
* update agent to 2.2.9

* override decode custom data when execute enabled
2017-04-18 12:34:33 -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
brendandixon 0e6c66f455 Fix for #667 (#669)
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-04-17 12:20:15 -07:00
Hans Krijger e85bebadc6 do not log keygen errors in ubuntu since we retry (#666) 2017-04-12 13:54:25 -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 8b463d749e fix the rdma package pattern match (#648) 2017-04-04 11:32:33 -07:00
Hans Krijger 1f89a35b4b clean up extension logging (#646) 2017-04-03 14:38:33 -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 fe08ef1213 reduce logging (#645) 2017-04-03 14:26:38 -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
Brent Baude c6704cbad8 Pass environment variables to subprocesses (#635)
In cases where subprocesses are used to call python processes
it would be helpful to pass on the environment variables used for
the agent itself.  In particular, this is helpful for running
extensions from the agent in system containers.
2017-03-31 14:16:18 -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
Stephen A. Zarkos 3ce1e3fdde Improve RDMA package version matching (#634)
* Fix RDMA package version matching

The pattern matching for the RPM naming is too strict:
- We actually have a 4.1.3.2 bugfix release now, but pattern only allows
3-digit naming
- We may have multi-digit version numbers in the future

* Fix RDMA update regex as well
2017-03-31 11:20:24 -07:00
Vitaly Kuznetsov 7537e51f00 Fix issues with resource disk mount (#600) (#629)
* Check mount output to detect already mounted resource disk (#600)

mount(8) returns '32' in a variety of cases, we need to check the output
to be sure the resource disk is already mounted.

* Pass '-n' to sfdisk when not writing

Some old versions of sfdisk(8) will open block device in O_RDWR mode regardless
of the face that we're actually just querying partition type and not changing
it and if device is opened in this mode it will trigger partition rescan when
it is closed. This creates a race as partitions (/dev/sd*) will be going away
and re-appear later. Specify '-n' to indicate no write is required, sfdisk(8)
always opens the device in O_RDONLY now.

* Re-read partition table after changing partition type

Some old sfdisk(8) versions don't do syncronious partition re-read after
making changes. The kernel will re-read it anyway in background but this
will cause races with further mkfs as partition devices will be
disappearing. Do explicit partition rescan after we change partition id.
2017-03-31 11:19:28 -07:00
Paul Meyer 882195720b Data disks udev rule (#624)
* Add data disks in udev rules

* identify scsi controllers
2017-03-31 11:18:51 -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 39668a6620 wait for partition before mounting (#613)
* wait for partition before mounting

* correct error thrown when swap size is invalid
2017-03-08 16:01:58 -08:00