Upgrade of Ansible Tower 3.8.5 to Ansible Automation Controller 4.2 fails at task: "Register the node instance in the database"
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.