John Westcott IV
47e824dd11
Fixing LDAP reconcile loop
2023-01-09 10:31:15 -05:00
Sarah Akus
4643b816fe
Merge pull request #13075 from keithjgrant/13059-running-job-output-gap
...
Fix gap between API-loaded job events and WS-streamed events
2023-01-05 13:46:10 -05:00
Seth Foster
79d9329cfa
Merge pull request #13403 from fosterseth/fix_console_colors
...
Fix console color logs
2023-01-05 13:34:13 -05:00
Seth Foster
6492c03965
Fix console color logs
2023-01-05 12:55:20 -05:00
Keith J. Grant
4810099158
update test
2023-01-05 09:56:37 -05:00
Michael Abashian
1aca9929ab
Adds support for exact name searching against related fields to the ui
2023-01-05 09:56:37 -05:00
Sarah Akus
2aa58bc17d
Merge pull request #13372 from vidyanambiar/aap-7757
...
Fix for Save button not responding on Job Settings page
2023-01-04 13:39:55 -05:00
Seth Foster
ee509aea56
Merge pull request #12961 from fosterseth/fix_results_traceback
...
Result_traceback should not include job stdout
2023-01-03 13:34:23 -05:00
Sarah Akus
b5452a48f8
Merge pull request #13196 from keithjgrant/13189-job-traceback
...
Fix job error traceback in job output
2023-01-03 11:59:58 -05:00
Vidya Nambiar
68e555824d
Fix for Save button not responding on Job Settings page
...
Signed-off-by: Vidya Nambiar <vnambiar@redhat.com >
2022-12-22 11:23:03 -05:00
Seth Foster
36c0d07b30
Result_traceback should not include job stdout
...
If a job fails, we do receptor work results and put that output
into result_traceback.
We should only do this if
1. Receptor unit has failed
2. Runner callback processed 0 events
Otherwise we risk putting too much data into this field.
2022-12-21 13:05:44 -05:00
Keith J. Grant
03b0281fde
clean up follow mode quirks
2022-12-21 09:30:35 -08:00
Keith J. Grant
6f6f04a071
refresh events when first websocket event streams
2022-12-21 09:30:35 -08:00
Alan Rominger
41f3f381ec
Merge pull request #13352 from AlanCoding/dont_pass_subtasks
...
Remove `subtasks` keyword arg that can exceed pg_notify max message length
2022-12-20 16:25:39 -05:00
Alan Rominger
94b34b801c
Avoid unbounded kwargs by fetching subtasks inside handle_work_error
...
Update tests to new handle_work_error call pattern
Handle blame correctly with multiple serial deps
add new test case corresponding to this scenario
2022-12-19 16:02:51 -05:00
Jeff Bradberry
8f6849fc22
Include listener_port in the defaults for Instance.objects.register ( #13328 )
2022-12-19 14:16:05 -03:00
Sarah Akus
821b1701bf
Merge pull request #13340 from gamuniz/change_wf_scmbranch_behavior
...
Change workflow create/edit to null scm_branch when not provided.
2022-12-19 10:52:21 -05:00
John Westcott IV
b7f2825909
Throw a warning if custom secret key was specified but not given ( #13128 )
...
* Throw a warning if custom secret key was specified but not given
* Fixing unit tests
2022-12-17 14:15:27 -03:00
Jeff Bradberry
e87e041a2a
Break up and conditionally add the RBAC checks for ActivityStream ( #13279 )
...
This should vastly improve the queries executed when accessing any of
the activity stream endpoints as a normal user, in many cases.
2022-12-16 15:11:14 -03:00
Gabe Muniz
cc336e791c
fix expected test result
2022-12-16 12:30:57 -05:00
Gabe Muniz
c2a3c3b285
The current behavior of workflow job templates is to pass in an empty string as scm_branch on allsaves and edits. This becomes problematic when using job templates/workflows which allow prompt on launch for scm_branch as it may override the scm_branch set for the individual workflow nodes to an empty string. That behavior limits the usefulness of prompting scm branch as it can no longer by selected while creating workflows as they'll be overwritten.
2022-12-16 12:30:57 -05:00
Jeff Bradberry
7b8dcc98e7
Merge pull request #13308 from jbradberry/rebuild-org-ee-admin-roles
...
Ensure that the Organization.execution_environment_admin_role always gets built
2022-12-16 11:29:20 -05:00
Julen Landa Alustiza
df61a5cea1
Merge pull request #13126 from infamousjoeg/cyberark-ccp-branding-webserviceid
...
CyberArk Central Credential Provider Lookup custom Web Service ID & update branding
2022-12-15 15:54:35 +01:00
Ilija Matoski
a4b950f79b
Set AWS_SESSION_TOKEN in addition to AWS_SECURITY_TOKEN ( #13297 )
...
* Set AWS_SESSION_TOKEN in addition to AWS_SECURITY_TOKEN
* added AWS_SESSION_TOKEN to inventoryupdate-1 test
2022-12-15 10:09:40 -03:00
Sarah Akus
8be739d255
Merge pull request #13306 from vidyanambiar/aap-7507
...
Fixes 'Not Found' error on looking up credentials
2022-12-14 16:13:55 -05:00
Alex Corey
f0fcfdde39
Merge pull request #13257 from ansible/dependabot/npm_and_yarn/awx/ui/devel/luxon-3.1.1
...
Bump luxon from 3.0.3 to 3.1.1 in /awx/ui
2022-12-14 09:19:47 -05:00
Alex Corey
80b1ba4a35
Merge pull request #13259 from ansible/dependabot/npm_and_yarn/awx/ui/devel/patternfly/react-core-4.264.0
...
Bump @patternfly/react-core from 4.250.1 to 4.264.0 in /awx/ui
2022-12-14 09:13:32 -05:00
Rick Elrod
0b96d617ac
Fix BROADCAST_WEBSOCKET_PORT for Kube dev ( #13243 )
...
- `settings/minikube.py` gets imported conditionally, when the
environment variable `AWX_KUBE_DEVEL` is set. In this imported file,
we set `BROADCAST_WEBSOCKET_PORT = 8013`, but 8013 is only used in the
docker-compose dev environment. In Kubernetes environments, 8052 is
used for everything. This is hardcoded awx-operator's ConfigMap.
- Also rename `minikube.py` because it is used for every kind of
development Kube environment, including Kind.
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-13 15:07:15 -06:00
Alan Rominger
fe768a159b
Merge pull request #13295 from AlanCoding/raw_instance_data
...
Remove un-editable Instance fields from pre-filled edit data in API browser
2022-12-13 15:16:34 -05:00
Alan Rominger
c1ebea858b
Merge pull request #13291 from AlanCoding/policy_want_a_cracker
...
Add missing disassociate trigger for policy task
2022-12-13 11:35:22 -05:00
Jeff Bradberry
e524d3df3e
Replace the role fixup post_migrate handler with a data migration
2022-12-12 10:20:56 -05:00
Rick Elrod
01e9a611ea
Add broadcast_websocket to LOG_AGGREGATOR_LOGGERS
...
... so that errors from it get logged to external loggers by default.
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-08 17:50:20 -06:00
Rick Elrod
ef29589940
Fix duped stats name and Redis for wsbroadcast
...
This fixes several things related to our wsbroadcast stats handling.
This was found during the ongoing wsrelay work.
There are really three fixes here:
- Logging was not actually enabled for the analytics.broadcast_websocket
module, so that has been added to our loggers config.
- analytics.broadcast_websocket was not actually able to connect to
Redis due to 68614b83c0 as part of
the work in #13187 . But there was no easy way to know this because the
logging issue meant no exceptions showed up anywhere reasonable.
- Relatedly, and also as part of #13187 , we jumped from
`prometheus-client` 0.7.1 up to 0.15.0. This included a breaking
change where a `Counter` ending with `_total` will clash with a
`Gauge` of the same name but without `_total`. I am not 100% sure of
the reasoning here, other than "OpenMetrics compatibility".
Refs #13301
Refs #13187
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-08 12:54:08 -06:00
Vidya Nambiar
cec2d2dfb9
minor rearrangement of imports
...
Signed-off-by: Vidya Nambiar <vnambiar@redhat.com >
2022-12-08 10:52:20 -05:00
Jeff Bradberry
15b7ad3570
Add a post_migrate signal handler to rebuild the Org roles
...
particularly, the execution_environment_admin_role.
2022-12-07 15:57:20 -05:00
Vidya Nambiar
36ff9cbc6d
revert change to package.json
...
Signed-off-by: Vidya Nambiar <vnambiar@redhat.com >
2022-12-07 15:03:40 -05:00
Vidya Nambiar
ed74d80ecb
Fixes 'Not Found' error on looking up credentials
...
remove redundant console logs
typo
Signed-off-by: Vidya Nambiar <vnambiar@redhat.com >
2022-12-07 15:00:28 -05:00
Alan Rominger
f88b993b18
Fix bug, sign work based signing, not verification
2022-12-06 16:21:17 -05:00
Alan Rominger
4a7f4d0ed4
Remove uneditable Instance fields from API browser
2022-12-06 15:20:04 -05:00
Alan Rominger
6e08c3567f
Add missing disassociate trigger for policy task
2022-12-06 14:43:13 -05:00
dependabot[bot]
58734a33c4
Bump @patternfly/react-core from 4.250.1 to 4.264.0 in /awx/ui
...
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react ) from 4.250.1 to 4.264.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@4.250.1...@patternfly/react-core@4.264.0 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-06 15:33:23 +00:00
dependabot[bot]
2832f28014
Bump luxon from 3.0.3 to 3.1.1 in /awx/ui
...
Bumps [luxon](https://github.com/moment/luxon ) from 3.0.3 to 3.1.1.
- [Release notes](https://github.com/moment/luxon/releases )
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moment/luxon/compare/3.0.3...3.1.1 )
---
updated-dependencies:
- dependency-name: luxon
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-06 15:30:50 +00:00
Sarah Akus
305b39d8e5
Merge pull request #13209 from marshmalien/5990-related-group-column
...
Add inventory host list related groups column
2022-12-02 16:23:09 -05:00
Alex Corey
a67d107a58
Fixes page crash when job template has been deleted. Adds unit tests
2022-12-02 12:13:27 -05:00
Lila Yasin
6289bfb639
Merge pull request #13164 from djyasin/6116-incorrect-error-messages
...
Fix for incorrect error messages on incomplete credentials.
2022-12-01 14:19:11 -05:00
John Westcott IV
c7efa8b4e0
Merge pull request #13187 from john-westcott-iv/update_deeps
...
Update python dependencies
2022-12-01 11:17:06 -05:00
Rick Elrod
657b5cb1aa
Revert verifysignature variablization in bundle ( #13253 )
...
In #13200 the dev env was changed to make `verifysignature` optional,
dependent on a variable set before ansible gets run to set up the
`docker-compose` environment.
However along with that change, a change to the execution node install
bundle slipped in, which is seemingly unrelated to the dev env change
and is breaking some installs: #13234 , ansible/awx-operator#1132 .
I think this change was unintentional as it would at least require
another change in ansible/receptor-collection and maybe a change in
ansible/awx-operator as well.
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-01 09:32:38 -06:00
Elijah DeLee
71f326b705
filter tasks when instance groups are filtered
...
this is necessary when requests are made to to
api/v2/job_templates/ID/instance_groups
Thanks to Sarah who found this!
2022-11-30 17:14:33 -05:00
Elijah DeLee
bf871bd427
settings for max forks/job on default job queue
...
This will allow users of the operator to set these settings
so from the start when the operator creates the default
execution queue they can control the max_forks and max_concurrent_jobs
on the default container group.
2022-11-30 17:14:33 -05:00
Elijah DeLee
e403c603d6
use task manager models more consistently in serializer
2022-11-30 17:14:33 -05:00