Jim Ladd
8736858d80
Merge pull request #5354 from ansible/jobs_killed_via_receptor_should_get_reaped
...
cancel job when receptor no longer knows about work item
2021-10-21 14:52:28 -07:00
Jeff Bradberry
84e77c9db9
Merge pull request #5376 from ansible/enable-instance-activitystream
...
[4.1] ActivityStream capture for Instances
2021-10-21 15:41:02 -04:00
Jeff Bradberry
c8f65bafde
Adjust Instance-InstanceGroup tests to show that the ActivityStream is captured
2021-10-21 10:54:20 -04:00
Jeff Bradberry
7a1b0786f5
Change the ActivityStream registration for InstanceGroups
...
to include the m2m fields. Also to avoid spamminess, disable the
activity stream on the apply_cluster_membership_policies task.
2021-10-21 10:08:42 -04:00
Jim Ladd
69f093c662
add unit tests
2021-10-20 17:14:17 -07:00
Jim Ladd
a0e07d3644
drop lines picked up during merge resolution
2021-10-20 15:13:01 -07:00
Alan Rominger
89bee9d512
Avoid extra check if we have job_explanation
2021-10-20 12:35:40 -07:00
Alan Rominger
081ce23b7d
Avoid reaping tentative jobs
2021-10-20 12:35:40 -07:00
Alan Rominger
d27b5a7e7e
Avoid resultsock shutdown before reading from it
2021-10-20 12:35:40 -07:00
Alan Rominger
20d9e49112
Alternative for reaping lost jobs, in work unit reaper
2021-10-20 12:35:40 -07:00
Jim Ladd
516fe60a16
lint
2021-10-20 12:35:40 -07:00
Jim Ladd
fdae7a3a0e
cancel job if receptor no longer knows about the work item
2021-10-20 12:35:40 -07:00
Jim Ladd
430b6826bf
update exception log message to be descriptive
...
.. instead of surfacing exception
2021-10-20 12:35:40 -07:00
Jim Ladd
613f949e6e
when releasing receptor work, do so in try/except
2021-10-20 12:35:39 -07:00
Shane McDonald
76465ffd3d
Merge pull request #5369 from ansible/update_docker_compose_j2
...
receptor containers should be consistent with the awx container #5368
2021-10-19 18:26:43 -04:00
Alan Rominger
a2f698156a
Merge pull request #5352 from ansible/graceful_receptor_error
...
[4.1] Gracefully handle receptorctl RuntimeError in health check
2021-10-19 17:21:27 -04:00
Alan Rominger
5f23515eed
Merge pull request #5367 from ansible/fewer_health_checks
...
Reduce the number of triggers for execution node health checks
2021-10-19 17:18:24 -04:00
Seth Foster
a8ad7d43e5
tools_receptor_1 should use whatever awx_devel tag that tools_awx_1 is using
2021-10-19 17:11:09 -04:00
Jeff Bradberry
d9b4f142b8
Update a couple of the existing tests
2021-10-19 16:56:46 -04:00
Alan Rominger
1f92bdbaa2
Merge pull request #5349 from ansible/only_one
...
[4.1] Allow testing a single hybrid instance like the good old days
2021-10-19 16:43:21 -04:00
Alan Rominger
341e239bba
Reduce the number of triggers for execution node health checks
2021-10-19 14:44:03 -04:00
Jeff Bradberry
f691bb2c1d
Enable ActivityStream capture for Instances
2021-10-19 14:37:48 -04:00
Tiago Góes
89befa7ac1
Merge pull request #5361 from ansible/11254-awx-fix
...
Fixes erroneous validation Survey validation on Prompt on Launch
2021-10-19 15:19:16 -03:00
Alan Rominger
54f37faf6f
Gracefully handle receptorctl RuntimeError in health check
2021-10-19 12:54:37 -04:00
Alan Rominger
d4f020af9b
Merge pull request #5348 from ansible/lost_node
...
[4.1] Error handling when node is missing from mesh for jobs and checks
2021-10-19 12:49:57 -04:00
Alex Corey
ad73e56132
Fixes erroneous validation
2021-10-19 10:41:39 -04:00
Alan Rominger
97ce7d226b
Error handling when node is missing from mesh for jobs and checks
2021-10-19 10:06:02 -04:00
Tiago Góes
d678d14225
Merge pull request #5344 from ansible/ui_issue_5339
...
Do not show control instances as option to be associated
2021-10-18 16:05:21 -03:00
nixocio
27619a0f6d
Do not show control instances as option to be associated
...
Do not show control instances as option to be associated to user defined
instance groups.
See: https://github.com/ansible/tower/issues/5339
2021-10-18 14:33:52 -04:00
Marcelo Moreira de Mello
d8efd457d9
Merge pull request #5345 from ansible/node_type_list_instances
...
[4.1] - Added node_type on awx-manage list_instances commmand
2021-10-15 23:25:17 -04:00
Seth Foster
f663b8e7fd
Merge pull request #5353 from ansible/hack-avoid_receptor_fd_bug
...
avoid work_results and work release race
2021-10-15 17:38:06 -04:00
chris meyers
098201be0b
avoid work_results and work release race
...
* Unsure exactly why this happens but there seems to be a race condition
related to the time window between Receptor work_results and work
release. This sleep extends that window and hopefully avoids the race
condition.
2021-10-15 16:27:24 -04:00
Bianca Henderson
0e15c269cd
Merge pull request #5351 from ansible/exec_node_error_handling
...
[4.1] Improve Error Handling for When Job Cannot Be Delivered to an Execution Node
2021-10-15 13:29:27 -04:00
Alan Rominger
461362bb00
Merge pull request #5350 from ansible/leave_a_mess_second
...
[4.1] Respect work unit and file cleanup settings (3rd try)
2021-10-15 13:00:38 -04:00
Alan Rominger
54e3377254
Respect settings to keep files and work units
...
Add new logic to cleanup orphaned work units
from administrative tasks
Remove noisy log which is often irrelevant
about running-cleanup-on-execution-nodes
we already have other logs for this
2021-10-15 11:36:36 -04:00
Bianca Henderson
dd622dcc30
Change log level from 'warning' to 'exception'
2021-10-15 08:08:24 -04:00
Bianca Henderson
412bf7f282
Move error handling into try/catch block
2021-10-14 14:52:38 -04:00
Marcelo Moreira de Mello
1da1b91538
Added node_type on awx-manage list_instances commmand
...
(cherry picked from commit 683145e3eaa8b13da59bc51e57dff98f25d3554d)
2021-10-13 22:35:27 -04:00
Alan Rominger
872651721c
Allow testing a single hybrid instance like the good old days
2021-10-13 16:36:14 -04:00
Shane McDonald
3f2eef837a
Merge pull request #5332 from ansible/shanemcd-patch-1
...
Get GHA running downstream
2021-10-13 12:57:13 -04:00
Shane McDonald
56a400a335
WIP
2021-10-13 12:20:26 -04:00
Chris Meyers
73a865073d
Merge pull request #11241 from chrismeyersfsu/fix-missing-project-updates
...
Fix missing project updates
2021-10-13 11:03:44 -04:00
Shane McDonald
4ab2539c8a
Merge pull request #11242 from shanemcd/awx-operator-ci-check
...
Add awx-operator CI check
2021-10-13 10:28:23 -04:00
Tiago Góes
459eb3903e
Merge pull request #11208 from AlexSCorey/7741-GroupAdvanceSearchKeys
...
Groups Advanced Search Keys
2021-10-13 10:32:26 -03:00
chris meyers
611a537b55
add missing create partition for scm backed inv
...
* This will resolve missing project update job events issue
2021-10-13 07:51:40 -04:00
Shane McDonald
3a74cc5a74
Add awx-operator CI check
2021-10-12 18:59:24 -04:00
Shane McDonald
f1520e1a70
Allow for building headless mode
...
This will only be used in CI and maybe other places where we dont need a UI
2021-10-12 18:59:24 -04:00
Shane McDonald
727b4668c2
yamllint: ignore some gitignore'd directories
2021-10-12 18:59:24 -04:00
Shane McDonald
1287e001d8
yamllint: disable truthy rule
...
This rule feels very anti-Ansible
2021-10-12 18:59:23 -04:00
Shane McDonald
c9b53cf975
Refactor image_build and image_push roles
...
Primary changes are:
- Generalized variable names (remove "docker")
- Add explicit "push" variable rather than checking if the "registry" variable is defined.
- Allow for passing in version as build arg
2021-10-12 18:59:13 -04:00