Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1693428 - Trying to set a static IP address in Ignition config requires a restart of the machine to apply it.
Summary: Trying to set a static IP address in Ignition config requires a restart of th...
Keywords:
Status: ASSIGNED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RHCOS
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.1.0
Assignee: Steve Milner
QA Contact: Micah Abbott
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-27 19:31 UTC by davis phillips
Modified: 2019-04-16 07:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description davis phillips 2019-03-27 19:31:33 UTC
Description of problem:
Trying to set a static IP address in ingnition config requires a restart of the machine to apply it. 

As per Stephen Lowrie:
The flow should be that networking is brought up inside of the initramfs and the kcmdline args apply, ignition runs and applies down the requested config for the real root, the network is brought down, it pivots from the initramfs to the real root, networking is brought up using the configuration that ignition applied

Version-Release number of selected component (if applicable):
rhcos-410.8.20190326.0-vmware.ova

How reproducible:
Everytime. Apply a file for ifcfg-eth0. The network will be configured after a reboot. 

Steps to Reproduce:
1. Create ifcfg-eth0 in ignition config.
2. Attempt to use that IP.

Actual results:
1. DHCP address is the only response.

Expected results:
Static IP assigned.


Note You need to log in before you can comment on or make changes to this bug.