Matthew Jones
e99466efc2
Fix a bug in the callback receiver where we weren't properly
...
initializing the parent signal handler
2014-11-17 13:28:09 -05:00
Luke Sneeringer
9085bf5b0f
Fix task_system bug.
2014-11-12 10:43:08 -06:00
Luke Sneeringer
3a8c32444b
Merge branch 'master' into expunge-zeromq-unstable
...
Conflicts:
awx/main/management/commands/run_callback_receiver.py
awx/main/management/commands/run_task_system.py
2014-11-11 12:00:25 -06:00
Matthew Jones
ba1b9b9136
Add timestamp to logs for prints in management commands so we pick them
...
up the supervisor logs
2014-11-11 11:47:12 -05:00
Matthew Jones
4e494469c9
Use the normal version checker from tower manage
2014-11-10 12:22:20 -05:00
Matthew Jones
ce9434314f
Add a metadata file to the tower home directory that lists the version
...
of Tower
2014-11-10 12:17:11 -05:00
Luke Sneeringer
ed34d5f469
Fix all but one unit test.
2014-11-07 14:26:31 -06:00
Luke Sneeringer
fd9647ce94
Use closing consistently.
2014-11-04 10:46:17 -06:00
Luke Sneeringer
8d99ef116c
Callback Receiver Fixes.
2014-11-04 10:39:53 -06:00
Luke Sneeringer
f000e71371
Merge branch 'master' into expunge-zeromq-unstable
2014-10-30 15:30:39 -05:00
Luke Sneeringer
8d90650134
Shifting job callbacks to ZeroMQ.
2014-10-29 13:51:47 -05:00
Luke Sneeringer
99381f11fa
Beginning swap of ZeroMQ for Redis.
2014-10-27 16:18:04 -05:00
Luke Sneeringer
842086eef7
Readability cleanup.
2014-10-27 14:03:39 -05:00
Matthew Jones
43ecfc0a87
Fix a small bug related to return state when determining valid user on
...
the socket io service
2014-10-27 14:52:21 -04:00
Matthew Jones
c6180d3928
Access control on websocket service
2014-10-27 11:40:33 -04:00
Luke Sneeringer
446f29927d
Proof of concept Redis PubSub.
2014-10-23 08:50:46 -05:00
Luke Sneeringer
57194c9a89
Addition of IP address to instance records.
2014-10-20 08:04:16 -05:00
Luke Sneeringer
f77ae6f1bc
Fixing a variable error.
2014-10-20 08:04:16 -05:00
Luke Sneeringer
4915ba291e
Working instance registration.
2014-10-20 08:04:15 -05:00
Luke Sneeringer
3e2cf3acb3
Beginning work on instance registration, sanity checks.
2014-10-20 08:04:15 -05:00
Matthew Jones
fbf9a4957e
Initial system job implementation
2014-10-14 11:11:17 -04:00
Matthew Jones
c609f7a81d
Refactor callback receiver
...
* Move callback socket listener into its own method spawned as a
seperate process
* launch and manage worker processes from a parent process and isolate
them such that a fork doesn't inherit the zeromq socket
2014-10-03 00:37:08 -04:00
Matthew Jones
449c5026b7
Remove socket and context closure and cleanup from zeromq in the
...
callback receiver
2014-10-02 09:46:16 -04:00
Matthew Jones
cc6d673e4f
Attempt to fix a mysterious zmq crash related to sockets lingering after
...
a fork
2014-09-29 14:31:14 -04:00
Matthew Jones
9064bb3107
Fix a bug where we could potentially not see a hostname that we need to
...
update instead of create when syncing inventory because its instance id
had changed
2014-09-24 13:35:04 -04:00
Chris Church
5fe3ee3bf4
Fixes https://trello.com/c/ZBHrkuLb - Add support for IPv6 addresses in inventory import.
2014-09-12 02:34:07 -04:00
Chris Church
e427234aec
Implements https://trello.com/c/bEMQtVjz - API/UI changes to support su username/password. Adds force_handlers, skip_tasks and start_at_task options to jobs, only exposed via API.
2014-09-11 17:34:38 -04:00
Luke Sneeringer
3267a988f8
Shift Django to 1.6.x (>= 1.6.7).
2014-09-10 12:17:35 -05:00
Matthew Jones
5548cfd6a8
Silence noisy supervisor tasks, adjust log rotation frequency for all
...
supervisor tasks
2014-09-04 13:26:32 -04:00
Matthew Jones
efab451632
Fix an issue where I wasn't reattaching the signal handlers to the child
...
worker processes when they were restarted
2014-09-04 09:58:10 -04:00
Matthew Jones
5aebf5508e
Roll back part of the change that attempted to correct some of the
...
memory usage
2014-09-03 17:00:43 -04:00
Matthew Jones
b2c77a650b
Replace zeromq with multiprocessing queue for worker ipc in the callback
...
receiever module
2014-09-02 16:07:23 -04:00
Matthew Jones
fd97aa85b6
Attempt to work around a bug from old versions of pyzmq where closing
...
the socket before immediately exiting could cause a crash
2014-08-27 15:23:20 -04:00
Luke Sneeringer
3b45252039
Theoretical move from /etc/awx/ to /etc/tower/.
2014-08-22 10:12:12 -04:00
Matthew Jones
046561ecaa
add counter to jobevent object sourced from callback ansible plugin
2014-08-19 15:50:41 -04:00
Matthew Jones
6b8acae8b7
Incorrect identifier for 'res' in the callback receiver
2014-08-19 12:48:16 -04:00
Matthew Jones
03114be505
Hide module args at low/default verbosity setting
2014-08-19 10:37:01 -04:00
Matthew Jones
7badbca045
Fix license exceeded message
2014-08-18 13:38:22 -04:00
Chris Church
578f4b9c3b
Fix inventory import to look for group and host vars files with .yml, .yaml and .json extensions in addition to no extension.
2014-08-12 22:58:11 -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
Chris Church
d6b3e3079a
Disable extra actions on save for inventory sources when running inventory import.
2014-08-11 11:41:40 -04:00
Matthew Jones
beece8d444
Add some munin tower monitoring tasks
2014-07-29 13:17:42 -05:00
Luke Sneeringer
cf96240556
Azure inventory sync!
2014-07-29 13:06:27 -05:00
Luke Sneeringer
a1059dabae
Working GCE inventory sync.
2014-07-25 11:12:12 -05: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
1cd3caa986
Reimplement parallel job event processing to increase the speed of
...
playbook runs within tower
2014-07-14 11:48:22 -04:00
Chris Church
1d1137a8d8
Use correct variable name ininventory import.
2014-07-03 12:23:17 -04: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
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
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