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 - pytest failed when running with nm providers in the rhel-8.5 beaker machine
Summary: pytest failed when running with nm providers in the rhel-8.5 beaker machine
Keywords:
Status: CLOSED DUPLICATE of bug 2065217
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: David Jež
URL:
Whiteboard: role:network
Depends On:
Blocks: 2064396 2064401
TreeView+ depends on / blocked
 
Reported: 2022-03-09 22:40 UTC by Wen Liang
Modified: 2022-04-27 22:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2064396 (view as bug list)
Environment:
Last Closed: 2022-04-27 22:49:01 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles network pull 473 0 None open Remove connection profile before running pytest 2022-03-09 22:45:21 UTC
Red Hat Issue Tracker RHELPLAN-115087 0 None None None 2022-03-09 22:42:45 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.