Open m-usmanayub opened 3 years ago
Does the secret have the email and password set in it? Can you also attach the noobaa-operator logs?
Yes I can see the email and password set in the secret. noobaa-operator logs are pasted below
time="2021-07-11T08:29:47Z" level=info msg="Start ..." sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="✅ Exists: NooBaa \"noobaa\"\n"
time="2021-07-11T08:29:47Z" level=info msg="Memory Usage: Phase \"Starting\" - Alloc = 56 MiB Sys = 146 MiB NumGC = 21858" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="SetPhase: \"Verifying\"" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="Parsed image (Named) registry.redhat.io/ocs4/mcg-core-rhel8@sha256:6ff8645efdde95fa97d496084d3555b7680895f0b79c147f2a880b43742af3a4" func=CheckSystemCR sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="Using custom image name \"registry.redhat.io/ocs4/mcg-core-rhel8@sha256:6ff8645efdde95fa97d496084d3555b7680895f0b79c147f2a880b43742af3a4\" the default is \"noobaa/noobaa-core\"" func=CheckSystemCR sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="SetPhase: \"Creating\"" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged ServiceAccount /api/v1/namespaces/openshift-storage/serviceaccounts/noobaa" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged Secret /api/v1/namespaces/openshift-storage/secrets/noobaa-server" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged Secret /api/v1/namespaces/openshift-storage/secrets/noobaa-db" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged Secret /api/v1/namespaces/openshift-storage/secrets/noobaa-root-master-key" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="✅ Already Exists: ConfigMap \"noobaa-postgres-config\"\n"
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged StatefulSet /apis/apps/v1/namespaces/openshift-storage/statefulsets/noobaa-db-pg" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged Service /api/v1/namespaces/openshift-storage/services/noobaa-db-pg" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="❌ Not Found: Service \"noobaa-db\"\n"
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged Service /api/v1/namespaces/openshift-storage/services/noobaa-mgmt" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged StatefulSet /apis/apps/v1/namespaces/openshift-storage/statefulsets/noobaa-core" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged Route " sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged Service /api/v1/namespaces/openshift-storage/services/s3" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - unchanged Route " sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="Reconciling Backing Store Credentials" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="Not running in AWS. will attempt to create a ceph objectstore user" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="❌ Not Found: CephObjectStoreUser \"noobaa-ceph-objectstore-user\"\n"
time="2021-07-11T08:29:47Z" level=info msg="did not find any ceph objectstore to use as backing store" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="SetPhase: \"Connecting\"" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="Collected addresses: &{NodePorts:[https://10.150.8.166:31268] PodPorts:[https://10.128.2.34:8443] InternalIP:[https://172.30.31.59:443] InternalDNS:[https://noobaa-mgmt.openshift-storage.svc:443] ExternalIP:[] ExternalDNS:[https://noobaa-mgmt-openshift-storage.apps.y000dlvocp01.removed]}" func=CheckServiceStatus service=noobaa-mgmt sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="✈️ RPC: auth.read_auth() Request: <nil>"
time="2021-07-11T08:29:47Z" level=info msg="✅ RPC: auth.read_auth() Response OK: took 0.1ms"
time="2021-07-11T08:29:47Z" level=info msg="Collected addresses: &{NodePorts:[] PodPorts:[] InternalIP:[https://172.30.52.182:443] InternalDNS:[https://s3.openshift-storage.svc:443] ExternalIP:[] ExternalDNS:[https://s3-openshift-storage.apps.removed}" func=CheckServiceStatus service=s3 sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="SetPhase: \"Configuring\"" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="ReconcileObject: Done - updated Secret /api/v1/namespaces/openshift-storage/secrets/noobaa-admin" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="✈️ RPC: system.get_system_status() Request: <nil>"
time="2021-07-11T08:29:47Z" level=info msg="✅ RPC: system.get_system_status() Response OK: took 0.1ms"
time="2021-07-11T08:29:47Z" level=info msg="✈️ RPC: auth.create_auth() Request: {System:noobaa Role:admin Email:admin@noobaa.io Password:Z7BiAnmlbgu9u+baTVkHKQ==}"
time="2021-07-11T08:29:47Z" level=error msg="⚠️ RPC: auth.create_auth() Response Error: Code=UNAUTHORIZED Message=credentials not found"
time="2021-07-11T08:29:47Z" level=error msg="ReconcileObject: Error Secret cannot create an auth token for admin, error: credentials not found" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="SetPhase: temporary error during phase \"Configuring\"" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=warning msg="⏳ Temporary Error: cannot create an auth token for admin, error: credentials not found" sys=openshift-storage/noobaa
time="2021-07-11T08:29:47Z" level=info msg="UpdateStatus: Done generation 2" sys=openshift-storage/noobaa
same logs are repeating continuously.
ping
Hi Folks,
I am trying to setup a simple MCG for Red Hat Quay registry using the following guide:
https://access.redhat.com/documentation/en-us/red_hat_quay/3.5/html/deploy_red_hat_quay_on_openshift_with_the_quay_operator/installing_the_quay_operator
After the creation of noobaa instance and while trying to find the status using the command, I see that it is stuck on
Configuring
phaseUpon checking the logs on the noobaa-core pod I find that there is an Error Credentials not found
On the console status show cannot create an auth token for admin, error: credentials not found The status on the yaml shows:
I can see the noobaa-admin secret created in the namespace/project.
Need help in finding out how can this problem be fixed.