Matthew Jones
c2b3d815da
Only count hosts with an active inventory when tallying license hosts
2014-08-12 15:59:46 -04:00
Matthew Jones
a66a844fab
Make splunk inventory test optional if you are on sqlite
2014-08-12 12:14:55 -04:00
Matthew Jones
0d3befaa2d
Make sure we prefer a normal license to the ami system license
2014-08-12 11:31:09 -04:00
Matthew Jones
86f361b720
Tweak name of vmware because jlaska asked me too
2014-08-12 11:19:43 -04:00
Matthew Jones
6dae240849
Query database running tasks after querying celery to prevent race
...
condition that could cause us to think the task was orphaned
2014-08-12 10:35:59 -04:00
Matthew Jones
620fc56f57
Fix a reference issue in the task impact job determination logic
2014-08-12 09:48:41 -04:00
Matthew Jones
7db3623521
Fix up sosfile strings in setup.py
2014-08-11 15:31:18 -04:00
Matthew Jones
f0b1546653
Add sosreport support to Tower
2014-08-11 15:09:30 -04:00
Matthew Jones
28552d8b4b
Add config POST documentation details
2014-08-11 13:27:07 -04:00
Matthew Jones
6d2d0aa1a5
Fix an issue where we would only list manual projects in the unified job
...
template api list
2014-08-11 13:16:54 -04:00
Matthew Jones
8940003a88
Limit the task impact to just one host if we are launching from a callback
2014-08-11 12:04:52 -04:00
Matthew Jones
04eeffe2a7
Make sure we clear owned-credentials when we delete a user
2014-08-11 10:48:49 -04:00
Matthew Jones
80cf2e4bc1
Fix the el script alias so that we can show the dynamic graphs on centos and rhel systems
2014-08-07 16:36:40 -04:00
Matthew Jones
1fa2d35977
Don't provide any dependencies from the tower init script
2014-08-07 12:46:36 -04:00
Matthew Jones
2abf9ee653
Revert "Upgrade pexpect to 3.3"
...
This reverts commit 46d2d46c20dc8b2379f3dee44ae58c45e0997bff.
Conflicts:
awx/lib/site-packages/README
2014-08-07 09:19:30 -04:00
Matthew Jones
e2eff08088
Upgrade six to 1.7.3
2014-08-06 15:38:04 -04:00
Matthew Jones
53a8e5c4c6
Upgrade simplejson to 3.6.0
2014-08-06 15:37:54 -04:00
Matthew Jones
15c2627968
Upgrade swifclient to 2.2.0
2014-08-06 15:37:02 -04:00
Matthew Jones
07bfe7c275
Upgrade novaclient to 2.18.1
2014-08-06 15:36:24 -04:00
Matthew Jones
7cf1df23ab
Upgrade pyrax to 1.9.0
2014-08-06 15:35:07 -04:00
Matthew Jones
e1da8d169f
Upgrade pbr to 0.10.0
2014-08-06 15:34:20 -04:00
Matthew Jones
7cb892a869
Upgrade markdown to 2.4.1
2014-08-06 15:33:24 -04:00
Matthew Jones
07b538e5c5
Upgrade kombu to 3.0.21
2014-08-06 15:32:17 -04:00
Matthew Jones
cbe26c4619
Upgrade keyring to 4.0
2014-08-06 15:31:20 -04:00
Matthew Jones
6a7cb5a4e7
Upgrade httplib2 to 0.9
2014-08-06 15:26:56 -04:00
Matthew Jones
d413618288
Add missing requests urllib3 util directory
2014-08-06 14:22:18 -04:00
Matthew Jones
eb62bbd535
Upgrade requests to 2.3.0
2014-08-06 14:01:10 -04:00
Matthew Jones
92449d3f23
Upgrade pexpect to 3.3
2014-08-06 14:00:43 -04:00
Matthew Jones
b18b075bc9
Upgrade gevent-socketio to 0.3.6
2014-08-06 14:00:16 -04:00
Matthew Jones
e3bdd966ed
Upgrade pytz to 2014.4
2014-08-06 13:59:29 -04:00
Matthew Jones
7899463ac8
Upgrade boto to 2.32.1
2014-08-06 13:57:39 -04:00
Matthew Jones
6f6f8675f9
Upgrade amqp vendored library to 1.4.5
2014-08-06 13:55:08 -04:00
Matthew Jones
efed138e8b
Fix indentation issue
2014-08-06 13:43:42 -04:00
Matthew Jones
5220594e9b
Hide AMI keys the same way we do non-ami instances
2014-08-06 13:35:56 -04:00
Matthew Jones
12b3329b27
Test for Jenkins unit test runs in some rbac code also
2014-08-06 12:39:12 -04:00
Matthew Jones
bb485c99fe
Make sure job starts follow rbac
2014-08-06 11:47:13 -04:00
Matthew Jones
3e7ee988a2
Fix munin graphs to use the right graph type
2014-08-05 14:59:53 -04:00
Matthew Jones
51ff38a33a
Make sure we refresh the object before updating computed fields
2014-08-05 14:00:01 -04:00
Matthew Jones
dcf102930d
Fix up some license logic, make sure we force license date to be an integer
2014-08-05 11:18:35 -04:00
Matthew Jones
587fb35b59
Allowing posting a new license to /api/v1/config by superusers
2014-08-04 15:39:02 -04:00
Matthew Jones
445b1b194e
Hide the license key if the user isn't a super user
2014-08-04 14:58:23 -04:00
Matthew Jones
11799ff25f
Implement new license validation logic per spec "30 Day Trial
...
Engineering Spec" + Unit Tests
2014-08-04 13:55:51 -04:00
Matthew Jones
b1b3a5879f
Fix up playbook to use new init script
2014-08-01 13:27:23 -04:00
Matthew Jones
55b12cb785
Fix up init script to use service command, preserve the worst return
...
code and use that as the exit status
2014-08-01 09:51:16 -04:00
Matthew Jones
27c44ac5d8
Updating init script installation details
2014-07-31 10:40:11 -04:00
Matthew Jones
65aadb862e
Updates to tower init script
2014-07-31 10:05:32 -04:00
Matthew Jones
1f34fc5101
Update manifest for new munin monitors
2014-07-31 09:56:58 -04:00
Matthew Jones
56255777bc
Creating and moving around new tower monitors for munin
2014-07-30 16:58:02 -04:00
Matthew Jones
da6f07dd64
Add tower meta-init script
2014-07-30 13:18:59 -04:00
Matthew Jones
d36976f76d
Tweak tower jobs munin reporting script
2014-07-30 11:40:25 -04:00
Matthew Jones
591a5ce8e7
More updates for tower graphs in munin
2014-07-29 13:17:42 -05:00
Matthew Jones
beece8d444
Add some munin tower monitoring tasks
2014-07-29 13:17:42 -05:00
Matthew Jones
90a0c6c8ed
Raise time allowed for large inventory import
2014-07-29 13:17:42 -05:00
Matthew Jones
9ba043b20f
More updates for tower graphs in munin
2014-07-29 12:37:51 -04:00
Matthew Jones
69a3f68832
Add some munin tower monitoring tasks
2014-07-29 11:44:54 -04:00
Matthew Jones
9780e805db
Raise time allowed for large inventory import
2014-07-28 12:59:31 -04:00
Matthew Jones
e19984d6db
Fix some busted job stdout end-line calculation under certain
...
conditions. Make it to where the ui re-uses the endpoint from the last
stdout request cycle instead of adding one to it since we are not
left-inclusive on list slicing.
2014-07-25 14:54:45 -04:00
Matthew Jones
ef89737845
Clear password fields on mark inactive
2014-07-24 15:21:19 -04:00
Matthew Jones
695df551e7
Handle cascading mark inactive in better ways as per rbac spec
...
specifically around Teams and Credentials
2014-07-24 15:21:19 -04:00
Matthew Jones
d6bfdc8560
Add a little more info to the documentation for the job_tasks endpoint
...
to clarify what the id being filtered is
2014-07-23 11:52:40 -04:00
Matthew Jones
52e7d34d38
Full packaging and playbook setup for munin apache directory and
...
htpassword configuration
2014-07-23 11:42:40 -04:00
Matthew Jones
1620494584
Adding munin install and configuration to the playbook and package builds
2014-07-21 13:45:50 -04:00
Matthew Jones
e35a530dbb
Rename from schedule_change to schedule_changed to fit our socketio motif.
2014-07-18 13:24:38 -04:00
Matthew Jones
3924c0d867
Update endpoint documentation names for job plays and tasks
2014-07-16 15:25:54 -04:00
Matthew Jones
9621a9699f
Add some related data to job event aggregates
2014-07-16 15:23:47 -04:00
Matthew Jones
985cba94ef
Update documentation for job_plays and job_tasks endpoints
2014-07-16 15:15:29 -04:00
Matthew Jones
a7a092f30a
Count the actual events instead of the records returned from the queryset
2014-07-16 14:24:47 -04:00
Matthew Jones
ba44491bf0
Fix up pagination tests by updating return assumptions from decorated function
2014-07-16 13:34:37 -04:00
Matthew Jones
364e185412
Fix up how the pager view works and how we return errors from some views
...
so that we can propogate non 200 statuses
2014-07-16 12:29:36 -04:00
Matthew Jones
fe764c2114
Fix an issue with the callback receiver that prevents preserving
...
database connections across multiprocessing processes during process
recycling
2014-07-16 10:56:41 -04:00
Matthew Jones
9f7763ee9f
Add options information and linkage for dashboard views
2014-07-15 16:20:28 -04:00
Matthew Jones
91f26c294a
Use utcnow() when filtering jobs for dashboard display
2014-07-15 10:56:32 -04:00
Matthew Jones
f56a8c16b0
Give a distinct hostname to satisfy the new unique constraint for job
...
host summary, show that it is derived from a removed host
2014-07-14 16:08:10 -04:00
Matthew Jones
6ee61d6c72
Make it to where we can track JobHostSummary objects for hosts that don't necessarily exist in inventory
2014-07-14 15:34:46 -04:00
Matthew Jones
1cd3caa986
Reimplement parallel job event processing to increase the speed of
...
playbook runs within tower
2014-07-14 11:48:22 -04:00
Matthew Jones
4b34401ca9
Set the host_name on JobHostSummary when the job host summary is saved
2014-07-11 16:39:59 -04:00
Matthew Jones
f93e60979f
Add a host_name field to JobHostSummary and migrate to it, so we have at
...
least that information in job data if the host has been removed
2014-07-11 16:03:14 -04:00
Matthew Jones
3cd5c40dd5
Move default task management system port to 6559 from 6556 to keep from
...
conflicting with Nagios plugins
2014-07-11 15:24:14 -04:00
Matthew Jones
6e9becb4b8
Implement icontains filter on job_plays and job_tasks
2014-07-11 15:10:30 -04:00
Matthew Jones
3f53fc97b2
Make sure we don't unnecessarily update hosts and groups when invoking
...
the inventory computed fields update upon saving the inventory source
2014-07-10 12:35:31 -04:00
Matthew Jones
62ecffad0e
Invoke update_computed_fields on inventory when an inventory source is
...
changed in order to pick up on failed/success status on inventory updates
2014-07-09 14:03:07 -04:00
Matthew Jones
0e7fcb239e
Fix an issue where we wouldn't attempt to color job output in production environments
2014-07-08 14:36:01 -04:00
Matthew Jones
54799c57e6
Fix an issue filtering job_type for dashboard graphs
2014-07-08 11:38:52 -04:00
Matthew Jones
a36c43bd90
Split out dashboard graphs onto two endpoints, support actual query
...
parameters related to job type and implement per-inventory source
success/failed breakdowns
2014-07-08 11:07:40 -04:00
Matthew Jones
c2473f9b12
Mention qsstats lib delta in the vendored README
2014-07-08 11:07:40 -04:00
Matthew Jones
1590ce1762
Work around a bug in django 1.4 and 1.5 for qsstats that would not allow
...
it to work with USE_TZ = True
2014-07-08 10:24:55 -04:00
Matthew Jones
854e31e218
Adding some graph data, will be splitting this out in the near future
2014-07-07 14:02:02 -04:00
Matthew Jones
a9b0faf979
Fix a bug where we would clear the use timezone directive for the rest of the life of the apache process
2014-07-07 13:09:26 -04:00
Matthew Jones
f39939b152
Adding some dashboard time-series graphs and new qsstats vendored dependency
2014-07-02 09:26:33 -05:00
Matthew Jones
9da4b8f336
Add unreachable counts to job tasks endpoint
2014-06-30 16:01:52 -05:00
Matthew Jones
8d423cf82e
Fix a corner case where a job failure could kill the task manager
...
because the job failure couldn't grab some extra info for the socketio
service
Fixes: https://trello.com/c/XdjJEhJ0/68-socketio-trackebac
2014-06-30 15:13:45 -05:00
Matthew Jones
e627ee0711
Implement a recycling process for consuming job events to keep from
...
dealing with a constantly growing heap deep in python land
2014-06-30 10:04:13 -05:00
Matthew Jones
1e00529fac
Fix an issue where we weren't creating job events for hosts that didn't
...
exist in our inventory
2014-06-27 13:47:48 -04:00
Matthew Jones
92117ae460
Copy socket list in place to prevent a runtimeerror when the socket list
...
gets updated in the middle of notifications
Fixes https://trello.com/c/Q0bwCU9R/61-traceback-from-run-socketio-service
2014-06-27 13:21:52 -04:00
Matthew Jones
6dbff4e012
Restructure pep8 configuration and document it for what we exclude
2014-06-26 12:18:54 -04:00
Matthew Jones
d4ef57bab6
Add absolute end value for limited json stdout view
2014-06-26 11:21:03 -04:00
Matthew Jones
7ecbe727ca
More fix up for job event aggregation filtering
2014-06-26 10:51:44 -04:00
Matthew Jones
ed9bb6c572
More filtering fix ups
2014-06-25 17:14:31 -04:00
Matthew Jones
29e698eb41
Support lt filtering on job_tasks and job_plays also
2014-06-25 17:04:56 -04:00
Matthew Jones
d9e9a88d3c
changed and failed are elements on the jobevent model and we should use those
2014-06-25 17:01:39 -04:00