podman restart container - healthcheck transient timer #12674
Replies: 3 comments 1 reply
-
@baude You were looking at this one earlier this week, I recall? |
Beta Was this translation helpful? Give feedback.
-
You want -> #12697 |
Beta Was this translation helpful? Give feedback.
-
@baude @mheon Can you take a second look ? Maybe this is relevant here : And adding --collect to createTimer() in |
Beta Was this translation helpful? Give feedback.
-
On 'podman restart container' the healthcheck transient timer is not cleared resulting with an ERROR
Failed to start transient timer unit: Unit a454fc67b6569accee4d2e65b9f9e93c34284caa5e092dce05206267a674af81.timer already exists
i.e
[root@localhost system]# podman restart redis ERRO[0000] Failed to start transient timer unit: Unit a454fc67b6569accee4d2e65b9f9e93c34284caa5e092dce05206267a674af81.timer already exists.
systemd files
/run/systemd/system/a454fc67b6569accee4d2e65b9f9e93c34284caa5e092dce05206267a674af81.service.d
/run/systemd/system/a454fc67b6569accee4d2e65b9f9e93c34284caa5e092dce05206267a674af81.timer.d
Are not cleaned on restart resulting with this ERROR
podman restart should recreate the systemd healthcheck service/timer to prevent this ERROR
Restart behavior is Ok, Container is restarted correctly
But how can the container be restarted without this ERROR ?
Beta Was this translation helpful? Give feedback.
All reactions