36 Commits

Author SHA1 Message Date
Chris Church
79dcadf155 Capture play name and host pattern separately in job event data. 2014-05-15 18:53:02 -04:00
Chris Church
2546cbdbb6 AC-504 Capture role when available for job events. 2014-04-15 00:22:57 -04:00
Chris Church
1283a78e09 AC-1134 Updated rax/ec2 inventory scripts from ansible. Added ability to filter groups/hosts by regular expression and exclude empty groups, so that Tower can exclude RAX/EC2 instance ID groups and EC2 RDS hosts/groups. 2014-04-08 23:50:57 -04:00
Chris Church
56f8d6748b Updated inventory plugins from ansible, updated all third party packages in awx/lib/site-packages to latest versions, minor serializer fixes after package upgrades. 2014-03-31 13:26:00 -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
Chris Church
0462bb3f3f AC-1061 Removed my test exception raised in the inventory script. 2014-02-25 18:49:30 -05:00
Chris Church
a18b9e2270 AC-1061 Fix inventory script to return dict with failed flag when there is an error instead of an empty dict so that ansible-playbook will propagate the error message. 2014-02-25 17:11:04 -05:00
Matthew Jones
00676c95e0 Change zmq socket characterstics to ack response. Fix up unit tests 2014-02-21 10:40:53 -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
Matthew Jones
2c694e5e07 Some cleanup and documentation for zeromq implementation 2014-02-17 11:11:48 -05:00
Matthew Jones
770947d18d Pull results off zeromq and distribute to workers 2014-02-12 16:09:57 -05:00
Matthew Jones
063380304a Manage the zeromq connection per-pid 2014-02-11 05:56:51 -05:00
Matthew Jones
66e9e2310c Initial 0mq implementation 2014-02-11 05:40:31 -05:00
Chris Church
cb8b58b0ae AC-1015 Added retry count for saving to database, minor retry refactor for publishing job events. 2014-02-09 13:51:40 -05:00
Chris Church
a4ae6567dc AC-1015 Update queue names so that job events are only received by the right save job events task. Add database retry to save job events task. 2014-02-09 05:58:33 -05:00
Chris Church
b708edffd9 AC-1012 Force use of pyamqp even if librabbitmq is installed. 2014-02-07 20:03:52 -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
e9d308c927 AC-1015 Changed where save_job_events task is started so that job events don't appear to be missing when they're stuck in the queue. 2014-02-06 17:44:17 -05:00
Chris Church
91cc144e87 AC-990 Updated callback plugin and related task to prevent missed/duplicate job events, catch exceptions and retry. Fixed task run_pexect method so that canceling a job will work. 2014-02-04 17:38:38 -05:00
Chris Church
32364ad055 AC-990 Add new task for saving all job events from a queue, updated callback plugin to send to queue, work on optimizing SQL that runs when saving a job event. 2014-02-03 17:05:03 -05:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Chris Church
24ba1c3055 Update EC2 inventory script from Ansible, exclude RDS instances. 2013-12-17 11:41:17 -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
2c4d583f3e AC-589 Update host enabled flag from inventory import. 2013-11-07 19:02:05 -05:00
Chris Church
0727a2ffa3 Update rax inventory script from Ansible. 2013-11-04 10:16:55 -05:00
Chris Church
27ad680f4d AC-567 Remove source_tags from API/UI. Modify EC2 inventory to not return instance ID groups. 2013-10-23 22:46:04 -04:00
Chris Church
52d8fb5b5c AC-556 Renaming the inventory script to hopefully fix the import error. 2013-10-15 17:35:43 -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
e0a94cbf32 AC-505 Add vendored copies of ec2 and rax inventory scripts from Ansible (for now). Add vendored versions of boto and pyrax and all their dependencies, updated all vendored packages to latest versions. 2013-09-29 20:36:46 -04:00
Chris Church
b7d907ed49 AC-505 Initial inventory import models and API support. 2013-09-26 15:54:34 -04:00
Michael DeHaan
78eac4834e Change strings used for job events, do not use exception middleware that was masking error, do
not log callbacks for vars_files imports.
2013-07-02 11:32:43 -04:00
Chris Church
395685b23b Fix to not require explicit port specification in REST_API_URL. 2013-06-28 05:54:05 -04:00
Chris Church
3984730754 Remove print from callback, fix failed flag propagation on job event, add tests for failed flag and play/task field on job events. 2013-06-28 05:03:22 -04:00
Chris Church
cbd64ee65d Include local versions of third-party dependencies, particularly those unavailable or outdated as OS packages. 2013-06-23 21:08:54 -04:00
Chris Church
07657926b9 Rename ansibleworks to awx. 2013-06-23 13:21:02 -04:00