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
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
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
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
41af2e23c8
use dd right away without using fallocate when file system is xfs ( #468 ) ( #502 )
2016-12-06 11:34:20 -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
Douglas Jordan
0c86110b7c
Remove unnecessary sleep and increase poll rate ( #477 )
...
* Remove unnecessary sleep and increase poll rate
* Adds tests for iWorkflow and BIG-IQ
This patch adds remaining tests for iWorkflow and BIG-IQ platforms
* Modifying code to prevent throttling.
2016-11-30 11:38:25 -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
William Douglas
cd2ee7bbb7
Fix resource disk partition format detection ( #478 )
...
With recent versions of sfdisk the -c command is deprecated and
--part-type is recommended to be used instead. This use also requires
the output to be stripped instead of rstripped due to a leading space.
2016-11-18 16:06:42 -08:00
Yoon Hong
c451b3378d
Handle ctrl-c during waagent -deprovision ( #471 ) ( #484 )
2016-11-18 15:58:41 -08:00
Yoon Hong
80eeef5a02
Reduce the logging level to verbose when GoalState is not being processed ( #474 ) ( #483 )
2016-11-18 15:57:45 -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
Brendan Dixon
84d4532558
Correctly handle agent family without package URIs
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-10-25 10:43:00 -07:00
Brendan Dixon
04f3497da1
Improved logging message for dirty termination
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-10-14 10:35: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
Hans Krijger
9131aa7885
replace incorrect call to low() ( #449 )
2016-09-26 16:34:39 -07:00
Hans Krijger
df76fc22a3
log etag once per upgrade
2016-09-26 12:37:43 -07:00
Hans Krijger
03dbf1eeb4
stop repeating logs for extension handling
2016-09-26 12:05:20 -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