Commit Graph

2620 Commits

Author SHA1 Message Date
Wayne Witzel III
4c8aaf1aed converting from socketio to channels websocket 2016-09-27 18:39:07 -04:00
Wayne Witzel III
42aab8ab83 removing websocket notification and service 2016-09-27 18:39:05 -04:00
Wayne Witzel III
62beb24d62 adding initial testing consumers/routes for channels 2016-09-27 18:38:59 -04:00
Aaron Tan
609a3e6f2f Merge pull request #3390 from jangsutsr/2719_update_task_failure_traceback_text
update task failure traceback text
2016-09-26 11:47:22 -04:00
Jim Ladd
684ab6c263 Merge pull request #3537 from jladdjr/no_issue_update_tower-manage_create_preload_data_output
Update output for tower-manage create_preload_data
2016-09-23 15:25:22 -04:00
Aaron Tan
a2247b0070 Merge pull request #3557 from jangsutsr/3344_add_extra_vars_type_verification
Refactor and patch extra vars verification.
2016-09-23 09:42:58 -04:00
Aaron Tan
33e3263310 Flake8 fixes. 2016-09-23 09:27:18 -04:00
Aaron Tan
535f979fd7 Unit test added. 2016-09-22 22:34:40 -04:00
Alan Rominger
64944393d3 Merge pull request #3505 from AlanCoding/can_CRUD
Copy/edit rework
2016-09-22 11:30:10 -04:00
AlanCoding
57abd438c8 make user_capabilities validation front-loaded, try to run tests 2016-09-22 10:36:30 -04:00
Aaron Tan
51cd9e99e6 Refactor and patch extra vars verification. 2016-09-21 20:44:52 -04:00
Wayne Witzel III
6f69163fad Merge pull request #3524 from wwitzel3/devel
update network cred ssh agent unit test with post_run_hook mock
2016-09-21 14:13:10 -04:00
Aaron Tan
f68baadc39 Add can_start to notification template access 2016-09-20 23:38:05 -04:00
Jim Ladd
ecf8dd0d6d Update output for tower-manage create_preload_data 2016-09-20 11:47:13 -04:00
Wayne Witzel III
23d7e70204 update network cred ssh agent unit test with post_run_hook mock 2016-09-19 14:24:01 -04:00
Chris Church
b7a6aa01a3 Fixes to get flake8 and unit/functional tests passing. 2016-09-18 19:11:29 -04:00
Matthew Jones
f3a8eb9daf Merge pull request #3509 from ansible/ha_installer
Improvements to the setup/installer to support new HA workflows
2016-09-16 15:53:38 -04:00
Matthew Jones
a4ec0739ea Temporarily disable instance id gathering
During requests
2016-09-16 15:21:42 -04:00
AlanCoding
766dac9663 flake8 fix and re-delete test_serializers 2016-09-15 17:23:24 -04:00
AlanCoding
7ff5c40564 Merge branch 'devel' of https://github.com/ansible/ansible-tower into can_CRUD 2016-09-15 17:19:38 -04:00
Chris Meyers
c6e1135022 Merge pull request #3503 from chrismeyersfsu/fix-workflow_inheritance
functional workflow test for issue #3498
2016-09-15 15:29:30 -04:00
Chris Meyers
7f614a53db flake8 fix 2016-09-15 15:28:55 -04:00
Chris Meyers
77cc7f9d00 functional workflow test for issue #3498 2016-09-15 15:03:08 -04:00
Chris Meyers
a473426fd4 Merge pull request #3501 from chrismeyersfsu/fix-workflow_inheritance
fix class method
2016-09-15 13:52:48 -04:00
Chris Meyers
c35c2d9331 fix class method 2016-09-15 13:51:23 -04:00
Matthew Jones
3de4aae548 Fixing up HA induced flake8 issues 2016-09-15 13:51:17 -04:00
Matthew Jones
c6f87607f2 Shifting migrations after integration with devel for ha 2016-09-15 10:55:00 -04:00
Matthew Jones
f5d2c5c18a Merge branch 'ramparts_and_ha' into devel
* ramparts_and_ha: (21 commits)
  Rename database migrations for devel integration
  Integrate callback receiver refactoring
  Fix an issue running jobs in the cluster
  Implement a more dynamic celery queue system
  Purge old munin monitors and tools
  Refactor Tower HA Instance logic and models
  Docker compose improvements
  Initial Docker Compose workflow for Tower cluster
  Add memcached role for setup playbook
  Removing qpid from deb packaging
  Refactor rabbitmq role
  Integrate memcached into setup playbook
  Remove mongodb shutdown task
  Remove dependency on erlang_sd_notify
  Add initial rabbitmq role
  Initial rabbitmq setup playbook integration
  Update development environment for rabbit
  Replace qpid with rabbitmq
  Remove redis role from setup playbook
  Update qpid packaging, remove migrations
  ...
