This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2143587 - DbusConnectionError: org.freedesktop.NetworkManager.PermissionDenied: Authorization request cancelled
Summary: DbusConnectionError: org.freedesktop.NetworkManager.PermissionDenied: Authori...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: NetworkManager
Version: 9.1
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: NetworkManager Development Team
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-17 10:14 UTC by Gris Ge
Modified: 2023-08-17 12:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-17 12:24:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
NetworkManager trace log (1.66 MB, text/plain)
2022-11-17 10:14 UTC, Gris Ge
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-98 0 None None None 2023-01-22 14:14:49 UTC
Red Hat Issue Tracker   RHEL-1437 0 None None None 2023-08-17 12:24:09 UTC
Red Hat Issue Tracker RHELPLAN-139784 0 None None None 2022-11-17 10:20:25 UTC

Description Gris Ge 2022-11-17 10:14:46 UTC
Created attachment 1924955 [details]
NetworkManager trace log

Description of problem:

Got DbusConnectionError: org.freedesktop.NetworkManager.PermissionDenied: Authorization request cancelled

for OVS action.


Version-Release number of selected component (if applicable):
NetworkManager-1.41.4-31395.copr.3b2eb689f3.el9.x86_64

How reproducible:
10% ~ 50%

Steps to Reproduce:

sudo dnf copr enable packit/nmstate-nmstate-2107 -y
sudo dnf install nmstate python3-libnmstate python3-pytest -y
sudo ip netns add tmp
sudo ip link add eth2 type veth peer name eth2peer
sudo ip link add eth1 type veth peer name eth1peer
sudo ip link set eth1 up
sudo ip link set eth2 up
sudo ip link set eth1peer up
sudo ip link set eth2peer up
sudo ip link set eth1peer netns tmp
sudo ip link set eth2peer netns tmp
sudo ip netns exec tmp ip link set eth1peer up
sudo ip netns exec tmp ip link set eth2peer up

sudo nmcli device set eth1 managed yes
sudo nmcli device set eth2 managed yes

git clone https://github.com/nmstate/nmstate.git
cd nmstate/tests/integration
for x in `seq 1 100`; do 
    sudo pytest -vvv -k test_remove_ovs_bridge_ignored_port_keeps_it || break;
done

Actual results:

E           libnmstate.error.NmstateInternalError: DbusConnectionError: org.freedesktop.NetworkManager.PermissionDenied: Authorization request cancelled

Expected results:

No failure

Additional info:

Comment 1 Gris Ge 2022-11-17 10:19:05 UTC
Besides above OVS error. We also see constant failure on veth:

E           libnmstate.error.NmstateInternalError: DbusConnectionError: org.freedesktop.NetworkManager.UnknownDevice: No suitable device found for this connection (device eth0 not available because profile is not compatible with device (mismatching interface name)).


You may try it via `cd cd nmstate/tests/integration; sudo pytest -vvvvv -k veth`

This is low priority, as nmstate will retry on NM failures.


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