Skip to content

Conversation

dletai
Copy link

@dletai dletai commented Sep 7, 2015

2 changes:

  1. inserted IB_PORTS[port_lid} into try, as port_lid might not be defined otherwise
  2. if some of the ports are inactive (no cable connected), perfquery will not show them at all, but /sys/class/infiniband will recurse through them and during update_metrics bomb out.
    unconnected ports have lid '0' so bypass these ports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant