Luke Sneeringer
ca19ddb3d5
Beginning work on GCE.
2014-07-25 11:12:11 -05:00
Luke Sneeringer
7548ffc6dd
Added vmware support to tasks.
2014-07-25 11:12:11 -05: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
Chris Church
20d76bfc91
Fix UnicodeDecodeError from pexpect when ansible-playbook output contains unicode.
2014-07-23 20:03:55 -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
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
0622dd101c
Support caching for ec2 inventory sync to avoid unit test failures.
2014-06-28 18:16:37 -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
Matthew Jones
e72728b38c
Add schedule based socket.io events for AC-1333
2014-06-10 15:58:57 -04:00
Matthew Jones
e2fb427789
Vastly improve overall group delete performance
...
Conflicts:
awx/main/models/inventory.py
awx/main/tasks.py
2014-05-23 14:30:13 -04:00
Matthew Jones
3d90c6db76
Deref deleted group immediately and then pass off the children and hosts
...
to be processed in the background.
Get rid of the child relative delete mechanism and merge the old concept
of delete on the /group/n endpoint with our new concept
2014-05-21 16:12:42 -04:00
Matthew Jones
93c2a5e31c
Improve update computed field signaling so that we only emit signals when a host is added or deleted, or if it is associated or disassociated, or if a job runs
...
Conflicts:
awx/main/signals.py
2014-05-14 14:19:31 -04:00
Matthew Jones
e2d33522d2
Fix issue #AC-1269
...
- Only enable graphviz task graph generation in debug mode
- Define an appropriate place for the tower cycle file
Conflicts:
awx/settings/production.py
2014-05-12 14:50:58 -04:00
Matthew Jones
ac94c11fd7
Adjust inventory computed field calculations to happen in the celery context
2014-04-30 14:38:08 -04:00
Matthew Jones
4810b9532d
Generalize socketio sender from task and emit more data specific to the type of unified job sending the update
2014-04-22 15:52:45 -04:00
Matthew Jones
1d52f7cc9d
Fix up more status emissions
2014-04-21 15:02:12 -04:00
Matthew Jones
c0f821cdbf
Make sure we actually emit the status during status change websocket events
2014-04-21 14:56:41 -04:00
Matthew Jones
92739bc86c
Emit just one message type for status change events:
2014-04-18 10:54:20 -04:00
Matthew Jones
6ede456715
Send signals when jobs/tasks change states
2014-04-18 09:58:36 -04:00
Chris Church
e753260087
AC-588 Match cloud hosts by unique instance_id instead of name when running cloud inventory sync.
2014-04-16 03:00:33 -04:00
Chris Church
7bfe0f9583
AC-1192 Added special tower extra_vars when running jobs.
2014-04-15 18:42:39 -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
Matthew Jones
641c8d8e05
Check the result of signal_start when adding a schedule and mark the
...
task as failed if it failed to signal the starting
2014-04-03 13:56:00 -04:00
Matthew Jones
2e4f62d0a6
Reimplement last_run detection in the periodic Tower scheduler task to
...
not rely on celery's last run information
2014-04-02 21:51:45 -04:00
Chris Church
c453c26124
Fix previous change for determining when to use ssh-agent.
2014-04-01 21:52:53 -04:00
Chris Church
762e8656c5
Use ssh-agent for encrypted ssh_key_data even when ssh_key_unlock is empty.
2014-04-01 20:35:36 -04:00
Chris Church
86599cf1e3
Add API resource for unified job stdout with HTML output of ANSI color codes.
2014-04-01 20:15:43 -04:00
Matthew Jones
60b399409a
Update old schedules if we missed them
2014-03-31 15:33:25 -04:00
Chris Church
e1d3da731e
AC-1040 Model cleanup/refactor, add and use job_explanation field.
2014-03-30 22:57:45 -04:00
Chris Church
35e4bd477c
AC-1040 Cleanup old code in tasks, combine methods from unified job subclasses into base classes.
2014-03-28 22:07:24 -04:00
Matthew Jones
c1d314ed6f
Running scheduled items now works
2014-03-27 22:45:51 -04:00
Chris Church
ce2ae2b945
AC-1071 Removed ssh_key_path option, only need to be able to accept PEM key format.
2014-03-27 15:55:50 -04:00
Matthew Jones
107fc85110
Initial scheduler integration
2014-03-27 15:53:45 -04:00
Chris Church
bfb0159083
AC-1071 Moved credential model to its own file. Added API support and tests for ssh_key_path field.
...
AC-1095 Added validation for SSH private keys.
2014-03-26 16:06:02 -04:00
Chris Church
ac0927f430
AC-1060 Add API support for vault password.
2014-03-25 22:54:14 -04:00
Chris Church
e6f3032b94
AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run.
2014-03-24 17:11:09 -04:00
Matthew Jones
b35cee7b72
Eliminate the 'pending' status and remove dependency checks that
...
necessitated it during pre-run... tighten the transaction wrapper
to just be used when actually updating model details
2014-03-24 11:48:28 -04:00
Matthew Jones
3e88894f85
Temporarily relax task notification and rely on polling
2014-03-23 18:37:51 -04:00
Matthew Jones
bec301c2a8
Shift task start signal into an asynchronous task so we don't deadlock trying to update the same record from the task runner while waiting for the signal to be received from the signaler
2014-03-22 11:18:25 -04:00
Matthew Jones
3fe31828a8
Cleanup for unit tests, working command unit test
2014-03-13 10:48:01 -04:00
Matthew Jones
fc4f256723
Signal finished tasks to the task management system
2014-03-12 17:52:55 -04:00
Matthew Jones
85b6aa2262
Rebasing for initial task system work. Current work towards actual task
...
running flow
2014-03-10 16:07:20 -04:00
Matthew Jones
d176466ccc
Fix a customer issue in HEAD. We should catch OSError here instead of IOError
2014-03-04 15:43:49 -05: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
Matthew Jones
3231f966db
More small cleanup for zeromq work. Switch back to single-path
...
writing of job events
2014-02-19 13:57:13 -05:00
Matthew Jones
2c694e5e07
Some cleanup and documentation for zeromq implementation
2014-02-17 11:11:48 -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
a3ee83258c
Re-enable debug prints from saving job events.
2014-02-09 06:07:00 -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