systemd-networkd is not permanently enabled when the unit is already runtime-enabled
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
kayobe | Status tracked in Dalmatian | |||||
Caracal |
Fix Committed
|
Undecided
|
Unassigned | |||
Dalmatian |
Fix Released
|
Undecided
|
Matt Crees |
Bug Description
There is a fix in the systemd_service module, but this is not yet in a versioned release: https:/
To recreate:
Start with the service is disabled:
$ systemctl status systemd-networkd
● systemd-
Loaded: loaded (/lib/systemd/
After running a control host bootstrap, it gets temporarily enabled "enabled-runtime".
$ systemctl status systemd-networkd
● systemd-
Loaded: loaded (/lib/systemd/
Run host configure, it doesn't get enabled permanently because the service module already detects enabled-runtime. It is then restarted, so it goes back to disabled.
TASK [stackhpc.
Friday 12 July 2024 15:28:40 +0000 (0:00:02.375) 0:00:52.532 ***********
ok: [controller0]
RUNNING HANDLER [stackhpc.
Friday 12 July 2024 15:28:40 +0000 (0:00:00.050) 0:00:53.112 ***********
changed: [controller0]
$ systemctl status systemd-networkd
● systemd-
Loaded: loaded (/lib/systemd/
Active: active (running) since Fri 2024-07-12 15:28:41 UTC; 1min 39s ago
Changed in kayobe: | |
assignee: | nobody → Matt Crees (mattcrees) |
Fix proposed to branch: master /review. opendev. org/c/openstack /kayobe/ +/924480
Review: https:/