Commit Graph

827 Commits

Author SHA1 Message Date
Matthew Jones
343966f744 Implement gathering overall task capacity
For use when running/planning jobs
2016-11-07 13:45:01 -05:00
Aaron Tan
45df199703 Implement workflow JT schedule. 2016-11-07 11:37:11 -05:00
Matthew Jones
88a8810815 Merge pull request #3729 from sundeep-co-in/STAGE
enable django i18n
2016-11-04 15:52:33 -04:00
Aaron Tan
7348acdcfc Merge pull request #3796 from jangsutsr/3526_prevent_job_deletion_during_workflow_run
Add destory sanity checks to prevent UJ deletion during underlying workflow run
2016-11-04 14:03:34 -04:00
Matthew Jones
8e77deea27 Push celery queue stats to memcached periodically
We'll piggyback off the task that checks for inconsistent jobs between
celery and Tower itself. These are read off via /api/v1/ping
2016-11-03 12:10:38 -04:00
Aaron Tan
a2adc7f413 Merge pull request #3782 from jangsutsr/3518_graph_topology_validation
Add graph topology validations to workflow JT nodes
2016-11-02 16:14:54 -04:00
Aaron Tan
843c48934e Refactor cycle detector to prevent potential inf loop. 2016-11-02 11:36:08 -04:00
Alan Rominger
dd14e51c7c Remove incorrect use of user capabilities prefetch
Connect #3574
2016-11-02 08:10:55 -04:00
Aaron Tan
d1ec44f20a i18n changes. 2016-11-01 16:39:53 -04:00
Aaron Tan
ff1fdb4f5b Error message text improvement. 2016-11-01 15:29:03 -04:00
Aaron Tan
a85075acea Mutex validator added. 2016-11-01 15:29:03 -04:00
Aaron Tan
7472cf0dc9 Refactor for better performance. 2016-11-01 15:25:50 -04:00
Aaron Tan
02cccf35d3 Delete created resource when it fails the relationship verification. 2016-11-01 15:25:50 -04:00
Aaron Tan
ad04015c9f Multi-ancestor detector added. 2016-11-01 15:25:50 -04:00
Aaron Tan
88025d0733 Basic verification architecture added. 2016-11-01 15:25:50 -04:00
Aaron Tan
ba1dedf2c3 i18n support added. 2016-10-31 15:09:01 -04:00
sundeep-co-in
4237b2e207 resolve conflict: index.html 2016-10-31 23:40:56 +05:30
Alan Rominger
f74a3c75de Merge pull request #3794 from AlanCoding/workflow_status_8
Reimplement select workflow status items
2016-10-31 13:36:59 -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
Aaron Tan
62e0291f86 Integrate unnecessary queries for better performance. 2016-10-28 15:03:17 -04:00
sundeep-co-in
d65e121b19 flake8 compliance 2016-10-28 14:07:08 +05:30
Aaron Tan
6ecd45681a Use ACTIVE_STATES and change error message text. 2016-10-27 16:00:22 -04:00
sundeep-co-in
e908bc34e6 Merge branch 'devel' of https://github.com/sundeep-co-in/ansible-tower into STAGE 2016-10-27 22:23:39 +05:30
AlanCoding
a2c972e513 Workflow status original commit 2016-10-27 12:52:07 -04:00
Alan Rominger
76fae6c052 Revert "Introduce workflow failure condition" 2016-10-27 12:21:31 -04:00
sundeep-co-in
c1a5fb3312 resolve conflict 2016-10-27 08:13:02 +05:30
Aaron Tan
813c786dc7 Add destory sanity checks to prevent UJ deletion during underlying workflow run. 2016-10-26 14:53:22 -04:00
sundeep-co-in
be93cb488c django-i18n: small fix 2016-10-26 23:31:12 +05:30
AlanCoding
8165141210 expand documentation for WFJT node list 2016-10-26 09:28:20 -04:00
AlanCoding
04013e4d9f fix problems with OPTIONS for char_prompts 2016-10-25 16:34:36 -04:00
sundeep-co-in
d7b3b90f4d update strings 2016-10-25 16:12:41 +05:30
AlanCoding
18cb20ebb6 remove code that checks for local project directory to give status 2016-10-24 12:42:04 -04:00
Alan Rominger
56c8ddd9cb Merge pull request #3724 from AlanCoding/3669
Get node-node sublists to show for Workflow job nodes
2016-10-20 14:18:05 -04:00
sundeep-co-in
78a8ce9479 django i18n 2016-10-18 18:10:39 +05:30
Alan Rominger
4ba8b87065 Merge pull request #3728 from AlanCoding/workflow_labels
Workflow Labels
2016-10-18 08:40:09 -04:00
Chris Church
5e8a7eeb8a Return empty dict if no license present (or invalid key). 2016-10-18 00:22:15 -04:00
AlanCoding
41d7bd84a8 implement labels for workflows JT and workflow jobs 2016-10-17 17:38:42 -04:00
AlanCoding
f3cbf71457 WFJ node-node relationships should work correctly now 2016-10-17 15:08:06 -04:00
Wayne Witzel III
5d8e7c17c2 Merge branch 'devel' into jtabor-sockets 2016-10-07 09:50:03 -04:00
Matthew Jones
babe29ebfa Implement cluster health checks
* Add a local node queue to execute targeted jobs
* Add a setting for active cluster node id (per-node)
* Base the heartbeat time on the `modified` time on the Instance table
* Add periodic task that calls save() on the instance to update the
  heartbeat time if services are up
* Purge/update any ha/instance management commands
* Fix up CELERY_ROUTES settings data structure
2016-10-06 16:05:39 -04:00
Wayne Witzel III
9049fb208f Merge branch 'devel' of https://github.com/ansible/ansible-tower into jtabor-sockets 2016-10-06 10:06:30 -04:00
Wayne Witzel III
530a5c0c88 merging devel 2016-10-03 10:35:50 -04:00
AlanCoding
b2fb7694dc Merge branch 'devel' of https://github.com/ansible/ansible-tower into wf_rbac_prompt 2016-10-03 08:43:05 -04:00
Chris Meyers
649bf08edf add workflow root endpoints 2016-10-03 08:15:39 -04:00
Chris Church
70e489d62f Save settings.LICENSE as dict instead of str. 2016-09-30 15:30:34 -04:00
AlanCoding
2faafa8071 Merge branch 'devel' of https://github.com/ansible/ansible-tower into wf_rbac_prompt 2016-09-30 10:06:23 -04:00
Chris Meyers
dd3c3c9f29 Merge branch 'feature-ha_task_manager' into devel 2016-09-29 10:27:17 -04:00
Aaron Tan
cf39f28d62 Merge pull request #3238 from jangsutsr/3088_make_admin_visible_to_oprhaned_users
Make system admin and system auditor visible to oprhaned users.
2016-09-29 09:42:05 -04:00
AlanCoding
2f205a6862 show capabilities on launch and relaunch, remove unintended capabilities 2016-09-28 16:02:00 -04:00