54 Commits

Author SHA1 Message Date
Luke Sneeringer
d438dd31f4 Make VMWare script less willing to set client to None. 2014-08-11 10:05:50 -05:00
Chris Church
7461eabc6a Updated ec2 inventory from core: ansible/ansible#8516 2014-08-09 20:10:27 -04:00
Luke Sneeringer
4723ad0a71 VMware support within Tower. 2014-08-07 11:09:33 -05:00
Luke Sneeringer
e50711e301 Use expanduser on cache dir loaded from INI. 2014-08-04 10:15:41 -05:00
Luke Sneeringer
674e895d0a Shift default Azure cache directory from /tmp to ~ 2014-08-04 10:13:40 -05:00
Luke Sneeringer
0a0844f40e Require pycrypto >= 2.6 for gce.py 2014-08-04 09:38:42 -05:00
Luke Sneeringer
5987f60e3f Add _meta to Azure inventory script. 2014-08-01 11:08:15 -05:00
Chris Church
90e2e8775c Update ec2 inventory script from core, no more tower-specific changes. 2014-07-31 15:21:05 -04:00
Luke Sneeringer
cf96240556 Azure inventory sync! 2014-07-29 13:06:27 -05:00
Luke Sneeringer
95567ff004 [in progress] Azure support. 2014-07-28 13:22:58 -05:00
Luke Sneeringer
a1059dabae Working GCE inventory sync. 2014-07-25 11:12:12 -05:00
Luke Sneeringer
de88b8b222 Updating GCE inventory to support env vars. 2014-07-25 11:12:11 -05:00
Luke Sneeringer
4d0abd4cca Removed PEM file things. 2014-07-25 11:12:11 -05:00
Luke Sneeringer
e44784651a Added vmware inventory plugin from Ansible. 2014-07-25 11:12:11 -05:00
Chris Church
32822f43d3 Include ec2 inventory changes from https://github.com/ansible/ansible/pull/8010 and https://github.com/ansible/ansible/pull/8119 2014-07-14 18:12:07 -04:00
Chris Church
26171c69b9 Added latest rax inventory plugin from core. 2014-07-01 17:20:56 -04:00
Chris Church
c918dfe307 Fix for traceback when using nested groups. 2014-06-28 18:16:36 -04:00
Chris Church
7229f9cc8f AC-1302 Update EC2 inventory script to create hierarchical groups.
Conflicts:
	awx/main/tests/inventory.py
2014-06-26 14:54:51 -04:00
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