Hi,
I’m trying to install openflow in onpremise using “docker” installation. I’ve tried multiple distros:
CentOS 8 + Docker: Fails starting mongodb and openflow container restart constantly
CentOS 8 + Podman: Fails starting mongodb and openflow container restart constantly
Ubuntu Server 22 + Podman: Fails starting mongodb and openflow container restart constantly
Ubuntu Server 22 + Docker: Runs smoothly (but I can’t use this OS)
I’d like to use CentOS + Podman, but I don’t know if there is a problem with this combo.
Containers status remains like this:
- [root@beta docker]# podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
562b8894b8d9 docker…io/library/mongo:latest --bind_ip_all --r… 10 minutes ago Up 10 minutes ago demo_mongodb_1
8c340bd6f543 docker…io/library/traefik:latest --providers.docke… 10 minutes ago Up 10 minutes ago 0.0.0.0:80->80/tcp demo_traefik_1
deaf5f9cae23 docker…io/library/rabbitmq:latest rabbitmq-server 10 minutes ago Up 10 minutes ago demo_rabbitmq_1
d2340a3ef656 docker…io/openiap/openflow:latest 10 minutes ago Up 10 seconds ago 0.0.0.0:5858->5858/tcp demo_api_1
The errors we’re having are:
-
Mongodb container:
{“t”:{“$date”:“2023-03-10T12:56:26.280+00:00”},“s”:“I”, “c”:“-”, “id”:4939300, “ctx”:“monitoring-keys-for-HMAC”,“msg”:“Failed to refresh key cache”,“attr”:{“error”:“NotYetInitialized: Cannot use non-local read concern until replica set is finished initializing.”,“nextWakeupMillis”:14800}} – Constantly -
Openflow container:
12:58:14.344 [index ][process.] 404
Debugger listening on ws://0.0.0.0:5858/65c0157b-e0d9-4ce3-8c32-ad5061105a83
12:58:17.356 Starting @openiap/openflow
12:58:19.418 Done loading imports
12:58:20.12 [otel ][configure] Missing license_key
12:58:20.20 [otel ][setdefaultlabels] ofid=2f8aed4cd848153036ab77e38681a5e1
Tracing initialized
12:58:20.51 [dockerdriver ][detect] Docker not detected: connect EACCES /var/run/docker.sock
12:58:20.56 [dockerdriver ][detect] Docker not detected: connect EACCES /var/run/docker.sock
12:58:20.61 [DatabaseConnection ][connect] Connecting to mongodb
MongoServerSelectionError: getaddrinfo EAI_AGAIN mongodb
at Timeout._onTimeout (/data/node_modules/mongodb/lib/sdam/topology.js:292:38)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
reason: TopologyDescription {
type: ‘ReplicaSetNoPrimary’,
servers: Map(1) { ‘mongodb:27017’ => [ServerDescription] },
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: ‘rs0’,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined,
[Symbol(errorLabels)]: Set(0) {}
}
Has someone achieved to install openflo with centOS + Podman?
Is there any kind of incompatibility with this combo?
Thanks in advance and best regards.
PS: I’ve edited every links in order to post the logs.