2018-09-05 19:34:20 |
Maciej Naruszewicz |
description |
Some of our servers have 4/6 interfaces connected to the switches and they fail to submit LLDP information. After some lecture of the code I found a comment suggesting that an empty list returned from select means a timeout on all interfaces (https://github.com/openstack/ironic-python-agent/blob/d0092633498c6611f5419d5b832042d57d344c8f/ironic_python_agent/netutils.py#L175). However, select's documentation claims that "When the time-out is reached without a file descriptor becoming ready, three empty lists are returned." |
Some of our servers have 4/6 interfaces connected to the switches and they fail to submit LLDP information during inspection (i.e. baremetal ports are created but without any data in local link connection field). After some lecture of the code I found a comment suggesting that an empty list returned from select means a timeout on all interfaces (https://github.com/openstack/ironic-python-agent/blob/d0092633498c6611f5419d5b832042d57d344c8f/ironic_python_agent/netutils.py#L175). However, select's documentation claims that "When the time-out is reached without a file descriptor becoming ready, three empty lists are returned." |
|