Commit Graph

69 Commits

Author SHA1 Message Date
Matthew Jones
e197bfeb01 Add a specific tower warnings file in the tower home directory.
Configure the api viewer to emit warnings for 4XX and 5XX status codes
into that file.  Configure it for use on a production system.  Closes AC-685
2014-04-04 16:48:56 -04:00
Matthew Jones
f56b716b8f Switch to using the celery persistent beat scheduler to guard against
the database not being available yet or restarting and taking the celery
scheduler with it
2014-04-04 15:47:45 -04:00
Chris Church
118ddf97f6 Get created_by and modified_by updating automatically. 2014-04-01 21:27:32 -04:00
Chris Church
352197c5d2 Removed admin support (no longer used or maintained). 2014-03-28 22:04:26 -04:00
Chris Church
52ab418abb AC-1040 Unified job template and unified job views. 2014-03-28 01:25:25 -04:00
Matthew Jones
107fc85110 Initial scheduler integration 2014-03-27 15:53:45 -04:00
Chris Church
ceba67fcf0 AC-982 Disable activity stream for inventory import by default. 2014-03-26 00:12:13 -04:00
Chris Church
296e87a632 AC-1040 Removed extra model definitions used for generating migrations. 2014-03-25 09:38:25 -04:00
Chris Church
691942cac3 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-24 17:04:26 -04:00
Chris Church
0ee5c07738 AC-1040 Update jobs models and migrations (work in progress). 2014-03-24 17:02:43 -04:00
Matthew Jones
4b9059388e Switch to using a network socket instead of an ipc socket, closes issue AC-1088 2014-03-21 14:44:22 -04:00
Matthew Jones
f5ea85e0fc Fix some task runner bugs and round out the implementation 2014-03-11 15:26:48 -04:00
Chris Church
8e61d17cb4 Updated zeromq callback to receive callback port via environment variable. Changed production, development and unit tests to all use different ports/queues for the callback. 2014-02-26 14:11:59 -05:00
Matthew Jones
f6870634c4 Cleanup and refactor some parts of thew new zeromq based callback receiver 2014-02-18 13:54:28 -05:00
Chris Church
f02a93c333 AC-1012 Open a new RabbitMQ connection for each forked process to prevent intermittent hang, update debug logging for job event callback. 2014-02-07 17:12:52 -05:00
Chris Church
f579dbd72d Remove test license file accidentally checked in. 2014-02-06 15:26:57 -05:00
Chris Church
ae4743724a AC-982 Added configuration options to disable activity stream logging entirely, or disable only when running inventory import. 2014-02-06 15:25:58 -05:00
Chris Church
11d8387120 AC-990 Make job event filtering by host work even when not capturing hosts M2M. Also fix unit tests to skip checking hosts M2M. 2014-02-06 15:07:42 -05:00
Chris Church
e94e1978be Disable capturing SQL queries in memory when running celeryd in development. 2014-02-04 23:04:58 -05:00
Matthew Jones
4a598d7c0a Initial work towards the celery refactor... adjusting logic to allow building a worker chain... temporarily relax requirements on status checks 2014-01-27 12:20:40 -05:00
Matthew Jones
b9cde9cc42 Fix issue AC-935... make sure we exclude certain regions by default. cn-north-1 was added to our dependency 'boto' here: https://github.com/boto/boto/pull/1939/files but is inaccessible from outside of China 2014-01-17 16:11:50 -05:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Chris Church
fc6ec26ebe AC-752 Update settings to support enabling celeryd using rabbitmq on upgrade, also support config files in /etc/awx/conf.d/. 2014-01-02 11:19:07 -05:00
Chris Church
783ecbe2ba AC-752 Add RabbitMQ role to setup, update CONTRIBUTING doc. 2013-12-11 11:45:34 -05:00
Chris Church
c850379222 AC-752 Work on using celery with rabbitmq, posting job events via celery. 2013-12-11 00:18:39 -05:00
Chris Church
b59d9b766f AC-620 Updates to tests to create temp job output root, update tasks to write to stdout file directly instead of storing any stdout in memory. 2013-11-21 17:42:37 -05:00
Matthew Jones
2f0615d8c1 JOBOUTPUT_ROOT is still needed in defaults 2013-11-21 17:36:23 -05:00
Matthew Jones
b77ec07581 Include a sane default location for the job root in the production config 2013-11-21 17:08:16 -05:00
Matthew Jones
bf07c55273 Initial task status to file implementation 2013-11-21 13:53:59 -05:00
Chris Church
8bf198f7ed AC-687 Add ec2/rax region choices to inventory source options response, add validation for source_regions. 2013-11-20 15:20:01 -05:00
Chris Church
e4851c6e18 AC-654 Add API support for token auth using X-Auth-Token header in addition to AUthorization header, fixes issue where API requests from the UI are picking up the basic auth from an API session. 2013-11-19 23:37:19 -05:00
Chris Church
a25a162229 AC-170 Disable REST session auth and Django admin by default. 2013-11-19 14:45:42 -05:00
Matthew Jones
3a02c17d2a Initial backend implementation for AC-25, activity stream/audit love 2013-11-12 17:01:15 -05:00
Chris Church
2b01cc7059 AC-612 Return appropriate status code for server errors. Catch IntegrityError via the API and return a 400 response with error message instead of server error. 2013-11-06 23:44:48 -05:00
Chris Church
98883e771f Moved API code into separate Django app. 2013-11-04 15:44:49 -05:00
Chris Church
2b6f551eb8 Add debug toolbar middleware before transaction middleware. 2013-11-04 10:16:55 -05:00
Chris Church
40b56c5175 AC-537 Fixes to get unit tests to pass. 2013-11-04 10:16:55 -05:00
Chris Church
d410f57e08 Added API support for OR queries and searching text fields. 2013-10-26 22:44:25 -04:00
Chris Church
710d55d82d AC-575 Updated logging/output for inventory_import command. 2013-10-24 02:09:49 -04:00
Chris Church
1ffb40458c AC-505 Work in progress on cloud inventory sync. 2013-10-07 23:21:44 -04:00
Chris Church
17c350d7e1 AC-505. Initial working task/tests for cloud inventory import. 2013-09-30 22:08:05 -04:00
Chris Church
5768f544ec Fixes to get tests to pass after updating vendored packages. 2013-09-29 21:37:09 -04:00
Chris Church
e85cf35ed9 Fixes AC-479. Make job_args fields text instead of varchar. 2013-09-24 22:13:36 -04:00
Chris Church
9fc46e6292 AC-474. Updates to contributing doc, along with related Makefile, testing and settings changes. 2013-09-24 21:41:00 -04:00
Chris Church
95934d9b67 Changed project updates to use -v instead of -vvv. 2013-09-12 13:41:04 -04:00
Chris Church
9ea649050a AC-432, AC-437. Updated SCM URL validation, add additional tests for SSH URLs. 2013-09-12 03:07:27 -04:00
Chris Church
661fc5b0f2 AC-156. Update to default LDAP settings. 2013-09-10 04:40:33 -04:00
Chris Church
cad3612a8f AC-156. Implement LDAP organization mapping, update settings files and comments on LDAP configuration. 2013-09-09 17:20:48 -04:00
Chris Church
f9a1614730 AC-132. Updates/fixes to get tests to pass. 2013-09-08 23:20:51 -04:00
Chris Church
916dd713e3 AC-156 Added code and tests to support LDAP authentication (no organization or team mapping yet). 2013-09-07 16:14:46 -04:00