Bug 2065644

Summary: Snapshot rollbacks external connections in NetworkManager
Product: Red Hat Enterprise Linux 8 Reporter: Filip Pokryvka <fpokryvk>
Component: NetworkManagerAssignee: NetworkManager Development Team <nm-team>
Status: CLOSED MIGRATED QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: bgalvani, lrintel, rkhan, sfaye, sukulkar, till
Target Milestone: rcKeywords: MigratedToJIRA, Triaged
Target Release: ---   
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: 2023-08-16 19:42:27 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 Filip Pokryvka 2022-03-18 11:57:30 UTC
Description of problem:
When device is managed by NetworkManager but connected externally, doing snapshot and rollback makes the external connection permanent and unused.

Version-Release number of selected component (if applicable):
1.36.0-2.el8

How reproducible:
always

Steps to Reproduce:
1. change lines in libnm_snapshot_reattach_unmanaged_ports_to_bridge setting ports to "managed yes"
2. run the test

Actual results:
After the test, there are connections portXb and portXc.

Expected results:
Connection portXb and portXc should not become persistent.

Additional info:
see "Status After Clean" in this report https://tools.dqe.lab.eng.bos.redhat.com/fpokryvk/reports/report_NetworkManager-ci_Test0_libnm_snapshot_reattach_unmanaged_ports_to_bridge_managed_yes.html