Commit Graph
100 Commits
Author SHA1 Message Date
Chris Meyers 4ef4b4709b workflow execution added 2016-11-01 13:50:42 -05:00
Chris Meyers fd8c641fa5 flake8 fixes 2016-11-01 13:50:42 -05:00
Chris Meyers 9802b1f379 AdHocCommand support added to task manager 2016-11-01 13:50:42 -05:00
Chris Meyers 46faeffbb3 added task manager system job support 2016-11-01 13:50:42 -05:00
Chris Meyers 5fa5d4b34b support distributed project updates 2016-11-01 13:50:42 -05:00
Chris Meyers 306562cd67 inventory updates running correctly 2016-11-01 13:50:42 -05:00
Chris Meyers 555f0bb90f project and jobs running correctly 2016-11-01 13:50:42 -05:00
Chris Meyers 7050c4e09e Revert "no one knows wtf the files in this dir a for, so don't serve them"
This reverts commit b3cccea70368ba1550366380e583751df1df061b.
2016-10-21 10:04:50 -04:00
Chris Meyers 5b60b14227 bump shade version 2016-10-19 14:18:00 -04:00
Chris Meyers 49c90b8f2d Revert "bump shade version"
This reverts commit 0125d114fdf8be5f3a5fdab856c92d82a2988607.
2016-10-19 14:17:04 -04:00
Chris Meyers 8a4d6b6f35 bump shade version 2016-10-19 14:07:20 -04:00
Chris Meyers b43945b0f2 Revert "bump shade version"
This reverts commit d0a7313a4ccb1cfca3c7655b34b61c6cb6861909.
2016-10-19 12:33:53 -04:00
Chris Meyers 54683cbff4 fix amqp dep 2016-10-18 18:42:12 -04:00
Chris Meyers 6d07699b29 bump shade version 2016-10-18 18:02:30 -04:00
Chris Meyers cbffb23d41 no one knows wtf the files in this dir a for, so don't serve them 2016-10-18 17:27:23 -04:00
Chris Meyers 87ea864466 sendfail syscall bad with crappy filesystems 2016-10-18 17:21:14 -04:00
Chris Meyers 64a15db91b fix nginx static files using 2016-10-18 15:51:01 -04:00
Chris Meyers 47495b4ea6 fix mime type issues 2016-10-18 14:38:24 -04:00
Chris Meyers ad2bee1f57 sym link nginx config by popular demand 2016-10-18 14:23:33 -04:00
Chris Meyers 4f6d966bab put nginx into honcho flow
* allows for make docker-compose-test then make honcho flow
2016-10-18 14:19:18 -04:00
Chris Meyers 9e3528de31 change migration name to align with version semantic 2016-10-03 11:15:33 -04:00
Chris Meyers b4c852cf53 change migration name to align with version semantic 2016-10-03 10:06:50 -04:00
Chris Meyers 203df91a5d more robust test mode checking 2016-10-03 09:28:44 -04:00
Chris Meyers 649bf08edf add workflow root endpoints 2016-10-03 08:15:39 -04:00
Chris Meyers 9cafebd8db remove job to jt allow_simultaneous dependency
* Foreshadowing of what's to come with the task manager. When deciding
on what job to run in our task manager, we can't depend on job template
fields. Otherwise, this would cost us a query.
2016-09-29 16:19:19 -04:00
Chris Meyers 1a60dd89bd add back in removed method 2016-09-29 16:01:51 -04:00
Chris Meyers ec2b0ac90d add back in removed method 2016-09-29 16:01:15 -04:00
Chris Meyers dd3c3c9f29 Merge branch 'feature-ha_task_manager' into devel 2016-09-29 10:27:17 -04:00
Chris Meyers fbc1dff4de flake8 fixes 2016-09-29 10:23:00 -04:00
Chris Meyers bdd444fb44 removed print 2016-09-29 09:53:36 -04:00
Chris Meyers 0d538f8b0f Revert "removed wait_task look restriction"
This reverts commit f159fd45406c6af2aacc48a44e2a3993bfa19ce8.
2016-09-28 10:23:45 -04:00
Chris Meyers d65120538d scheduler messages need not be durable 2016-09-27 16:05:30 -04:00
Chris Meyers 89250dcf36 removed wait_task look restriction 2016-09-27 16:04:00 -04:00
Chris Meyers 3a8033dec4 cheesy global lock 2016-09-27 14:16:18 -04:00
Chris Meyers 04f69727f2 fully message driven job execution
TODO:
* Need a distributed lock (leverage postgres)
* Less memory-intensive graph representation
* Maybe serializer/deserializer graph to database
  * Iterative graph building instead of full rebuild.
