Kia Lam
3b9333be9f
Link out to docs; use some in place of forEach when looping through results.
2022-10-10 19:46:01 -07:00
Kia Lam
04b814cfd8
Update UI to support pending health checks.
2022-10-10 19:45:46 -07:00
Jeff Bradberry
5b5aac675b
Merge pull request #12959 from ansible/new-health-check-started
...
Add a new Instance.health_check_started field
2022-09-28 10:58:43 -04:00
Jeff Bradberry
6b0618b244
Merge pull request #12968 from ansible/instance-serializer-defaults
...
Make sure to include field defaults for Instance node_type and node_state
2022-09-28 10:53:31 -04:00
kialam
ceea0a0a39
Add tooltips to Instance form; change name field to host name. ( #12912 )
2022-09-28 10:22:49 -03:00
Rebeccah Hunter
6b86c450b1
Merge pull request #12967 from rebeccahhh/fix_grafana_dashboard
...
I Grafana's dashboard visuals, so now I am fixing it.
2022-09-28 08:09:06 -04:00
Alan Rominger
1a696c4f25
Merge pull request #12864 from AlanCoding/project_groups
...
Avoid cache warning for dispatching control type tasks
2022-09-27 20:00:12 -04:00
Alex Corey
34501fee24
Removes references to current_user ( #12818 )
...
* Remove refernces to current user id in the cookie
* Removes current_user data from the cookie on api side
2022-09-27 20:15:57 -03:00
Jeff Bradberry
5aa55d7347
Make sure to include field defaults for Instance node_type and node_state
2022-09-27 17:15:45 -04:00
Jeff Bradberry
65179d9cd0
Add a new Instance.health_check_started field
...
This will enable us to provide more useful information for the user,
now that all user-triggered health checks are async.
Also, de-bounce the health check endpoint to not allow additional
health check tasks to be triggered when one is already in progress.
2022-09-27 17:09:41 -04:00
Rick Elrod
42109fb45a
[collection] Remove instance defaults from docs ( #12964 )
...
We don't specify defaults in the module (because it messes up Instance
updates because AWX things we are trying to change things to be the
default).
- Update the docs to remove the defaults that no longer exist
- Update tests to make them pass (oops)
- Fix tangentially related typo in Kind development docs
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-09-27 15:18:38 -05:00
Sarah Akus
ca46aec483
Merge pull request #12955 from AlexSCorey/12903-MeshScalingUICleanup
...
Normal Users no longer see Instances in side nav
2022-09-27 16:08:53 -04:00
Alex Corey
2e9956c9fc
Prevents unauthorized users from seeing instances list link in side nav
2022-09-27 15:51:23 -04:00
Alan Rominger
5648d9d96f
Avoid cache warning for dispatching control type tasks
2022-09-27 15:18:13 -04:00
kialam
2b2ddb68cf
Merge pull request #12962 from kialam/fix-403-local-proxy-error
...
Remove changeOrigin proxy setting.
2022-09-27 09:36:26 -07:00
Kia Lam
12e8608f98
Remove changeOrigin proxy setting.
2022-09-27 09:16:00 -07:00
Rebeccah
eaad749cc9
I broke grafana with my rename, so now I'm fixing it, and adding a better name in overall that is less focused on alerts.
2022-09-27 11:58:43 -04:00
Sarah Akus
4ffa577d05
Merge pull request #12874 from mabashian/wf-inv-permissions
...
Fixed bug where inventory field was erroneously disabled on WFJT form
2022-09-27 11:27:28 -04:00
mabashian
7143777638
Fixes unit tests after updating the Inventory Lookup
2022-09-27 10:55:26 -04:00
mabashian
cc6eaa7f44
Fixes bug where inventory field was erroneously disabled on WFJT form
...
We were disabling the field when a user did not have sufficient permissions to create an Inventory. I updated this logic to check if a user has use permissions on the selected inventory before disabling the field.
2022-09-27 10:55:25 -04:00
Alex Corey
84fa19f2ad
Merge pull request #12953 from mabashian/ui-makefile-force
...
Pass --force when installing ui deps to get around dependency resolution warnings
2022-09-26 16:30:51 -04:00
mabashian
c101619d08
Pass --force when installing ui deps to get around dependency resolution warnings
2022-09-26 15:41:59 -04:00
kialam
cdd2282282
Merge pull request #12915 from kialam/fix-legend-and-tooltip-overflow-topology-view
...
Add scroll overflow for legend and tooltip in Topology View.
2022-09-26 11:45:36 -07:00
kialam
6e57bc47aa
Merge pull request #12943 from kialam/add-locators
...
Add locators for QE.
2022-09-26 11:15:12 -07:00
Kia Lam
a1a4f26f19
Add scroll overflow for legend and tooltip in Topology View.
2022-09-26 11:05:19 -07:00
Kia Lam
fb4a7373a1
Add locators for QE.
2022-09-26 10:54:13 -07:00
Hao Liu
9c2185c68f
Merge pull request #12744 from ansible/feature-mesh-scaling
...
[feature] Ability to add execution nodes at runtime
2022-09-26 10:59:46 -04:00
Rebeccah Hunter
a66b27edff
Merge pull request #12908 from rebeccahhh/devel
...
new example grafana alert rule
2022-09-26 10:49:49 -04:00
Hao Liu
2dcb127d4e
Merge pull request #12945 from TheRealHaoLiu/fix-import-order-partially
...
Fix import order partially
2022-09-26 09:35:41 -04:00
Hao Liu
790998335c
Merge pull request #12947 from TheRealHaoLiu/fix-nit
...
Fix remove unnecessary comment
2022-09-26 09:29:43 -04:00
Rebeccah
88f0ab0233
add new alert rule for when error rate is over a certain rate, also fix
...
typo in URL and in grafana alert rule
Important learning: no newlines in rules/equations
turns out datasourceUid can be set in prometheus_source.yml, and it can be anything we want. So I have set it to awx_alert, the PBFAnumbersetc value it was set to before was an autogenerated UID, and it would actually work just with that generated value, but because we want it to make sense, we're setting the value in prometheus_source.yml
finally, update the docs to be reflective of grafana docs and how to export new rules a user might want to add.
Co-authored-by: Elijah DeLee <kdelee@redhat.com>
2022-09-23 15:05:57 -04:00
Hao Liu
3ad7913353
Fix remove unnecessary comment
2022-09-23 12:12:27 -04:00
Hao Liu
795569227a
Fix import ordering partially
...
Signed-off-by: Hao Liu <haoli@redhat.com>
2022-09-23 11:50:09 -04:00
Alex Corey
93f50b5211
Fixes credential form test button ( #12844 )
2022-09-23 11:07:01 -04:00
Seth Foster
c53228daf5
Set initial value node_type and node_state
2022-09-23 09:46:16 -04:00
Seth Foster
5b7a359c91
Add doc for adding execution node
2022-09-23 09:46:16 -04:00
Hao Liu
01b41afa0f
includ template yml in sdist
2022-09-23 09:46:16 -04:00
Rick Elrod
bf8ba63860
Add instance module to controller action group
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-09-23 09:46:16 -04:00
Rick Elrod
ba26909dc5
Restrict node_state and node_type choices
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-09-23 09:46:16 -04:00
Rick Elrod
7d645c8ff6
[collection] Add 'instance' module
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-09-23 09:46:16 -04:00
Jeff Bradberry
b879cbc2ec
Prevent any edits to hop nodes
...
to retain the behavior that they had pre-mesh-scaling.
2022-09-23 09:46:15 -04:00
Hao Liu
af8b5243a3
Update requirements.yml
2022-09-23 09:46:15 -04:00
Hao Liu
4bf612851f
ignore template file from yamllint
2022-09-23 09:46:15 -04:00
Hao Liu
ada0d45654
put install bundle file in templates dir
...
also enable Copr repo in the playbook
Signed-off-by: Hao Liu <haoli@redhat.com>
2022-09-23 09:46:15 -04:00
Alex Corey
c153ac9d3b
Adds unit tests for RemoveInstanceButton
2022-09-23 09:46:15 -04:00
Kia Lam
78cc9fb019
Fix missing details message in Topology view.
2022-09-23 09:46:15 -04:00
Seth Foster
301807466d
Only get receptor.conf lock in k8s environment
...
- Writing to receptor.conf only takes place in K8S, so only get a
lock if IS_K8S is true
2022-09-23 09:46:15 -04:00
Seth Foster
e0c9013d9c
Prevent altering certain fields on Instance
...
- Prevents changing hostname, listener_port, or node_type for instances
that already exist
- API default node_type is execution
- API default node_state is installed
2022-09-23 09:46:15 -04:00
Kia Lam
9c6aa93093
Remove action items from Instance peers list.
2022-09-23 09:46:15 -04:00
Kia Lam
4a41098b24
Add health check toast notification for Instance list and detail views.
2022-09-23 09:46:15 -04:00