zalf-rdm / geonode-k8s

A Kubernetes helm chart for the geospacial webapplication Geonode
https://geonode-k8s.readthedocs.io/en/latest/
GNU General Public License v2.0
13 stars 9 forks source link

Bug: Disabling rabbitmq breaks geonode pod #208

Closed TheNumenorean closed 2 months ago

TheNumenorean commented 2 months ago

Bug Description

If you disable rabbitmq, then the geonode-wait-for-db-and-rabbit init-container fails.

Reproduction Steps

Include

rabbitmq:
  enabled: false

in your values.yml and install.

Behavior

2024/09/18 15:45:19 Waiting for: tcp://geonode-postgres:5432
2024/09/18 15:45:19 Waiting for: tcp://geonode-rabbitmq:5672
2024/09/18 15:45:19 Connected to tcp://geonode-postgres:5432
2024/09/18 15:45:20 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:22 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:24 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:26 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:28 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:30 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:32 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:34 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:36 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:38 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:40 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:42 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:45 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:47 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:49 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:51 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:53 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:55 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:57 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:45:59 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:01 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:03 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:05 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:07 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:09 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:11 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:13 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:15 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:17 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:19 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s
2024/09/18 15:46:19 Timeout after 1m0s waiting on dependencies to become available: [tcp://geonode-postgres:5432 tcp://geonode-rabbitmq:5672]

Additional Information

Running on docker-desktop kubernetes.

AlexGacon commented 2 months ago

If you disable rabbitmq in the chart, the expectation is to have one available somewhere else. Apparently geonode cannot reach your rabbitmq cluster.

Le mer. 18 sept. 2024 à 17:52, Francesco Macagno @.***> a écrit :

Bug Description

If you disable rabbitmq, then the geonode-wait-for-db-and-rabbit init-container fails. Reproduction Steps

Include

rabbitmq: enabled: false

in your values.yml and install. Behavior

2024/09/18 15:45:19 Waiting for: tcp://geonode-postgres:5432 2024/09/18 15:45:19 Waiting for: tcp://geonode-rabbitmq:5672 2024/09/18 15:45:19 Connected to tcp://geonode-postgres:5432 2024/09/18 15:45:20 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:22 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:24 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:26 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:28 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:30 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:32 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:34 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:36 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:38 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:40 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:42 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:45 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:47 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:49 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:51 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:53 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:55 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:57 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:45:59 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:01 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:03 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:05 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:07 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:09 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:11 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:13 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:15 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:17 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:19 Problem with dial: dial tcp: lookup geonode-rabbitmq on 10.96.0.10:53: no such host. Sleeping 1s 2024/09/18 15:46:19 Timeout after 1m0s waiting on dependencies to become available: [tcp://geonode-postgres:5432 tcp://geonode-rabbitmq:5672]

Additional Information

Running on docker-desktop kubernetes.

— Reply to this email directly, view it on GitHub https://github.com/zalf-rdm/geonode-k8s/issues/208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXE4XIEJGAXLLPN6K563R3ZXGOS5AVCNFSM6AAAAABOOAIPJOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTIMJRGE3TANA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TheNumenorean commented 2 months ago

I see, i was assuming that that configuration meant that i could just skip rabbitmq, since i was not expecting to need it.