| Commit message (Collapse) | Author | Files | Lines |
|
|
|
https://github.com/ansible/awx/issues/14985
https://github.com/ansible/awx/issues/13983
|
|
* Previously, the params were passed without quotes and each directory
was being interpreted as a seperate command line flag.
* Added some structure around the error messages returned from
receptorctl so we can more easily decide how to handle each case. For
example, releasing the cleanup job from receptor doesn't absolutely
need to succeed because we have a periodic job that does that. In
fact, that is the thing that is making it fail .. but I digress.
|
|
if one was generated.
|
|
|
|
Signed-off-by: Adam Miller <admiller@redhat.com>
|
|
forever (#15043)
Without autocommit conn.notifies() blocks forever
|
|
|
|
Recent changes in awx and/or django ansible base cause the django
collectstatic command to fail when using an empty settings file.
Instead, use the defaults settings file from controller via
DJANGO_SETTINGS_MODULE=awx.settings.defaults
[linux/amd64 builder 13/13] RUN AWX_SETTINGS_FILE=/dev/null
SKIP_SECRET_KEY_CHECK=yes SKIP_PG_VERSION_CHECK=yes
/var/lib/awx/venv/awx/bin/awx-manage collectstatic --noinput --clear
Traceback (most recent call last):
(...)
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly
configured. Please supply the ENGINE value. Check settings documentation for
more details.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
|
|
- stop wsrelay on keyboard interuption
- restart wsrelay for any other failure reason
|
|
- run_wsrelay retry to run wsrelay forever with 10 second sleep
- wsrelay restart on`on_ws_heartbeat` task if fail to db connection goes away
|
|
|
|
* Address first_found skip bug
* Don't attempt installing project root requirements.yml as v2 collection format
|
|
Fix survey prompt presentation inconsistencies
Remove unnecessary conditional
This conditional always returned true. See the following warning: This condition will always return 'true' since JavaScript compares objects by reference, not value.
Fix schedule edit tests
|
|
* Editable dependencies in docker compose development environment
|
|
Modification to settings
- Add hidden to indicate to UI_NEXT to hide the field
- Add warning_text to indicate to UI_NEXT to display the warning when specific setting is modified
- Address some non required field being marked as required
|
|
* Add setting for configuring optional URL prefix for /api
Add OPTIONAL_API_URLPATTERN_PREFIX setting
examples:
- if set to `''` (empty string) API pattern will be `/api`
- if set to 'controller' API pattern will be `/api` AND `/api/controller`
|
|
* Backported from product-docs PR #2001 (misc doc cleanup)
* Update docs/docsite/rst/administration/awx-manage.rst
|
|
* Add dump_auth_config management cmd
- Dump SAML config from AWX to DAB authenticator config in json format
* Add dumping of LDAP settings
* add test for command
* Fix is_enabled
* fix command name typo
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
* add fields to config, add name to data
* break out IDP values
* change test fields and value comparison
* edit help text, reformat settings
---------
Co-authored-by: jessicamack <jmack@redhat.com>
|
|
https://github.com/ansible/awx/pull/14910/files
introduced a bug where we no longer accept the right exceptions
when 2 job launch at the sametime and try to create jobevent table partition 1 of the job will fail
|
|
TCP keepalive settings was moved out from settings.DATABASE to settings.LISTENER_DATABASES and it's not longer being respected by wsrelay
|
|
by don't start the metrics server if --status is passed in
|
|
Fix for 14924 - Unformatted help text is popped out when peers for intances are changed
Co-authored-by: David O Neill <daoneill@redhat.com>
|
|
* Fixed mismatch between setuptools version in the makefile and requirements file
* Fix mismatch of versions in makefile and requirements
* Added maturin license
|
|
speed up CI, also AWX code change won't effect that test
|
|
* Python 3.9 -> 3.11 upgrade
* Test: updating azure-keyvault to 4.2.0
* Revert "Test: updating azure-keyvault to 4.2.0"
This reverts commit cf0b83699442e0c0de4a1152d4af8543a5e05b88.
* Test: updating azure-keyvault to latest and adding azure-identity
* Fix licenses
* Adding new licenses
* Revert "Fix licenses"
This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228.
* Fixing dependencies
* Test: updating azure-keyvault to 4.2.0
* Fix licenses
* Revert "Fix licenses"
This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228.
* Fixing dependencies
---------
Co-authored-by: César Francisco San Nicolás Martínez <csannico@redhat.com>
|
|
Prune dangle image periodically
pairs with https://github.com/ansible/ansible-runner/pull/1342
this fix the problem of us forcefully remove images when setting changing ee image that's being used in a job causing the job to fail
|
|
* Align Orign and Host header
* Before this change the Host: header was runserver. Seems to be set by
nginx upstream flow.
* After this change we explicitly set the Host: header
* More about CSRF checks ...
CSRF checks that Origin == Host. Think about how the browser works.
<browser goes to awx.com>
"I'm executing javascript that I downloaded from awx.com (ORIGIN) and
I'm making an XHR POST request to awx.com (HOST)"
Server verifies; Host: header == Origin: header; OK!
vs. the malicious case.
<hacker injects javascript code into google.com>
<browser goes to google.com>
"I'm executing javascript that I downloaded from google.com (ORIGIN)
and I'm making an XHR POST request to awx.com (HOST)"
Server verifies; Host: header != Origin: header; NOT OK!
* Update awx/settings/development.py
---------
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
|
|
|
|
(#14977)
Revert "Implement project pulling from Azure DevOps using Service Principals (#14628)"
This reverts commit 2e2cd7f2de52a02a7bbf343f26bf8d0177dcdec3.
|
|
* Upgrade to postgres:15
* Changed postgres:15 to quay.io/sclorg/postgresql-15-c9s
|
|
debugger (#14942)
Enable VSCode debugger integration when attaching VSCode to with AWX docker-compose development environment container
- add debugpy launch target in `.vscode/launch.json` to enable launching awx processes with debugpy
- add vscode tasks in `.vscode/tasks.json` to facilitate shutting down corresponding supervisord managed processes while launching process with debugpy
- modify nginx conf to add django runserver as fallback to uwsgi (enable launching API server via debugpy)
|
|
AAP-12273 remove incorrect sentance conjugation
Co-authored-by: David O Neill <daoneill@redhat.com>
|
|
Fix awx-autoreload, recent change made autoreload no longer take the command parameter
|
|
* Credential Lookup with multiple types
Allow looking up a credential with one of multiple type IDs.
* Allow Azure cred for SCM
Allow selecting an Azure Resource Manager credential for Git-based SCMs.
This is in order to enable using Azure Service Principals for project updates.
* Implement Azure Service Principal Git
This adds support for using an Azure Service Principal for project updates.
---------
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
|
|
mode (#14961)
Add pip>=21.3 to dev requirement required for installing django-ansible-base in editable mode
https://peps.python.org/pep-0660/
PEP 660 – Editable installs for pyproject.toml based builds (wheel based)
|
|
* Bump axios UI dep to 1.6.z
* Add proxy-from-env license
|
|
* Add terraform state inventory source
* Update inventory source plugin test
Signed-off-by: Helen Bailey <hebailey@redhat.com>
|
|
Not auto-reload explicitly STOPPED processes
In development/debug workflow sometime we explicitly STOP processes this will make sure auto-reload does not start them back up
|
|
|
|
|
|
Fix test that fail on rerun
due to expecting exact IDs
|
|
* add resources api to controller
* update setting
models are not the source of truth in AWX
* Force creation of ServiceID object in tests
* fix typo
* settings fix for CI
---------
Co-authored-by: Alan Rominger <arominge@redhat.com>
|
|
Tried to dig as to why we ever needed this and could not find the answer. We removed it and ran all the tests and the tests passed so assuming it's no longer needed.
|
|
`pytest awx/main/tests/docs --release=$(VERSION_TARGET)`
where --release is required breaks test discovery and running in vscode (from within the container)
|
|
Removing Podman var to use Docker again in the collection ci
|
|
|
|
* No harm in adding it to the list. If a JWT auth header is provided,
then process it (valid or not). If a JWT is not provided, move on to
the next auth.
|
|
dependent on https://github.com/ansible/awx-ee/pull/235
|
|
Promote multi-arch awx manifest
|