Bug 1479918

Summary: Patching to RHEL 7.4 results in lost network config
Product: Red Hat CloudForms Management Engine Reporter: Curtis Matthews <cmatthew>
Component: ApplianceAssignee: Joe Vlcek <jvlcek>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: abellott, awestbro, bdunne, bdunn, cmatthew, cpelland, gtanzill, jdeubel, jhardy, jvlcek, mvermaes, obarenbo, rspagnol
Target Milestone: GA   
Target Release: 5.7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-28 13:16: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 Curtis Matthews 2017-08-09 18:20:33 UTC
Description of problem:  Patching appliances (5.7.3.2) to RHEL 7.4 causes the appliances to lose the static network config upon reboot.  No CFME packages were updated with this patch cycle.


Version-Release number of selected component (if applicable):  5.7.3.2


How reproducible:  Every time


Steps to Reproduce:
1.  yum update
2.  reboot
3.

Actual results:  Update completes successfully.  Entering appliance_console shows correct network configuration prior to reboot.  Reboot reverts system to DHCP.


Expected results:  Update and reboot does not modify the network configuration.


Additional info:  Upon resetting the network configuration, a file is created, /etc/cloud/cloud.cfg.d/99_mig_disable_network_config_change.cfg with the contents of "network: {config: disabled}".  If you manually create this file prior to rebooting, the network config is preserved.

Comment 6 Curtis Matthews 2017-08-14 15:22:24 UTC
Needinfo flag is set but I'm unsure of what is needed.  Please elaborate.

Comment 7 Brandon Dunne 2017-08-15 16:16:20 UTC
The bug was changed to ON_DEV because I was investigating the issue.  I was unable to reproduce the problem, so I added the "needinfo?" and asked if there were any other steps required to reproduce the problem.

Are the network configuration files deleted during the "yum update" or during the reboot?

Comment 10 Curtis Matthews 2017-08-23 03:05:04 UTC
The network configuration survives the yum update and is lost during the reboot.  The cloud-init package is being updated during this upgrade, which I'm guessing is where the issue lies.