Ryan Petrello
6dfc714c75
when isolated or container jobs fail to launch, set job status to error
...
a status of error makes more sense, because failed generally points to
an issue with the playbook itself, while error is more generally used
for reporting issues internal to Tower
see: https://github.com/ansible/awx/issues/4909
2019-10-29 11:24:10 -04:00
Jake McDermott
cf5d3d55f0
Set omitted runner event line lengths to 0
...
runner_on_start events have zero-length strings for their stdout
fields. We don't want to display these in the ui so we omit them.
Although the stdout field is an empty string, it still has a recorded
line length of 1 that we must account for. Since we're not rendering
the blank line, we must also go back and set the event record's line
length to 0 in order to avoid deleting too many lines when we pop or
shift events off of the view while scrolling.
2019-10-29 11:24:10 -04:00
Jake McDermott
e91d383165
Fix off-by-one errors
2019-10-29 11:24:10 -04:00
Ryan Petrello
85f118c17d
Merge pull request #3852 from ansible/pod-reaper
...
implement a simple periodic pod reaper for container groups
2019-10-18 16:50:30 -04:00
Ryan Petrello
c7426fbff4
Merge pull request #3861 from wenottingham/where-did-you-come-from
...
Log the remote IP for logged in users
2019-10-18 15:16:34 -04:00
Jake McDermott
97a635ef49
Merge pull request #3844 from jakemcdermott/fix-3578-part-1
...
Always disable search when processing events
2019-10-18 15:07:41 -04:00
Bill Nottingham
a664c5eabe
Log the remote IP for logged in users
2019-10-18 14:28:10 -04:00
Jake McDermott
3f113129a9
Merge pull request #3851 from jakemcdermott/fix-3578-part-2
...
Get the last two pages of events on page load
2019-10-18 12:46:19 -04:00
Ryan Petrello
bd8b3a4f74
Merge pull request #3856 from ansible/revert-3842-callback-receiver-status
...
Revert "add support for `awx-manage run_callback_receiver --status`"
2019-10-18 10:10:58 -04:00
Ryan Petrello
d01088d33e
Revert "add support for awx-manage run_callback_receiver --status"
2019-10-18 09:49:02 -04:00
Ryan Petrello
0012602b30
Merge pull request #3853 from ansible/fix-upgrades
...
properly migrate the CyberArk AIM type to its new name
2019-10-18 07:55:20 -04:00
Ryan Petrello
0ab44e70f9
properly migrate the CyberArk AIM type to its new name
2019-10-17 22:40:33 -04:00
Jake McDermott
95c9e8e068
Always disable search when processing events
...
When jobs are still processing events, the UI uses numerical ranges
based on job_event.counter instead of page numbers. We can't apply
search filters in this state because then there would be no way to
distinguish between events that are missing due to being filtered out
by search and events that are missing because they're still being
processed.
The UI must be able to distinguish between the two types of missing
events because their absence is presented differently. Events that are
filtered out by a search query have no visual representation, while
events that are missing due to event processing or other causes are
displayed as clickable "..." segments.
2019-10-17 18:37:33 -04:00
Ryan Petrello
16812542f8
implement a simple periodic pod reaper for container groups
...
see: https://github.com/ansible/awx/issues/4911
2019-10-17 17:06:36 -04:00
Ryan Petrello
0bcd1db239
Merge pull request #3850 from ansible/container-groups-cleanup-adhoc
...
clean up pods for all k8s execution, not just playbook runs
2019-10-17 16:53:23 -04:00
Bill Nottingham
9edbcdc7b0
Merge pull request #3848 from wenottingham/have-never-read-or-watched-the-help
...
Adjust description/help text for profiling features.
2019-10-17 16:48:12 -04:00
Jake McDermott
1fae3534a1
Get the last two pages of events on page load
...
When the page loads, we want to retrieve and initially display enough
content for the scrollbar to show. If the very last page doesn't
have enough content for the scrollbar to show, the user won't be able
to scroll up to see more job history. To avoid this scenario, we always
fetch the last _two_ pages when loading the view.
2019-10-17 16:19:19 -04:00
Graham Mainwaring
a038f9fd78
Merge pull request #3845 from ghjm/gather_analytics_dry_run
...
Add a --dry-run option to gather analytics locally, even if analytics is disabled in settings.
2019-10-17 16:17:18 -04:00
Ryan Petrello
ff1e1b2010
Merge pull request #3849 from ansible/k8s-native-execution-node
...
properly set execution_node for project and inv updates run "in k8s"
2019-10-17 16:06:16 -04:00
Ryan Petrello
570ffad52b
clean up pods for all k8s execution, not just playbook runs
...
see: https://github.com/ansible/awx/issues/4908
2019-10-17 15:29:44 -04:00
Ryan Petrello
1cf02e1e17
properly set execution_node for project and inv updates run "in k8s"
...
see: https://github.com/ansible/awx/issues/4907
2019-10-17 15:15:24 -04:00
Bill Nottingham
2f350cfda7
Adjust description/help text for profiling features.
...
Note that data is merely for sosreport collection for now, and
warn against increasing collection frequency.
2019-10-17 15:04:21 -04:00
Graham Mainwaring
7dd241fcff
Add a --dry-run option to gather analytics locally, even if analytics is disabled in settings.
2019-10-17 13:54:13 -04:00
Ryan Petrello
c6a28756f2
Merge pull request #3841 from ansible/fix-5028
...
fix a 500 error when creating/editing notification templates
2019-10-17 12:06:36 -04:00
Ryan Petrello
94eb1aacb8
Merge pull request #3842 from ansible/callback-receiver-status
...
add support for `awx-manage run_callback_receiver --status`
2019-10-17 11:46:27 -04:00
Ryan Petrello
ffb1707e74
add support for awx-manage run_callback_receiver --status
2019-10-17 11:10:27 -04:00
Ryan Petrello
5e797a5ad5
Merge pull request #3840 from ansible/fix-5029
...
fix a minor bug in the notification templates UI
2019-10-17 10:33:34 -04:00
Ryan Petrello
4c92e0af77
fix a 500 error when creating/editing notification templates
...
see: https://github.com/ansible/awx/issues/5028
2019-10-17 08:53:01 -04:00
Ryan Petrello
24b9a6a38d
fix a minor bug in the notification templates UI
...
see: https://github.com/ansible/awx/issues/5029
2019-10-17 08:43:04 -04:00
Ryan Petrello
5001d3158d
Merge pull request #3837 from ansible/rename-cyberark-aim
...
rename the CyberArk AIM credential type
2019-10-16 16:12:58 -04:00
Ryan Petrello
ce5bb9197e
rename the CyberArk AIM credential type
...
see: https://github.com/ansible/awx/issues/4400
2019-10-16 15:58:35 -04:00
Ryan Petrello
309e89e0f0
Merge pull request #3813 from matburt/fix_smart_inventory_impact
...
Change host counting for task impact
2019-10-16 15:56:50 -04:00
Ryan Petrello
e27dbfcc0b
Merge pull request #3836 from wenottingham/eeeeeeeeEEEEEEEEEEEEEEEEeeeeeeeeeenum
...
Remove removal requirement that isn't actually in the requirements
2019-10-16 15:35:31 -04:00
Bill Nottingham
7df448a348
Remove removal requirement that isn't actually in the requirements
2019-10-16 15:34:33 -04:00
Bill Nottingham
e220e9d8d7
Merge pull request #3834 from wenottingham/seriously-cut-it-out-google
...
Blacklist rsa even more.
2019-10-16 15:30:01 -04:00
Bill Nottingham
11d39bd8cc
Blacklist rsa even more.
2019-10-16 15:17:19 -04:00
Ryan Petrello
750208b2da
Merge pull request #3831 from rooftopcellist/use_system_ca_for_collection
...
Make Analytics collections verify with system trusted CA
2019-10-16 13:55:07 -04:00
Christian Adams
9d81b00772
have analytics collections verify with system trusted CA list
2019-10-16 13:32:06 -04:00
Ryan Petrello
1adf5ee51d
Merge pull request #3805 from beeankha/cli_approval_notification_support
...
Enable Approval Notification Support for CLI
2019-10-16 13:09:22 -04:00
Ryan Petrello
da998fb196
Merge pull request #3828 from AlanCoding/deprecate_script
...
API deprecation of inventory script views
2019-10-16 11:27:41 -04:00
Ryan Petrello
b559860c78
Merge pull request #3804 from jbradberry/cli-no-truncate
...
Do not truncate job event list stdout when called from the CLI
2019-10-16 10:36:29 -04:00
Ryan Petrello
a31e2bdac1
Merge pull request #3829 from ansible/tz-fix
...
fix a tz parsing bug
2019-10-16 10:31:44 -04:00
beeankha
62e4ebb85d
Minor change to README, plus a rebase.
2019-10-16 09:50:00 -04:00
beeankha
aa4f5ccca9
Add blank line (flake8)
2019-10-16 09:50:00 -04:00
beeankha
fdddba18be
Update code to be compatible with py2
2019-10-16 09:50:00 -04:00
beeankha
ad89c5eea7
Enable approval notification support for CLI
2019-10-16 09:50:00 -04:00
Jake McDermott
e15bb4de44
Merge pull request #3827 from jakemcdermott/fix_flake8_error
...
Fix flake8 error
2019-10-16 09:47:57 -04:00
Ryan Petrello
5f2e1c9705
fix a tz parsing bug
2019-10-16 09:46:18 -04:00
Jake McDermott
8c5b0cbd57
Merge pull request #3815 from jakemcdermott/fix-3790
...
Allow navigation to previous launch prompt tabs
2019-10-16 09:36:54 -04:00
Jake McDermott
73272e338b
Merge pull request #3809 from AlexSCorey/4944-4943-TOCBugs
...
Sys Aud can see CG forms, Adds correct CG form link, Disables CodeMirror
2019-10-16 09:35:02 -04:00