Bug 2182029

Summary: messagebus not available for teamd start - Error message content: "The name org.libteam.teamd.nm-team was not provided by any .service files"
Product: Red Hat Enterprise Linux 8 Reporter: Anthony Hogbin <ahogbin>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: VERIFIED --- QA Contact: Matej Berezny <mberezny>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.7CC: bgalvani, ferferna, lrintel, mberezny, network-qe, pdwyer, rkhan, sfaye, sukulkar, till, vbenes
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: NetworkManager-1.40.16-5.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Anthony Hogbin 2023-03-27 10:53:26 UTC
## Description of problem:
 - Error being thrown in logging while booting
 - "libteamdctl: cli_dbus_check_error_msg: dbus: Error message content: "The name org.libteam.teamd.nm-team was not provided by any .service files"
 - dbus, team, interface, all working without issue once booted.


## Version-Release number of selected component (if applicable):
 - RHEL 8.7


## How reproducible:
 - Every time.


## Steps to Reproduce:
 1. Add team device to vanilla install;
 2. Reboot;
 3. Check logs.


## Actual results:
~~~
  Mar 27 10:46:37 rhel8-7.home NetworkManager[950]: libteamdctl: cli_dbus_check_error_msg: dbus: Error message received: "org.freedesktop.DBus.Error.ServiceUnknown"
  Mar 27 10:46:37 rhel8-7.home NetworkManager[950]: libteamdctl: cli_dbus_check_error_msg: dbus: Error message content: "The name org.libteam.teamd.nm-team was not provided by any .service files"
  Mar 27 10:46:37 rhel8-7.home NetworkManager[950]: libteamdctl: teamdctl_connect: Failed to connect using CLI "dbus".
  Mar 27 10:46:37 rhel8-7.home NetworkManager[950]: libteamdctl: teamdctl_connect: Failed to connect using all CLIs.
~~~


## Expected results:
 - No Errors being thrown.


## Additional info:
 - Looks very similar to https://access.redhat.com/solutions/107183 | Login to the server gives error "org.freedesktop.DBus.Error.ServiceUnknown: The name com.redhat.oddjob was not provided by any .service files"

 - **New behaviour** - this was not occurring in RHEL 8.6.

Comment 3 Beniamino Galvani 2023-04-26 15:55:11 UTC
> Hi, Beniamino, can you please take a look at this in NM?

Hi, the problem seems to be that NM tries to create a generated connection reading the teamd configuration even if teamd is not running.

It is a bug that an error message gets logged when the interface is brought up successfully; can you please reassign this bz to NetworkManager (unless you think something should be done it libteam)? Thanks.

Since the issue is easily reproducible, I don't think we need more information at this moment.