Commit Graph

58 Commits

Author SHA1 Message Date
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
Chris Church
dfc687dfae Implements AC-363. Authentication tokens now expire after a configurable timeout. 2013-09-06 00:36:45 -04:00
Chris Church
72d87fb908 AC-382, AC-352. Added status and last_updated fields for projects API. Various other updates to support projects using SCM. 2013-09-05 01:19:58 -04:00
Chris Church
fc68955bad For AC-132. Work in progress on project SCM support. 2013-08-26 10:31:39 -04:00
Chris Church
30d2a4f5c9 For AC-331. Major updates to API filtering to allow negative filtering, use of a list of items with the __in lookup, more flexible boolean/null values, more validation of filter values, and tests. 2013-08-08 15:58:58 -04:00
Chris Church
8ccf4c0a89 Fix typo in development settings. 2013-07-30 22:48:30 -04:00
Chris Church
92bfddb834 Fix for django-jsonfield to work on Django 1.4.1 (default with Ubuntu 12.10, fix for AC-222), update settings to provide more information when unable to load local/global settings file. 2013-07-28 16:30:19 -04:00
Chris Church
2c166e501e Implemented AC-166, added signal handlers to update has_active_failures flag whenever host/group/job are changed/deleted and whenever group-host and group-group relationships change. 2013-07-26 23:49:49 -04:00
Chris Church
bc49627203 Permissions-related updates and fixes, more tests, better handling of any user input that would previously generate a server error. 2013-07-25 11:15:12 -04:00
Chris Church
a6c767907e Renamed some API files/classes to mimic REST framework names, moved queryset filtering for permissions alongside other permissions/access checks, cleaned up base views to handle get_queryset based on class attributes, cleaned up post to sublist to create/attach/unattach. 2013-07-25 11:15:11 -04:00
Chris Church
c5f2f2bfaf Added support for defining additional environment variables in settings to pass to the subprocess launched by the celery task, specify HOME and USER in settings by default instead of supervisord configuration. 2013-07-16 01:39:17 -04:00
Chris Church
8e0974c688 Enabled syslog by default for all 500 errors. 2013-07-15 14:27:02 -04:00