3145 Commits

Author SHA1 Message Date
James Laska
c7079cf338 Wait when stopping supervisor
Fixes a problem where we issue a start before supervisor has cleaned up
child pids (Ubuntu only).

Trello: https://trello.com/c/5rOxYcY5
2014-11-17 13:25:33 -05:00
James Laska
83c64dbd38 Fix mock build error
Mock doesn't seem to like a symlink.
2014-11-14 16:12:32 -05:00
Jared Tabor
609938b916 Job Submission: prompt for credential
Added the prompt for credential during job submission if credentials_needed_to_start === true
2014-11-14 13:41:44 -05:00
Luke Sneeringer
3d51b25762 Unit tests now start their own Redis. 2014-11-14 11:57:34 -06:00
Jared Tabor
825d996316 Configure Tower schedule deletion
Moved the delete icon from the cleanup job list to a button on the schedule form for when the mode is 'edit'
2014-11-14 11:45:51 -05:00
Jared Tabor
f0d7e3be23 Configure Tower schedule names
Added the cleanup job name to the corresponding schedule for that job
2014-11-14 11:44:54 -05:00
Luke Sneeringer
a8002d165a Merge branch 'configure' 2014-11-13 14:50:28 -06:00
Luke Sneeringer
3279f59986 Newline 2014-11-13 14:50:10 -06:00
Matthew Jones
2d4efc1aa9 Don't strictly require a max or min when the other is included and
parsing surveys
2014-11-13 14:05:05 -05:00
Jared Tabor
f3244c496f Configure Tower jobs 2014-11-13 13:57:41 -05:00
Jared Tabor
fca875a092 Configure Tower
added better error handling for deleting schedules associated with these jobs
2014-11-13 13:56:16 -05:00
Matthew Jones
300396c7ce Extend cache timeout to schedule runner also, block running a schedule
of an inventory update or a project update if its schedule places
it within that time also
2014-11-13 13:47:23 -05:00
Matthew Jones
04ec19023f Only consider active schedules for excluding multiple system job schedules 2014-11-13 13:03:47 -05:00
Jared Tabor
3b6d70f2ae Configure Tower helper and list
adding /helpers/ConfigureTower.js and /lists/ConfigureTowerList.js
2014-11-13 11:31:09 -05:00
Jared Tabor
dfeaea0148 Configure Tower
adding changes to app and index for configure tower files. also included are updates to the scheduler widget for system jobs
2014-11-13 11:29:42 -05:00
Jared Tabor
6a08738071 JobSubmission cleanup
added some cleanup to old code in JobSubmission
2014-11-13 11:20:39 -05:00
Luke Sneeringer
cb77e319d2 Newline 2014-11-12 12:58:45 -06:00
Luke Sneeringer
8d2a011ca8 Don't commit things with NameError! 2014-11-12 12:17:38 -06:00
Luke Sneeringer
9cec5d0144 Set SYSTEM_UUID in tests. 2014-11-12 12:13:29 -06:00
James Laska
16437462ac Replace zmq test dependency with redis 2014-11-12 12:56:49 -05:00
Luke Sneeringer
9085bf5b0f Fix task_system bug. 2014-11-12 10:43:08 -06:00
James Laska
b8f96d3037 Use correct redis service name on Ubuntu
Fixes ansible-tower service failure when [re]starting on Ubuntu systems.

Trello: https://trello.com/c/YLZM5SUH
2014-11-12 09:21:05 -05:00
James Laska
bb2235fcb2 DOM id changes for portal mode page
Improves automated navigation through the jobs and job_templates regions
on the portal page.
2014-11-12 08:42:44 -05:00
Luke Sneeringer
2f87ad8643 rabbit_alive -> redis_alive 2014-11-12 07:37:04 -06:00
Chris Church
4a030c3725 Hide all of /var/log/ from jobs running using proot. 2014-11-11 18:52:54 -05:00
Chris Church
a9c6dadc1a Remove extra print statements, minor contributing updates. 2014-11-11 18:09:01 -05:00
Matthew Jones
fa702a7a59 Remove registration of instance from develop makefile target... on new
installations the database isn't available at this point
2014-11-11 15:51:13 -05:00
Matthew Jones
8bf66f01c4 Add System Job to OPTIONS get for job types under unified jobs 2014-11-11 15:51:13 -05:00
Luke Sneeringer
d1c7ded068 Update munin to Redis 2014-11-11 14:21:13 -06:00
Luke Sneeringer
1edd8f9c0a Updates to Makefile and CONTRIBUTING
...for the RabbitMQ to Redis changeout.
2014-11-11 14:18:39 -06:00
Luke Sneeringer
3a8c32444b Merge branch 'master' into expunge-zeromq-unstable
Conflicts:
	awx/main/management/commands/run_callback_receiver.py
	awx/main/management/commands/run_task_system.py
2014-11-11 12:00:25 -06:00
Luke Sneeringer
29eaa495bc Do not allow superuser promotion by non-superusers. 2014-11-11 11:55:03 -06:00
Matthew Jones
ba1b9b9136 Add timestamp to logs for prints in management commands so we pick them
up the supervisor logs
2014-11-11 11:47:12 -05:00
Luke Sneeringer
122bf9fcd3 Merge branch 'master' into expunge-zeromq-unstable 2014-11-11 07:52:11 -06:00
Matthew Jones
c4e2463db1 Sanity check for tower version metadata file in wsgi bootstrap 2014-11-10 15:12:14 -05:00
Matthew Jones
0de53886da Disallow multiple schedules for System Job Templates 2014-11-10 14:44:34 -05:00
Chris Church
73636ef1a0 Update ec2 inventory to include instance_filters support (https://github.com/ansible/ansible/pull/8822). 2014-11-10 14:27:14 -05:00
Matthew Jones
309dba9693 Wording changes for the system job descriptions as proposed by @mpdehaan 2014-11-10 13:58:29 -05:00
Matthew Jones
4e494469c9 Use the normal version checker from tower manage 2014-11-10 12:22:20 -05:00
Matthew Jones
ce9434314f Add a metadata file to the tower home directory that lists the version
of Tower
2014-11-10 12:17:11 -05:00
Luke Sneeringer
93d7095383 Merge branch 'master' into expunge-zeromq-unstable 2014-11-10 10:35:20 -06:00
Matthew Jones
8916863cd3 Tweaks for Job Template based permissions covering delete and read
operations when the license has expired. Fix an issue where users
without the appropriate permissions could still delete job templates
2014-11-10 10:58:08 -05:00
Luke Sneeringer
0e8121f7f1 Merge branch 'master' into expunge-zeromq-unstable
Conflicts:
	setup/roles/awx_install/handlers/main.yml
2014-11-10 08:47:08 -06:00
Luke Sneeringer
71946d3802 Superuser fix redux. 2014-11-10 08:43:24 -06:00
Matthew Jones
db6a068c4a Make the credential requirement information more consistent 2014-11-09 19:42:21 -05:00
Luke Sneeringer
2925498c4e More complete superuser fix. 2014-11-07 16:23:42 -06:00
Luke Sneeringer
ed34d5f469 Fix all but one unit test. 2014-11-07 14:26:31 -06:00
Jared Tabor
ea1b70273d Jobs helper
added a check if the job run was in the portal job list
2014-11-07 13:41:24 -05:00
Matthew Jones
902ef1a7ab Read and run permission tweaks for new deployment permission type 2014-11-07 13:18:01 -05:00
Matthew Jones
2258425710 Denote whether a credential is required on the launch endpoint if it was
not provided on the job template
2014-11-07 11:37:37 -05:00