Add UUID-based unit names to systemd-runs #67345
Replies: 4 comments
-
|
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
Beta Was this translation helpful? Give feedback.
-
|
Another option would be to add a parameter |
Beta Was this translation helpful? Give feedback.
-
|
We're currently working around it by setting |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We run CI on a salt based system, which runs a few executions per day (runs are long and we're just a few developers). In some of these runs we see this error message:
Failed to start transient scope unit. I dug around and found that (at least)service: reload:Trueis run withsystemd-run. Frankly, I looked at minion logs with a level ofDEBUGand I can't really find other runs using the same ID at the same time; others do, but they are run both way before and way later (in terms of tens of minutes) and I can see logs of them starting and successfully finishing. I mention this becauseLooking for this error in systemd's user mailing list I found this mail message https://lists.freedesktop.org/archives/systemd-devel/2015-October/034591.html that says:
and
Luckily,
saltcentralizes thesystemd-runexecutions in a single function, https://github.com/saltstack/salt/blob/master/salt/modules/systemd_service.py#L330 , so it wouldn't be that hard to slap in a--unit <UUID>option there.Beta Was this translation helpful? Give feedback.
All reactions