Matthew Jones
7ca496b6ef
Merge branch 'release_3.1.0' into multi_worker_callbacks
2017-01-18 20:39:15 -05:00
Matthew Jones
1cdeb4d2af
Refactor event emitter to not use event partials
...
event emitter now caches to memcache where it is eventually picked up
by the stdout event emitter. This obviates event reassembly in the
callback receiver.
2017-01-17 15:59:43 -05:00
Wayne Witzel III
9592c67c31
fixing flake8 errors
2017-01-16 14:16:24 -05:00
Wayne Witzel III
cd5eed9828
remove extra censoring code from tower, not needed since Ansible 2.1+
2017-01-16 13:54:07 -05:00
Matthew Jones
974fe1d244
Fix an issue with set_stats for unsupported Ansible versions
2017-01-11 10:24:17 -05:00
Chris Meyers
86a9a921eb
remove deepcopy, not sure how that slipped in
2017-01-06 11:47:45 -05:00
Chris Meyers
a1267a3dee
update artifacts to work with ansible set_stats
2017-01-06 10:04:57 -05:00
Chris Meyers
03734015c5
set_stats support
2017-01-05 13:42:29 -05:00
Matthew Jones
a61e729ebb
Purge event res dict if it is over a certain size
...
Also purge/update some old settings values
2016-12-14 15:05:28 -05:00
Chris Church
b85c98afd2
Split job event data between callback queue and stdout. Send most of event data directly over queue and capture only stdout/counter/start_line/end_line in celery task; recombine into single event in callback receiver.
2016-12-12 16:34:36 -05:00
Chris Church
ae16cadcc2
Ignore exception in sitecustomize.
2016-12-07 23:50:58 -05:00
Matthew Jones
24b858c6fb
Switch away from deepcopy to improve performance
2016-12-06 13:33:14 -05:00
Chris Church
d6d5d4263a
Only run ssh control persist cleanup from main process, flush after writing end marker for job event data.
2016-12-01 14:47:24 -05:00
Chris Church
1db697e4eb
Add multiprocessing RLock around event data output to ensure only one process is writing to stdout at a time.
2016-11-17 09:09:19 -05:00
Aaron Tan
9e4655419e
Fix flake8 E302 errors.
2016-11-15 20:59:39 -05:00
Aaron Tan
473ed016de
Fix flake8 E305 errors.
2016-11-15 16:32:27 -05:00
Chris Church
5760654671
Fix warning from v2_playbook_on_task_start with ad hoc commands.
2016-11-07 21:42:39 -05:00
Chris Church
c43334f8f4
Update job events based on how they are used in Ansible 2.x.
2016-10-28 21:58:24 -04:00
Chris Church
440f0539b0
Flake8 fixes.
2016-10-28 21:58:24 -04:00
Chris Church
c18b6c1352
Add support for capturing stdout associated with job events and ad hoc command events.
...
* New event types for stdout lines not associated with a callback event.
* New stdout, start_line, end_line and verbosity fields for job/ahc events.
* Callback plugins to wrap Ansible default/minimal stdout callbacks and embed callback event data using ANSI escape sequences.
* Callback plugin library to wrap ansible.display.Display class methods.
* Output filter to extract event data from stdout and create job/ahc events.
* Update stdout formats to strip new ANSI escape sequences.
2016-10-28 21:58:24 -04:00
AlanCoding
1fec29dcb3
remove awx.compat, since it looks like it is not necessary
2016-10-26 17:22:03 -04:00
Chris Meyers
358bc31450
remove metric
2016-05-10 14:18:05 -04:00
Matthew Jones
5d21ad5ae6
Fix up statsd work to support python 2.6
...
Format specifiers must include field specifier
2016-02-02 09:58:19 -05:00
Matthew Jones
c7fd21ae52
Fix up flake8 and unit test failures
...
* Make sure we default to localhost to not fail at the GAI check
* Cleanup some flake8 issues in the metrics module
2016-01-29 13:59:37 -05:00
Joshua "jag" Ginsberg
f25b76aee9
Integrate statsd metrics into ansible playbook execution.
...
* Add dependencies for pystatsd and django-statsd-mozilla
* Default turned off except for development environment
* Modify docker-compose to install statsd/graphite host
2016-01-26 16:54:24 -05:00
Chris Meyers
fa1643e330
all vendor dependencies expressed in requirements.txt
2015-08-05 08:10:16 -04:00
Chris Meyers
9ee9d9031a
fixes stoud formats unicode problem
2015-07-24 14:50:36 -04:00
Bill Nottingham
1d951fa9cc
Further normalization of names.
2015-07-10 01:25:26 -04:00
Bill Nottingham
afbbec6ee5
Fix up vendored package README
...
Fix a couple of typos to properly reflect package name and path.
Add vendored deps added when adding VMware & GCE support.
Add vendored deps added when vendoring pywinrm.
2015-07-09 23:56:52 -04:00
Chris Meyers
0344a801fe
consider 127.0/8 LOOPBACK
2015-06-23 10:53:07 -04:00
Chris Meyers
d1c361021a
add IPy python library to deal with ip addresses
2015-06-23 10:36:23 -04:00
John Mitchell
32d1c0e4db
fixed copyright date
2015-06-11 16:10:23 -04:00
Matthew Jones
b3da3b34a3
Changing some legal headers for python source files
2015-05-29 12:10:39 -04:00
Matthew Jones
6d3bd2500a
Remove spuriously added keystone client package info file
2015-05-26 13:46:07 -04:00
James Laska
e973711a84
Reapply "make shade python2.6 safe for our inventory update"
...
This reverts commit a977f9619ba2b42fb9b5a23824644b07b26214f2.
2015-05-26 11:05:39 -04:00
Matthew Jones
b2b05d9212
Import dist-info directories for various openstack libs, otherwise pbr
...
can't find the versions and that causes errors
2015-05-26 10:42:51 -04:00
Chris Meyers
3115f2ffeb
Revert "make shade python2.6 safe for our inventory update"
2015-05-18 11:16:56 -04:00
Chris Meyers
161d2f4c51
make shade python2.6 safe for our inventory update
...
* Only examined/tested the inventory update execution path
2015-05-14 10:49:29 -04:00
Matthew Jones
1bd2c99171
Import mongoengine rest framework module, document this and mongoengine
...
in the readme
2015-05-05 14:45:44 -04:00
Matthew Jones
93ecf739be
This could be the source of the connection memory leaks, over 1000
...
connections and only 12 bytes of non-gc-tracked allocations. Kudos to
cmeyers for finding this.
2015-04-21 14:25:01 -04:00
Matthew Jones
c350fafe22
Rev pyrax to 1.9.3 and lower python-novaclient to 2.20.0 due to a
...
strange deprecation warning message that is not suppressable.
2015-04-13 21:57:13 -04:00
Matthew Jones
768d9d65b9
Upgrading some novaclient specific vendored modules
2015-04-13 11:35:24 -04:00
Matthew Jones
3d8955b298
Adding necessary dist-info for keystoneclient so plugin entrypoints can
...
be located
2015-04-07 16:57:07 -04:00
Matthew Jones
2163ce14b6
Import openclient module, example config and vendored dependent modules,
...
updated vendored modules readme
2015-04-07 14:24:39 -04:00
Chris Meyers
9012455b6d
added dependencies mongoengine and pymongo
2015-04-03 08:40:16 -04:00
Chris Church
7f2a029532
Replace ansi2html (GPL) with ansiconv (MIT).
2015-02-23 16:33:36 -05:00
Bill Nottingham
4204a479f3
Fix some pip package names.
2015-02-18 15:08:19 -05:00
Matthew Jones
bb3732b2c1
Cleaning up some flake8 errors, pyflakes in this case
2015-02-10 17:00:23 -05:00
Matthew Jones
d9a2acb252
Revert "Upgrade Markdown to 2.5.2" due to issues with logging in python
...
2.6.
This reverts commit 6787490e6d854eecea70b511673290277ea3bccc.
2015-02-02 10:26:44 -05:00
Matthew Jones
a8516c4ede
Upgrade keyring to 4.1
2015-01-29 13:09:26 -05:00