2016-09-15 10:19:57 -04:00
Matthew Jones
574a0fde05 Rename database migrations for devel integration 2016-09-15 10:15:14 -04:00
Chris Meyers
c3bb7521de Merge pull request #3474 from chrismeyersfsu/feature-workflows
workflows
2016-09-15 10:12:58 -04:00
Matthew Jones
ab395b0009 Integrate callback receiver refactoring
* Drop ZMQ as the communication mechanism between job_event_callback and
  callback_receiver
* Setup queue and exchange for callback broker communication
* Refactor event plugin and callback receiver to efficiently handle
  message submission and processing
* Integrate django caching for parent processing
2016-09-14 11:42:13 -04:00
Chris Meyers
32461574ae add unit tests 2016-09-13 15:24:20 -04:00
AlanCoding
0cb9ab3cf4 fix bugs due to lack of can_start access for some job types 2016-09-13 11:18:34 -04:00
AlanCoding
8075e3876e minor flake8 fixes to rbac_display file 2016-09-13 10:07:02 -04:00
Alan Rominger
43e399df81 Merge pull request #3370 from ansible/AlanCoding-patch-3
test_credential bug fixes
2016-09-13 09:56:43 -04:00
Chris Meyers
4dc5c33442 refactor to be more testable 2016-09-12 12:19:36 -04:00
Chris Meyers
cea5ebadb7 split Node in job and job template node 2016-09-12 11:04:20 -04:00
AlanCoding
0933a91174 Merge branch 'devel' into can_CRUD 2016-09-12 08:56:47 -04:00
Matthew Jones
807cced571 Implement a more dynamic celery queue system
* Meant to be a starting point to more efficiently manage work routing
  and to balance work across all tower nodes
* Integrate flower as a dev tool that starts alongside other nodes.
  Helpful for observing and monitoring the queues/exchanges
* For the moment, force the task manager to only run on one node (not
  sure if this is needed)
* Define queues and routes for all task work
* Bump celery version to 3.1.23
* Expose flower through haproxy
2016-09-09 15:18:18 -04:00
AlanCoding
d77dc271d8 copy/edit display test refactor, copy prefetch added 2016-09-09 15:13:48 -04:00
AlanCoding
507ba6a778 add new case in prefetch method for foreign-key roles 2016-09-08 15:03:55 -04:00
Chris Meyers
e4025a7eff flake8 fixes 2016-09-08 14:26:30 -04:00
Matthew Jones
0c1e1fa2fb Refactor Tower HA Instance logic and models
* Gut the HA middleware
* Purge concept of primary and secondary.
* UUID is not the primary host identifier, now it's based mostly on the
  username.  Some work probably still left to do to make sure this is
  legit.  Also removed unique constraint from the uuid field.  This
  might become the cluster ident now... or it may just deprecate
* No more secondary -> primary redirection
* Initial revision of /api/v1/ping
* Revise and gut tower-manage register_instance
* Rename awx/main/socket.py to awx/main/socket_queue.py to prevent
  conflict with the "socket" module from python base
* Revist/gut the Instance manager... not sure if this manager is really
  needed anymore
2016-09-08 13:37:53 -04:00
Chris Meyers
28ec68e91b workflow dependency tests 2016-09-08 13:08:54 -04:00
Chris Meyers
cae48cfb77 instantiate db with sample workflows 2016-09-08 13:04:56 -04:00
Chris Meyers
0e68481a85 consolidate workflow migration 2016-09-08 12:57:54 -04:00
AlanCoding
6b0df43f3b add unattach field to user and team roles list 2016-09-08 11:09:17 -04:00
AlanCoding
9da00c2d38 RBAC copy/edit displays test refactor 2016-09-07 17:08:07 -04:00
AlanCoding
1ca7ce1bd4 JT OPTIONS based on RBAC, refactoring toward combinational prefetching 2016-09-02 17:07:42 -04:00
Chris Meyers
83c5b3323f add workflow to unified endpoints 2016-09-02 09:04:49 -04:00