86 Commits

Author SHA1 Message Date
William Douglas d4a3226142 Add Clear Linux distro support 2016-10-26 21:12:05 +00:00
Nathan LeClaire ef3d68857c Fix alpine DHCP pid detection (#456)
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-10-05 11:50:32 -07:00
Yoon Hong c3532dd93a Merge pull request #444 from jinhyunr/SecureHostGAConnection
Send additional headers when using HostGAPlugin (#443)
2016-09-30 14:05:03 -07:00
Hans Krijger 1da8e32266 ensure the proxy port is an integer; logging improvements 2016-09-27 15:30:53 -07:00
Yoon Hong 3185c3023a Send whole VM Status json string to HostGAPlugin for status uploading (#443) 2016-09-27 00:26:12 -07:00
Hans Krijger cb2f1d1fda update version to 2.2.0 2016-09-26 17:41:13 -07:00
Yoon Hong 42be001a3a Pass goal_state as an argument when creating HostPluginProtocol (#443) 2016-09-23 20:31:44 -04:00
Hans Krijger 4de1637eec update version for testing (#445) 2016-09-23 14:40:13 -07:00
Yoon Hong 26377e6c96 Send additional headers when using HostGAPlugin (#443) 2016-09-23 15:57:49 -04:00
Hans Krijger ed0f379b89 updating version to 2.1.6.7 for testing (#442) 2016-09-22 14:37:06 -07:00
Hans Krijger 630acd221d update version for testing (#441) 2016-09-21 11:41:56 -07:00
Yoon Hong 93d9105cf4 Merge pull request #437 from jinhyunr/remove_shell
Replace unnecessary shell out logics with python based ones (#232)
2016-09-19 20:54:50 -04:00
Yoon Hong 5576dea216 Replace unnecessary shell out logics with python based ones (#232) 2016-09-16 20:02:43 -04:00
Hans Krijger 51714dd4aa Update version to 2.1.6.5 for test publishing (#435)
* update version to 2.1.6.4 for testing

* updating version to 2.1.6.5
2016-09-16 13:26:55 -07:00
Hans Krijger 99f4cf5bac update version to 2.1.6.4 for testing (#434) 2016-09-16 11:58:15 -07:00
Hans Krijger b824c6cd92 update version for testing (#431) 2016-09-16 09:47:24 -07:00
brendandixon 5f61d6abac Merge pull request #415 from ministat/mount_resource_disk_freebsd
Fix the issue of failing to find resource disk for FreeBSD
2016-09-15 11:18:37 -07:00
brendandixon c3007dddc6 Merge pull request #429 from SRIKKANTH/master
Added storeLocation, storeName properties to Cert class.
2016-09-15 11:17:15 -07:00
brendandixon 92b8abfbf1 Merge pull request #424 from hglkrijger/gh418
Add goal state version info
2016-09-15 11:15:02 -07:00
Srikanth Myakam ca92c4f5ea Added storeLocation, storeName properties to Cert class. 2016-09-15 01:07:35 -07:00
Hans Krijger 4539b6eaaa remove code which disables selinux 2016-09-14 16:41:05 -07:00
Hans Krijger 181f8f6642 fix python 3 unit tests 2016-09-13 16:06:06 -07:00
Srikanth Myakam 7dbe786dd7 Removed unwanted debug messages. (#423) 2016-09-13 15:32:42 -07:00
Hans Krijger bddb239c5f update version to 2.1.6.2 2016-09-13 15:27:36 -07:00
Hans Krijger a2079192ee add current version to --version output 2016-09-13 15:27:36 -07:00
Hans Krijger 220d87cff3 stop pidof from spamming the logs (#421) 2016-09-13 12:18:16 -07:00
Hans Krijger 86afcb05ca Minor fixes (#420)
* pep8 cleanup

* add the disallow_major_upgrade property to ExtHandlerPackage

* initial commit

* minor cleanup
2016-09-13 12:14:50 -07:00
drivelbyday 638dd039ae Update factory.py (#408) 2016-09-08 13:28:14 -07:00
SRIKKANTH 5c0ec65612 Removed unused code and trailing spaces 2016-09-08 11:35:40 -07:00
Hongjiang Zhang a737bfbf84 Fix the issue of failing to find resource disk for FreeBSD
FreeBSD VM gets a UUID from host which informs where resource
disk locates. But that UUID string was not exposed from VM kernel,
as a result, the agent used a hard code "2:1:0" as the location of
resource disk. That should be updated after FreeBSD VM kernel
exposed UUID through "sysctl dev.storvsc" command.

But considering compatible with previous FreeBSD VM, the hard code
logic cannot be removed, and they are left there as a fallback.
2016-09-08 14:23:49 +08:00
SRIKKANTH 80ae8ad656 Metadata certificate download support added. 2016-09-07 14:56:22 -07:00
Hans Krijger 1fa2d965b6 handle wireserver 503s more gracefully (#405) 2016-09-07 08:30:59 -07:00
Hans Krijger b31f2f4517 indenting fix (#407) 2016-09-02 16:10:31 -07:00
Hans Krijger 91d64b5fb9 ensure all calls to call_storage_service use http proxy; pep8 fixes and cleanup (#399) 2016-09-01 16:45:25 -07:00
brendandixon 0c25cc9430 Merge pull request #403 from hglkrijger/gh389
ensure null bytes are not present in shlex input
2016-09-01 09:03:34 -07:00
Hans Krijger f81238cbfb ensure null bytes are not present in shlex input 2016-08-31 15:25:13 -07:00
Kamran Khan 6c536b17f9 Fix issue Azure/WALinuxAgent#388 (#390)
- add missing substatus
- fixes #388
2016-08-30 14:13:12 -07:00
Steven Luther 8b53e8e4b8 Mount Options feature (#346)
* add testing for mountpoint, some refactoring

* fixed double space in mount string

* patch for ConfigProvider

* revert patch to original string.

* update documentation, add 'n' option for mountopts

* remove test argument

* More descriptive description in README, n to None

* minor var name changes for clarity

* spacing, missing self in get_mount_string

* mount_opts to mount_options

* add config option to writtet WaagentConf, minor style changes.

* mount options fix, is not Note

* add self to get_mount_string args

* self to function, not where it's called

* mount_options = output of function, not the function.

* get_mount_string returns with mount options/if not none

* forgot to remove part of the string

* instantiate resource disk handler, get_switch to get in conf.py

* Added config option to waagent.conf

* minor style fixes

* mountOpts is None change, and also added removed variable.

* revert changes to bin/waagent2.0

* reverted waagent2.0 to e8c641f

* config options added
2016-08-26 14:04:20 -07:00
David Michael 902dead2e6 Clean up the CoreOS osutil class (#379)
* osutil/coreos: clean most pylint problems

* osutil/coreos: fix misspelled service name

* osutil/coreos: use systemctl to get the real PID
2016-08-23 12:02:44 -07:00
Hans Krijger 42053d9bbf Host channel fix (#375)
* use the correct data for host channel fallback; adds unit test
adds unit test

* update the agent version to 2.1.6.1
2016-08-18 15:40:31 -07:00
Hans Krijger ae94587069 update version to 2.1.6 (#362)
* update version to 2.1.6

* fix unit test
2016-08-12 16:48:21 -07:00
Hans Krijger de01b303da update agent version to 2.1.5.2 for pre-release testing (#359) 2016-08-11 14:19:47 -07:00
Ahmet Alp Balkan 3d1ae37ad6 rdma: reorder device processing steps back to v2.0 2016-08-08 13:10:21 -07:00
Nathan LeClaire d0e13dcf3c Add supported_dists kwarg to distro detection
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-08-04 15:58:35 -07:00
Ahmet Alp Balkan 6268321550 rdma: log exception thrown in device processing (#344)
Exceptions thrown from rdma processing thread running in
the background were not logged properly.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-07-29 12:26:01 -07:00
Brendan Dixon 40bb31726a Migrated extension state and status back to v2.0.x location
Added restart telemetry
Check if process is orphaned
Ensure orphaned processes complete

Signed-off-by: Brendan Dixon <brendand@microsoft.com>
2016-07-25 12:53:52 -07:00
Ahmet Alp Balkan 54a5b54935 rdma: kvpd install fix for centos (#320)
* rdma/common: add kvpd check

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>

* rdma/centos: install kvpd if missing

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>

* rdma: resequence device operations, add log
2016-07-20 11:32:19 -07:00
Nathan LeClaire 774acbc095 Add Alpine Linux support (#301)
* Add Alpine Linux support

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>

* Update for code review feedback

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-07-20 11:24:59 -07:00
Hans Krijger d2a8ffc92c update the development version to 2.1.5.0 2016-07-15 14:10:13 -07:00
Ahmet Alp Balkan 84cf65c3fd fix setup_rdma_device call (#325) 2016-07-14 11:59:14 -07:00