Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding dab678c5cc Implement splitting logic in inventory & job task code 2018-10-31 11:04:10 -04:00
AlanCoding e513f8fe31 do 2-pass cancel for workflow jobs 2018-10-26 10:28:30 -04:00
AlanCoding 482395eb6a reduce default verbosity of devel-specific callback logging 2018-10-26 10:03:46 -04:00
AlanCoding 19030b9d5f apply docker-compose fix to cluster target too 2018-10-26 09:36:11 -04:00
AlanCoding 526ca3ae42 automatically delete project files in entire cluster 2018-10-25 16:36:58 -04:00
AlanCoding 8965f1934e fix bug with relaunching with changed JT 2018-10-25 11:45:47 -04:00
AlanCoding 8b3e49cb24 fix server error using 2 creds of same type 2018-10-24 14:59:01 -04:00
AlanCoding 72ce7b194f allow UI to filter by type again 2018-10-24 13:35:04 -04:00
AlanCoding 6117f8297e remove changelog 2018-10-18 09:52:08 -04:00
AlanCoding cfa93b52b7 Always allow resource creation via global list 2018-10-11 12:21:45 -04:00
AlanCoding bdc7efb274 humble beginnings of survey question type validation 2018-10-11 12:10:40 -04:00
AlanCoding a4dfd96a8d Validate ANSIBLE_ injectors on save and increase verbosity 2018-10-09 13:46:51 -04:00
Alan Rominger 2d642b95ae Merge pull request #2369 from AlanCoding/flake8_setup
Fix flake8 errors in setup.py
2018-10-04 12:45:34 -04:00
AlanCoding b94d5c7f20 fix flake8 errors in setup.py 2018-10-04 12:25:07 -04:00
AlanCoding 5900af726b log no-op operation and changed status 2018-09-21 15:23:02 -04:00
Alan Rominger 50a9f0be6b Merge pull request #2960 from AlanCoding/bad_locks
Put atomic block inside lock block
2018-08-30 14:53:01 -04:00
AlanCoding 786e907e3b put atomic block inside lock block 2018-08-30 12:54:53 -04:00
Alan Rominger f175d6dfae Merge pull request #2931 from AlanCoding/more_licenses_yay
Add missing API licenses
2018-08-30 08:09:51 -04:00
Alan Rominger b742746e5d Merge pull request #2928 from AlanCoding/even_more_diff
Prefetch prior list of instances at start of policy calc task
2018-08-24 16:44:08 -04:00
AlanCoding 74fc0fef04 Manually pin reference list at start of pg_lock block 2018-08-24 15:28:28 -04:00
AlanCoding bb8025c1af add missing API licenses 2018-08-24 15:16:56 -04:00
Alan Rominger b35d6b7425 Merge pull request #2911 from AlanCoding/mo_text
Document inventory script towervars
2018-08-23 09:18:36 -04:00
AlanCoding a3d0e10f51 remove added-in tags that reference old AWX 2018-08-22 15:17:47 -04:00
AlanCoding 5e8f7b76f1 document inventory script towervars 2018-08-22 15:16:39 -04:00
Alan Rominger 598449c2ce Merge pull request #2882 from AlanCoding/just_credential2
[option2] move inventory source vault credential validation from view to model
2018-08-21 13:24:50 -04:00
Alan Rominger ee139b306c Merge pull request #2881 from AlanCoding/log_cul_de_sacs
Change loggers from non-propagating to INFO filter
2018-08-21 07:36:52 -04:00
AlanCoding 3f841180da Change loggers from non-propagating to INFO filter 2018-08-20 09:02:55 -04:00
AlanCoding 9a85578925 move inv src vault cred validation from view to model 2018-08-20 08:53:55 -04:00
Alan Rominger fad568c960 Merge pull request #2801 from AlanCoding/register_queue
Only add instances to policy list via CLI command
2018-08-09 10:43:21 -04:00
AlanCoding df05cff850 only add instances to policy list via CLI command 2018-08-09 09:32:09 -04:00
AlanCoding 7aa7cc1c98 add current workflow job to running list 2018-08-08 07:49:02 -04:00
Alan Rominger c2f60f35b4 Merge pull request #2733 from AlanCoding/policy_changes_test
Apply policy task more selectively
2018-08-03 10:59:53 -04:00
AlanCoding a99ebbb02f Apply policy task more selectively 2018-08-03 06:56:15 -04:00
Alan Rominger 0c0d5d4eba Merge pull request #2719 from AlanCoding/differential_policy
Apply policy results differentially
2018-07-31 16:25:14 -04:00
Alan Rominger 9ff249f5c4 Merge pull request #2438 from AlanCoding/ask_user_input_creds
Ask user input if credential prompting enabled
2018-07-31 15:48:19 -04:00
AlanCoding 8eaae97768 Apply policy results differentially
This avoids client-side scripting problems
where they grab the instance list during the
re-calculation which leads to incorrect assumptions
2018-07-31 15:03:36 -04:00
Alan Rominger 0004c42f6d Merge pull request #2628 from AlanCoding/all_projects
Apply lock file to all project updates
2018-07-31 10:36:12 -04:00
Alan Rominger ebfae01aaa Merge pull request #2712 from AlanCoding/easy_way
[openstack option 2] cherry pick only openstack critical fix for empty group
2018-07-30 19:23:08 -04:00
AlanCoding 415f91dca0 cherry pick only openstack critical fix for empty group 2018-07-30 11:35:21 -04:00
Alan Rominger 979eaeddfa Merge pull request #2687 from AlanCoding/play_nice
fix conflicting migrations
2018-07-26 10:45:08 -04:00
AlanCoding d1b89815f7 fix conflicting migrations 2018-07-26 10:38:26 -04:00
Alan Rominger e96706b2fa Merge pull request #2090 from christoph-kluge/patch-1
Upgrade ansible-tower-cli if it was preinstalled
2018-07-26 09:26:13 -04:00
Alan Rominger 5a7119759a Merge pull request #2672 from AlanCoding/popin_locking
Lock IG for updating list
2018-07-25 15:48:41 -04:00
AlanCoding 39cb9f2652 lock IG for updating list 2018-07-25 11:08:40 -04:00
Alan Rominger f0252f67dc Merge pull request #2625 from AlanCoding/just_role
Write special cases for object_association field
2018-07-24 07:46:22 -04:00
Alan Rominger 4c023d21af Merge pull request #2639 from AlanCoding/cool_as_isolated
Disallow adding or removing instance from iso-IG
2018-07-23 15:57:23 -04:00
AlanCoding 6d305c60d5 Disallow adding or removing instance from iso-IG 2018-07-23 15:39:30 -04:00
Alan Rominger c878c027f5 Merge pull request #2631 from AlanCoding/host_dne
Handle does-not-exist errors in JobHostSummary unicode method
2018-07-23 10:37:37 -04:00
AlanCoding fa3a334424 Handle does not exist errors in JobHostSummary unicode 2018-07-23 10:17:47 -04:00
AlanCoding abdc7b9232 apply lock file to all project updates 2018-07-20 14:23:35 -04:00
AlanCoding 5de321ae7a write special cases for object_association field 2018-07-20 12:40:12 -04:00
Alan Rominger eb22e09e4d Merge pull request #2568 from AlanCoding/fussy_logger
Add log statement if canceling takes way too long
2018-07-19 10:30:45 -04:00
Alan Rominger 5c7c441b47 Merge pull request #2555 from AlanCoding/app_name_unique
Make applications org-name-unique
2018-07-17 16:49:57 -04:00
AlanCoding 7221c9dae1 add log statement if canceling takes way too long 2018-07-17 12:06:20 -04:00
Alan Rominger 27bf12feb2 Merge pull request #2563 from AlanCoding/old_timer_types
Strict type enforcement of deprecated launch fields
2018-07-17 11:53:17 -04:00
AlanCoding a38d6552e8 strict type enforcement of deprecated launch fields 2018-07-17 08:41:40 -04:00
AlanCoding 885ea2c5e1 make applications name-unique 2018-07-16 15:54:00 -04:00
Alan Rominger 9208ef6664 Merge pull request #2540 from AlanCoding/towerkit_protector
Raise 400 instead of ignoring if fields mismatch v1/v2
2018-07-16 13:29:12 -04:00
Alan Rominger 9db6202210 Merge pull request #2538 from AlanCoding/team_queryset
Remove custom get_queryset that ignored special case
2018-07-16 11:14:31 -04:00
Alan Rominger 53b4a4e2fc Merge pull request #2531 from AlanCoding/everything_text_type
Fix unicode bug in launch error message
2018-07-16 10:49:44 -04:00
AlanCoding fd468ac766 raise 400 instead of ignoring if fields mismatch v1/v2 2018-07-16 09:36:43 -04:00
AlanCoding b5b2bf15df remove custom get_queryset that ignored special case 2018-07-14 21:09:57 -04:00
AlanCoding e897cbd237 fix unicode bug in launch error message 2018-07-13 15:50:50 -04:00
Alan Rominger 9a44f6d13d Merge pull request #2524 from AlanCoding/schedule_log
Add missing job lifecycle log for schedule spawns
2018-07-13 14:18:15 -04:00
AlanCoding a5803255ac add missing job lifecycle log for schedule spawns 2018-07-13 11:13:47 -04:00
Alan Rominger 2ceae5c88a Merge pull request #2496 from AlanCoding/proj_create
Restore project_admin as role for project creation
2018-07-11 16:11:09 -04:00
AlanCoding 46c8920020 restore project_admin as role for project creation 2018-07-11 15:36:48 -04:00
Alan Rominger f268857129 Merge pull request #2466 from AlanCoding/prompts_but_not_prompts
Fix regression of JT callback relaunch
2018-07-11 13:58:39 -04:00
AlanCoding 6697d0c205 fix bug where empty extra vars gave relaunch 500 2018-07-11 13:09:44 -04:00
Alan Rominger 00cc002b8e Merge pull request #2467 from AlanCoding/ig_errors
Fix server errors unattaching instance from group
2018-07-10 16:20:21 -04:00
Alan Rominger a7561ce527 Merge pull request #2478 from AlanCoding/std_env
Move static inventory update options to constants
2018-07-10 16:01:31 -04:00
AlanCoding a634b6b9e7 move static inventory update options to constants 2018-07-10 14:45:55 -04:00
Alan Rominger 7b860e4eeb Merge pull request #2445 from AlanCoding/true_admin
Fix bug with custom script user_capabilities
2018-07-10 10:25:17 -04:00
AlanCoding 73f3837f62 fix server errors unattaching instance from group 2018-07-10 09:38:56 -04:00
AlanCoding ec643d6406 fix regression of callback relaunch 2018-07-10 08:45:23 -04:00
Alan Rominger c78e274373 Merge pull request #2459 from AlanCoding/old_cred_msg
Change key to match old error message
2018-07-09 15:57:11 -04:00
AlanCoding e36458a6c0 change key to match old error message 2018-07-09 15:36:13 -04:00
Alan Rominger a90329f21b Merge pull request #2385 from AlanCoding/team_org_object_roles
Allow adding teams to org object roles
2018-07-09 15:34:45 -04:00
AlanCoding e044b996e5 allow adding teams to org object roles 2018-07-09 14:13:57 -04:00
Alan Rominger 2dd3014374 Merge pull request #2441 from AlanCoding/error_message
Fix regression: include error message from remote server
2018-07-09 13:51:06 -04:00
AlanCoding 7860cda9dc fix bug with custom script user_capabilities 2018-07-09 10:15:17 -04:00
AlanCoding 34e2d9b47c fix regression: include error message from remote server 2018-07-09 09:04:14 -04:00
AlanCoding 6a9a8eacc2 ask user input if credential prompting enabled 2018-07-09 08:37:47 -04:00
Alan Rominger 0b811a53ff Merge pull request #2410 from AlanCoding/filterama
Show filterable: False if not filterable
2018-07-03 17:32:11 -04:00
Alan Rominger 13c1b87df4 Merge pull request #2191 from AlanCoding/schedule_fixes
Fix bugs creating WFJT schedule with passwords
2018-07-03 16:51:01 -04:00
Alan Rominger 360ad7ad61 Merge branch 'release_3.3.0' into filterama 2018-07-03 15:42:37 -04:00
Alan Rominger 1f7d7151ad Merge pull request #2405 from AlanCoding/app_act_str
Add back in application activity stream link
2018-07-03 15:23:18 -04:00
AlanCoding b97626bf37 show filterable: False if not filterable 2018-07-03 15:21:10 -04:00
AlanCoding 2a5853e4fc add back in application activity stream link 2018-07-03 14:30:56 -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
Alan Rominger d5661a0434 Merge pull request #2343 from AlanCoding/credential_hell
Copy JT credential logic to Job summary fields
2018-06-28 19:27:33 -04:00
AlanCoding a15527b54c copy JT credential logic to Job summary fields 2018-06-27 14:39:35 -04:00
Alan Rominger bed4d240af Merge pull request #2274 from AlanCoding/absolute_nonsense
Remove brittle condition causing schema to fail
2018-06-21 15:44:48 -04:00
AlanCoding b2251cb916 remove brittle condition causing schema to fail 2018-06-21 14:39:25 -04:00
AlanCoding 94fce61d36 do not show create_schedule link in v1 2018-06-21 10:09:47 -04:00
AlanCoding f753bea24f Test-based fixes to launch config password handling
Fix bug creating WFJT schedule with passwords:
discard survey_passwords field if given in WFJT
prompts processing method.
Fixed by porting prior JT fix to WFJT method of
same name.

Fix bug where API browser will show encrypted form
of variables in the POST submission box after
failed attempt:
copy extra_data so encrypted data values are not
added in still-linked request.data

Fix a bug where submitted extra_data $encrypted$ string
literal was saved because survey_passwords was empty
when there was no diff from prior.

Allow not answering required password questions with a
non-empty default value when saving a launch config.
The literal $encrypted$ string now gets passed into the
prompts / survey validator.
2018-06-20 14:18:38 -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
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