Conjur Podman container ID is out of sync causing the container restarting issue

Conjur Podman container ID is out of sync causing the container restarting issue

123
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM


Symptom


Conjur Podman container ID is out of sync causing the container restarting issue.

Errors example in the log:
===
FATAL SignalException: SIGTERM
''''
INFO  going to shutdown ...
INFO  WEBrick::HTTPServer#start done.
FATAL:  terminating connection due to administrator command

===


Environment


13.5 Conjur Vault Conjur Synchronizer Conjur containers

Cause


The cause of this restart issue with systemd is that the Conjur Podman container ID is now out of sync with the systemd unit file for the service. This means systemd is unable to detect that the container is running and continually attempts to restart it.

Resolution


The following workaround should help:

==============
To help check this first, run the following command to get the current container ID on the Follower host:
```
sudo podman ps --no-trunc --format "{{.ID}} {{.Names}}"
```

For example:
```
dc189036321cf010bb7e4e8b4241cfa64ce759623ede707c3042485f45d88783 conjur-appliance
```

Next, show what container ID the systemd service is expecting:
```
cat /etc/systemd/system/conjur.service | grep PIDFile
```

For example:
```
PIDFile=/run/containers/storage/overlay-containers/dc189036321cf010bb7e4e8b4241cfa64ce759623ede707c3042485f45d88783/userdata/conmon.pid
```

If these two ID sections are not the same, then the systemd service file needs to be re-generated. To accomplish this, run the commands from the Conjur documentation again:

```
sudo su

podman generate systemd conjur-appliance --name --container-prefix="" --separator="" > /etc/systemd/system/conjur.service
```

Finally, reload the config and restart the service with the command (within the same sudo session):

```
systemctl daemon-reload && systemctl restart conjur.service
```
==============



If this doesn't alleviate the issue, please raise a support ticket for further investigation by providing the container logs, /health & /info leader's outputs, and the results of the commands above


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001P7eCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail