Skip to content

CentOS 8 and networking state #54791

Closed
Closed

Description

network.txt

Description of Issue

With latest salstack 2019 i can't find a way to manage networking on CentOS 8 with state.network, maybe because of CentOS8 rely on networkmanager

Setup

sls file attached, but with centos6 and centos7 it work without any issue.

Steps to Reproduce Issue

try to configure networking on CentOS8, no ifcfg-ifname is generated, and network dosen't work after reboot

Versions Report

Salt Version:
Salt: 2019.2.1

Dependency Versions:
cffi: 1.11.5
cherrypy: unknown
dateutil: 2.6.1
docker-py: Not Installed
gitdb: 2.0.3
gitpython: 2.1.11
ioflo: Not Installed
Jinja2: 2.10.1
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.33.0
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.1
mysql-python: Not Installed
pycparser: 2.14
pycrypto: Not Installed
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.6.8 (default, Jul 1 2019, 16:43:04)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 17.0.0
RAET: Not Installed
smmap: 2.0.3
timelib: Not Installed
Tornado: 4.5.2
ZMQ: 4.3.1

System Versions:
dist: centos 8.0.1905 Core
locale: UTF-8
machine: x86_64
release: 4.18.0-80.7.1.el8_0.x86_64
system: Linux
version: CentOS Linux 8.0.1905 Core

Activity

  1. added
    bug
    v2019.2.1
    on Sep 27, 2019
  2. cmcmarrow commented on Sep 27, 2019

    @cmcmarrow
    Contributor

    Debian 10 probably faces this issue as well.

  3. added this to the Approved milestone on Sep 27, 2019
  4. rossengeorgiev commented on Oct 2, 2019

    @rossengeorgiev
    Contributor

    Network scripts are deprecated in Red Hat Enterprise Linux 8 and they are no longer provided by default. The basic installation provides a new version of the ifup and ifdown scripts which call the NetworkManager service through the nmcli tool. In Red Hat Enterprise Linux 8, to run the ifup and the ifdown scripts, NetworkManager must be running.

  5. stale commented on Jan 7, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

  6. rossengeorgiev commented on Jan 8, 2020

    @rossengeorgiev
    Contributor

    🤔

  7. stale commented on Jan 8, 2020

    @stale

    Thank you for updating this issue. It is no longer marked as stale.

  8. removed
    v2019.2.1
    on May 22, 2020
  9. bryceml commented on Jun 9, 2020

    @bryceml
    Contributor

    See related: #55359

  10. 70 remaining items

  11. peterupton commented on Jul 31, 2025

    @peterupton
  12. ggiesen commented on Jul 1, 2026

    @ggiesen
    Contributor

    I've submitted a PR for an implementation if anyone interested would like to test.

  13. twangboy commented on Aug 18, 2026

    @twangboy
    Contributor

    ggiesen's PR has been merged and will be in 3006.28 release of Salt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1ZDbugseverity-high

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions