Skip to content

[Bug]: 3008.3 [ERROR] module 'salt.utils.network' has no attribute 'nm_managed' #70354

Closed

Description

@danielbakken

What happened?

Errors are logged when running salt-call state.test or state.apply on Salt 3008.3 minions:

[ERROR   ] Exception raised when processing __virtual__ function for salt.loaded.int.module.nm_ip. Module will not be loaded: module 'salt.utils.network' has no attribute 'nm_managed'
[WARNING ] salt.loaded.int.module.nm_ip.__virtual__() is wrongly returning `None`. It should either return `True`, `False` or a new name. If you're the developer of the module 'nm_ip', please fix this.

It appears that the nm_managed function is missing from salt.utils.network.

Type of salt install

Official rpm

Major version

3008.x

What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)

rhel-10

salt --versions-report output

Salt Version:
          Salt: 3008.3
 
Python Version:
        Python: 3.14.7 (main, Sep 30 2026, 03:35:11) [GCC 11.2.0]
 
Dependency Versions:
          cffi: 2.0.0
      cherrypy: 18.10.0
  cryptography: 50.0.1
      dateutil: 2.9.0.post0
     docker-py: Not Installed
         gitdb: 4.0.12
     gitpython: 3.2.0
        Jinja2: 3.1.6
       libgit2: Not Installed
  looseversion: 1.3.0
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.2.1
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     packaging: 24.0
     pycparser: 3.00
      pycrypto: Not Installed
  pycryptodome: 3.23.0
        pygit2: Not Installed
  python-gnupg: 0.5.6
        PyYAML: 6.0.3
         PyZMQ: 27.1.0
        relenv: 0.22.27
         smmap: 5.0.2
       timelib: 0.3.0
       Tornado: 6.5.10
           ZMQ: 4.3.5
 
Salt Package Information:
  Package Type: onedir
 
System Versions:
          dist: rhel 10.2 Coughlan
        locale: utf-8
       machine: x86_64
       release: 6.12.0-211.59.1.el10_2.x86_64
        system: Linux
       version: Red Hat Enterprise Linux 10.2 Coughlan

Activity

  1. added
    bug
    on Oct 5, 2026
  2. changed the title [-][Bug]: 3008.3 module 'salt.utils.network' has no attribute 'nm_managed'[/-] [+][Bug]: 3008.3 [ERROR] module 'salt.utils.network' has no attribute 'nm_managed'[/+] on Oct 5, 2026
  3. ysagon commented on Oct 8, 2026

    @ysagon

    Same for me on Rocky 9.8

  4. self-assigned this
    on Oct 8, 2026
  5. added
    severity-medium
    on Oct 21, 2026
  6. added a commit that references this issue on Oct 29, 2026
    69bce4f
  7. added a commit that references this issue on Nov 13, 2026
    b6ff474
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugneeds-triageseverity-medium

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions