Error: When upgrading from Automation Platform 2.0 or prior, either automationhub_api_token or generate_automationhub_token must be specified.

Solution Verified - Updated -

Issue

  • Getting error while upgrading Automation hub using AAP2.2 bundle.

    TASK [ansible.automation_platform_installer.preflight : Preflight check - Ensure hub token option is set on upgrade from 2.0 or prior] ***
    skipping: [node] => {"changed": false, "skip_reason": "Conditional result was False"}
    skipping: [node] => {"changed": false, "skip_reason": "Conditional result was False"}
    skipping: [node] => {"changed": false, "skip_reason": "Conditional result was False"}
    fatal: [node]: FAILED! => {"changed": false, "msg": "When upgrading from Automation Platform 2.0 or prior, either automationhub_api_token or                 
    generate_automationhub_token must be specified"}
    

Environment

  • Automation Hub

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