Execut dhclient command when IPA start

Bug #1739576 reported by yuan liang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ironic-python-agent
Invalid
Undecided
yuan liang

Bug Description

Due to some unknown reason deploy image does not get IP address when start. This will result deploy failed.
In case execut dhclient command when IPA start.

yuan liang (leetpy)
Changed in ironic-python-agent:
assignee: nobody → yuan liang (leetpy)
description: updated
Changed in ironic-python-agent:
status: New → In Progress
Revision history for this message
Dmitry Tantsur (divius) wrote :

I don't quite agree with this. Network configuration vastly differs depending on the way IPA is built. For example, IPA built with diskimage-builder have the dhcp-all-interfaces element included, so all interfaces try to DHCP. Running dhclient may have unpredictable results there. I think it should be solved by every build method separately. Could you please update the bug accordingly?

Changed in ironic-python-agent:
status: In Progress → Incomplete
Revision history for this message
Julia Kreger (juliaashleykreger) wrote :

In a case like rescue, we need to ensure we trigger DHCP for a node upon IPA exit, but that too is ramdisk dependent since the commands and environment vary. I'm -1 to adding code into IPA to attempt to trigger DHCP when the ramdisk could have different constraints.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic-python-agent (master)

Change abandoned by yuan liang (<email address hidden>) on branch: master
Review: https://review.openstack.org/529535

Changed in ironic-python-agent:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.