2016-09-27 14:16:18 -04:00
Chris Meyers cdb65ccac9 replace task manager with event driven scheduler 2016-09-27 14:16:18 -04:00
Chris Meyers cc90204b0f task manager using messages
* First pass, adapt singleton task manager to process messages and run
jobs based on events instead of a busy loop.
* Still need to make message handing run in celery, not in a consumption
loop
2016-09-27 14:05:29 -04:00
Chris Meyers 64c91e1c1d remove stupid scripts 2016-09-16 08:52:54 -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 c35c2d9331 fix class method 2016-09-15 13:51:23 -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
Chris Meyers 0a24a4f9b7 ignore import splat 2016-09-15 10:18:10 -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
Chris Meyers 32461574ae add unit tests 2016-09-13 15:24:20 -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
Chris Meyers e4025a7eff flake8 fixes 2016-09-08 14:26:30 -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
Chris Meyers 83c5b3323f add workflow to unified endpoints 2016-09-02 09:04:49 -04:00
Chris Meyers 39ac2c047b launch workflows 2016-09-01 14:11:20 -04:00
Chris Meyers ac2f0bdf57 handle mime svg in devel 2016-09-01 12:53:26 -04:00
Chris Meyers 2cfdee3b21 turn job templates in jobs via launch 2016-08-31 09:00:25 -04:00
Chris Meyers 4c876b40e4 initial models and endpoints added for workflows 2016-08-30 15:05:28 -04:00
Chris Meyers 27b9fb8dab refactor notifications 2016-08-30 14:36:18 -04:00
Chris Meyers c7524892c0 fixes network cred failure in travis 2016-07-22 15:36:08 -04:00
Chris Meyers 37ddf2a4d9 fix unit test on travis 2016-07-22 14:00:28 -04:00
Chris Meyers e5b031e533 use existing logging infrastructure 2016-07-22 12:52:25 -04:00
Chris Meyers c42af3c61a forgot to remove label cleanup periodic task 2016-07-22 10:33:30 -04:00
Chris Meyers eb89cf98cc Always create fact cleanup job 2016-07-22 10:05:00 -04:00
Chris Meyers 811d6dfe3d add missed log and fix dev env 2016-07-22 10:04:02 -04:00
Chris Meyers fd098e64dc log migration to standard tower log dir 2016-07-22 09:29:07 -04:00
Chris Meyers 4cf7344dc4 check license permission on host create 2016-07-21 16:53:25 -04:00
Chris Meyers d886d07364 do not cache mongo read data on migration 2016-07-21 15:11:16 -04:00
Chris Meyers 5a9af010bf fix label docs 2016-07-11 13:32:53 -04:00
Chris Meyers 735a75729f Revert "fixes Save with update_fields did not affect any rows"
This reverts commit c6d282fce27d23317d2649ccf00b75799dad1a86.

This didn't fix the underlying issue. The issue is that the inventory
object may have been deleted by the time save is called.
2016-07-07 12:09:16 -04:00
Chris Meyers 1aca42ae93 fixes Save with update_fields did not affect any rows 2016-07-05 11:46:46 -04:00
Chris Meyers ecaf2b86b0 flake8 fix 2016-06-30 15:34:48 -04:00
Chris Meyers 84e02a5dd2 fix unit tests and make delete last unattach more generic 2016-06-30 14:13:19 -04:00
Chris Meyers a57dca9786 fix delete last label disassociate
* Inherit from mixin first in order to overwrite next inherited class
method, unattach.
* Also, fix up test and add test to ensure correct inheritance
2016-06-29 17:19:08 -04:00
Chris Meyers 0cb00c1554 add logging to system tracking migration 2016-06-28 16:02:33 -04:00
Chris Meyers 741ed4b904 allow members of an org to create labels for orgs that they are members of 2016-06-28 13:41:04 -04:00
Chris Meyers fd4875818f do not drop mongo after migration 2016-06-22 16:06:47 -04:00
Chris Meyers b2dd7990c2 fixes openstack functools failure for py2.6 2016-06-22 15:39:25 -04:00
chris meyers f9ffe6d52e move factory fixture
* Move factory fixture back one directory so unit tests can now take
advantage of them; while still allowing functional tests to use them
2016-06-08 09:24:49 -04:00
Chris Meyers f9d0c74bbc fix supervisord issue
* exec spawned python process so we don't have grandparents
* increase time until supervisord is killed
2016-05-13 15:41:46 -04:00
Chris Meyers fbca7e70f1 optimize transformation 2016-05-12 14:16:39 -04:00
Chris Meyers 4096583b47 has no one been runnning py.test ? 2016-05-12 09:21:13 -04:00
Chris Meyers 358bc31450 remove metric 2016-05-10 14:18:05 -04:00
Chris Meyers ae73be12f1 remove statsd 2016-05-10 11:56:04 -04:00
Chris Meyers 1ab761b7b7 test updates and httpd role fix 2016-05-09 09:17:58 -04:00
Chris Meyers 3ebddbdc58 flake8 fix 2016-05-05 14:16:03 -04:00
Chris Meyers 8b1c5d80dc install postgres for the customer 2016-05-04 12:11:21 -04:00
Chris Meyers b18dd8fe21 fixes hanging chads, if chads were ansible 2016-04-29 15:55:32 -04:00
Chris Meyers e449237d8a move delete last unattach mixin to job template sublabel 2016-04-27 12:07:57 -04:00
Chris Meyers 1925742da1 delete orphaned labels when jt or j deleted 2016-04-27 09:46:34 -04:00
Chris Meyers 2f18a9f2c1 delete label on last disassociate 2016-04-25 17:20:07 -04:00
Chris Meyers 16744e6b78 added missed job template label relationship 2016-04-25 09:46:54 -04:00
Chris Meyers 396848e97a labels on unified jobs 2016-04-22 12:32:30 -04:00
Chris Meyers b8a22c2c17 order tags alphabetically 2016-04-22 10:53:22 -04:00
Chris Meyers de1681663d fix flake8 and spelling 2016-04-14 08:55:56 -04:00
Chris Meyers 043f97fe35 fixes config endpoint performance issue 2016-04-13 17:28:38 -04:00
Chris Meyers c8010fc0ce use new timestamp logic in tests 2016-04-13 09:41:28 -04:00