Matthew Jones
|
79ef9e5ed5
|
Implement smart recursive deleting on certain inventory resources
|
2014-05-08 16:56:55 -04:00 |
|
Matthew Jones
|
d6a238d6e0
|
Check for null group in inventory source before attempting to emit
inventory status change event
|
2014-05-05 11:46:39 -04:00 |
|
Matthew Jones
|
808b82bd33
|
Break out the data migration from the schema migration for the job event hostname
|
2014-05-05 10:38:26 -04:00 |
|
Matthew Jones
|
21d0b6301e
|
Update server makefile behavior with two mechanisms one of which will
start the development services in tmux but not attach to the session
|
2014-05-02 15:26:05 -04:00 |
|
Matthew Jones
|
44bb12c5c3
|
Include host name in the job event serializer
|
2014-05-02 13:23:45 -04:00 |
|
Matthew Jones
|
e4afaeb2a6
|
Add migration for including host name with the top level job event
detail if it's available
|
2014-05-02 13:19:03 -04:00 |
|
Matthew Jones
|
bc7567a341
|
Include hostname in the event data at the top level if it's available
|
2014-05-02 10:34:51 -04:00 |
|
Matthew Jones
|
0a18816cf5
|
Include job event detail emitter
|
2014-04-30 14:48:24 -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
|
74463f8945
|
Make sure we include the instance id when emitting the event
|
2014-04-28 14:29:00 -04:00 |
|
Matthew Jones
|
f788adfbca
|
Implement AC-1224, include the id of the new inventory or project update
when launching
|
2014-04-25 12:57:52 -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
|
5904d2e1ee
|
Switch back to serializer for event emissions and convert datetimes prior to json serialization
|
2014-04-22 15:08:43 -04:00 |
|
Matthew Jones
|
be3996b9be
|
Add the job event id to the socket emitter payload
|
2014-04-21 23:35:44 -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
|
444430ed5b
|
Use singular keyfile
|
2014-04-21 12:16:22 -04:00 |
|
Matthew Jones
|
2177d6feab
|
Fix up event emission to send the right thigns
|
2014-04-18 14:42:23 -04:00 |
|
Matthew Jones
|
007df8c5a6
|
Fix up some minor issues so we can display job events
|
2014-04-18 13:58:06 -04:00 |
|
Matthew Jones
|
210b1dce2e
|
Be more specific on the model
|
2014-04-18 13:51:36 -04:00 |
|
Matthew Jones
|
003104cbdb
|
Add a post-save hook for emitting job event notifications over the websocket channel
|
2014-04-18 13:38:43 -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 |
|
Matthew Jones
|
09f9b18d3f
|
Mention 1.4.9 release in readme
|
2014-04-17 16:31:11 -04:00 |
|
Matthew Jones
|
c793ff0d95
|
Small updates to the event triggers and javascript to show individual endpoints
|
2014-04-17 14:55:44 -04:00 |
|
Matthew Jones
|
647001546a
|
Support ssl listener for socketio service, add such service to setup playbook, add handler for external notifications, implement basic namespaces for other supported events
|
2014-04-17 12:36:34 -04:00 |
|
Matthew Jones
|
f06dde4fa3
|
Fix AC-1202... when marking a schedule as inactive also mark it as disabled. When filtering schedules for what should run make sure we exclude inactive schedules also
|
2014-04-17 10:14:53 -04:00 |
|
Matthew Jones
|
7c43dced0f
|
a bit better pane selection when splitting
|
2014-04-16 15:30:49 -04:00 |
|
Matthew Jones
|
69583a1b07
|
Import socketio service work and updates to documentation and setup procedures
|
2014-04-16 15:27:04 -04:00 |
|
Matthew Jones
|
9901658f02
|
Update some setup things for the new callback script
|
2014-04-16 11:17:16 -04:00 |
|
Matthew Jones
|
8ffdc6de29
|
Rename tower retry script and reframe documentation
|
2014-04-16 11:17:04 -04:00 |
|
Matthew Jones
|
1d28f73687
|
Include the actuall callback retry script
|
2014-04-15 16:02:59 -04:00 |
|
Matthew Jones
|
6b3d857e49
|
Add an example script that will retry a tower callback request if it does not receive a 202. will retry 5 times with a 5 second interval between each run
|
2014-04-15 16:02:45 -04:00 |
|
Matthew Jones
|
fd1e35c6d9
|
Show new vendored packages in the site packages readme
|
2014-04-15 11:54:41 -04:00 |
|
Matthew Jones
|
99f2f65be2
|
Fix issue AC-1047, don't use pk when verifying that the user exists and isn't anonymous
|
2014-04-15 11:46:16 -04:00 |
|
Matthew Jones
|
507d2e158d
|
Vendor gevent's socketio and websocket modules
|
2014-04-15 11:18:48 -04:00 |
|
Matthew Jones
|
78e208dcdb
|
Use id instead of pk or checking for anonymous user
|
2014-04-07 17:11:11 -04:00 |
|
Matthew Jones
|
3876e06a8d
|
Fix AC-1155, make sure we check for anonymous user because that's what will come back through the rest api
|
2014-04-07 14:49:45 -04:00 |
|
Matthew Jones
|
064dd6dc08
|
Fix up unit tests where we no longer allow posting a schedule to an
inventory source that is not a cloud source
|
2014-04-07 14:18:59 -04:00 |
|
Matthew Jones
|
2fe1ae189a
|
Fix issue AC-1152... disallow creating a schedule for non-cloud
inventory sources
|
2014-04-07 13:35:40 -04:00 |
|
Matthew Jones
|
3481366fcf
|
Include more detail about schedules in activity streams by linking to
their parent object in summary_fields and related
|
2014-04-06 11:58:56 -04:00 |
|
Matthew Jones
|
1e50f0cc24
|
Don't add other jobs to the dependency task chain such that if we are
running a job (as opposed to an inventory update or project update) they
may proceed even if the job failed.
|
2014-04-06 02:29:06 -04:00 |
|
Matthew Jones
|
221db9b296
|
Fix up tower warning log to work with unit tests, local testing, and production
|
2014-04-04 23:10:48 -04:00 |
|
Matthew Jones
|
c60f89f884
|
Update tower warning log for current production and production updates
|
2014-04-04 22:53:50 -04:00 |
|
Matthew Jones
|
b222fc02ee
|
Add finished datetime detail to last_job and recent_jobs summary
fields. Closes AC-1135
|
2014-04-04 17:04:32 -04:00 |
|
Matthew Jones
|
e197bfeb01
|
Add a specific tower warnings file in the tower home directory.
Configure the api viewer to emit warnings for 4XX and 5XX status codes
into that file. Configure it for use on a production system. Closes AC-685
|
2014-04-04 16:48:56 -04:00 |
|
Matthew Jones
|
f56b716b8f
|
Switch to using the celery persistent beat scheduler to guard against
the database not being available yet or restarting and taking the celery
scheduler with it
|
2014-04-04 15:47:45 -04:00 |
|
Matthew Jones
|
b51a867b5f
|
More fixes for the license obfuscation
|
2014-04-03 17:16:03 -04:00 |
|
Matthew Jones
|
05613c1bea
|
Make sure we are pulling in the right license class after obfuscation
|
2014-04-03 17:04:48 -04:00 |
|
Matthew Jones
|
7202905d0e
|
Fix an issue I created with the config view trying to import the old
license reader
|
2014-04-03 16:30:05 -04:00 |
|
Matthew Jones
|
2587fe9f18
|
Obfuscate the license engine... implements AC-1069
|
2014-04-03 15:49:14 -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
|
711c1824a3
|
Fix issue AC-1112... disallow multiple dtstart and rrule segments
|
2014-04-03 13:14:53 -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 |
|
Matthew Jones
|
feb1bb6e8a
|
Wrap up schedule rrule documentation
|
2014-04-02 14:54:53 -04:00 |
|
Matthew Jones
|
8659eab1d3
|
Include dependent file in schedules list docs
|
2014-04-02 14:34:08 -04:00 |
|
Matthew Jones
|
5f7ea664f2
|
Adding some Schedule documentation
|
2014-04-02 14:30:13 -04:00 |
|
Matthew Jones
|
d190aa3001
|
Wrap up rrule validation for scheduler
|
2014-04-02 11:44:49 -04:00 |
|
Matthew Jones
|
3e2e682658
|
Re-do the way we perform dtend calculation by parsing the until value
instead of attempting to read the last item from the list in cases where
the list is very long
|
2014-04-02 11:44:49 -04:00 |
|
Matthew Jones
|
4069a33ab0
|
Scheduler unit tests
|
2014-04-01 17:12:46 -04:00 |
|
Matthew Jones
|
306544dca0
|
Fix up schedule access control by referencing the right base object
|
2014-04-01 16:48:45 -04:00 |
|
Matthew Jones
|
54599578a0
|
Fix up ScheduleAccess queryset to fit between schedules and unified jobs
|
2014-04-01 13:13:53 -04:00 |
|
Matthew Jones
|
49f6bd3e1c
|
Fix imports for using Job in some models
|
2014-04-01 13:02:33 -04:00 |
|
Matthew Jones
|
7bc7362299
|
Complete rrule validation
|
2014-04-01 11:22:42 -04:00 |
|
Matthew Jones
|
2e6457b887
|
Recalculate dtstart and dtend on every save now that it is idempotwhatever
|
2014-04-01 10:09:52 -04:00 |
|
Matthew Jones
|
2913ce21d2
|
Make sure we store the real start value for a schedule
|
2014-03-31 17:35:49 -04:00 |
|
Matthew Jones
|
4a535e5404
|
Updating dependency check for jobs, project updates, and inventory updates
|
2014-03-31 17:16:49 -04:00 |
|
Matthew Jones
|
60b399409a
|
Update old schedules if we missed them
|
2014-03-31 15:33:25 -04:00 |
|
Matthew Jones
|
43ae60d2f4
|
Fix up issue associating type of unified job template summary fields
|
2014-03-31 15:29:44 -04:00 |
|
Matthew Jones
|
8c020ddd0b
|
Add type to unified_job_template summary fields
|
2014-03-31 14:58:34 -04:00 |
|
Matthew Jones
|
9e898953dd
|
Revert start_args when launching job
|
2014-03-31 12:45:57 -04:00 |
|
Matthew Jones
|
7e5ac7b3fa
|
Make sure we shoehorn start args to empty string
|
2014-03-31 11:38:54 -04:00 |
|
Matthew Jones
|
96a4752f2f
|
Be more strict when verifying dtstart
|
2014-03-31 11:33:49 -04:00 |
|
Matthew Jones
|
a3ca786758
|
Fix some import errors and filter errors when updating unified_jobs with
schedule information
|
2014-03-31 10:26:12 -04:00 |
|
Matthew Jones
|
9b440c5209
|
Fix an issue where POST to schedules would no longer work. Populate
some more summary fields
|
2014-03-28 22:11:02 -04:00 |
|
Matthew Jones
|
c46f1de347
|
Some initial validation logic and documentation on what we require/reject
|
2014-03-28 14:37:50 -04:00 |
|
Matthew Jones
|
c1734d74cf
|
Use unified job set for joining the schedule and unified jobs
|
2014-03-28 12:52:28 -04:00 |
|
Matthew Jones
|
799e8d30ba
|
Integrate main schedules resource
Integrated scheduled jobs list
Implement updating ancillary details on dependent models
Further cleanup
|
2014-03-28 12:50:35 -04:00 |
|
Matthew Jones
|
c1d314ed6f
|
Running scheduled items now works
|
2014-03-27 22:45:51 -04:00 |
|
Matthew Jones
|
b665345070
|
Support passing the schedule when signaling start so we record which
schedule this came from
|
2014-03-27 22:45:51 -04:00 |
|
Matthew Jones
|
65bb42c2f2
|
Make dtstart field somewhat optional
|
2014-03-27 16:01:09 -04:00 |
|
Matthew Jones
|
107fc85110
|
Initial scheduler integration
|
2014-03-27 15:53:45 -04:00 |
|
Matthew Jones
|
74602f1009
|
Check project and inventory source update cache timeout when deciding
whether or not to spawn an instance of either one as a dependency
|
2014-03-25 16:21:46 -04:00 |
|
Matthew Jones
|
1dc3aa8ab1
|
Relax job dependency conflicts raised by customer support
If both jobs are callbacks whose limits are different allow them to
not conflict with each other when deciding launch dependencies
|
2014-03-25 16:20:27 -04:00 |
|
Matthew Jones
|
03249e59f3
|
Fix up job run types so that we aren't auto-starting new jobs. Fix up
job dependency generator to call the right new methods for generating
inventory and project updates
|
2014-03-25 15:21:30 -04:00 |
|
Matthew Jones
|
bb630fddbc
|
Fix up error handler callback to include the task that actually failed
|
2014-03-25 15:01:54 -04:00 |
|
Matthew Jones
|
7196262987
|
Update graph generator to look right
|
2014-03-25 15:01:54 -04:00 |
|
Matthew Jones
|
61ab197b3a
|
If we fail the prestart check on a job, record the conditions by which we fail
|
2014-03-24 14:57:53 -04:00 |
|
Matthew Jones
|
ec2dfa3c74
|
Rename link for unified jobs list
|
2014-03-24 12:01:01 -04:00 |
|
Matthew Jones
|
2d443bad26
|
Change the api v1 resource for unified jobs
|
2014-03-24 11:58:05 -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
|
0f1fc77be3
|
Switch up the api end point for unified jobs
|
2014-03-24 11:48:04 -04:00 |
|
Matthew Jones
|
af231cc8b7
|
Resolve can_start from the client side and the signaler side
|
2014-03-24 09:47:36 -04:00 |
|
Matthew Jones
|
6941d89502
|
Tasks are only 'can_start' if they are in the 'new' state
|
2014-03-23 19:56: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
|
4b9059388e
|
Switch to using a network socket instead of an ipc socket, closes issue AC-1088
|
2014-03-21 14:44:22 -04:00 |
|
Matthew Jones
|
e66fa7cead
|
Fix up some bugs for the UI's dummy endpoints
|
2014-03-20 22:09:21 -04:00 |
|
Matthew Jones
|
f3e9be636c
|
Add some dummy api end points for House
|
2014-03-20 17:59:58 -04:00 |
|
Matthew Jones
|
6f11502528
|
Emit log messages by default on the task runner
|
2014-03-20 11:46:58 -04:00 |
|