9150 Commits

Author SHA1 Message Date
Matthew Jones
d8ea0920c5 Update configuration and playbook for rabbitmq
* Purge remaining zeromq settings
* Make sure we have CALLBACK_QUEUE defined where needed
* Update setup playbook to not be tied to old ha primary/secondary concept
2016-09-16 11:35:46 -04:00
Chris Meyers
bf3c68d8b4 Merge pull request #3497 from chrismeyersfsu/fix-flake8_deps
Fix flake8 deps
2016-09-15 13:33:41 -04:00
Matthew Jones
2872409271 Integrate rabbitmqctl interface to cluster and standalone containers 2016-09-15 12:07:16 -04:00
Graham Mainwaring
8a0f7b1354 Merge pull request #3495 from ghjm/rabbitmq_deb
Add RabbitMQ and memcached to Ubuntu builds/installs
2016-09-15 11:28:28 -04:00
Matthew Jones
c6f87607f2 Shifting migrations after integration with devel for ha 2016-09-15 10:55:00 -04:00
Matthew Jones
3255a17856 Exposing rabbitmq management console interface on compose 2016-09-15 10:46:45 -04:00
Chris Meyers
f06b212266 flake8 fixes 2016-09-15 10:25:36 -04:00
Chris Meyers
cb8b6ea29f fix flake8 2016-09-15 10:24:45 -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
Chris Meyers
0a24a4f9b7 ignore import splat 2016-09-15 10:18:10 -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
Chris Meyers
46da83b87f fix flake8 2016-09-15 08:52:12 -04:00
Chris Meyers
3969cfa2a0 Revert "use flake8 inside tower env"
This reverts commit 90cdc5c83cb495e0d448f8e9eb7381d5fd84e9d4.
2016-09-15 08:45:13 -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
Shane McDonald
05add1a751 Add --unsafe-perm to ui-deps-built
Node thinks we’re stupid. https://github.com/nodejs/node-gyp/issues/454
2016-09-13 15:35:35 -04:00
Chris Meyers
32461574ae add unit tests 2016-09-13 15:24:20 -04:00
James Laska
183660a133 Fix '..' typo when installing jenkins requirements 2016-09-13 11:01:00 -04:00
James Laska
7d95b15812 Ensure make docker-clean exits cleanly 2016-09-13 11:01:00 -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
Alan Rominger
2e3982e295 Merge pull request #3393 from AlanCoding/role_description_optimization
Avoid redundant lookups of content_type
2016-09-13 09:56:03 -04:00
Alan Rominger
475c764162 Merge pull request #3319 from AlanCoding/proj_self_optimization
Add another special case in summary_fields optimizations
2016-09-13 09:53:22 -04:00
Matthew Jones
ce2aaef086 Merge pull request #3200 from wenottingham/devel
Add a check for recent enough Ansible.
2016-09-13 09:50:00 -04:00
Matthew Jones
b1b9967be0 Merge pull request #3220 from nitzmahone/req_update
update requirements versions for requests,azure
2016-09-13 09:48:31 -04:00
Chris Meyers
c91b10e62d use flake8 inside tower env 2016-09-12 14:06:20 -04:00
Chris Meyers
0dfe3b197a bump pyflakes version 2016-09-12 12:45:01 -04:00
Chris Meyers
9c12b234b1 remove workflow_job_template from workflow job node serializer 2016-09-12 12:26:07 -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
Matthew Jones
799f321760 Fix an issue running jobs in the cluster
The old VENV_PATH settings were still in place
2016-09-12 10:43:40 -04:00
Shane McDonald
1bf0cf20be Merge branch 'containerized-debs' into devel 2016-09-12 10:40:43 -04:00
Matthew Jones
988bbc4f4f Purge more qpid configuration 2016-09-12 09:50:42 -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
Matthew Jones
13a0fd749f Purge old munin monitors and tools 2016-09-09 15:17:16 -04:00
Leigh Johnson
7e7bd76644 Fix schedules sitewide (#3469)
* Remove custom rrule module loaders, update angular-scheduler dept

* snip comment

* remove nlp module loaders
2016-09-09 10:49:28 -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
Matthew Jones
eafb6c92b5 Docker compose improvements
* Make sure we explicitly set a hostname for tower nodes
* Switch rabbit vhost to use the root
2016-09-08 11:02:51 -04:00
Matthew Jones
ebf103f345 Initial Docker Compose workflow for Tower cluster
The goal is to share a common pattern with the existing development work
2016-09-08 10:18:14 -04:00
Leigh Johnson
6d643ca339 Add uncached template loaders to development settings 2016-09-07 15:47:50 -04:00
Leigh Johnson
ffd9c4eb4d Exclude tower.vendor.js from BrowserSync polling, remove chunk stats plugin, update ui deps 2016-09-07 13:28:06 -04:00
Leigh Johnson
c3b9050773 use a better-supported babel plugin instead of jank webpack loader for istanbul instrumentation (#3341) 2016-09-07 11:47:19 -04:00
Matthew Jones
27ab6705e7 Merge branch 'ramparts_and_ha' into devel
* ramparts_and_ha:
  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
  Integrate packaging for qpid/memcached
2016-09-06 09:47:11 -04:00
Chris Meyers
83c5b3323f add workflow to unified endpoints 2016-09-02 09:04:49 -04:00
Alan Rominger
2fada7a6ad fix flake8 2016-09-01 15:34:06 -04:00
AlanCoding
26ce3a4773 avoid lookup of content_type for description when summarizing object_roles 2016-09-01 15:08:32 -04:00
Chris Meyers
39ac2c047b launch workflows 2016-09-01 14:11:20 -04:00