Ryan Petrello
b8dbf62abc
delete some old, dead code
2018-07-03 10:30:22 -04:00
Ryan Petrello
4d7a20a9fb
support env vars that contain unicode (without hanging)
...
see: https://github.com/ansible/tower/issues/2391
see: https://github.com/pexpect/pexpect/issues/512
2018-07-03 08:26:11 -04:00
Ryan Petrello
380df1b327
Merge pull request #2380 from ryanpetrello/noisy-celery-watcher
...
make celery-watcher less noisy
2018-07-02 11:01:18 -04:00
Ryan Petrello
a8eb4327ea
make celery-watcher less noisy
2018-07-02 10:44:06 -04:00
Jake McDermott
3edf5ba95c
remove offset from final_counter
2018-07-02 10:08:12 -04:00
Alan Rominger
6f63c7ba38
Merge pull request #2346 from AlanCoding/no_controller_node
...
No controller node field for project updates
2018-06-29 14:52:34 -04:00
AlanCoding
8ae979908c
Enforce unified list field consistency
...
Discovered via bug: controller_node field present in
project update list but not in detail view
Added tests to assert that "unified" list serializer
produces same fields as the ordinary serializer,
for unified jobs & unified JTs
Added test to check that list serializers do differ
from detail serializer except for allowed differences
Added test to check that list serializers are applied
correctly - only on list views, and that detail views,
likewise, do not use list serializers
Fix the many many bugs discovered by these new
testing mechanisms
2018-06-29 14:03:52 -04:00
Ryan Petrello
b2cdf82b78
make settings.SESSIONS_PER_USER work
...
see: https://github.com/ansible/tower/issues/2209
2018-06-27 12:09:56 -04:00
Ryan Petrello
f6920a02cf
make awx-manage expire_sessions --user xyz more robust
...
see: https://github.com/ansible/tower/issues/2316
2018-06-26 08:52:52 -04:00
Yunfan Zhang
37d61904bf
Merge pull request #2177 from YunfanZhang42/disallow_dict_on_credentials
...
Disallow posting dictionary as credentials to JT launch API endpoint.
2018-06-20 13:37:21 -04:00
Alan Rominger
8dc2068d18
Merge pull request #2238 from AlanCoding/hold_auth_app
...
Delay auth app migrations until 3.3
2018-06-20 13:27:44 -04:00
Yunfan Zhang
9fec43c643
Disallow posting dictionary as credentials to JT launch API endpoint.
2018-06-20 13:05:47 -04:00
Alan Rominger
d1bc9758db
Merge pull request #2060 from AlanCoding/one_less_counter
...
Get rid of duplicate counter variable
2018-06-20 09:46:03 -04:00
AlanCoding
ecf24b6eef
delay auth app migrations until 3.3
2018-06-20 07:57:40 -04:00
Ryan Petrello
ff2f7aa950
expedite the heartbeat when an isolated node is registered
2018-06-19 15:37:02 -04:00
Ryan Petrello
471ff69257
stop setting celery's hostname dynamically (it's passed via the cli)
2018-06-19 12:16:00 -04:00
Ryan Petrello
ef6433c6f9
Revert "fix celery task reaper"
...
This reverts commit 1359208a99 .
2018-06-18 16:18:20 -04:00
Ryan Petrello
eb9083c447
allow the bundled ansible virtualenv to be selected on JT/Proj
...
see: https://github.com/ansible/awx/issues/34
2018-06-18 14:33:09 -04:00
Christian Adams
7aa835abd4
Merge pull request #2210 from rooftopcellist/fix_refresh_token_fallout
...
fix oauth2 refresh tests for dat112
2018-06-18 14:31:35 -04:00
adamscmRH
b498585c27
fix oauth2 refresh tests for dat112
2018-06-18 13:27:18 -04:00
Ryan Petrello
427271f791
fix busted migrations
2018-06-15 20:38:57 -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
1359208a99
fix celery task reaper
...
* celery workers have internal queue names that are named after the
system hostname. This may differ from what tower knows the host by,
Instance.hostname
This adds a mapping so we can convert internal celery names to Instance
names for purposes of reaping jobs.
2018-06-15 16:56:53 -04:00
Christian Adams
1b5ea07745
Merge pull request #2171 from rooftopcellist/upgrade_oauth_112
...
Upgrade Django-oauth-toolkit to 1.1.2
2018-06-15 10:22:20 -04:00
adamscmRH
c5f2b9a471
upgrade django-oauth-toolkit to 1.1.2
2018-06-15 09:50:34 -04:00
AlanCoding
16696a6fea
get rid of duplicate counter variable
2018-06-15 09:29:13 -04:00
Alan Rominger
ad354238e9
Merge pull request #2165 from AlanCoding/bwrap_where_art_thou
...
log details for unhandled bwrap case
2018-06-14 15:18:09 -04:00
AlanCoding
adee02ab51
log details for unhandled bwrap case
2018-06-14 14:01:59 -04:00
Ryan Petrello
0bcbccba33
enforce True or False for boolean credential injectors
...
see: https://github.com/ansible/tower/issues/2038
2018-06-14 12:34:54 -04:00
Yunfan Zhang
2a983e3dec
Merge pull request #2152 from YunfanZhang42/host_filter_case_insensitive
...
Make search in Smart Filter case insensitive.
2018-06-13 16:21:00 -04:00
Ryan Petrello
84eacfc360
fix a few isolated dev issues
...
the main goal of this change is to make `make docker-isolated` work out
of the box
- specify the proper version for awx-expect --version
- update some deprecated playbook bits
- change the isolated container to privileged so bwrap will work
- fix awx-manage test_isolated_connection
- expedite the first isolated heartbeat so you don't have to wait 10m;
this is accomplished by _not_ setting Instance.last_isolated_check to
now() at insertion time (which causes the next check not to happen for
10 minutes)
- fix a bug that caused isolated node execution to fail when bwrap was
enabled
see: https://github.com/ansible/tower/issues/2150
This reverts commit 9863fe71dc .
2018-06-13 14:17:58 -04:00
Yunfan Zhang
f332c0b8c3
Make search in host_filter case insensitive.
2018-06-13 14:16:48 -04:00
Jake McDermott
5cf2204f0e
Merge pull request #2131 from jakemcdermott/job-results/eof-counter
...
replace final_line_count with final_counter for EOF websocket
2018-06-12 14:11:33 -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
Alan Rominger
ce117285e1
Merge pull request #2079 from AlanCoding/creds_no_op
...
Allow no-op case when modifying deprecated credentials
2018-06-12 09:08:35 -04:00
Ryan Petrello
1488c737a1
Merge pull request #2123 from ryanpetrello/fix-2118
...
more gracefully handle fact cache failures for hosts that contain /
2018-06-12 07:59:23 -04:00
Alan Rominger
a8c31a51e9
Merge pull request #2004 from AlanCoding/checkin_access
...
Allow managing credentials with external user management
2018-06-12 07:47:16 -04:00
Alan Rominger
951142d510
Merge pull request #1950 from AlanCoding/more_roles
...
Cover testing of new 3.3 org roles for user security fix
2018-06-12 07:45:36 -04:00
Jake McDermott
60a38a196a
add final_counter to EOF websocket
2018-06-11 18:36:28 -04:00
Jake McDermott
9137b4acef
Merge pull request #2114 from jakemcdermott/job-results/host-counts
...
reduce the minimum number of http requests required to load job details from 7 to 3
2018-06-11 18:19:14 -04:00
Ryan Petrello
d0d7bf5c21
more gracefully handle fact cache failures for hosts that contain /
...
see: https://github.com/ansible/awx/issues/1977
related: https://github.com/ansible/ansible/issues/41413
2018-06-11 15:38:09 -04:00
Ryan Petrello
62c5784833
fix failing flake8
2018-06-11 15:21:47 -04:00
Yunfan Zhang
ee00c628af
Merge pull request #2116 from YunfanZhang42/release_3.3.0
...
Disallow HTTP update methods in job_detail API endpoint.
2018-06-11 15:10:11 -04:00
Yunfan Zhang
1bc1a6f63f
Disallow HTTP update methods in job_detail API endpoint.
2018-06-11 14:47:43 -04:00
Ryan Petrello
fa9b7106ff
Merge pull request #2102 from ryanpetrello/fix-2085
...
WIP: add a background process to spot celery hangs and reload the worker pool
2018-06-11 12:44:18 -04:00
Ryan Petrello
88e3c46810
add a background process to spot celery hangs and reload the worker pool
...
see: https://github.com/ansible/tower/issues/2085
2018-06-11 12:22:21 -04:00
Jake McDermott
92ae09e163
add host_status_counts and playbook_counts to project update details
2018-06-08 22:27:41 -04:00
chris meyers
fb11967114
remove isolated instance group queue listening
2018-06-08 13:46:58 -04:00
chris meyers
1cea20092c
remove rampart group queue subscription
...
* We now target Instances in the task manager when transitioning jobs
from pending to waiting; whereas before we submitted jobs to Instance
Groups to be picked up by Instance's in those Instance Groups.
Subscribing Instances to their Instance Groups is no longer needed. This
change removes the Instance Group queue subscription.
2018-06-08 11:20:54 -04:00
Yunfan Zhang
1255cfc2f0
Merge pull request #2104 from YunfanZhang42/release_3.3.0
...
Fix job id incorrectly cast to string in ActiveJobConflict.
2018-06-08 09:53:06 -04:00