Upgrade of Ansible Tower 3.8.5 to Ansible Automation Controller 4.2 fails at task: "Register the node instance in the database"

Solution Verified - Updated -

Issue

  • Upgrade script fails at task: "Register the node instance in the database" with error:
duplicate key value violates unique constraint "main_instance_hostname_key"
    DETAIL:  Key (hostname)=(tower-1.example.com) already exists

Environment

  • Red Hat Ansible Tower 3.8.x
  • Red Hat Automation Platform 2.3

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