Why Ansible Automation Platform installation using an AD account with dzdo privileges fails at TASK ansible.automation_platform_installer.automationhub : Run database migrations ?

Solution Verified - Updated -

Issue

  • The AAP installation setup script cannot be run using an Active Directory/Centrify service account with dzdo privileges due to an error message.

    TASK [ansible.automation_platform_installer.automationhub : Run database migrations] ***
    ESC[1;30mtask path: /var/lib/awx/AAP_Install/ansible-automation-platform-setup-bundle-2.4-1-x86_64/collections/ansible_collections/ansible/automation_platform_installer/roles/automationhub/tasks/pulp_database_config.yml:105ESC[0m
    
    ESC[0;31mfatal: [server.example.com -> server.example.com]: FAILED! => {ESC[0m
    ESC[0;31m    "changed": false,ESC[0m
    ESC[0;31m    "changed_when_result": "The conditional check ''No migrations to apply' not in result.stdout' failed. The error was: error while evaluating conditional ('No migrations to apply' not in result.stdout): 'dict object' has no attribute 'stdout'. 'dict object' has no attribute 'stdout'",ESC[0m
    ESC[0;31m    "module_stderr": "OpenSSH_8.7p1, OpenSSL 3.0.7 1 Nov 2022\r\ndebug1: Reading con
    7:42
    status 1\r\n",ESC[0m
    ESC[0;31m    "module_stdout": "",ESC[0m
    ESC[0;31m    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",ESC[0m
    ESC[0;31m    "rc": 1ESC[0m
    ESC[0;31m}ESC[0m
    ESC[0;34mRead vars_file 'vars/collection_global_vars.yml'ESC[0m
    

Environment

  • Ansible Automation Platform 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