Chris Meyers
c185ff51a7
Fix editable dependencies volume name
...
Spelling of docker volume fix.
2025-01-15 13:48:57 -05:00
Chris Meyers and Hao Liu
a4fdcc1cca
Update .github/workflows/dab-release.yml
...
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com >
2024-07-17 15:10:25 -04:00
Chris Meyers and Hao Liu
df95439008
Update .github/workflows/dab-release.yml
...
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com >
2024-07-17 15:10:25 -04:00
Chris Meyers
0b5e59d9cb
Fix websocket relay. Set autocommit so conn.notifies() does not blocks forever ( #15043 )
...
Without autocommit conn.notifies() blocks forever
2024-03-27 15:11:17 -04:00
Chris Meyers and Hao Liu
ad96a92fa7
Align Orign and Host header ( #14970 )
...
* 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 >
2024-03-11 17:06:09 -04:00
Chris Meyers
d35d8b6ed7
fails when ran with vscode debugger
...
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.
2024-02-29 15:22:41 -05:00
Chris Meyers
dd53345397
shhhhhhhhhhhhhhh
...
Hopefully silence some setuptools
2024-02-14 15:38:31 +00:00
Chris Meyers
2ac304d289
allow pytest --migrations to succeed ( #14663 )
...
* allow pytest --migrations to succeed
* We actually subvert migrations from running in test via pytest.ini
--no-migrations option. This has led to bit rot for the sqlite
migrations happy path. This changeset pays off that tech debt and
allows for an sqlite migration happy path.
* This paves the way for programatic invocation of individual migrations
and weaving of the creation of resources (i.e. Instance, Job Template,
etc). With this, a developer can instantiate various database states,
trigger a migration, assert the state of the db, and then have pytest
rollback all of that.
* I will note that in practice, running these migrations is dog shit
slow BUT this work also opens up the possibility of saving and
re-using sqlite3 database files. Normally, caching is not THE answer
and causes more harm than good. But in this case, our migrations are
mostly write-once (I say mostly because this change set violates
that :) so cache invalidation isn't a major issue.
* functional test for migrations on sqlite
* We commonly subvert running migrations in test land. Test land uses
sqlite. By not constantly exercising this code path it atrophies. The
smoke test here is to continuously exercise that code path.
* Add ci test to run migration tests separately, they take =~ 2-3
minutes each on my laptop.
* The smoke tests also serves as an example of how to write migration
tests.
* run migration tests in ci
2023-11-17 13:33:08 -05:00
Chris Meyers
50c98a52f7
Update setting_up.rst ( #14542 )
2023-10-05 15:06:40 -04:00
Chris Meyers
73a865073d
Merge pull request #11241 from chrismeyersfsu/fix-missing-project-updates
...
Fix missing project updates
2021-10-13 11:03:44 -04:00
Chris Meyers
6a2826b91c
Merge pull request #11088 from saito-hideki/issue/10879
...
Fixed Org mapping behavior with SAML when Ansible Galaxy cred does not exist
2021-10-08 10:48:11 -04:00
Chris Meyers
9083425c24
Merge pull request #10940 from chrismeyersfsu/doc-debug-slow-api
...
add docs for debugging slow api endpoint
2021-08-31 16:30:21 -04:00
Chris Meyers
5975082954
only get active long running queries
...
Getting all connections that have been alive > 5 minutes is noisy. Instead, we want only queries that are active and have been alive for more than 5 minutes. This will filter out any idle connections.
2021-06-21 09:57:29 -04:00
Chris Meyers
9ce171d349
Merge pull request #8 from beeankha/doc_edits
...
Doc Edits
2021-06-04 11:12:47 -04:00
Chris Meyers
54a1712767
add slow query tracing to docs
...
Add information on how to trace slow queries back to awx nodes.
2021-04-21 09:02:24 -04:00
Chris Meyers
cd9838d579
Merge pull request #4661 from ansible/fix-flake8_3.8.0
...
fix flake8
2020-11-02 15:48:07 -05:00
Chris Meyers
d2ceb39d73
Merge pull request #4616 from chrismeyersfsu/fix-same_jt_abuse
...
Fix same jt abuse
2020-10-26 09:13:08 -04:00
Chris Meyers
6e8996f59f
Merge pull request #4626 from chrismeyersfsu/enhancement-graph_jobs_3_8_0
...
terminal graph of job status changes
2020-10-23 10:22:04 -04:00
Chris Meyers
7baf681b55
Merge pull request #4623 from chrismeyersfsu/enhancement-db_application_name_3_8_0
...
fill in postgres application_name on connection
2020-10-22 12:04:41 -04:00
Chris Meyers
5dd2cb10b4
Update websockets.md
2020-08-12 09:52:10 -04:00
Chris Meyers
aa8d3d5ae4
Update websockets.md
...
Add more details about backplane websocket functionality.
2020-08-12 09:49:24 -04:00
Chris Meyers
fdc53bd0d3
Update websockets.md
...
spelling
2020-08-10 12:58:49 -04:00
Chris Meyers
1cf48ffc9e
Update websockets.md
...
Add documentation for websocket backplane secret key exchange logic.
2020-08-10 12:58:49 -04:00
Chris Meyers
37c1c33ecd
Merge pull request #4389 from chrismeyersfsu/fix-run_wsbroadcast_status_3_7_1
...
awx-manage run_wsbroadcast --status doesn't work in openshift
2020-06-08 20:18:32 -04:00
Chris Meyers
cb7036382b
Merge pull request #4320 from chrismeyersfsu/fix-ws_group_timeout
...
cleanup channel groups on start
2020-05-11 15:52:04 -04:00
Chris Meyers
cd15a5c082
Merge pull request #4275 from chrismeyersfsu/redis_throttle_reconnect
...
exponential backoff on cb receiver reconnect
2020-04-28 15:42:45 -04:00
Chris Meyers
fa73fe76b2
Merge pull request #4263 from ansible/fix-sliding_window_3_7_0
...
fix sliding window per/minute calc
2020-04-27 13:20:39 -04:00
Chris Meyers
dc0862bbe7
Update collections.md
2019-07-18 11:12:51 -04:00
Chris Meyers
b383144b69
Merge pull request #3293 from chrismeyersfsu/fix-serial
...
fix handling of serial strategy
2019-02-22 13:30:24 -05:00
Chris Meyers
d57fc998d5
Merge pull request #2972 from wwitzel3/devel
...
update to the latest asgi-amqp
2019-01-03 08:22:05 -05:00
Chris Meyers
4641056829
Merge pull request #2942 from chrismeyersfsu/doc-tm_affinity
...
add docs for task manager node decider
2019-01-02 13:57:58 -05:00
Chris Meyers
45328b6e6d
Update saml.md
2018-11-06 14:45:10 -05:00
Chris Meyers
c722e50595
Merge pull request #2425 from chrismeyersfsu/fix-ldap_group_type
...
fix issue with ldap queries containing unicode
2018-10-15 10:49:43 -05:00
Chris Meyers
503a47c509
Merge pull request #3054 from chrismeyersfsu/fix-ldap_posix_group_type
...
fix issue with ldap queries containing unicode
2018-10-12 09:14:09 -05:00
Chris Meyers
f1c53fcd85
Merge pull request #3034 from chrismeyersfsu/fix-ldap_params
...
at migration time, validate ldap group type params
2018-09-28 08:53:42 -04:00
Chris Meyers
a34d8eba06
Merge pull request #2158 from chrismeyersfsu/fix-net_creds
...
Fix net creds
2018-08-09 23:45:53 -04:00
Chris Meyers
439e4fc138
Merge pull request #2811 from chrismeyersfsu/fix-network_encrypted_ssh_keys
...
fill in network ssh password protected keys
2018-08-09 17:49:59 -04:00
Chris Meyers
90fba9381d
Merge pull request #2632 from chrismeyersfsu/fix-saml_admin_attr
...
fix saml_admin_attr
2018-07-23 12:06:02 -04:00
Chris Meyers
32c2e36ac4
Merge pull request #2630 from chrismeyersfsu/better-minishift_devel
...
more robust minishift bringup
2018-07-20 15:52:35 -04:00
Chris Meyers
71fcd5f9ca
Merge pull request #2035 from jijojv/devel
...
ldap attributes filter in user_groups()
2018-07-18 16:05:51 -04:00
Chris Meyers
e3cb531180
Merge pull request #2558 from chrismeyersfsu/saml_admin_user_feature_cherry_pick
...
Saml admin user feature cherry pick
2018-07-17 09:27:18 -04:00
Chris Meyers
38de79b81f
Merge pull request #1576 from aperigault/devel
...
Map users in organizations based on saml groups
2018-07-13 09:03:32 -04:00
Chris Meyers
6a610d633f
Merge pull request #2430 from chrismeyersfsu/fix-do_not_touch_my_iso
...
deny topology changes to iso instances via api
2018-07-09 11:04:19 -04:00
Chris Meyers
ee179c3693
Merge pull request #2174 from chrismeyersfsu/fix-reaper_hostname_map
...
fix celery task reaper
2018-06-15 17:06:04 -04:00
Chris Meyers
bc9a934cfe
Merge pull request #2110 from chrismeyersfsu/improvement-remove_instance_group_queues2
...
remove rampart group queue subscription
2018-06-12 11:36:04 -04:00
Chris Meyers
769e714f71
Merge pull request #2122 from chrismeyersfsu/fix-iso_celery_usage
...
iso nodes do not have celery. that is ok
2018-06-11 15:47:16 -04:00
Chris Meyers
dfe2ce4b43
Merge pull request #2080 from chrismeyersfsu/fix-controller_node_adhoc
...
add controller_node to ad hoc job
2018-06-07 09:02:29 -04:00
Chris Meyers
429c1bf2b4
Merge pull request #2070 from chrismeyersfsu/fix-controller_node_not_needed_on_some_jobs
...
remove controller_node field from jobs that don't apply
2018-06-06 16:19:00 -04:00
Chris Meyers
431ee9bbbf
Merge pull request #2049 from chrismeyersfsu/improvement-jobs_total3
...
add total job count for instance + instance group
2018-06-06 12:56:03 -04:00
Chris Meyers
899084fa75
Merge pull request #1922 from chrismeyersfsu/improvement-accurate_capacity
...
per-instance accurate capacity consumption
2018-06-04 14:36:58 -04:00
Chris Meyers
f1083540a3
Merge pull request #1971 from chrismeyersfsu/fix-cached_dependency_list
...
do not cache dependency_list
2018-05-29 11:27:59 -04:00
Chris Meyers
a348893a91
Merge pull request #1846 from chrismeyersfsu/fix-1_in_maxint_chance_of_collision
...
more test fixes
2018-05-17 15:04:56 -04:00
Chris Meyers
49982eea2d
Merge pull request #1839 from chrismeyersfsu/fix-1_in_maxint_chance_of_collision
...
reduce chance of collision on cache namespace
2018-05-17 13:37:35 -04:00
Chris Meyers
178d94a421
Merge pull request #1818 from chrismeyersfsu/fix-parallel_failures
...
isolate test cache
2018-05-17 13:24:40 -04:00
Chris Meyers
7f214f5ad2
Merge pull request #1766 from chrismeyersfsu/i_like_parallel_tests_and_I_can_not_lie
...
parallelize test running
2018-05-16 15:13:20 -04:00
Chris Meyers
0bbc08e587
Merge pull request #1882 from chrismeyersfsu/fix-installer_readme
...
add variables to inventory mentioned in docs
2018-05-15 16:12:14 -04:00
Chris Meyers
1d0ed6b0b3
Merge pull request #1733 from chrismeyersfsu/fix-instance_enabled_flag
...
disabled instance stay subscribed to bcast queue
2018-05-09 17:11:51 -04:00
Chris Meyers
2c118fc82d
Merge pull request #1678 from chrismeyersfsu/fix-better_cluster_log_messages
...
better cluster membership policy log messages
2018-05-03 11:48:18 -04:00
Chris Meyers
a50358afc5
Merge pull request #1638 from chrismeyersfsu/fix-isolated_heartbeat
...
control celery routes using celery router
2018-05-02 13:51:58 -04:00
Chris Meyers
e24eef1d13
Merge pull request #1656 from chrismeyersfsu/fix-instance_group_creation_required
...
only require the name field when creating instance group
2018-05-02 13:07:46 -04:00
Chris Meyers
cbc1fc2faa
Merge pull request #1635 from chrismeyersfsu/fix-tower_instance_group_read_only
...
make tower instance group name field read-only
2018-05-01 13:54:52 -04:00
Chris Meyers
22c2bd0257
Merge pull request #1629 from chrismeyersfsu/fix-stable_broadcast_queue_name
...
broadcast queues get a per-node stable queue name
2018-05-01 13:53:25 -04:00
Chris Meyers
1bf3624db7
Merge pull request #1548 from chrismeyersfsu/fix-very_round_up_instance_policy_percentage
...
ensure instance policy percentages round up
2018-04-25 10:37:10 -04:00
Chris Meyers
f8b547e528
Merge pull request #1552 from chrismeyersfsu/fix-policy_not_required_field
...
policy fields not required
2018-04-24 14:23:35 -04:00
Chris Meyers
a2901a47ee
Merge pull request #1410 from chrismeyersfsu/fix-revert_tower_special_group
...
send all tower work to a user-hidden queue
2018-04-20 14:21:50 -04:00
Chris Meyers
df298cec36
Merge pull request #1374 from chrismeyersfsu/fix-proj_update_redact
...
redact project update urls when downloading stdout
2018-04-19 09:09:24 -04:00
Chris Meyers
85b026dec7
Merge pull request #1326 from chrismeyersfsu/fix-ldap_defaults
...
set better defaults for ldap
2018-04-10 15:54:56 -04:00
Chris Meyers
675920efb6
Merge pull request #1254 from chrismeyersfsu/fix-polymorphic_delete
...
update polymorphic delete workaround django 1.11
2018-04-06 11:28:16 -04:00
Chris Meyers
21e8661fae
Merge pull request #1222 from chrismeyersfsu/fix-isolated_query
...
use non-deprecated way of setting many2many
2018-04-03 14:40:26 -04:00
Chris Meyers
9677a9841c
Merge pull request #1221 from chrismeyersfsu/fix-isolated_query
...
fixed isolated instance query
2018-04-03 14:04:01 -04:00
Chris Meyers
654a1b3e09
Merge pull request #1201 from chrismeyersfsu/fix-provision_instance_list
...
append registered hostname to policy list
2018-04-02 16:39:20 -04:00
Chris Meyers
d2c9bd2f3b
Merge pull request #1194 from chrismeyersfsu/fix-more_better_unicode_handling
...
better unicode handling
2018-04-02 16:31:21 -04:00
Chris Meyers
07aa99f949
Merge pull request #1192 from chrismeyersfsu/fix-stdout_handler_undefined
...
more gracefully account for undefined stdout
2018-04-02 11:58:07 -04:00
Chris Meyers
47fa99d3ad
Merge pull request #1154 from chrismeyersfsu/enhancement-tower_in_all_groups
...
add all instances to special tower instance group
2018-04-02 09:39:04 -04:00
Chris Meyers
8c3b1c06d9
Merge pull request #1160 from chrismeyersfsu/fix-instance_running_jobs
...
fix api browser endpoint title
2018-03-28 16:31:00 -04:00
Chris Meyers
fe0e873108
Merge pull request #1144 from chrismeyersfsu/fix-auto_reprovision
...
delay looking up settings SYSTEM_UUID
2018-03-28 10:32:24 -04:00
Chris Meyers
bc34a74b7e
Merge pull request #1142 from chrismeyersfsu/fix-ldap_options_label
...
fix ldap group type params label
2018-03-28 09:15:39 -04:00
Chris Meyers
4740f90dc7
Merge pull request #1129 from chrismeyersfsu/enhancement-node_reregister
...
reregister node when they come back online
2018-03-27 15:24:58 -04:00
Chris Meyers
09babbe862
Merge pull request #1677 from chrismeyersfsu/fix-traceback_msg
...
call celery method with celery context
2018-03-26 13:03:32 -04:00
Chris Meyers
ddf000e8e7
Merge pull request #1643 from chrismeyersfsu/fix-tower_special_group
...
do not allow tower group delete or name change
2018-03-22 08:06:03 -04:00
Chris Meyers
3446134501
Merge pull request #1646 from chrismeyersfsu/fix-kombu_unicode
...
use non-unicode queue names
2018-03-21 21:59:05 -04:00
Chris Meyers
724812e87c
Merge pull request #1637 from chrismeyersfsu/fix-instance_removed_from_group
...
handle instance group names unicode
2018-03-21 15:47:00 -04:00
Chris Meyers
0689cea806
Merge pull request #1572 from chrismeyersfsu/fix-instance_removed_from_group
...
handle unicode things in task logger
2018-03-15 16:25:13 -04:00
Chris Meyers
0cf1b4d603
Merge pull request #1535 from chrismeyersfsu/fix-protect_tower_group
...
prevent tower group delete and update
2018-03-15 16:02:36 -04:00
Chris Meyers
2640ef8b1c
Merge pull request #1536 from chrismeyersfsu/fix-protect_instance_groups
...
prevent instance group delete if running jobs
2018-03-15 14:57:45 -04:00
Chris Meyers
724ca23685
Merge pull request #1534 from chrismeyersfsu/fix-4_job_limit
...
autoscale celery up to 50 workers
2018-03-12 15:45:01 -04:00
Chris Meyers
181af03ab9
Merge pull request #1495 from chrismeyersfsu/fix-celery_rollback
...
more celery rollback
2018-03-09 09:31:31 -05:00
Chris Meyers
80a970288d
Merge pull request #1443 from chrismeyersfsu/fix-named_urls
...
handle 404 returned by resolve()
2018-03-05 14:37:07 -05:00
Chris Meyers
9df76f963b
Merge pull request #1412 from chrismeyersfsu/reap_new_nodes_too
...
reap all nodes that havn't checked in
2018-03-02 10:03:37 -05:00
Chris Meyers
f907995374
Merge pull request #1417 from chrismeyersfsu/fix-config_watcher
...
invoke main() in config watcher script
2018-03-01 17:11:58 -05:00
Chris Meyers
8c1ec37c80
Merge pull request #1411 from chrismeyersfsu/early_first_heartbeat
...
call node init procedures as early as possible
2018-03-01 13:01:37 -05:00
Chris Meyers
f18d99d7a9
Merge pull request #1409 from chrismeyersfsu/openshift_runtime_rabbitmq_cookie
...
dynamically set rabbitmq cookie
2018-03-01 09:57:11 -05:00
Chris Meyers
d551566b4d
Merge pull request #1372 from chrismeyersfsu/old-celery3
...
celery 4.x to 3.x roll back
2018-02-27 15:26:46 -05:00
Chris Meyers
1808559586
Merge pull request #1102 from chrismeyersfsu/tests-job_schedules_xss
...
add xss test for jobs schedules
2018-02-02 11:29:42 -05:00
Chris Meyers
09981c0020
Merge pull request #1107 from ansible/docs-saml2
...
Extend saml docs to include new fields added
2018-02-01 14:33:51 -05:00
Chris Meyers
3c541a4695
Merge pull request #1111 from ansible/jakemcdermott-update-ldap-docs
...
Updates to ldap documentation
2018-02-01 14:30:23 -05:00
Chris Meyers
f24289b2ba
Extend saml docs to include new fields added
2018-02-01 11:27:01 -05:00
Chris Meyers
a47b403f8d
Update saml.md
2018-02-01 11:05:08 -05:00
Chris Meyers
6699be95bf
Merge pull request #995 from chrismeyersfsu/improvement-fact_cache_log_job
...
add job_id to fact cache log output
2018-01-17 11:30:57 -05:00
Chris Meyers
2b1d2b2976
Merge pull request #805 from chrismeyersfsu/feature-saml_import_attr
...
allow for saml attributes to define team and org
2018-01-15 11:57:05 -05:00