Automation Hub backup fails when automationhub_pg_port=''

Solution Unverified - Updated -

Issue

When Automation Hub is installed with an inventory file containing automationhub_pg_port='', subsequent backup (./setup.sh -b) attempts will fail with an error like the following:

TASK [ansible.automation_platform_installer.backup : Perform a PostgreSQL dump.] ***
fatal: [a.b.c.d]: FAILED! => {"changed": false, "msg": "argument 'port' is of type <class 'str'> and we were unable to convert to int: <class 'str'> cannot be converted to an int"}

Environment

  • Red Hat Ansible Automation Platform
    • 2.3
    • 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content