pods in namespace "vidb-external" failed to start due to missing secret "vidb-postgres-instance-postgres-cert-secret"
search cancel

pods in namespace "vidb-external" failed to start due to missing secret "vidb-postgres-instance-postgres-cert-secret"

book

Article ID: 443417

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Pods in the vidb-external namespace fail to start with the following status:

    kubectl get pod -n vidb-external
    vidb-external        vidb-postgres-instance-#                                                 0/3     ContainerCreating   0                    ##h
    vidb-external        vidb-service-##########-#####                                            0/1     Unknown             0                    ##d
    vidb-external        vidb-service-##########-#####                                            0/1     Unknown             0                    ##d
    vidb-external        vidb-service-##########-#####                                            0/1     Init:0/1            ### (mm-ss ago)      ##h


  • Running `kubectl describe pod vidb-postgres-instance-0 -n vidb-external` reveals the following error in the Events section:

    MountVolume.SetUp failed for volume "pgbackup-sidecar-tls-cert" : secret "vidb-postgres-instance-postgres-cert-secret" not found
    MountVolume.SetUp failed for volume "vidb-postgres-instance-postgres-cert-secret" : secret "vidb-postgres-instance-postgres-cert-secret" not found

Environment

VMware Cloud Foundation 9.1

Cause

The secret 'vidb-postgres-instance-postgres-cert-secret' is missing from the environment.

Resolution

The resolution is to recover the secret 'vidb-postgres-instance-postgres-cert-secret'. Please contact Broadcom VCF support for further assistant.

Attachments

vidb-postgres-instance-postgres-cert-secret.yaml get_app