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 1700528 - NetworkManager fails to activate profile on newer CentOS 7 docker image
Summary: NetworkManager fails to activate profile on newer CentOS 7 docker image
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: NetworkManager Development Team
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-16 19:56 UTC by Till Maas
Modified: 2021-04-26 19:41 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-18 15:21:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
NetworkManager trace log for tests_ethernet_other_provider.yml (50.37 KB, text/plain)
2019-04-16 19:56 UTC, Till Maas
no flags Details
NM trace for tests_bridge_other_provider (50.38 KB, text/plain)
2019-04-16 20:08 UTC, Till Maas
no flags Details

Description Till Maas 2019-04-16 19:56:06 UTC
Created attachment 1555647 [details]
NetworkManager trace log for tests_ethernet_other_provider.yml

Description of problem:
Running a test from the network rhel system role fails:


TEST_DEBUG=1 TEST_DOCKER_EXTRA_ARGS="-it --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro" TEST_SUBJECTS=docker:vcrhonek/centos7-systemd  ansible-playbook -i $HOME/standard-test-roles/inventory/standard-inventory-docker  tests/helpers/nm-trace-logging.yml 
tests/tests_ethernet_other_provider.yml

TASK [linux-system-roles.network : Configure networking connection profiles] ********************************************************************************
 [WARNING]: [003] <info>  #0, state:up persistent_state:present, 'lsr27': add connection lsr27, 3e16a8fc-ce03-4516-9ac5-9edc055db42f

 [WARNING]: [004] <info>  #0, state:up persistent_state:present, 'lsr27': up connection lsr27, 3e16a8fc-ce03-4516-9ac5-9edc055db42f (not-active)

 [WARNING]: [005] <error> #0, state:up persistent_state:present, 'lsr27': up connection failed: failure to activate connection: nm-manager-error-quark: No
suitable device found for this connection. (3)

fatal: [924faf51e3e54e52d7de64fe0ac25a1ff76fc2cedeb01a2a7bae0a6f40e96224]: FAILED! => {"changed": true, "msg": "error: up connection failed: failure to activate connection: nm-manager-error-quark: No suitable device found for this connection. (3)"}
	to retry, use: --limit @/home/vagrant/network-lsr/tests/tests_ethernet_other_provider.retry


It works with this (older) docker image:
docker.io/milcom/centos7-systemd     latest              97819b9ad572        12 months ago       202 MB


How reproducible:
always



Additional info:
This was run with https://pagure.io/standard-test-roles/pull-request/332 applied

Trace logging playbook:

cat > 'tests/helpers/nm-trace-logging.yml' <<EOF
# SPDX-License-Identifier: BSD-3-Clause
---
- hosts: all
  tasks:
    - file:
        dest: /etc/NetworkManager/conf.d/
        state: directory
    - copy:
        dest: /etc/NetworkManager/conf.d/trace-logging.conf
        content: |
          [logging]
          level=TRACE
          domains=ALL
    - service:
        name: NetworkManager
        state: restarted
      ignore_errors: true
EOF

Test playbook: https://github.com/linux-system-roles/network/blob/master/tests/tests_ethernet_other_provider.yml

Comment 2 Till Maas 2019-04-16 20:08:48 UTC
Created attachment 1555660 [details]
NM trace for tests_bridge_other_provider

There is a similar error for the tests_bridge_other_provider.yml playbook


TASK [linux-system-roles.network : Configure networking connection profiles] *****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
 [WARNING]: [003] <info>  #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, f86efeb5-4275-446d-b713-7873114c8dc1

 [WARNING]: [004] <info>  #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, f86efeb5-4275-446d-b713-7873114c8dc1 (not-active)

 [WARNING]: [005] <error> #0, state:up persistent_state:present, 'LSR-TST-br31': up connection failed: failure to activate connection: nm-manager-error-quark: Connection 'LSR-TST-br31' is not available on the device LSR-TST-br31 at this time. (2)

fatal: [0ff2de9b584e0a41bda8f268961723574db41d1a4bcc2c6492908ad2aacd3856]: FAILED! => {"changed": true, "msg": "error: up connection failed: failure to activate connection: nm-manager-error-quark: Connection 'LSR-TST-br31' is not available on the device LSR-TST-br31 at this time. (2)"}

Comment 3 Beniamino Galvani 2019-04-17 07:05:35 UTC
This looks similar to bug 1667874.

Comment 4 Pavel Cahyna 2019-04-17 09:31:42 UTC
jkucera, vcrhonek: haven't you seen something similar as well? IIRC for bond or team devices? https://github.com/linux-system-roles/network/issues/102 looks a bit similar as well.

Comment 6 Beniamino Galvani 2020-03-30 09:53:36 UTC
Hi Till,

this bz could be the same issue as bug 1667874, which is already solved.

Can you confirm whether the problem happens in RHEL 8.2?

Comment 10 Thomas Haller 2021-01-18 15:21:30 UTC
(In reply to Beniamino Galvani from comment #6)
> Hi Till,
> 
> this bz could be the same issue as bug 1667874, which is already solved.
> 
> Can you confirm whether the problem happens in RHEL 8.2?

This is probably fixed. Please reopen if not. Thank you!


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