Bug 1616014

Summary: split the state setting of the network role into state and persistent_state
Product: Red Hat Enterprise Linux 7 Reporter: Pavel Cahyna <pcahyna>
Component: rhel-system-rolesAssignee: Pavel Cahyna <pcahyna>
Status: CLOSED ERRATA QA Contact: Leos Pol <lpol>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: djez, ovasik, tbowling, till, vcrhonek, vdolezal
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhel-system-roles-1.0-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-21 09:32:58 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:
Bug Depends On:    
Bug Blocks: 1664757    

Description Pavel Cahyna 2018-08-14 17:49:39 UTC
The state setting of network connections confuses two concepts: persistent (on disk) state of the profile and operational state of the interface. It should be split into two orthogonal settings: state with values up and down and persistent_state with present and absent. To some extent persistent_state is analogous to the "enabled" parameter of the service module: https://docs.ansible.com/ansible/latest/modules/service_module.html#service-module

Comment 2 Leos Pol 2018-08-20 07:48:24 UTC
rhel-system-roles-1.0-4.el7:
upstream testsuite manually executed with ansible-2.5.7-1.el7ae and ansible-2.6.2-1.el7ae on x86_64.

Comment 4 errata-xmlrpc 2018-08-21 09:32:58 UTC
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://access.redhat.com/errata/RHEA-2018:2531