Error "failed to discover provisioned engine versions: failed to list provisioned versions of Postgres" when deploying Tanzu Postgres Instance
search cancel

Error "failed to discover provisioned engine versions: failed to list provisioned versions of Postgres" when deploying Tanzu Postgres Instance

book

Article ID: 391402

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Deploying a Tanzu Postgres Instance fails with the error

    failed to discover provisioned engine versions: failed to list provisioned versions of Postgres no matches for kind \"PostgresVersion\" in version \"sql.tanzu.vmware.com/v1\

  • Tanzu Postgres Operator is not installed on the cluster. To check if the Tanzu Postgres package is installed, run the kubectl command below against the cluster:

    kubectl -n vcd-ds-system get pkgr,pkgi

    if any error find any failure status is returned, run the commands below to view the details

    kubectl -n vcd-ds-system get pkgr tanzu-postgres-operator -oyaml
    kubectl -n vcd-ds-system get pkgi vcd-ds-postgres-install -oyaml

Environment

VMware Cloud Director extension for Data Solution 1.6

Cause

The operator is not installed on the cluster due to incorrect or expired credentials for the registry tanzu-sql-postgres.packages.broadcom.com.
The token from Broadcom Support Portal is valid for only 4384 hours(half year).

Resolution

On the Broadcom Support Portal get a new password/token and update the registry password in VMware Cloud Director extension for Data Solution container registry page.

For additional information visit the documentation Configure VMware Cloud Director extension for Data Solutions