1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00
Commit Graph

10734 Commits

Author SHA1 Message Date
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
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
Chris Meyers
fee16fe391 Merge pull request #6588 from chrismeyersfsu/feature-fact_cache
initial tower fact cache implementation
2017-06-22 09:58:28 -04:00
Chris Meyers
d6082a976b retain support for insights system_id discovery 2017-06-22 09:49:45 -04:00
Ryan Petrello
45bdd9f747 improve readability of the honcho console logs in the dev environment
* colorize uwsgi and celery logs; DEBUG lines are green, WARN lines
  are yellow, ERROR lines (and tracebacks) are red
* pretty-print fact callback receiver JSON
* simplify the uwsgi log format so it's more legible
2017-06-22 09:19:32 -04:00
AlanCoding
ea51c03c83 have execution_node reflect isolated instance 2017-06-22 08:57:07 -04:00
Aaron Tan
0be3d39047 Handle unexpected resource url naming convention. 2017-06-21 16:34:35 -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
Aaron Tan
6db945247d Merge pull request #6576 from jangsutsr/6568_update_named_url_delimiter
Update named URL delimiter
2017-06-21 15:56:02 -04:00
AlanCoding
d69b4e00ff select isolated node inside of queue based on capacity 2017-06-21 15:48:23 -04:00
jlmitch5
986c35c1e8 Merge pull request #6637 from jlmitch5/revertInMultiCred
update revert link text size in prompt
2017-06-21 15:05:37 -04:00
Michael Abashian
e41b9814e4 Merge pull request #6664 from mabashian/6591-inv-update-relaunch
Removed extraneous fields being passed to InventoryUpdate
2017-06-21 14:12:01 -04:00
Chris Meyers
d679dc7407 do not inject facts for isolated node runs 2017-06-21 13:45:28 -04:00
Chris Meyers
6c67834694 beautify code 2017-06-21 13:45:28 -04:00
Chris Meyers
965159a1fb rename store_facts to use_fact_cache 2017-06-21 13:45:27 -04:00
Chris Meyers
ec2e537f63 remove fache cache receiver 2017-06-21 13:45:27 -04:00
Chris Meyers
4c118159ed system_tracking logging for fact cache 2017-06-21 13:45:27 -04:00
Chris Meyers
12cdbcf8b5 adds per-host timeout 2017-06-21 13:45:27 -04:00
Chris Meyers
817dbe8d33 add fact modified time 2017-06-21 13:45:27 -04:00
Chris Meyers
626e2d1c9b tower fact cache implementation
* Tower now injects facts into jobs via memcached for use by Ansible
playbooks. On the Ansible side, this is accomplished by the existing
mechanism, an Ansible Fact Cache Plugin + memcached. On the Tower side,
memcached is leveraged heavily.
2017-06-21 13:44:08 -04:00
Wayne Witzel III
d39dba9892 Merge pull request #6665 from ansible/fallback-test
Reencrypt during data migrations
2017-06-21 12:03:08 -04:00
Wayne Witzel III
fe3e5a48c3 Reencrypt during data migrations 2017-06-21 11:54:36 -04:00
Michael Abashian
2afbbe2c13 Removed extraneous fields being passed to InventoryUpdate, only the url is needed 2017-06-21 11:26:12 -04:00
Ryan Petrello
79a6cabbbc Merge pull request #6652 from ryanpetrello/fix-4823
store stderr on successful inventory syncs
2017-06-21 10:35:29 -04:00
Ryan Petrello
b8e0c91bd4 store stderr on successful inventory syncs
see: #4823
2017-06-21 10:20:50 -04:00
Jared Tabor
0121f5cde4 Merge pull request #6607 from jaredevantabor/awx-logos
Awx logos
2017-06-20 14:44:42 -07: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
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
Wayne Witzel III
9a48f16bf2 Merge pull request #6645 from ansible/fallback-test
Fix reencryption migrations.
2017-06-20 13:03:36 -04:00
Christian Adams
e7885edaa1 Merge pull request #6628 from rooftopcellist/cap-fix
Capacity percentage fix
2017-06-20 11:47:32 -04:00
adamscmRH
fa5b18e4d3 Fix InsGroup Cap Calc 2017-06-20 11:09:00 -04:00
Wayne Witzel III
3750f2ebf3 copy NotificationTemplate code for migration and use Credential model directly 2017-06-20 10:39:07 -04:00
Wayne Witzel III
bd52e4bb22 allow conf.settings to fallback to old encryption methods so settings work during migrations 2017-06-20 10:38:34 -04:00
Wayne Witzel III
7111d9232f Fix should_decrypt_field to work with non-str fields (return False) 2017-06-20 10:37:44 -04:00
Jared Tabor
6503d0cc84 mobile breakpoint 2017-06-19 18:51:14 -07:00
Jared Tabor
33165553a9 fixing main menu logo on mobile breakpoint 2017-06-19 18:14:11 -07:00
Ryan Petrello
c35d83df13 fix a race condition in isolated stdout processing 2017-06-19 16:59:03 -04:00
Ryan Petrello
2ba9e56033 Include the Tower venv in the isolated bubblewrapped arguments.
This moves the container-based code location and venvs.
The goal here is that the paths of Tower source for isolated
vs normal nodes matches (both in prod and local development) so that we
don't have to add a bunch of additional bwrap argument logic for
<location-of-isolated-tower-venv>.
2017-06-19 15:52:54 -04:00
John Mitchell
8b0876cb3a update revert link text size in prompt
add revert to multi cred modal
2017-06-19 15:26:21 -04:00
John Mitchell
ba22b3426d fix issue where machine cred was untoggling when an extra credential tag was removed 2017-06-19 13:02:00 -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
John Mitchell
b5b619d491 select2ify credential type in add cred modals 2017-06-19 11:42:11 -04:00
jlmitch5
8061667ace Merge pull request #6609 from jlmitch5/newCredOnJT
multi-credential ui selector on job template page
2017-06-19 10:31:52 -04:00
Greg Considine
b4be8e833f Merge pull request #6557 from gconsidine/audic/ui-components
Audic/ui components
2017-06-16 16:46:01 -04:00
Wayne Witzel III
2b98f2b9c9 Merge pull request #6622 from wwitzel3/devel
Implement Fernet256 using AES-256-CBC
2017-06-16 16:31:17 -04:00
gconsidine
81fbbde37b Update karma config for ui tests 2017-06-16 16:16:21 -04:00