Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding d41d9a957e stubs and docs for management cmd renames 2017-08-07 15:27:23 -04:00
AlanCoding 79e2b995d2 initial git mv for management command renaming 2017-08-07 15:23:26 -04:00
Alan Rominger 795a470603 Merge pull request #209 from AlanCoding/non_atomic
do not use transaction.atomic where locks are also used
2017-08-07 14:45:11 -04:00
AlanCoding 3cb986b2b0 do not use transaction.atomic where locks are also used 2017-08-07 14:29:44 -04:00
Alan Rominger fe66d161b2 Merge pull request #140 from AlanCoding/poly_why
hack to work around Django-polymorphic prefetch_related bug
2017-08-07 14:24:17 -04:00
Alan Rominger 41d50d366c Merge pull request #196 from AlanCoding/insights_field
allow insights_system_id to self-enforce its read_only property
2017-08-07 09:58:41 -04:00
AlanCoding 45a58b24a6 allow insights_system_id to self-enforce its read_only property 2017-08-04 15:54:56 -04:00
Alan Rominger 1487a68aca Merge pull request #188 from AlanCoding/can_RBAC
remove can_update from RBAC checks
2017-08-04 14:45:50 -04:00
AlanCoding dfda406090 remove can_update from RBAC checks 2017-08-04 12:39:05 -04:00
Alan Rominger 8fd7a94c62 Merge pull request #185 from AlanCoding/display_keys
include read_only settings in list for special case
2017-08-04 09:24:05 -04:00
AlanCoding 59be2796be include read_only settings in list for special case 2017-08-04 08:29:57 -04:00
Alan Rominger a87f6bfe62 Merge pull request #174 from AlanCoding/task_callback_logs
Improve logging for errors in job success/fail hooks
2017-08-03 12:17:29 -04:00
AlanCoding 1eddd29098 Improve logging for errors in job success/fail hooks
This sets the instance=None and continues with dependent
subtask processing in handle_work_error, whereas execution had
been getting halted by a DNE error.
2017-08-03 11:37:59 -04:00
Alan Rominger d9fa600182 Merge pull request #169 from AlanCoding/isolated_verbose
provide the job id in isolated management logs
2017-08-03 10:46:39 -04:00
AlanCoding 5d254d781a provide the job id in isolated management logs 2017-08-03 10:29:48 -04:00
Alan Rominger 22d538702a Merge pull request #147 from AlanCoding/underscores
add underscores to Role serializer resource_type
2017-08-03 09:01:18 -04:00
Alan Rominger e3f0246f4c Merge pull request #132 from AlanCoding/fix_restarts
fix restarts in dev, allow shutdown traceback
2017-08-02 14:37:24 -04:00
AlanCoding b01732bcb3 fix restarts in dev, allow shutdown traceback 2017-08-02 14:25:20 -04:00
Alan Rominger c6a790bd24 Merge pull request #145 from AlanCoding/vault_perm
treat vault_credential same as credential for JT launch
2017-08-02 09:46:40 -04:00
AlanCoding 321591515c hack to work around Django-polymorphic select_related bug 2017-08-02 09:32:13 -04:00
AlanCoding 4d8faa7265 add underscores to Role serializer resource_type 2017-08-02 08:27:25 -04:00
AlanCoding 0b617d7538 treat vault_credential same as credential for JT launch 2017-08-02 08:24:24 -04:00
Alan Rominger a27e500edd Merge pull request #130 from AlanCoding/one_and_only_hostname
remove --hostnames option for registering nodes
2017-08-01 14:52:52 -04:00
Alan Rominger 4c8e4e1d01 Merge pull request #136 from ansible/revert-117-add_job_type
Revert "add job_type to job summary fields"
2017-08-01 13:57:21 -04:00
Alan Rominger 24d173c74f Revert "add job_type to job summary fields" 2017-08-01 12:36:36 -04:00
Alan Rominger 9a414c5c60 Merge pull request #133 from AlanCoding/anon_user_act_str
fix bug introduced with anon user activity stream entries
2017-08-01 10:55:08 -04:00
AlanCoding f794472b3d fix bug introduced with anon user activity stream entries 2017-08-01 10:43:49 -04:00
Alan Rominger d42aac5fa4 Merge pull request #48 from AlanCoding/user_name_deletion
impersonate requesting user in inventory deletion task
2017-07-31 16:51:20 -04:00
AlanCoding 2f8a7de6bd remove --hostnames option for registering nodes 2017-07-31 16:44:57 -04:00
AlanCoding 55cc23a712 impersonate requesting user in inventory deletion task 2017-07-31 16:06:36 -04:00
Alan Rominger faa40b23e2 Merge pull request #118 from AlanCoding/no_active_task_list
remove support for celery_active_tasks
2017-07-31 15:25:53 -04:00
Alan Rominger e686e07ca7 Merge pull request #120 from AlanCoding/retry_delete2
retry to delete inventory in deadlocks
2017-07-31 15:10:55 -04:00
AlanCoding 9572b429ad remove support for celery_active_tasks 2017-07-31 15:02:22 -04:00
Alan Rominger 60eba9fbe2 Merge pull request #104 from AlanCoding/extra_cred_restart
Fix RBAC bugs in job relaunch with prompted extra_credentials
2017-07-31 14:59:06 -04:00
AlanCoding 9d4fd44127 retry to delete inventory in deadlocks 2017-07-31 13:43:33 -04:00
Alan Rominger 9d1853f6df Merge pull request #117 from AlanCoding/add_job_type
add job_type to job summary fields
2017-07-31 12:12:08 -04:00
AlanCoding 83dca62e16 add job_type to job summary fields 2017-07-31 10:34:04 -04:00
AlanCoding 1722d2169b Fix RBAC bugs in job relaunch with prompted extra_credentials
In addition to just checking for similarity with JT,
in all cases (prompt_for_credential_on_launch both T/F)
check for use_role on all extra_credentials the job has
if the job extra_credentials differ from the JT
2017-07-28 15:53:29 -04:00
Alan Rominger 76da28783e Merge pull request #98 from AlanCoding/shutdown_signal
set instance capacity to 0 on celery shutdown signal
2017-07-28 13:47:34 -04:00
AlanCoding aff07747f8 set instance capacity to 0 on celery shutdown signal 2017-07-28 12:38:57 -04:00
Alan Rominger 368ff8a4fb Merge pull request #71 from AlanCoding/man_overboard
Set capacity to 0 if instance has not checked in lately
2017-07-27 20:55:16 -04:00
AlanCoding 1112557c79 set capacity to 0 if instance has not checked in lately 2017-07-27 16:20:04 -04:00
Alan Rominger 56e752f7ae Merge pull request #49 from AlanCoding/raw_data_attachment
show just id field for API browser POST box
2017-07-26 16:22:42 -04:00
Alan Rominger 22e1e14c4f Merge pull request #62 from AlanCoding/log_exceptions
introduce new parent task class in order to log exceptions
2017-07-26 12:31:34 -04:00
AlanCoding cf033f3190 introduce new parent task class in order to log exceptions 2017-07-26 12:20:07 -04:00
AlanCoding aa14d12f42 show just id field for API browser POST box 2017-07-25 15:49:16 -04:00
Alan Rominger ac11dcac05 Merge pull request #52 from AlanCoding/my_bad
fix tests
2017-07-25 15:47:39 -04:00
AlanCoding 8746df7b31 update SCM test to mock inventory update 2017-07-25 15:41:01 -04:00
Alan Rominger bd02dd4f1d Merge pull request #36 from AlanCoding/dont_tell_me_twice
Disable activity stream messages for copying labels on job launch
2017-07-25 10:53:33 -04:00
AlanCoding a49209b954 disable activity stream messages for copying labels on job launch 2017-07-25 09:44:06 -04:00
Alan Rominger 439ca6d32e Merge pull request #27 from AlanCoding/initial_sync
Use "sync" type when doing SCM inv src update on create
2017-07-24 21:20:08 -04:00
Alan Rominger ca2671f17e Merge pull request #2 from AlanCoding/ansible_inv_update
Pull upstream changes for ansible-inventory backport
2017-07-24 16:34:12 -04:00
AlanCoding 4aa332d7e1 pull upstream changes for ansible-inventory backport 2017-07-24 15:25:54 -04:00
AlanCoding cc547af18b on initial SCM inv src creation update, dont update project rev 2017-07-24 15:12:16 -04:00
Alan Rominger 2ce300aa1e Merge pull request #15 from AlanCoding/awx_morphin
update TOWER_VENV_PATH setting to new awx location
2017-07-24 12:26:08 -04:00
AlanCoding eaeff7e290 rename setting TOWER_VENV_PATH to AWX_VENV_PATH 2017-07-24 12:23:54 -04:00
AlanCoding 6e3978fe66 update TOWER_VENV_PATH setting to new awx location 2017-07-24 12:13:46 -04:00
Alan Rominger cf967d244b Merge pull request #7166 from AlanCoding/reverse_fk_search
Correct search terms for reverse FK fields
2017-07-21 15:06:47 -04:00
AlanCoding 4bb9bd5a2b correct search terms for reverse FK fields 2017-07-21 14:16:14 -04:00
Alan Rominger 52f8579c04 Merge pull request #7136 from AlanCoding/id_metadata
provide id field in OPTIONS for attaching sublists
2017-07-21 14:11:54 -04:00
AlanCoding dfa892aae1 provide id field in attaching sublists 2017-07-21 13:50:27 -04:00
Alan Rominger b8fafa7160 Merge pull request #7232 from AlanCoding/on_update_words
Clarify UI help text for update_on_project_update
2017-07-21 10:56:42 -04:00
Alan Rominger 1581fd7c50 Merge pull request #7226 from AlanCoding/act_strm_cleanup
disable 2 more types of unhelpful act. str. entries
2017-07-21 10:50:30 -04:00
Alan Rominger eff5022635 Merge pull request #7195 from AlanCoding/exceptions_galore
Additional exception handling for SCM inv updates
2017-07-21 10:49:08 -04:00
AlanCoding 73570ab4dd Clarify UI help text for update_on_project_update 2017-07-21 10:26:25 -04:00
AlanCoding a2b98f0a40 disable 2 more types of unhelpful act. str. entries
project local_path changed as a secondary save after creation
adding jobs to dependency list (not user facing)
2017-07-21 07:47:30 -04:00
AlanCoding f735b649ac additional exception handling for SCM inv updates 2017-07-20 11:40:34 -04:00
Alan Rominger cde950dce7 Merge pull request #7152 from AlanCoding/inv_src_block
block deletion of inventory sources with running jobs
2017-07-20 10:31:25 -04:00
Alan Rominger 834e68ebc9 Merge pull request #7149 from AlanCoding/agressive_canceling
Cancel dependent project updates
2017-07-20 10:29:57 -04:00
Alan Rominger 8dc89d913e Merge pull request #7189 from AlanCoding/dont_update_me_bro
Tell user how to use update_on_launch with source_project
2017-07-20 10:25:08 -04:00
Alan Rominger 4c7e7c281c Merge pull request #7188 from AlanCoding/just_update_already
Allow manual updates in spite of update_on_project_update
2017-07-20 10:13:15 -04:00
AlanCoding f2d51f99dc Allow manual updates in spite of update_on_project_update
This makes inventory sources with the that flag set behave
like any other inventory source with manual use.
They will still update when triggered by a project SCM
hash change.
2017-07-20 09:38:47 -04:00
Alan Rominger c038116626 Merge pull request #7095 from AlanCoding/schedule_validation
Add various validation for schedule extra_data
2017-07-20 09:30:29 -04:00
AlanCoding 828821ada6 tell user how to use update_on_launch with source_project 2017-07-20 08:49:46 -04:00
AlanCoding 7ff23e049a block deletion of inventory sources with running jobs 2017-07-19 08:26:57 -04:00
AlanCoding b0c0176be0 use task code to cancel dependent project updates 2017-07-18 16:44:03 -04:00
Alan Rominger 415c80a279 Merge pull request #7127 from AlanCoding/cannot
Change 'can not' to cannot (by request)
2017-07-18 10:39:15 -04:00
AlanCoding 1e9a0e5814 Change 'can not' to cannot (by request) 2017-07-18 09:01:09 -04:00
Alan Rominger c06d4eaa08 Merge pull request #7121 from AlanCoding/silent_groups
silence activity stream IG assignment
2017-07-18 08:12:47 -04:00
AlanCoding d02bc52ca2 silence activity stream IG assignment 2017-07-17 16:28:13 -04:00
AlanCoding ed7e558575 add various validation for schedule extra_data 2017-07-15 20:47:24 -04:00
Alan Rominger 3d78aa7223 Merge pull request #7087 from AlanCoding/message_tweaking
tweaks to SCM inventory related validation errors
2017-07-14 16:02:53 -04:00
AlanCoding 850f03331b tweaks to SCM inventory related validation errors 2017-07-14 15:48:29 -04:00
Alan Rominger 9f277e8acd Merge pull request #7068 from AlanCoding/nesting_err
fix double nesting of error message in dictionary
2017-07-14 08:52:12 -04:00
AlanCoding f1acb6b79d fix double nesting of error message in dictionary 2017-07-14 08:01:57 -04:00
Alan Rominger 7c3020eada Merge pull request #7048 from AlanCoding/fix-7022
Act. stream Race condition avoidance with additional adjustments
2017-07-13 09:57:10 -04:00
AlanCoding 0a6329feff deleted related in activity stream tests/surfacing
This adds a test to replicate the scenario reported about
bugs in activity stream entry generation in cascade delete
chains. Also puts a new string in the entry that uses the
deleted objects's primary key.
2017-07-13 09:07:53 -04:00
Alan Rominger 506209baae Merge pull request #7037 from AlanCoding/6535_2
Mark inventory source creation views as added 3.2
2017-07-12 19:49:42 -04:00
AlanCoding 45d9b670fd mark inventory source creation views as added 3.2 2017-07-12 15:25:19 -04:00
Alan Rominger 7435162b87 Merge pull request #7027 from AlanCoding/more_trans_str
Mark view error codes for translation
2017-07-12 14:48:53 -04:00
AlanCoding 5153daab17 Mark view error codes for translation 2017-07-12 14:03:30 -04:00
Alan Rominger dc9a351485 Merge pull request #6948 from AlanCoding/6653
Inventory sources update status code tweaks
2017-07-12 13:58:18 -04:00
AlanCoding fb2a4dd20b Inventory sources update status code tweaks
* If all can be updated - 200
* If only some could be updated - 202
* If none could be updated - 400
2017-07-12 13:35:21 -04:00
Alan Rominger fbaba9058c Merge pull request #7021 from AlanCoding/alan_source_project_fix
Fix bug just introduced by source_project validation
2017-07-12 13:09:42 -04:00
AlanCoding 6f84cb8784 fix bug just introduced by source_project validation 2017-07-12 13:00:29 -04:00
Alan Rominger 9371fb2e53 Merge pull request #6926 from AlanCoding/no_manual_manual_sources
prohibit direct creation of manual inventory sources
2017-07-12 12:45:37 -04:00
AlanCoding 2c81a2489e prohibit direct creation of manual inventory sources 2017-07-12 12:29:56 -04:00
Alan Rominger 0c3eac6aa0 Merge pull request #6922 from AlanCoding/dir_crawling
Detailed tweaking of inventory and playbook listings
2017-07-12 12:10:55 -04:00
Alan Rominger 4afb65f447 Merge pull request #6909 from AlanCoding/no_manual_source_proj
Disallow manual projects for SCM inventory
2017-07-12 12:08:19 -04:00
Alan Rominger 28b311fdb5 Merge pull request #6992 from AlanCoding/inv_src_name
Make inventory source naming consistent with v1
2017-07-11 17:04:51 -04:00