Many hospitals prefer or only allow Red Hat Enterprise (RHEL). Ever since RHEL v8 docker is not supported anymore. Instead they offer podman, which was forked from the docker project. Podman has some advantages (e.g. it allows running systemd in unprivileged containers) and seems to gain in popularity, also in the non-Redhat community.
Our hospital is one of those that only offer RHEL8 virtual machines and as such I recently tried running openrem inside podman. For 99% of the commands it's as simple as replacing "docker" with "podman". Therfore, it didn't take much effort to get it running with podman, well.... almost running. Everything seems to work but I'm having issues with the communication between celery and rabbitmq (see dumps below). Any ideas anyone?
regards, Tim
Celery logfile:
[2022-04-01 12:26:12,572: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@broker:5672/
/: [Errno 111] Connection refused.
Trying again in 14.00 seconds... (7/100)
[2022-04-01 12:26:30,610: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@broker:5672/
/: timed out.
Trying again in 16.00 seconds... (8/100)
[2022-04-01 12:26:52,310: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@broker:5672/
/: timed out.
Trying again in 2.00 seconds... (1/100)
Rabbitmq container:
2022-04-01 10:19:36.381278+00:00 [info] <0.886.0> accepting AMQP connection <0.886.0> (
127.0.0.1:52808 ->
127.0.0.1:5672)
2022-04-01 10:19:36.636151+00:00 [info] <0.889.0> accepting AMQP connection <0.889.0> (
127.0.0.1:52810 ->
127.0.0.1:5672)
2022-04-01 10:19:36.658821+00:00 [info] <0.892.0> accepting AMQP connection <0.892.0> (
127.0.0.1:52812 ->
127.0.0.1:5672)
2022-04-01 10:19:36.659647+00:00 [info] <0.895.0> accepting AMQP connection <0.895.0> (
127.0.0.1:52814 ->
127.0.0.1:5672)
2022-04-01 10:19:36.660175+00:00 [info] <0.898.0> accepting AMQP connection <0.898.0> (
127.0.0.1:52816 ->
127.0.0.1:5672)
2022-04-01 10:19:36.660624+00:00 [info] <0.901.0> accepting AMQP connection <0.901.0> (
127.0.0.1:52818 ->
127.0.0.1:5672)
2022-04-01 10:19:41.388907+00:00 [warning] <0.895.0> closing AMQP connection <0.895.0> (
127.0.0.1:52814 ->
127.0.0.1:5672):
2022-04-01 10:19:41.388907+00:00 [warning] <0.895.0> client unexpectedly closed TCP connection
2022-04-01 10:19:41.388907+00:00 [warning] <0.901.0> closing AMQP connection <0.901.0> (
127.0.0.1:52818 ->
127.0.0.1:5672):
2022-04-01 10:19:41.388907+00:00 [warning] <0.901.0> client unexpectedly closed TCP connection
2022-04-01 10:19:41.389143+00:00 [warning] <0.898.0> closing AMQP connection <0.898.0> (
127.0.0.1:52816 ->
127.0.0.1:5672):
2022-04-01 10:19:41.389143+00:00 [warning] <0.898.0> client unexpectedly closed TCP connection
2022-04-01 10:19:41.389313+00:00 [warning] <0.892.0> closing AMQP connection <0.892.0> (
127.0.0.1:52812 ->
127.0.0.1:5672):
2022-04-01 10:19:41.389313+00:00 [warning] <0.892.0> client unexpectedly closed TCP connection
2022-04-01 10:19:41.389412+00:00 [warning] <0.889.0> closing AMQP connection <0.889.0> (
127.0.0.1:52810 ->
127.0.0.1:5672):
2022-04-01 10:19:41.389412+00:00 [warning] <0.889.0> client unexpectedly closed TCP connection
2022-04-01 10:19:41.389481+00:00 [warning] <0.886.0> closing AMQP connection <0.886.0> (
127.0.0.1:52808 ->
127.0.0.1:5672):
2022-04-01 10:19:41.389481+00:00 [warning] <0.886.0> client unexpectedly closed TCP connection