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
Seth Foster
da9b8135e8
Merge pull request #13315 from fosterseth/update_task_manager_md
...
update task manager docs after refactoring
21.10.1
2022-12-12 12:42:49 -05:00
Elijah DeLee
76cecf3f6b
update capacity docs to cover hybrid node case
...
this came up in conversation and I saw this was not in this doc as an example
2022-12-12 12:11:56 -05:00
Manas Maiti
7b2938f515
fix typo
2022-12-12 18:01:15 +01:00
Seth Foster
916b5642d2
Update task manager docs
...
- DependencyManager and WorkflowManager
- bulk reschedule
- global task manager timeout
- blocking logic
Co-authored-by: Elijah DeLee <kdelee@redhat.com >
Co-authored-by: John R Barker <john@johnrbarker.com >
2022-12-12 11:56:40 -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
7723b9f485
[wsrelay] attempt to standardize logging levels
...
This needs some work, but it's a start.
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-11 01:38:44 -06:00
Rick Elrod
d8e7a2d2ac
[wsrelay] Copy the message payload before we relay
...
We internally manipulate the message payload a bit (to know whether we
are originating it on the task side or the web system is originating
it). But when we get the message, we actually get a reference to the
dict containing the payload.
Other producers in wsrelay might still be acting on the message and
deciding whether or not to relay it. So we need to manipulate and send a
*copy* of the message, and leave the original alone.
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-11 01:36:34 -06:00
Rick Elrod
a879e9a6a7
Remove auto-reconnect logic from wsrelay
...
We no longer need to do this from wsrelay, as it will automatically try
to reconnect when it hears the next beacon from heartbeet.
This also cleans up the logic for what we do when we want to delete a
node we previously knew about.
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-11 01:34:26 -06:00
Rick Elrod
bc9abdca65
add wsrelay to tower-processes
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-11 01:29:24 -06:00
Rick Elrod
53fa791160
Fix BROADCAST_WEBSOCKET_PORT for Kube dev
...
- `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-10 21:53:50 -06:00
Rick Elrod
975582504d
Add comment for new psycopg dep
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-10 03:47:11 -06:00
Rick Elrod
e8b1b12687
Prevent looping issue when task/web share a Redis
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-10 02:40:48 -06:00
Rick Elrod
4228a1fbdf
Start of heartbeet daemon
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-10 02:33:29 -06:00
Rick Elrod
dba157e1db
fix merge from devel - wsbroadcast -> wsrelay
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-09 00:58:00 -06:00
Rick Elrod
1da1e1244c
Merge branch 'devel' into wsrelay
2022-12-08 22:27:24 -06: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
Rick Elrod
bf94090800
WIP: Make wsrelay listen for pg_notify heartbeat
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-08 03:22:20 -06: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
a0b8215c06
Merge pull request #13296 from AlanCoding/signing_bug
...
Fix bug, sign work based signing, not verification
2022-12-07 08:44:57 -05:00
Rick Elrod
a3250d6283
Remove some debug code and modify logging a bit
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-06 19:16:59 -06: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
Jeff Bradberry
adbcb5c5e4
Merge pull request #13289 from jbradberry/improve-psql-paging
...
Make sure that the psql pager does not clear the screen afterwards
2022-12-06 13:17:24 -05:00
Jeff Bradberry
8054c6aedc
Make sure that the psql pager does not clear the screen afterwards
...
Also, avoid paging if there is a single page.
2022-12-06 10:46:47 -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
Rick Elrod
686fd1f10a
Merge branch 'devel' into wsrelay
2022-12-02 23:54:56 -06:00
Rick Elrod
d3eae00c9f
dedent a block that was clearly meant to be de-dented
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2022-12-02 23:52:48 -06:00
Seth Foster
e5057691ee
Merge pull request #13252 from max-len/patch-1
...
Update install.rst
2022-12-02 22:46:26 -05:00
Shane McDonald
a0cfd8501c
Merge pull request #13274 from rooftopcellist/fix-messages-cmd
...
Fix make messages target by specify lang
2022-12-02 19:04:09 -05:00
Shane McDonald
99b643bd77
Merge pull request #13268 from simaishi/fix_static
...
Copy UI static files to /var/lib/awx only for ui-devel build
2022-12-02 19:03:48 -05: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
Jeff Bradberry
bb047baeba
Merge pull request #13277 from jbradberry/psql-pager
...
Configure dbshell to use the 'less' pager
21.10.0
2022-12-02 13:27:46 -05:00
Lila Yasin
9637aad37e
Merge pull request #13273 from john-westcott-iv/pin_django_split_settings
...
Pinning django-split-settings per build issue
2022-12-02 13:09:18 -05:00
Sarah Akus
fbc06ec623
Merge pull request #13166 from AlexSCorey/6171-t-FailureToLoadOrphanedJobs
...
Fixes page crash when job template has been deleted. Adds unit tests
2022-12-02 12:43:48 -05:00
Jeff Bradberry
57430afc55
Configure dbshell to use the 'less' pager
2022-12-02 12:31:49 -05:00
Hao Liu
7aae7e8ed4
Delete network.feature doc ( #13107 )
...
not implemented and no longer needed
2022-12-02 12:16:53 -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
Christian M. Adams
642003e207
Fix make messages target by specify lang
2022-12-02 10:46:16 -05:00
John Westcott IV
ec7e2284df
Pinning django-split-settings per build issue
2022-12-02 08:27:32 -05:00
Shane McDonald
ff7facdfa2
Merge pull request #13266 from shanemcd/leave-lang-alone
...
Remove LANG declaration in Makefile
2022-12-01 16:23:34 -05:00
Shane McDonald
6df4e62132
Remove LANG declaration in Makefile
...
Not sure why this was there to begin with....
2022-12-01 15:54:14 -05:00