Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkManager marks managed interfaces "unmanaged" if they don't have a device specified #1154

Open
3 tasks done
anderbubble opened this issue Mar 25, 2024 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working
Milestone

Comments

@anderbubble
Copy link
Collaborator

Steps to reproduce

  • Define a node in Warewulf with Rocky 9
  • Define network interface without specifying a device
  • Boot the node
  • The interface doesn't come up because NetworkManager sees it as unmanaged

Error message

The interface doesn't come up because NetworkManager sees it as unmanaged.

Information on your system

[janderson@wwctl1 ~]$ wwctl version
wwctl version:	 4.5.x-1
rpc version: apiPrefix:"rc1" apiVersion:"1" warewulfVersion:"4.5.x-1"
[janderson@wwctl1 ~]$ cat /etc/os-release 
NAME="Rocky Linux"
VERSION="9.3 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.3 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.3"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.3"

General information

  • I have run wwctl version and reported the contents of /etc/os-release
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have captured and reported relevant error messages and logs
@anderbubble anderbubble added the bug Something isn't working label Mar 25, 2024
@anderbubble
Copy link
Collaborator Author

anderbubble commented Mar 25, 2024

This was introduced in #1091.

The error is that it only uses device names known to Warewulf to determine which devices are unmanaged.

It should use device names and mac addresses.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-networkmanager-to-ignore-certain-devices_configuring-and-managing-networking

It should also skip when a device (or mac address) is unknown.

@anderbubble anderbubble added this to the v4.6.0 milestone Mar 25, 2024
@anderbubble anderbubble changed the title NetworkManager marks marks managed interfaces "unmanaged" if they don't have a device specified NetworkManager marks managed interfaces "unmanaged" if they don't have a device specified May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant