Fix for issue#574 onie-discovery-stop does not kill the entire discov…#829
Fix for issue#574 onie-discovery-stop does not kill the entire discov…#829sharma-lakesh wants to merge 1 commit intoopencomputeproject:masterfrom
Conversation
…ery process immediately Addition of pkill in discovery stop function is as per the email thread listed in jira. In function config_ethmgmt_fallback, added code to prevent onie from over-riding the user assigned IP address with default one after discovery-stop, as pkill usually takes some time. With these changes, the recommend sequence is: 1. onie-discovery-stop 2. assign manual IP address to management i/f.
|
Hi I tried it using the kvm image build (make MACHINE=kvm_x86_64 all recovery.iso ), set up with the instructions described here: I : Running a 'ps -w' when it is looking for an image to install, shows: and after onie-discovery-stop, both are gone. However: And just to get all the related information in one place: Thanks! |
|
One of essential step to recreate the issue listed here, is to have a system in a network , where DHCP is not enabled. Here are the steps, which matches the logs/sequence listed mail discussion of http://lists.opencompute.org/pipermail/opencompute-onie/2017-August/001497.html
ONIE:/ # onie-discovery-stop ONIE:/ # ifconfig eth0 192.168.1.1
At this point, the manual IP you assigned in step 3 is over-written by default link-local assigned by ONIE discovery process. |
…ery process immediately
Addition of pkill in discovery stop function is as per the email thread listed in jira.
In function config_ethmgmt_fallback, added code to prevent onie from over-riding the user assigned IP
address with default one after discovery-stop, as pkill usually takes some time.
With these changes, the recommend sequence is: