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

Add an AAP 2.5 UI Auth debug capability

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 2.5
    • aap-ui, platform-gateway
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      As of 2.5 GA, there is no way to debug a failing or attempted auth configuration without going down to the OS level and editing platform configuration files. In containerized AAP this may not even be possible.

      Users are having a real tough time trying to setup authentication even using a known working configuration from 2.4 so need all the help you can get to troubleshoot. Without changes this is nigh on impossible unless you have a lot of knowledge.

      Right now appears you have to:

      1. edit (NB. cannot do this within the automation-gateway container as no editing tools like vi) 
        /etc/ansible-automation-platform/gateway/settings.py
      1. add 
         LOGGING['loggers']['ansible_base']['level'] = 'DEBUG'
      1. restart the gateway 
        automation-gateway-service restart

      It should then pump output into (again cannot find in any containerized runnimg container or on local podman config):

      /var/log/ansible-automation-platform/gateway/gateway.log

       

      This feature is designed to implement basically what will be documented in https://issues.redhat.com/browse/AAP-33077

            Unassigned Unassigned
            rhn-sa-pgriffiths Phil Griffiths
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: