Commit Graph
100 Commits
Author SHA1 Message Date
Alan Rominger 415c80a279 Merge pull request #7127 from AlanCoding/cannot
Change 'can not' to cannot (by request)
2017-07-18 10:39:15 -04:00
AlanCoding 1e9a0e5814 Change 'can not' to cannot (by request) 2017-07-18 09:01:09 -04:00
Alan Rominger c06d4eaa08 Merge pull request #7121 from AlanCoding/silent_groups
silence activity stream IG assignment
2017-07-18 08:12:47 -04:00
AlanCoding d02bc52ca2 silence activity stream IG assignment 2017-07-17 16:28:13 -04:00
Alan Rominger 3d78aa7223 Merge pull request #7087 from AlanCoding/message_tweaking
tweaks to SCM inventory related validation errors
2017-07-14 16:02:53 -04:00
AlanCoding 850f03331b tweaks to SCM inventory related validation errors 2017-07-14 15:48:29 -04:00
Alan Rominger 9f277e8acd Merge pull request #7068 from AlanCoding/nesting_err
fix double nesting of error message in dictionary
2017-07-14 08:52:12 -04:00
AlanCoding f1acb6b79d fix double nesting of error message in dictionary 2017-07-14 08:01:57 -04:00
Alan Rominger 7c3020eada Merge pull request #7048 from AlanCoding/fix-7022
Act. stream Race condition avoidance with additional adjustments
2017-07-13 09:57:10 -04:00
AlanCoding 0a6329feff deleted related in activity stream tests/surfacing
This adds a test to replicate the scenario reported about
bugs in activity stream entry generation in cascade delete
chains. Also puts a new string in the entry that uses the
deleted objects's primary key.
2017-07-13 09:07:53 -04:00
Alan Rominger 506209baae Merge pull request #7037 from AlanCoding/6535_2
Mark inventory source creation views as added 3.2
2017-07-12 19:49:42 -04:00
AlanCoding 45d9b670fd mark inventory source creation views as added 3.2 2017-07-12 15:25:19 -04:00
Alan Rominger 7435162b87 Merge pull request #7027 from AlanCoding/more_trans_str
Mark view error codes for translation
2017-07-12 14:48:53 -04:00
AlanCoding 5153daab17 Mark view error codes for translation 2017-07-12 14:03:30 -04:00
Alan Rominger dc9a351485 Merge pull request #6948 from AlanCoding/6653
Inventory sources update status code tweaks
2017-07-12 13:58:18 -04:00
AlanCoding fb2a4dd20b Inventory sources update status code tweaks
* If all can be updated - 200
* If only some could be updated - 202
* If none could be updated - 400
2017-07-12 13:35:21 -04:00
Alan Rominger fbaba9058c Merge pull request #7021 from AlanCoding/alan_source_project_fix
Fix bug just introduced by source_project validation
2017-07-12 13:09:42 -04:00
AlanCoding 6f84cb8784 fix bug just introduced by source_project validation 2017-07-12 13:00:29 -04:00
Alan Rominger 9371fb2e53 Merge pull request #6926 from AlanCoding/no_manual_manual_sources
prohibit direct creation of manual inventory sources
2017-07-12 12:45:37 -04:00
AlanCoding 2c81a2489e prohibit direct creation of manual inventory sources 2017-07-12 12:29:56 -04:00
Alan Rominger 0c3eac6aa0 Merge pull request #6922 from AlanCoding/dir_crawling
Detailed tweaking of inventory and playbook listings
2017-07-12 12:10:55 -04:00
Alan Rominger 4afb65f447 Merge pull request #6909 from AlanCoding/no_manual_source_proj
Disallow manual projects for SCM inventory
2017-07-12 12:08:19 -04:00
Alan Rominger 28b311fdb5 Merge pull request #6992 from AlanCoding/inv_src_name
Make inventory source naming consistent with v1
2017-07-11 17:04:51 -04:00
AlanCoding 777b1c3023 make inventory source naming consistent with v1 2017-07-11 16:15:33 -04:00
Alan Rominger 6d251babb5 Merge pull request #6947 from AlanCoding/circular
Move circular group association validation to view
2017-07-11 12:45:29 -04:00
Alan Rominger 586961907c Merge pull request #6969 from AlanCoding/censor_overwriting
Prevent overwriting of playbook data when censoring
2017-07-11 09:40:35 -04:00
AlanCoding b393a60ece prevent overwriting of playbook data when censoring 2017-07-11 08:45:55 -04:00
Alan Rominger b8b2d8695e Merge pull request #6912 from AlanCoding/schedule_scm_inv
Allow scheduling of SCM inventory sources (with exception)
2017-07-10 21:55:16 -04:00
Alan Rominger 0c061e1a78 Merge pull request #6950 from AlanCoding/startup_sch_mod_act_st
Avoid unwanted activity stream entries on startup
2017-07-10 21:08:15 -04:00
Alan Rominger 047624a857 Merge pull request #6944 from AlanCoding/splunk_host
handle Splunk hostname case from support
2017-07-10 21:07:12 -04:00
Alan Rominger 30d7ed8c9b Merge pull request #6955 from AlanCoding/dashboard_now
Fix naive datetime in jobs dashboard graph
2017-07-10 21:02:39 -04:00
AlanCoding e599b0fdec fix naive datetime in jobs dashboard graph 2017-07-10 13:28:54 -04:00
AlanCoding 11a8b53e8f Avoid unwanted activity stream entries on startup
Schedule computed fields generates a modification entry
on system startup - this change avoids that noise
2017-07-10 11:22:27 -04:00
Alan Rominger 1a46f7b451 Merge pull request #6952 from AlanCoding/314_merge_tests
Unit test fixes from 3.1.4 merge
2017-07-10 11:21:13 -04:00
AlanCoding 613b9205b8 unit test fixes from 3.1.4 merge 2017-07-10 11:09:56 -04:00
AlanCoding 459c33d272 More consistently provide fields in job_events logger
* Change scheme from using event dict to JobEvent object
* Add processing to grok object fields
* Allow override of provided formatter in case of future issues
2017-07-10 10:34:04 -04:00
AlanCoding fed2eddf07 move circular group association validation to view 2017-07-10 09:12:02 -04:00
AlanCoding d23e11c43c handle Splunk hostname case from support 2017-07-07 21:03:16 -04:00
Alan Rominger 757f5cec70 Merge pull request #6927 from AlanCoding/new_ui_target
Mew target to make the UI
2017-07-07 13:37:05 -04:00
Alan Rominger bd07bec813 Merge pull request #6923 from AlanCoding/datetime_warning
fix datetime warning
2017-07-07 13:32:57 -04:00
AlanCoding 592df0c8e2 new target to make the UI 2017-07-07 11:37:51 -04:00
AlanCoding 5711378d92 fix datetime warning 2017-07-07 10:38:09 -04:00
AlanCoding 2471e4dffc Detailed tweaking of inventory and playbook listings
* exclude anything inside group_vars or host_vars directories
* include all ini or yml files in inventory listing
2017-07-07 09:33:29 -04:00
Alan Rominger 99834a8552 Merge pull request #6920 from AlanCoding/6873
Prevent server error in POST to group hosts
2017-07-07 09:26:53 -04:00
Alan Rominger 447624fd47 Merge pull request #6919 from AlanCoding/ask_vault
include vault_credentials in ask_for_passwords and launch summary
2017-07-07 09:25:11 -04:00
AlanCoding 0a339ed05c prevent server error in POST to group hosts 2017-07-07 08:24:50 -04:00
AlanCoding a2e88a9cdf include vault_credentials in passwords and launch summary 2017-07-07 07:57:34 -04:00
AlanCoding 687074a3d7 allow reasonable scheduling of SCM inventory sources 2017-07-06 16:24:26 -04:00
AlanCoding bb3c4c78f8 do not allow inv src source_project of manual type 2017-07-06 15:44:21 -04:00
Alan Rominger 9a4701fe30 Merge pull request #6897 from ansible/AlanCoding-patch-2
fix flake8 error from removal of word Tower
2017-07-06 10:48:50 -04:00
Alan Rominger c7fddc7ae7 fix flake8 error from removal of word Tower 2017-07-06 10:39:24 -04:00
Alan Rominger 62f3803bcf Merge pull request #6851 from AlanCoding/isolated_timeouts
Configurable isolated timeout & management playbook logfile
2017-07-05 11:56:05 -04:00
AlanCoding 70b1b9c81d isolated connection timeout and log file for playbook out 2017-07-05 08:48:01 -04:00
Alan Rominger 34af7566ce Merge pull request #6759 from AlanCoding/naming_preflights
Add inventory file consistency checks as new preflight
2017-06-29 18:52:35 -04:00
Alan Rominger 6d85c8bc9f Merge pull request #6710 from AlanCoding/access_registry
Automatically register access classes, don't put into lists
2017-06-29 15:32:05 -04:00
AlanCoding ad4a7fe033 access_registry made simple dict with auto registration 2017-06-29 15:17:37 -04:00
Alan Rominger ec773f57d9 Merge pull request #6808 from ansible/AlanCoding-patch-2
Remove extra_hosts that breaks dev environment
2017-06-29 15:09:11 -04:00
Alan Rominger 9fda4eee85 Remove extra_hosts that breaks dev environment
This was triggered by a docker update, and an empty value of DOCKER_HOST_IP resulted in an error running `make docker-compose`
2017-06-29 13:41:33 -04:00
Alan Rominger 68103f2d72 Merge pull request #6720 from AlanCoding/scm_inv_update_resp
Accuracy edit for inventory update response when updating project
2017-06-29 11:45:50 -04:00
Alan Rominger 724a33c945 Merge pull request #6712 from AlanCoding/host_sublist
Optimize inventory hosts sublist
2017-06-29 11:35:37 -04:00
Alan Rominger 0d5157013a Merge pull request #6801 from AlanCoding/controlling_queues
Add controlling queue list filter that was unintentionally dropped
2017-06-29 11:16:51 -04:00
Alan Rominger fe959769eb Merge pull request #6738 from AlanCoding/do_nots
Document name schemes you should never use
2017-06-29 10:29:37 -04:00
Alan Rominger 607680a22b Merge pull request #6775 from AlanCoding/testing_fix
Get logging test endpoint to work again
2017-06-28 16:02:53 -04:00
AlanCoding c1ff41fa45 get logging test endpoint to work again
The handler and formatter classes are expecting an object
and the previous method passed a dict, so this change converts
the data into a mock settings object.
2017-06-28 15:10:18 -04:00
Alan Rominger 7d283f1dfd Merge pull request #6764 from AlanCoding/management_json_bug
Fix bug where isolated management jobs could not load JSON output
2017-06-28 11:52:22 -04:00
AlanCoding 05bcd4b674 fix bug where isolated management jobs could not load JSON output 2017-06-28 11:41:30 -04:00
Alan Rominger 79e71d77a1 Merge pull request #6727 from AlanCoding/delegate_registration
Move isolated registrations to the isolated role
2017-06-28 09:45:25 -04:00
Alan Rominger 70c11879a4 Merge pull request #6698 from AlanCoding/6690
Do not show related link if null
2017-06-27 16:03:33 -04:00
AlanCoding e4fa060cf2 document namings you should never use 2017-06-26 13:54:36 -04:00
Alan Rominger 7699e26336 Merge pull request #6722 from AlanCoding/atomic_inv_del
use atomic transaction to delete inventory in task
2017-06-26 11:07:21 -04:00
AlanCoding cf751568b5 use atomic transaction to delete inventory in task 2017-06-26 10:46:58 -04:00
AlanCoding 4298d60679 fix bug in response of inventory update with update_on_project_update 2017-06-26 09:48:01 -04:00
AlanCoding fc59a97e44 cache view parent obj & add prefetch to sublists 2017-06-24 20:13:31 -04:00
AlanCoding 066dc4a5f0 Separate Inventory Source API vs RBAC testing
Introduced new decorator for patching an access method,
does legwork of inserting into access registry so that
tests that test the API can mock RBAC behavior.
2017-06-23 15:31:59 -04:00
AlanCoding 17c431c0be do not show related link if null 2017-06-23 08:27:58 -04:00
Alan Rominger 30ec070357 Merge pull request #6692 from AlanCoding/manual_locations
Tag jobs started via special cases with node & group
2017-06-22 16:42:17 -04:00
AlanCoding 9e07b3f777 Tag jobs started via special cases with node & group 2017-06-22 16:24:12 -04:00
Alan Rominger 04ca47ffab Merge pull request #6681 from AlanCoding/cluster_instances
New Alpha, Bravo, and Charlie instance groups for `make docker-compose-cluster`
2017-06-22 15:00:45 -04:00
Alan Rominger 8f254dbd82 Merge pull request #6675 from AlanCoding/controller_id_sf
add isolated job controller_id to summary fields
2017-06-22 10:44:53 -04:00
AlanCoding 3cedcf22a9 add instance groups and queues to cluster tooling 2017-06-22 10:40:58 -04:00
Alan Rominger 20f0a83bec Merge pull request #6682 from AlanCoding/isolated_execution
Have execution_node reflect isolated instance
2017-06-22 10:12:21 -04:00
AlanCoding ea51c03c83 have execution_node reflect isolated instance 2017-06-22 08:57:07 -04:00
AlanCoding f62f0ca1e6 add isolated job controller_id to summary fields 2017-06-21 16:29:06 -04:00
Alan Rominger 2beb4e8885 Merge pull request #6673 from AlanCoding/iso_cap_select
Select isolated node inside of queue based on capacity
2017-06-21 16:03:06 -04:00
AlanCoding d69b4e00ff select isolated node inside of queue based on capacity 2017-06-21 15:48:23 -04:00
Alan Rominger 72cf434c2e Merge pull request #6669 from AlanCoding/tower_controller_fix
fix bug that blocks tower controller groups
2017-06-21 14:35:59 -04:00
Alan Rominger 8bec16c1b0 Merge pull request #6649 from ansible/AlanCoding-patch-2
Update developer documentation for isolated jobs
2017-06-20 17:28:15 -04:00
Alan Rominger 2c92f623d8 Merge pull request #6617 from ansible/isolated_setup
setup playbook and heartbeat for isolated deployments
2017-06-20 17:20:53 -04:00
Alan Rominger b9ecc775dc Update developer documentation for isolated jobs 2017-06-20 15:09:45 -04:00
AlanCoding 40287d8e78 multi-host isolated heartbeat w tower-isolated check
* use tower-expect command to determine job status when running
  the isolated heartbeat playbook
* grok JSON output of playbook to obtain result information
* run playbook against multiple isolated hosts at the same time
  (addresses scalability concerns)
2017-06-20 14:36:18 -04:00
AlanCoding f371dd71b2 Run isolated heartbeat against all hosts at once
Previously we were running the playbook on a host-by-host
basis, but this changes it to pass in the list of all
isolated isntances the machine is responsible for.
Using the `json` Ansible stdout module, we are able to
parse the output for information on each host.
2017-06-19 12:13:36 -04:00
AlanCoding 7eb8fdd0f1 Change use of subprocess lib for calculating system capacity
Suggested by Ryan Petrello as a part of the PR feedback
for the isolated instance setup work.
2017-06-19 12:13:36 -04:00
AlanCoding 1d9f2be0e4 add task in isolated heartbeat to delete rogue files 2017-06-19 12:13:36 -04:00
AlanCoding dd1a261bc3 setup playbook and heartbeat for isolated deployments
* Allow isolated_group_ use in setup playbook
* Tweaks to host/queue registration commands complementing setup
* Create isolated heartbeat task and check capacity
* Add content about isolated instances to acceptance docs
2017-06-19 12:13:36 -04:00
Alan Rominger c0923729e2 Merge pull request #6386 from ansible/AlanCoding-patch-1
root folder re-creation on project sync
2017-06-13 12:10:35 -04:00
Alan Rominger f0ca47b4fd root folder re-creation on project sync 2017-06-12 09:51:08 -04:00
Alan Rominger a1963024c6 Merge pull request #6378 from AlanCoding/queue_cmd_help
Gracefully handle certain instance group tower-manage scenarios
2017-05-30 16:30:11 -04:00
AlanCoding 198b3f0a94 handle user corner cases related to instance group commands 2017-05-30 15:49:48 -04:00
Alan Rominger 430852b73d Merge pull request #6271 from AlanCoding/wfj_no_node
Remove `execution_node` from WFJ serializer
2017-05-16 14:44:50 -04:00
AlanCoding 2cbb2c6d53 remove execution_node from WFJ serializer 2017-05-16 12:31:29 -04:00