Commit Graph

618 Commits

Author SHA1 Message Date
Chris Meyers
a08a158672 remove azure 2017-09-18 10:35:32 -04:00
AlanCoding
6944ffa010 change imports to reflect isolated->expect move 2017-08-15 12:08:58 -04:00
AlanCoding
5dfe0b205f pass over job-run exceptions & log ID 2017-08-14 09:57:32 -04:00
Chris Meyers
51855f1b82 Merge pull request #226 from chrismeyersfsu/fix-7399
reap waiting processes if crash
2017-08-09 14:44:37 -04:00
Chris Meyers
c3f24d878d reap waiting processes if crash 2017-08-09 14:01:33 -04:00
AlanCoding
93aed04389 log specific errors for problems managing lost instance 2017-08-08 14:48:21 -04:00
Alan Rominger
8e22c7e668 Merge pull request #168 from AlanCoding/silence_computed_fields
silence benign errors from inventory computed fields task
2017-08-08 09:24:30 -04:00
Alan Rominger
9f63624292 Merge pull request #192 from AlanCoding/alan_bug
fix logger bug introduced in task except
2017-08-08 09:12:53 -04:00
Aaron Tan
148af54af7 Prevent passing "all" to GCE_ZONE 2017-08-04 14:30:37 -04:00
AlanCoding
e28e74b466 fix logger bug introduced in task except 2017-08-04 13:22:16 -04:00
Chris Meyers
4b830e1176 fix fact cache timeout env var key name 2017-08-04 09:39:18 -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
AlanCoding
06eabc4410 silence benign errors from inventory computed fields task 2017-08-03 08:45:28 -04:00
AlanCoding
b01732bcb3 fix restarts in dev, allow shutdown traceback 2017-08-02 14:25:20 -04:00
AlanCoding
55cc23a712 impersonate requesting user in inventory deletion task 2017-07-31 16:06:36 -04:00
AlanCoding
9d4fd44127 retry to delete inventory in deadlocks 2017-07-31 13:43:33 -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
Aaron Tan
7df6fbf0a8 Merge pull request #66 from jangsutsr/3467_move_satellite_ini_config_from_env_to_source_var
Move Satellite 6 .ini configurations from env variables to source_vars
2017-07-28 11:07:18 -04:00
AlanCoding
1112557c79 set capacity to 0 if instance has not checked in lately 2017-07-27 16:20:04 -04:00
Aaron Tan
323d7757dd Move Satellite 6 .ini configurations from env variables to source_vars 2017-07-27 14:08:07 -04:00
Matthew Jones
ea03e00a0f Add back in PRIVILEGE_ESCALATION_METHODS inadvertantly removed 2017-07-26 14:16:17 -04:00
Matthew Jones
01403f5fa4 Add awx_ and AWX_ environment vars and extra_vars alongside Tower 2017-07-26 13:35:30 -04:00
Matthew Jones
b3b4a515e2 Refactor some tower periodic tasks to label as awx 2017-07-26 13:35:30 -04:00
Matthew Jones
cc0802c87e Refactor fact cache plugin from tower -> awx 2017-07-26 13:33:30 -04:00
Matthew Jones
d4b1a07495 Rename tower display plugins to awx display 2017-07-26 13:33:30 -04:00
Matthew Jones
c7a85d9738 Mass rename from ansible_(awx|tower) -> (awx|tower) 2017-07-26 13:33:26 -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
Bill Nottingham
864d803273 Don't hardcode privilege escalation prompts if they're all of the same format.
Just create them all from supported privilege escalation types.
2017-07-25 17:23:10 -04:00
Ryan Petrello
373240135c Merge pull request #34 from ryanpetrello/release_3.2.0
more tower -> awx for task execution and isolated tooling
2017-07-25 11:16:04 -04:00
Ryan Petrello
e29492a259 more tower -> awx for task execution and isolated tooling 2017-07-25 10:36:06 -04:00
Bill Nottingham
0cf376ca6f Merge pull request #23 from wenottingham/do-pmrun-run-run
Fixup prompt check for pmrun usage
2017-07-25 10:07:59 -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
Chris Meyers
145caafdc8 Merge pull request #17 from chrismeyersfsu/fix-6570
all dependent jobs must finish before starting job
2017-07-24 15:33:23 -04:00
AlanCoding
cc547af18b on initial SCM inv src creation update, dont update project rev 2017-07-24 15:12:16 -04:00
Bill Nottingham
e345041173 Fixup prompt check for pmrun usage 2017-07-24 12:59:41 -04:00
Chris Meyers
525490a9a0 all dependent jobs must finish before starting job
related to https://github.com/ansible/ansible-tower/issues/6570 https://github.com/ansible/ansible-tower/issues/6489

* Ensure that all jobs dependent on a job have finished (i.e. error,
success, failed) before starting the dependent job.
* Fixes a bug where a smaller set of dependent jobs to fail upon a
update_on_launch job failing is chosen.
* This fixes the bug of jobs starting before dependent Project Updates
created via update on launch. This also fixes similar bugs associated
with inventory updates.
2017-07-24 12:31:35 -04:00
AlanCoding
eaeff7e290 rename setting TOWER_VENV_PATH to AWX_VENV_PATH 2017-07-24 12:23:54 -04:00
Matthew Jones
f175fbba23 Fix up some tower-manage -> awx-manage commands 2017-07-24 09:38:36 -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
Ryan Petrello
198f2e31a4 consolidate tasks.py cleanup for temporary files into a single place
see: #6199
2017-07-20 15:12:06 -04:00
Ryan Petrello
1848c25370 Merge pull request #7212 from ryanpetrello/fix-ec2-invsource
fix a bug that breaks inventory updates if no credential is supplied
2017-07-20 14:55:33 -04:00
Ryan Petrello
2e659244f7 fix a bug that breaks inventory updates if no credential is supplied
see: #7206
2017-07-20 14:30:41 -04:00
AlanCoding
f735b649ac additional exception handling for SCM inv updates 2017-07-20 11:40:34 -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
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
AlanCoding
b0c0176be0 use task code to cancel dependent project updates 2017-07-18 16:44:03 -04:00
Wayne Witzel III
1a3131b1a8 Merge pull request #7128 from wwitzel3/issue-4040
Set capacity to zero before shutting down older instances
2017-07-18 13:40:52 -04:00
Wayne Witzel III
1a480f9895 Add a raise after stop_local_services just to be explicit 2017-07-18 10:30:42 -04:00