Error: Error while connecting to PostgreSQL 'NoneType' object is not subscriptable
search cancel

Error: Error while connecting to PostgreSQL 'NoneType' object is not subscriptable

book

Article ID: 410706

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

When attempting to update the Airgap trusted certificate via the CLI tool in Update Airgap trusted certificate for the management cluster via CLI tool., the output below is received:

# python update_ca.py update-cert-db --fqdn <airgap server fqdn> --cafile <ca certificate file>
update_ca[INFO]: airgap repo: <airgap server fqdn> is valid
update_ca[INFO]: ########## Quering <airgap server fqdn>'s id,val in Postgres ##########
update_ca[ERROR]: Error while connecting to PostgreSQL 'NoneType' object is not subscriptable

Environment

3.2

Cause

The Airgap FQDN is case sensitive and the incorrect case was provided in the argument to the CLI command.

Resolution

Ensure the FQDN argument's case matches what is shown from the Partner Systems UI.