Hans Krijger
5478172403
correctly delete /etc/resolv.conf during deprovisioning; add unit tests
2016-08-08 16:46:54 -07:00
Ahmet Alp Balkan
3d1ae37ad6
rdma: reorder device processing steps back to v2.0
2016-08-08 13:10:21 -07:00
Hans Krijger
a936a7a439
correct logic for dd fallback
2016-08-08 12:19:55 -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
edneville
e8c641f726
Set the umask prior to file creation ( #315 )
...
* Set the umask prior to file creation
* Set umask prior to file creation
2016-07-20 10:35:22 -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
Brendan Dixon
f3587a31e7
Improved tracking successful agent enablement and fix #319
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-13 13:25:46 -07:00
Hans Krijger
9930df6600
update the agent version to 2.1.5.rc6 ( #318 )
2016-07-12 22:22:26 -07:00
brendandixon
7c8f681b29
Fix #297 and signal forwarding recursion ( #317 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-12 16:03:31 -07:00
Hans Krijger
2455e86bc0
fix minor typos ( #313 )
2016-07-11 17:46:45 -07:00
brendandixon
2e004ae794
Increment RC and ensure running agent is not deleted ( #312 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-11 12:46:15 -07:00
brendandixon
d5b279c838
Merge pull request #310 from brendandixon/nocycle
...
Prevent cycling agent
2016-07-11 11:06:57 -07:00
Brendan Dixon
1f49b244e9
Prevent cycling agent
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-08 18:20:50 -07:00
Hans Krijger
bda4e61b41
Explicitly specify enable timeout as 5m ( #303 )
...
* Explicitly specify enable timeout as 5m
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com >
* fix unit tests
2016-07-08 17:15:31 -07:00
Brendan Dixon
b9d85179d0
Fix #306 and #307
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-08 15:33:11 -07:00
Brendan Dixon
00aa43ab83
Moved environment monitoring and event collection into child process
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-08 15:26:52 -07:00
Brendan Dixon
a7364c801b
Added package building script
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-08 08:58:42 -07:00
Hans Krijger
a48d80db1d
update agent version to 2.1.5.rc4 ( #302 )
2016-07-07 21:33:06 -07:00
Ahmet Alp Balkan
1330c066dc
dhcp: use dhclient caches in centos 6.x/7.x ( #298 )
2016-07-07 11:33:13 -07:00
Brendan Dixon
fca4fa78fb
Improved telemetry and enabled re-spawning of child process
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-07 09:46:48 -07:00
Brendan Dixon
feb1d7b621
Corrected self-update to preserve errors and improved telemetry ( #290 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-07-06 15:33:21 -07:00
Ahmet Alp Balkan
b7991585d7
Move RDMA pkg installation after provisioning ( #288 )
...
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com >
2016-07-06 11:18:00 -07:00
Hans Krijger
74ffd41bb1
do not try encode None, always return a string from get_primary_interface ( #287 )
2016-07-01 09:00:38 -07:00
Hans Krijger
9f88b554c8
update the agent version to 2.1.5.rc3 ( #286 )
2016-06-30 13:15:12 -07:00
brendandixon
5f88003a64
Reduce chatty logs #275 ( #284 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-29 14:56:54 -07:00
Brendan Dixon
101bd74eb0
Ensure child process is terminated - #272
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-29 11:56:52 -07:00
Brendan Dixon
3b1d3c9ed0
Correct leaked child process - #272
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-29 11:26:05 -07:00
brendandixon
8ab1f4926a
Reduce chatty logs #275 ( #280 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-29 11:21:01 -07:00
Brendan Dixon
44b33123b0
Forward SIGTERM to spawned child process
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-28 15:52:49 -07:00
Brendan Dixon
20020aea05
Improved download process and ensured output is not buffered
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-28 15:42:12 -07:00
Hans Krijger
5091ccd87a
Update version to 2.1.5.rc2 ( #273 )
...
* update agent version to 2.1.5.rc1
2016-06-28 12:19:14 -07:00
Ahmet Alp Balkan
24a42455a1
rdma: CentOS RDMA package handler ( #266 )
...
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com >
2016-06-28 12:01:13 -07:00
Ahmet Alp Balkan
79f78344b6
Update RDMA IB interface from SharedConfig ( #259 )
...
* Update RDMA IB interface from SharedConfig
* wire.py: write_ip_on_rdma → setup_rdma_dev
* rdma.py: rearrange update_dat_conf
* rdma.py: rename a few identifier
* rdma.py: make wait device logs verbose
* rdma: rebase resolve conflicts
* rdma: move setting up device outside the goal state loop
* Typo fix
2016-06-28 12:00:53 -07:00
Hans Krijger
028a77f3b4
Dhcp caching ( #271 )
...
* fix bug in cache lookup logic; allow skipping the cache in failure mode
* code review feedback
2016-06-28 11:12:51 -07:00
brendandixon
f44bbce877
Correct overlapping processes ( #270 )
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-27 13:14:36 -07:00
Ahmet Alp Balkan
ff2a38b233
Add more logs to RDMA drivers ( #261 )
...
* Add more logs to default/rdma.py
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com >
* Add more logs to distro/suse/rdma.py
2016-06-24 15:59:01 -07:00
Ahmet Alp Balkan
21171899e5
rdma: make RDMAHander.__get_rdma_version static ( #262 )
2016-06-24 15:58:54 -07:00
brendandixon
3d30fdd63e
Merge pull request #265 from brendandixon/develop
...
Converted update process to rely on HandlerManifest
2016-06-24 14:35:59 -07:00
Hans Krijger
d074b669d9
Remove call to grep ( #264 )
...
* pep8 formatting
* ignore the return code for grep check
* code review feedback
2016-06-24 14:17:47 -07:00
Brendan Dixon
1afa6a199c
Converted update process to rely on HandlerManifest
...
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-24 13:16:11 -07:00
Brendan Dixon
2c44b88946
Corrected extension version selection and stdout/stderr redirection
...
Corrects extension version selection (issue #238 ).
Corrects hanlding of stdout / stderr (issue #260 ).
Signed-off-by: Brendan Dixon <brendand@microsoft.com >
2016-06-23 14:52:40 -07:00
Robert Schweikert
e821b4c71a
Integrate RDMA handling ( #255 )
...
* - Integrate RDMA handling
* - RDMA Integration
+ Fix syntax errors
+ Use the full distro name to differentiate properly between openSUSE
(which has currently no RDMA driver build) and SLES
* - RDMA integration
+ Do not stop the execution of the agent work flow by throwing an
exception if the RDMA handler is not specialized. Simply log an error
to indicate that the handler is not supported although it has been
configured with OS.EnableRDMA=y. The configuration in this case is in
error.
* - RDMA integration
+ Document he new OS.EnableRDMA configuration setting
2016-06-22 14:10:14 -07:00
Hans Krijger
d88231c12b
update heartbeat to 30 minutes, formatting fixes ( #257 )
2016-06-22 13:34:41 -07:00
Ahmet Alp Balkan
b999830d82
Fix variable name typo ( #256 )
2016-06-22 11:05:49 -07:00
Hans Krijger
97cdc3e628
update the agent version to 2.1.5.rc0 ( #251 )
2016-06-21 15:11:47 -07:00