Ansible Automation Platform 2.5 to 2.6 operator upgrade fails on Register Routes with unique constraint error

Solution Verified - Updated -

Issue

  • After upgrading Ansible Automation Platform from 2.5 to 2.6 on OpenShift, the AnsibleAutomationPlatform custom resource remains in a Failed state
  • The aap-gateway-operator reconciliation fails on the Register Routes task

    TASK [ansibleautomationplatform : Register Routes] *****************************
    failed: [localhost] (item={'name': 'Event Driven Automation Event Stream', ...}) => {
      "msg": "{'non_field_errors': ['The fields http_port, gateway_path must make a unique set.']}"
    }
    

Environment

  • Red Hat Ansible Automation Platform operator upgrade from 2.5 to 2.6
  • Deployment: OpenShift with the Ansible Automation Platform operator
  • Event-Driven Ansible (EDA) is enabled on the AnsibleAutomationPlatform custom resource

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