Bug 1880420
| Summary: | Activation got error nm-manager-error-quark: Authorization request cancelled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Gris Ge <fge> | ||||
| Component: | NetworkManager | Assignee: | NetworkManager Development Team <nm-team> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Desktop QE <desktop-qa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 8.4 | CC: | acardace, atragler, bgalvani, lrintel, rkhan, sukulkar, till | ||||
| Target Milestone: | rc | Keywords: | Triaged | ||||
| Target Release: | 8.4 | Flags: | pm-rhel:
mirror+
|
||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-03-03 05:04:52 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: | 1738136 | ||||||
| Attachments: |
|
||||||
Created attachment 1715372 [details]
System logs with NM trace enabled
Gris can you reproduce this on RHEL (using podman)? Hi Antonio, I have reproduced this issue __without__ using any container with 50% chance. Upstream of nmstate is changing a lot recently. Will provide a simpler reproducer Nmstate is not using retry on activation failures which does not facing any issue on this. Closing |
Description of problem: Nmstate CI test reported failure on `test_bond_mac_restriction_in_desire_mac_in_current` test case: failed: error=nm-manager-error-quark: Authorization request cancelled Version-Release number of selected component (if applicable): NetworkManager-1.26.0-2.el8.x86_64 How reproducible: 50% Steps to Reproduce: 1. This can only be reproduced on Ubuntu using docker. 2. Install a Ubuntu 20.04 LTS with docker installed. 3. Run these commands: CONTAINER_ID=` sudo docker run --privileged -d \ -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ nmstate/centos8-nmstate-dev` sudo docker exec -i $CONTAINER_ID \ /bin/bash -c \ 'while ! systemctl is-active dbus; do sleep 1; done' sudo docker exec -i $CONTAINER_ID \ /bin/bash -c \ 'systemctl start systemd-udevd; while ! systemctl is-active systemd-udevd; do sleep 1; done' sudo docker exec -i $CONTAINER_ID \ /bin/bash -c \ 'systemctl restart NetworkManager; while ! systemctl is-active NetworkManager; do sleep 1; done' sudo docker exec -it $CONTAINER_ID /bin/bash 4. Run these commands in side of container: cd /root git clone https://github.com/nmstate/nmstate.git export PYTHONPATH=/root/nmstate cd nmstate sed -i -e 's/nmdev:/nmdev and not nm_profile.nmdev.get_managed():/' \ libnmstate/nm/device.py cd tests/integration/ ip netns add tmp ip link add eth1 type veth peer name eth1peer ip link add eth2 type veth peer name eth2peer ip link set eth1 up ip link set eth2 up ip link set eth1peer netns tmp ip link set eth2peer netns tmp ip netns exec tmp ip link set eth1peer up ip netns exec tmp ip link set eth2peer up nmcli device set eth1 managed yes nmcli device set eth2 managed yes pytest -k test_bond_mac_restriction_in_desire_mac_in_current Actual results: E libnmstate.error.NmstateLibnmError: Activate profile uuid:5492f824-85ae-4344-b915-fe9e2b98a7ba id:bond99 failed: error=nm-manager-error-quark: Authorization request cancelled (1) ../../libnmstate/nm/context.py:216: NmstateLibnmError Expected results: No failure. Additional info: