Commit Graph

430 Commits

Author SHA1 Message Date
Chris Meyers
2f9a5409c3 code logic fix and vmware active var updated 2016-12-19 17:08:27 -05:00
Chris Meyers
b72a148cbc vmware_inventory dyn inv script support 2016-12-19 16:39:10 -05:00
Chris Meyers
192e214b6e Merge pull request #4496 from chrismeyersfsu/enhancement-foreman_bump
bump foreman and expose new grouping features
2016-12-19 12:01:17 -05:00
Bill Nottingham
291dca0954 Merge pull request #4482 from wenottingham/dadgumit
Fix env var.
2016-12-19 11:40:55 -05:00
Chris Meyers
1c4e6c55f5 bump foreman and expose new grouping features
related to #3467
related to #5226
related to #4373
2016-12-19 11:26:43 -05:00
Bill Nottingham
9f48043574 Fix env var. 2016-12-16 12:21:41 -05:00
Chris Meyers
05b4d0fef6 Merge pull request #4473 from chrismeyersfsu/fix-3391
associate notifications with job before sending notifications
2016-12-16 11:56:06 -05:00
Chris Meyers
bf23f6a52c associate notifications with job before sending notifications
related to #3391
2016-12-16 11:26:16 -05:00
Matthew Jones
888ec25c3c Adding new privilege escalation methods from core 2016-12-15 16:22:21 -05:00
Chris Meyers
ef1f77bf8e fix what I broke with the job through cancel proj update 2016-12-15 16:13:09 -05:00
Chris Meyers
f026a96d94 flake8 fix 2016-12-15 08:59:24 -05:00
Chris Meyers
7bc6d50b0b Merge pull request #4445 from chrismeyersfsu/fix-4225
cancel job also cancels project update
2016-12-15 08:46:43 -05:00
Chris Church
9c444e084e Handle psutil errors when terminating tasks. 2016-12-14 16:37:44 -05:00
Chris Meyers
bdfac35f3f cancel job also cancels project update
related to #4225
2016-12-14 16:26:18 -05:00
Chris Church
e8f01c9029 Stringify the MAX_EVENT_RES_DATA setting when sticking it into an environment variable. 2016-12-14 16:13:06 -05:00
Matthew Jones
a61e729ebb Purge event res dict if it is over a certain size
Also purge/update some old settings values
2016-12-14 15:05:28 -05:00
AlanCoding
4cc1642ab3 clarity edit of uWSGI chain reload task 2016-12-12 09:40:49 -05:00
AlanCoding
c6f3d498de remove django configure_logging import 2016-12-09 16:07:47 -05:00
AlanCoding
431dcc6490 switch to smoother chain reloading 2016-12-09 15:38:38 -05:00
AlanCoding
5ff62c97b6 uwsgi auto-reload on logging change 2016-12-09 15:21:03 -05:00
Alan Rominger
ef87a58239 Merge pull request #4242 from ansible/logging_int
Logging Integration
2016-12-02 16:51:00 -05:00
AlanCoding
064a40ba92 Manage null default state for logging integration and DB definition 2016-12-02 16:45:27 -05:00
Aaron Tan
0456aec064 Merge pull request #4196 from jangsutsr/4137_add_ability_to_disable_global_job_timeout
Add ability to disable global job timeout
2016-12-02 16:01:22 -05:00
AlanCoding
7848198b9f New awx.main.utils directory, distributed task to invalidate settings 2016-12-02 14:36:04 -05:00
Aaron Tan
a22d815c88 Add ability to disable global job timeout. 2016-12-01 12:08:53 -05:00
Matthew Jones
765b7d9cc2 Add TOWER_HOST in the form of TOWER_URL_BASE to job env 2016-12-01 12:01:17 -05:00
Matthew Jones
e725b16cd9 Change job-run project refresh launch type to "sync" 2016-11-22 09:33:25 -05:00
Matthew Jones
ddaf4ff2d0 Merge branch 'fix_fact_caching' into devel
* fix_fact_caching:
  Convert the fact data structure to the right type
  Fixing up fact cachine related unit tests
  Port fact caching system to rabbitmq
2016-11-21 23:15:13 -05:00
Matthew Jones
9d044c1f41 Store the job's project refresh if it happened
* Create a field on the job to track this
* Add a summarizeable model to the summarizable fk fields so we can
  pull that in where needed
2016-11-21 14:11:20 -05:00
Matthew Jones
3b07d9745d Port fact caching system to rabbitmq
* Purge all references to zmq also
* New setting to control the queue it works on
2016-11-18 09:44:17 -05:00
Aaron Tan
9e4655419e Fix flake8 E302 errors. 2016-11-15 20:59:39 -05:00
Matthew Jones
343966f744 Implement gathering overall task capacity
For use when running/planning jobs
2016-11-07 13:45:01 -05:00
Matthew Jones
88a8810815 Merge pull request #3729 from sundeep-co-in/STAGE
enable django i18n
2016-11-04 15:52:33 -04:00
AlanCoding
de66318381 move timeout settings into 3 different settings vars 2016-11-02 14:59:51 -04:00
sundeep-co-in
688b5fef68 resolve conflict: settings/defaults.py 2016-11-02 15:19:57 +05:30
Chris Meyers
25b85c4a0b rename scheduler config singleton 2016-11-01 14:07:00 -05:00
Chris Meyers
13c89ab78c HAify job schedules and more task_manager renaming 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
Matthew Jones
c6cf02a602 Merge branch 'release_3.0.3' into devel
* release_3.0.3: (55 commits)
  Revert "Revert "Add needed types for selinux change""
  Revert "Add needed types for selinux change"
  interpret backslash escapes when displaying url in welcome message
  Bump the SELinux policy version
  Add needed types for selinux change
  Update SELinux policy to allow httpd_t to execute files in lib_t and var_lib_t
  Bumping changelog for 3.0.3
  Update rax.py inventory
  Revert "filter internal User.admin_roles from the /roles API list view"
  fix spelling of disassociated
  Resolves 404 when assigning resources/users to organizations in card view. Sidesteps a bug in the Refresh() utility, where pagination calculations are not made against filtered results.
  Sync azure changes to Tower virtual environment
  Add regions here as well.
  Also bump boto for new regions, per ryansb.
  More regions!
  Revert "bump shade version"
  bump shade version
  Hack copying of job_template.related.survey_spec into ui job copy flow, resolves #3737
  Revert "bump shade version"
  bump shade version
  ...
2016-11-01 11:49:28 -04:00
sundeep-co-in
4237b2e207 resolve conflict: index.html 2016-10-31 23:40:56 +05:30
Chris Church
31faca2b4f Add option to use callback queue for job events. 2016-10-28 22:32:49 -04:00
Chris Church
440f0539b0 Flake8 fixes. 2016-10-28 21:58:24 -04:00
Chris Church
c18b6c1352 Add support for capturing stdout associated with job events and ad hoc command events.
* New event types for stdout lines not associated with a callback event.
* New stdout, start_line, end_line and verbosity fields for job/ahc events.
* Callback plugins to wrap Ansible default/minimal stdout callbacks and embed callback event data using ANSI escape sequences.
* Callback plugin library to wrap ansible.display.Display class methods.
* Output filter to extract event data from stdout and create job/ahc events.
* Update stdout formats to strip new ANSI escape sequences.
2016-10-28 21:58:24 -04:00
sundeep-co-in
d7b3b90f4d update strings 2016-10-25 16:12:41 +05:30
Matthew Jones
cd48427189 Merge pull request #3757 from ansible/AlanCoding-patch-1
Only fill scm_revision env var if project for job exists
2016-10-24 13:27:19 -04:00
Matthew Jones
7c7d2e37ed Fix some issues syncing playbooks
* Build a list of playbooks and store it in the database at sync time
* Fix an issue running playbook sync on jobs for scan jobs
* Remove a TODO that was unneeded
2016-10-24 11:32:21 -04:00
Alan Rominger
3121839704 only fill scm_revision var if project for job exists 2016-10-24 09:43:17 -04:00
Matthew Jones
6e22460f1e Add scm revision to the job model
This also cleans up flake8 issues
2016-10-20 15:18:05 -04:00
Matthew Jones
ca32c5fd21 scm_revision should be used for job_type run 2016-10-20 14:56:15 -04:00
Matthew Jones
4562faa858 Pass scm revision in env and extra var for job run 2016-10-20 14:42:28 -04:00