Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2062494

Summary: pytest failed when running with nm providers in the rhel-8.5 beaker machine
Product: Red Hat Enterprise Linux 8 Reporter: Wen Liang <wenliang>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED DUPLICATE QA Contact: David Jež <djez>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: djez, nhosoi, spetrosi
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:network
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2064396 (view as bug list) Environment:
Last Closed: 2022-04-27 22:49:01 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: 2064396, 2064401    

Description Wen Liang 2022-03-09 22:40:47 UTC
Description of problem:

```error
ansible_collections.redhat.rhel_system_roles.plugins.module_utils.network_lsr.myerror.MyError: failure to activate connection: nm-manager-error-quark: No suitable device found for this connection (device enp0s1 not available because profile is not compatible with device (mismatching interface name)). 
```

https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2022/02/63394/6339461/11521985/140366957/SYSTEM-ROLE-network_tests_integration_pytest.yml-collections-ANSIBLE-2.log


Running the pytest with nm provider failed in the downstream testing
because the "NM_CONTROLLED=no" appeared in
/etc/sysconfig/network-scripts/ifcfg-testeth which caused the veth
testeth strictly unmanaged by NetworkManager. 



Steps to Reproduce:
1. Running the integration test `./tests/tests_integration_pytest.yml` against a rhel-8.5 beaker machine 
`TEST_DEBUG=1  ansible-playbook -v -i inventory.ini  ./tests/tests_integration_pytest.yml`


Actual results:
Running the pytest with nm provider failed. 

Expected results:
Running the pytest with nm provider should not failed.

Comment 7 Rich Megginson 2022-04-27 22:49:01 UTC

*** This bug has been marked as a duplicate of bug 2065217 ***