Description of problem: Introspection fails as the dhcp-all-interfaces.sh fails to bring up interface. After this failure , link comes up but the interface is never tried for dhcp again after 1st dhcp-all-interfaces.sh script failure. We observed that NetworkManager also does not help in getting a dhcp IP. Version-Release number of selected component (if applicable): RHOS10 ipa images 10.0-20170228.1.el7ost How reproducible: Always on customer env. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The following patch fixed the issue, but i had to increase the retries to 35, as u noticed the link usually took 25-30sec on ens255f0 https://review.openstack.org/#/c/419527/1/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.sh
@Dmitry - yes, a backport is in progress - https://code.engineering.redhat.com/gerrit/#/c/118646/ I'm working with akaris to get more clarification on the long time (25-30 seconds) for link to be detected. That would require another patch to the same code to increase the loop counter.
Created attachment 1329142 [details] ipxe initialising devices
got there with: nova boot --flavor baremetal --nic net-id=<uuid> --image overcloud-full test
Created attachment 1329238 [details] screenshots
Hi, The customer requested that https://review.openstack.org/#/c/419527/1/elements/dhcp-all-interfaces/install.d/dhcp-all-interfaces.sh PLUS an increased number of retries be included in their images and shipped as a fix. "but 20 retries didnt help . i noticed link up takes 25-35 sec." I don't know how realistic that is?
Thanks Andreas. The backport for the carrier check is in progress -https://code.engineering.redhat.com/gerrit/#/c/118646/ We'd prefer not to make the second change to increase the timeout as this can have an affect on all deployments, especially if there are servers with unconnected NICs.
*** Bug 1320034 has been marked as a duplicate of this bug. ***
Moving this to POST as fix has merged. Per discussion at GSS weekly meeting, the change to increase the time-out for nics will not be made.
Pablo/Jaison - I don't think you need a hotfix to test out this change as its available here - https://errata.devel.redhat.com/advisory/32371/builds as part of the OSP-10z7 build. The pkg is diskimage-builder-1.26.1-2.el7ost.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0365