Bug 1382653
Summary: | Interfaces configure IP address via DHCP and do not honour the configuration done by os-net-config | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> |
Component: | os-net-config | Assignee: | Dan Sneddon <dsneddon> |
Status: | CLOSED ERRATA | QA Contact: | Omri Hochman <ohochman> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 10.0 (Newton) | CC: | afazekas, astafeye, bfournie, dbecker, dsneddon, dtantsur, hbrock, jcoufal, johfulto, jschluet, jslagle, mburns, mcornea, mkrcmari, morazi, oblaut, rbartal, rhel-osp-director-maint, victor_lowther, yrabl |
Target Milestone: | rc | Keywords: | AutomationBlocker, Regression, Triaged |
Target Release: | 10.0 (Newton) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | os-net-config-5.0.0-5.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-12-14 16:12:38 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marius Cornea
2016-10-07 10:06:30 UTC
After running 'systemctl restart network' the network configuration are correctly applied so maybe we are missing a similar step after the scripts in /etc/sysconfig/network-scripts/ get created by os-net-config? *** Bug 1212532 has been marked as a duplicate of this bug. *** I have confirmed this bug on bare metal. The dhcp-all-interfaces udev rule does get deleted, but the dhclient process remains running even afterward. I think this is related to RHEL 7.3. I haven't noticed any ill effects from this behavior, were there any side-effects observed from this, or is it mostly cosmetic? IIRC it also affected the installed routes on the system so the default route was set via DHCP instead of static as defined in the nic template. I'd have to reproduce it on a system to be 100% sure though. (In reply to Marius Cornea from comment #5) > IIRC it also affected the installed routes on the system so the default > route was set via DHCP instead of static as defined in the nic template. I'd > have to reproduce it on a system to be 100% sure though. Yes, that makes sense. Unfortunately, routes learned through DHCP are favored over static routes. This will require some more investigation and testing. Upstream patch proposed here - https://review.openstack.org/#/c/396446/. The upstream patch should address this issue. The patch will add a step to os-net-config after the interfaces and bridges have been brought up, that will check to see if there is a PID file for dhclient on any interfaces that have been configured with static or no IP address. That will remove the dynamic IP and route from the interface. removing tracker for master 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://rhn.redhat.com/errata/RHEA-2016-2948.html |