Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-992

Migrate An Openshift instance of Ansible Tower 3.8.6 to Ocp AAP operator 2.4 with external Postgresql DB failed

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description

      aap-controller.logs:

      ~~~
      TASK [Set the resource pod name as a variable.] ******************************** 
      fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to be in '/opt/ansible/roles/installer/tasks/migrate_data.yml': line 31, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Set the resource pod name as a variable.\n  ^ here\n"}
      ~~~

       

      Steps to Reproduce

      CU follow the guide - https://access.redhat.com/documentation/en-us/red_hat_ansible_automation_platform/2.4/html-single/deploying_the_red_hat_ansible_automation_platform_operator_on_openshift_container_platform/index#aap-migration

      As they are using external DB for AAP operator 2.4, so they configure both  `spec.postgres_configuration_secret` and `spec.old_postgres_configuration_secret`

      Actual Behavior

      Migration failed.

      Expected Behavior

      Migration should work.

       

      ***Addtional info:

      It might be the same issue already record on the upstream:

      https://github.com/ansible/awx-operator/issues/1407

       

            chadams@redhat.com Christian Adams
            rhn-support-rpu Rui Pu
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: