Skip to content

failed to populate resolver cache #76

@azzid

Description

@azzid

I've installed the operator in OpenShift using OperatorHub

Screenshot 2024-02-28 at 12 57 14

I've been able to create a standalone db - but I don't think it works properly - OpenShift reports CoreDNS is returning SERVFAIL for X% of requests. and when I look at the logs they are littered with:

[INFO] 10.130.0.28:32931 - 10162 "AAAA IN my-mongodb-standalone. udp 43 false 512" SERVFAIL qr,aa,rd,ra 43 0.000048726s
[INFO] 10.130.0.28:58916 - 30165 "A IN my-mongodb-standalone. udp 43 false 512" SERVFAIL qr,aa,rd,ra 43 0.00003007s

I started looking for a service with that name but found none:

$ oc get pods,statefulset,svc -n my-project 
NAME                                    READY   STATUS    RESTARTS       AGE
pod/my-mongodb-standalone-0         1/1     Running   0              153m
pod/mongodb-operator-655cd8cdf4-dhj7q   1/1     Running   1 (140m ago)   146m

NAME                                         READY   AGE
statefulset.apps/my-mongodb-standalone   1/1     4h9m

Digging a bit further I found the following - which seem related:

$ oc get sub -n my-project mongodb-operator -o jsonpath='{.items[*].status.conditions[1:3]}{\n}'
{"status":"False","type":"BundleUnpacking"} {"message":"failed to populate resolver cache from source redhat-operators/openshift-marketplace: error encountered while listing bundles: rpc error: code = DeadlineExceeded desc = context deadline exceeded","reason":"ErrorPreventedResolution","status":"True","type":"ResolutionFailed"}

Please help me understand what's wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions