Commit Graph
256 Commits
Author SHA1 Message Date
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
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
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
Hans Krijger e6006e6d15 support older config values for rdma (#507) 2016-12-06 14:21:01 -08:00
Yoon Hong 314c2c17aa Turn off Overprovisioning feature (#490) (#491) 2016-12-01 18:05:42 -08:00
Yoon Hong abe5357b58 1. Add is_str_none_or_whitespace to textutil for string emptiness check (#487)
2. Update remove_bom to properly handle empty/none/whitespace string
(#486)
3. Update remove_bom to check length of the input
2016-12-01 11:56:38 -08:00
Tim Rupp 94a0b4948b Adds BIG-IP integration to WAAgent
This patch includes the implementation portion of BIG-IP integration
with WAAgent.
2016-11-29 13:16:05 -08:00
nikhilmhatre 1fc2404d5f Fix for certificate download works in AzureStack by saving certificate data as binary file (#496)
* Fix for wrong decoding of certificate recieved from metadata server

* Fixing bug to make sure certificate data is saved as a binary file instead of a text file
2016-11-18 15:54:41 -08:00
Hans Krijger 68a18b35d8 Merge hotfix/2.2.0 back to master (#497)
* Decide version hotfix (#493)

* correct the check for installed version

* add length check to remove_bom

* update version to 2.2.1
2016-11-18 15:54:19 -08:00
brendandixon 5d66b1c923 Merge pull request #480 from nathanleclaire/alpine_restart_if
Add restart_if function for Alpine
2016-11-11 10:54:06 -08:00
Nathan LeClaire 8e4a7db403 Add restart_if function for Alpine
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-11-07 11:45:22 -08:00
Yoon Hong 9656ca2807 Merge pull request #453 from jinhyunr/overProvisioning
PR for #452, Add Overprovisioning support
2016-11-02 10:37:06 -07:00
Tim Rupp e9acec8219 Add version hooks for F5 products
F5's products do not use the common /etc/product-release format for
platform version information. A different method is needed via parsing
the /VERSION file.

I was not sure if /VERSION was too broad of a thing to check for (for
instance if it might crop up in other platforms) so instead I check
for the /shared/vadc which is definitely an F5-ism.

This patch adds a small method to parse the relevant content from that
file and put it in a list that is returned for later use by the rest
of the version.py lib.
2016-10-28 22:23:21 -07:00
William Douglas d4a3226142 Add Clear Linux distro support 2016-10-26 21:12:05 +00:00
Yoon Hong 035bf2bb36 Fix incorrect host_plugin_protocol class var update in wire.py (#452) 2016-10-26 13:16:42 -07:00
Yoon Hong 37fdcb4937 Pass necessary values only to HostPluginProtocol constructor instead of passing in whole goalstate object (#452) 2016-10-26 13:16:42 -07:00
Yoon Hong 34b08320c1 Remove Redundant code in HostPluginProtocol and use call_storage_service for both default protocol and host plugin protocol(#452) 2016-10-26 13:16:42 -07:00
Yoon Hong accbfab9e0 More robust error handling to avoid Agent crash (#452) 2016-10-26 13:16:42 -07:00
Yoon Hong 12ffa9af28 Apply Hans' comments (#452) 2016-10-26 13:16:42 -07:00
Yoon Hong 466f98728a Refactor some logics in wire.py for better isolation (#452) 2016-10-26 13:07:38 -07:00
Yoon Hong d03d92551a Add Overprovisioning support (#452) 2016-10-26 13:07:38 -07: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