Commit Graph
13 Commits
Author SHA1 Message Date
Long Li 2d85d4b745 Resolve RDMA module name and attempt to load module on boot
On some distributions (e.g. Ubuntu), RDMA module is defined by alias in modprobed and blacklisted. In this case we need to resolve it to the real module name, and attempt to load module if it's not already loaded.
2017-07-27 19:20:37 +00:00
Long Li 9b7079be76 Fix a reboot issue when updating RDMA driver on ND host update (#594)
* Return failure if module is already loaded at the time of probe

* Return failure when module is not present in lsmod

* CentOS: Reboot the system when newly installed RDMA module fails to probe or load

* SUSE: Reboot the system when newly installed RDMA module fails to probe or load
2017-03-06 10:51:11 -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
Ahmet Alp Balkan 3d1ae37ad6 rdma: reorder device processing steps back to v2.0 2016-08-08 13:10:21 -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
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
Ahmet Alp Balkan 84cf65c3fd fix setup_rdma_device call (#325) 2016-07-14 11:59:14 -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
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
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
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