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

Expose uWSGI Configuration Parameters in AAP 2.5 Containerized Installer

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      1. What is the nature and description of the request?
        The Ansible Automation Platform 2.5 containerized installer currently overwrites customer-modified configuration files (for example, uwsgi.ini) during every installer run or upgrade. This behavior causes loss of required custom configurations, including SSO-related uWSGI settings.

      Additionally, although the installer already templates several uWSGI parameters using Jinja variables, some parameters such as buffer-size remain hard-coded, even though they follow the same design pattern and could be easily exposed as configurable variables.

      This RFE requests:

      The ability to preserve or explicitly control overwriting of modified configuration files during installer runs.
      Exposure of additional uWSGI parameters (such as buffer-size) as installer variables, consistent with existing parameters.

      1. Why does the customer need this? (List the business requirements here)

      Customer environments require specific uWSGI configuration for SSO and authentication stability.
      Installer upgrades currently overwrite these configurations, breaking SSO functionality.
      Manual or post-upgrade automation to restore configuration is not reliable or sustainable.
      Customers require predictable, safe upgrade behavior that does not silently discard validated production configurations.
      Enterprise change-control processes require explicit awareness and control of configuration overwrites.

      1. How would you like to achieve this? (List the functional requirements here)

      Installer enhancement for configuration preservation

      Detect modified configuration files.
      Notify the user when modifications are detected.
      Provide an option to overwrite or retain existing configuration.
      Allow this behavior to be controlled via an installer parameter or extra-var.
      Expose additional uWSGI parameters

      Example enhancement:
      ~~~
      buffer-size = {{ gateway_uwsgi_buffer_size | default(10240) }}
      ~~~
      This aligns with existing templated parameters such as:
      gateway_uwsgi_port
      gateway_uwsgi_processes
      gateway_uwsgi_timeout

      1. List any affected known dependencies: Doc, UI etc..
        Containerized installer roles:
        automationgateway/templates/uwsgi.ini.j2
        https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html
      1. Github Link if any

              dysilva Dylan Silva
              rhn-support-nchugh Neha Chugh
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: