commit b536fbba616d958e58b110c8f86ea569f8834d7c
Author: Sam Betts <email address hidden>
Date: Wed Feb 15 16:31:33 2017 +0000
[LLDP] Skip NICs that say they are ready but are unreadable.
While listening for LLDP packets, if one of the sockets marks itself as
ready to read then our code will try to read data from that socket, but
if something goes wrong while reading that data then it causes IPA to
raise out of the loop skipping any other of the other NICs which might
have worked. This patch adds code to catch and LOG any exception that is
raised while we are trying to read data from one of the sockets so that
we can proceed to process all the NICs.
Reviewed: https:/ /review. openstack. org/434385 /git.openstack. org/cgit/ openstack/ ironic- python- agent/commit/ ?id=b536fbba616 d958e58b110c8f8 6ea569f8834d7c
Committed: https:/
Submitter: Zuul
Branch: master
commit b536fbba616d958 e58b110c8f86ea5 69f8834d7c
Author: Sam Betts <email address hidden>
Date: Wed Feb 15 16:31:33 2017 +0000
[LLDP] Skip NICs that say they are ready but are unreadable.
While listening for LLDP packets, if one of the sockets marks itself as
ready to read then our code will try to read data from that socket, but
if something goes wrong while reading that data then it causes IPA to
raise out of the loop skipping any other of the other NICs which might
have worked. This patch adds code to catch and LOG any exception that is
raised while we are trying to read data from one of the sockets so that
we can proceed to process all the NICs.
Change-Id: I8546097f5ae237 55a5fdb44890200 7a2d823b7bf
Closes-Bug: #1665025