Elijah DeLee
be45919ee4
have postgres log to console in dev env
...
also log slow queries and link to documentation for other possible
settings
2022-08-15 12:09:17 -04:00
Alan Rominger
279cebcef3
Merge pull request #12586 from AlanCoding/connections_graph
...
Add a graph to show database connections being used
2022-08-08 15:49:20 -04:00
Jeff Bradberry
90a19057d5
Restrict files that trigger a reload
...
to files explicitly ending in '.py' that do not start with a dot.
This will avoid Emacs lockfiles from triggering the restart.
2022-08-03 18:23:48 -04:00
Shane McDonald
fcebd188a6
Fix Kubernetes dev environment + update docs
2022-08-01 10:45:10 -04:00
Alan Rominger
3aa8320fc7
Add a graph to show database connections being used
2022-07-28 11:52:36 -04:00
Shane McDonald
0d097964be
Automatically install setuptools-scm in script called from Makefile
2022-07-22 12:59:39 -04:00
Aditya Mulik
df38650aee
Localization Scripts for AWX UI & API
2022-07-08 11:44:56 -04:00
Shane McDonald
a0d5f1fb03
Merge pull request #12428 from djyasin/updating_setuppy
...
Updated setup.py --version to python3 -m setuptools_scm.
2022-06-30 12:17:54 -04:00
Shane McDonald
6a3f9690b0
Remove setup.py entirely
2022-06-27 14:15:32 -04:00
Shane McDonald
cbea36745e
Transition from setup.py to setup.cfg
2022-06-27 13:30:01 -04:00
Alan Rominger
372aa36207
Make the prometheus config file ignored by git
2022-06-16 15:42:10 -04:00
Alan Rominger
173318764b
Remove existing yml file for prometheus
2022-06-16 15:37:18 -04:00
Alan Rominger
1dd535a859
Remove old way of doing grafana graphs
2022-06-16 15:31:45 -04:00
Alan Rominger
c441db2aab
docs workding edits and depends_on
2022-06-16 12:07:26 -04:00
Alan Rominger
fb292d9706
Move visualization containers into docker-compose
2022-06-16 10:25:02 -04:00
Seth Foster
987e5a084d
use haproxy 2.3 with maxconn set to avoid startup failures
2022-06-14 13:09:40 -04:00
Seth Foster
30c060cb27
Merge pull request #12235 from fosterseth/subsystem_metrics_task_manager
...
Subsystem metrics for task manager
2022-06-14 12:02:54 -04:00
Seth Foster
2f82b75748
Add subsystem metrics for task manager
2022-06-14 11:00:11 -04:00
Jeff Bradberry
e8b2998578
Narrow down the inotifywait criteria for reloading the dev environment
...
- listen specifically within awx/awx, so that changes in awxkit or
awx_collection don't trigger spurious reloads
- expand the exclude pattern to ignore the test directories
2022-06-13 16:08:20 -04:00
Alex Corey
9e981583a6
Merge branch 'devel' into patch-1
2022-06-13 13:55:02 -04:00
Alex Corey
d6fb8d6cd7
Update tools/docker-compose/README.md
...
Co-authored-by: Shane McDonald <me@shanemcd.com>
2022-06-13 13:53:48 -04:00
Alan Rominger
a4bfb032ff
Make awx-autoreloader work faster for large code changes
2022-06-09 14:52:03 -04:00
Seth Foster
9364c8e562
typo
2022-05-31 17:18:45 -04:00
Seth Foster
5831949ebf
maxconn
2022-05-31 17:16:27 -04:00
Seth Foster
7fe98a670f
haproxy
2022-05-31 17:12:19 -04:00
Seth Foster
6f68f3cba6
Add make prometheus and make grafana commands to dev environment
2022-05-31 17:07:15 -04:00
Alex Corey
0787cb4fc2
Merge pull request #12185 from AlexSCorey/8690-SortSchedulesByType
...
Adds sorting by type on the schedules list
2022-05-11 10:57:10 -04:00
John Westcott IV
a86740c3c9
Adding ability to start and plumb splunk instance ( #12183 )
2022-05-09 09:50:28 -04:00
Alex Corey
05eba350b7
Adds sorting by type on the schedules list. Also adds functionality for bulk_data command to create schedules
2022-05-06 09:45:45 -04:00
Jeff Bradberry
2bef5ce09b
Merge pull request #12099 from jbradberry/add-content-type-option-header
...
Add the X-Content-Type-Options nosniff header
2022-04-28 14:41:02 -04:00
John Westcott IV
4277b73438
Adding /etc/supervisord.conf to sosreports ( #12104 )
2022-04-27 10:34:45 -04:00
Jeff Bradberry
47d5a89f40
Add the X-Content-Type-Options nosniff header
2022-04-25 13:45:16 -04:00
Shane McDonald
30d185a67f
Make dev env reload faster
2022-04-14 10:40:07 -04:00
Shane McDonald
89c2a4c6ed
Alternative code reloader for dev env
...
I verified what Seth found in https://github.com/ansible/awx/pull/12052 , but would really hate to lose this functionality. Curious if folks on the API team can try this and see if it works for them.
2022-04-14 09:42:17 -04:00
nixocio
28f25d5aba
Downgrade min required node LTS
...
Downgrade min required node LTS
2022-04-07 14:56:52 -04:00
Shane McDonald
ef0f6ca248
Merge pull request #11955 from shanemcd/fail-better
...
Increase resiliency when application crashes
2022-03-30 08:58:26 -04:00
Shane McDonald
4446434e5b
Ensure stop signals are forwarded to the correct processes
2022-03-29 14:08:56 -04:00
Shane McDonald
39905b33cd
Replace tini with dumb-init
...
dumb-init is more actively maintained, available on pypi, and already used for both upstream and downstream EEs
2022-03-29 14:08:09 -04:00
Shane McDonald
dbdc529d4a
Fix race condition causing rsyslog to crash
2022-03-29 14:08:07 -04:00
Shane McDonald
0cbc802cf4
Use the same settings on each supervisor entry
...
I didnt see a reason for the weird inconsistencies here.
2022-03-29 14:07:54 -04:00
Shane McDonald
b04747676c
Provision the instance before booting anything
...
There was a race condition because the callback reciever tried to run this code:
File "/awx_devel/awx/main/management/commands/run_callback_receiver.py", line 31, in handle
CallbackBrokerWorker(),
File "/awx_devel/awx/main/dispatch/worker/callback.py", line 49, in __init__
self.subsystem_metrics = s_metrics.Metrics(auto_pipe_execute=False)
File "/awx_devel/awx/main/analytics/subsystem_metrics.py", line 156, in __init__
self.instance_name = Instance.objects.me().hostname
Before get_or_register was being called by the dispatcher.
2022-03-29 14:07:49 -04:00
John Westcott IV
593eebf062
Adding awx_ as well as tower_ variable names for webhooks ( #11925 )
...
Adding utility to ease testing webhooks from command line
Modifying all variables to use a constants list of variable names
2022-03-24 11:58:15 -04:00
Shane McDonald
270497eda1
Kill all control plane processes if one of them fails to boot
2022-03-23 18:40:23 -04:00
Shane McDonald
dbcdb825b0
Remove awx-config-watcher from kube dev env
2022-03-23 18:37:16 -04:00
Shane McDonald
99056e3697
Update some references to our development images
2022-03-23 11:31:11 -04:00
Jeff Bradberry
ac6a82eee4
Merge pull request #11654 from jbradberry/django-3.2-upgrade
...
Django 3.2 upgrade
2022-03-17 10:34:22 -04:00
John Westcott IV
4de27117e8
Adding option to enable and configure an OpenLDAP server next to AWX ( #11843 )
2022-03-10 10:29:04 -05:00
Shane McDonald
f04d7733bb
Add a CI check for the development environment
2022-03-08 09:00:30 -05:00
Shane McDonald
b2fe1c46ee
Fix playbook error when files do not exist.
...
I was seeing "Failed to template loop_control.label: 'dict object' has no attribute 'path'"
2022-03-08 08:18:05 -05:00
Jeff Bradberry
028f09002f
Fix the cleanup_jobs management command
...
It previously depended on a private Django internal class that changed
with Django 3.1.
I've switched here instead to disabling the django-polymorphic
accessors to get the underlying UnifiedJob object for a Job, which due
to the way they implement those was resulting in N+1 behavior on
deletes. This gets us back most of the way to the performance gains
we achieved with the custom collector class. See
https://github.com/django-polymorphic/django-polymorphic/issues/198 .
2022-03-07 18:11:36 -05:00