Alan Rominger
0ac3a377fd
Make some needed updates to docker-refresh target ( #11089 )
2021-09-17 09:11:52 -04:00
Alan Rominger
1319fadc60
Fix overwrite bug where hosts with no instance ID var are re-created ( #10910 )
...
* Write tests to assure air-tightness of overwrite
* Candidate fix for group overwrite air-tightness
* Another proposed fix for the id mapping
* Further double down on tracking old instance_id
* Separate unchanging data case and fix some test issues
* parametrize final confusion test
* cut down some more on test cases and fix bug with prior fix
* Rewrite of _delete_host code sharing with update method
This is a start-to-finish rewrite of the host overwrite bug fix
this method is much more conservative,
it does this by keeping the overall code structure where hosts
are deleted before host updates are made
To fix the bug, we share code between the method that deletes hosts
and the method that updates the hosts
A data structure is created and passed to both methods
By having both methods use the same data structure which maps
the in-memory hosts to DB hosts, we assure that the deletions
will ONLY delete hosts that will not be updated
2021-09-16 15:29:57 -04:00
Bianca Henderson
181bda51ce
Merge pull request #11081 from sean-m-sullivan/schedule_credentials
...
add credentials option to schedules
2021-09-16 13:19:58 -04:00
Alan Rominger
e914c23c42
Pass --delete flag to worker for execution node cleanup ( #11078 )
...
* Pass --delete flag to worker for execution node cleanup
* Remove the pdd_wrapper_ directory
2021-09-16 11:21:41 -04:00
Bianca Henderson
c1587b25b8
Merge pull request #11064 from beeankha/new_way_to_auth_for_exec_nodes
...
Enable Jobs to Run on Execution-Only Nodes Via EEs from Protected Registries
2021-09-16 11:20:33 -04:00
beeankha
48eb06f320
Add verify_ssl to container_auth_data params
2021-09-16 09:49:53 -04:00
Alex Corey
65ba87e71f
Merge pull request #11069 from AlexSCorey/10951-InstanceDetailsandHealthCheck
...
This adds Instance Details view
2021-09-16 09:38:27 -04:00
sean-m-ssullivan
f92924d57e
add credentials option to schedules
2021-09-16 08:47:00 -04:00
Alex Corey
eeb0feabc0
Adds the Instance Details view with the health check functionality
2021-09-15 14:20:30 -04:00
beeankha
ac8b49b39d
Change the way auth info is passed to Runner for EEs pulled from protected registries
2021-09-15 08:49:28 -04:00
Jim Ladd
1b50db26b6
Explicitly pass in UUID to get_or_register
...
Co-authored-by: Alan Rominger <arominge@redhat.com>
2021-09-14 10:58:29 -07:00
Alex Corey
1f34d4c134
Merge pull request #11029 from AlexSCorey/10070-translateMetrics
...
Translates the UI strings on the metrics pages
2021-09-10 14:46:14 -04:00
Christian Adams
f864335463
Merge pull request #11066 from ansible/i18n_devel_translations
...
UI translation strings for devel branch
2021-09-10 14:30:58 -04:00
Alex Corey
47970d3455
Translates the UI strings on the metrics pages
2021-09-10 11:57:38 -04:00
Bianca Henderson
6cdaacdda3
Merge pull request #11062 from john-westcott-iv/collection_version_change
...
Collection version change
2021-09-10 10:13:37 -04:00
beeankha
9b66bda8b9
Fix pep8 error
2021-09-10 09:20:44 -04:00
Kersom
ef354ca1e6
Merge pull request #11065 from nixocio/ui_linguirc
...
Minor update linguirc
2021-09-10 08:54:35 -04:00
John Westcott IV
515c3450c2
Fixing linting issue
2021-09-10 08:46:41 -04:00
John Westcott IV
5607c350cd
Removing parens
2021-09-10 08:46:41 -04:00
John Westcott IV
b9758f5c1a
Adding unit test for no header response
2021-09-10 08:46:41 -04:00
John Westcott IV
aad432aaa3
Changing to Version instead of Type
2021-09-10 08:46:41 -04:00
John Westcott IV
d4971eb7b7
Preventing error if we were unable to get an API version
2021-09-10 08:46:41 -04:00
Christian M. Adams
7860eb529f
Localization: fix dynamic vars in fr .po files
2021-09-09 19:08:04 -04:00
nixocio
49c2a38437
Minor update linguirc
...
Minor update linguirc
2021-09-09 17:57:29 -04:00
ansible-translation-bot
d4bf238173
UI translation strings for devel branch
2021-09-09 17:05:23 -04:00
Sarah Akus
c085397bcb
Merge pull request #11023 from nixocio/ui_issue_10933
...
Show button to cancel inventory source sync
2021-09-09 14:16:07 -04:00
nixocio
58fab2530f
Show button to cancel inventory source sync
...
Show button to cancel inventory source sync.
See: https://github.com/ansible/awx/issues/10933
Also: https://github.com/ansible/awx/issues/10991
2021-09-09 14:04:10 -04:00
Sarah Akus
287b32870e
Merge pull request #11014 from kialam/add-node-type-to-associate-modal
...
Add instance node type to associate modal.
2021-09-09 10:17:12 -04:00
Alan Rominger
46ac9506e6
Assure consistent ordering with default IG first ( #11034 )
...
* Assure consistent ordering with default IG first
* Write conditional a little more defensively to pass tests
2021-09-08 11:11:46 -04:00
Elijah DeLee
19ccfcff9a
Merge pull request #10988 from ansible/more-receptor-sos
...
List dir where receptor socket should be
2021-09-08 10:43:48 -04:00
Christian Adams
f8a08c8a5e
Merge pull request #11035 from rooftopcellist/build_app_image_docs
...
Update image variable name for awx-operator app image docs
2021-09-08 09:32:14 -04:00
Christian M. Adams
6f7fe8f9f9
Update image variable name for awx-operator app image docs
...
Signed-off-by: Christian M. Adams <chadams@redhat.com>
2021-09-07 17:07:47 -04:00
Kersom
86b41a4887
Merge pull request #11011 from nixocio/ui_issue_10971
...
Add strings to be translated
2021-09-03 17:12:14 -04:00
Sarah Akus
3786693078
Merge pull request #10978 from AlexSCorey/10973-fix
...
Fixes translation issue on Schedule Form
2021-09-03 16:42:23 -04:00
Alan Rominger
6a17e5b65b
Allow manually running a health check, and make other adjustments to the health check trigger ( #11002 )
...
* Full finalize the planned work for health checks of execution nodes
* Implementation of instance health_check endpoint
* Also do version conditional to node_type
* Do not use receptor mesh to check main cluster nodes health
* Fix bugs from testing health check of cluster nodes, add doc
* Add a few fields to health check serializer missed before
* Light refactoring of error field processing
* Fix errors clearing error, write more unit tests
* Update health check info in docs
* Bump migration of health check after rebase
* Mark string for translation
* Add related health_check link for system auditors too
* Handle health_check cluster node timeout, add errors for peer judgement
2021-09-03 16:37:37 -04:00
Elijah DeLee
169c0f6642
Merge pull request #11022 from kdelee/try-localhost
...
Set python to ansible_playbook_python on hosts
2021-09-03 15:48:33 -04:00
Elijah DeLee
054569da70
emulate workaround present in demo inventory
...
see 9d000a76de
This change works around the fact that the presumed correct python3 for rhel8 (which the EE is based on)
is not the python3 that ansible-playbook is using, and is not where the python dependencies are installed.
2021-09-03 15:21:34 -04:00
Elijah DeLee
4a6ab622df
Update inventory.py
2021-09-03 15:20:10 -04:00
nixocio
07cc75f6d4
Add strings to be translated
...
Add strings to be translated
See: https://github.com/ansible/awx/issues/10971
2021-09-03 15:15:12 -04:00
Bianca Henderson
7fc8775654
Merge pull request #11018 from beeankha/node_type_on_ping
...
Add Node Type Information to /api/v2/ping Endpoint
2021-09-03 15:01:49 -04:00
beeankha
41a6473782
Sort instance groups by name regardless of upper/lower case
2021-09-03 13:52:12 -04:00
Jim Ladd
f39834ad82
pass uuid to Instance.create
2021-09-03 10:05:15 -07:00
Jim Ladd
bdb13343bb
remove unused import
2021-09-03 10:05:15 -07:00
Jim Ladd
262cd3c695
set default uuid
2021-09-03 10:05:15 -07:00
Jim Ladd
f02099e8b7
provision_instance should create new uuid if needed
...
.. instead of default to current system's UUID
related: #10990
2021-09-03 10:05:15 -07:00
Kersom
7bf3ee69ef
Merge pull request #10987 from nixocio/ui_issue_9013
...
Add websockets to Inventory Source Details
2021-09-03 12:37:53 -04:00
Kia Lam
41e837d1e2
Properly mark strings for translation.
2021-09-03 12:36:04 -04:00
beeankha
2090e46ac2
Add node_type to api/v2/ping/ endpoint
2021-09-03 11:25:05 -04:00
Kersom
f09ee33e6c
Merge pull request #10994 from nixocio/ui_issue_10966
...
Add string `Filter By` to be translated
2021-09-03 11:19:40 -04:00
Alan Rominger
22782f8c5f
Add wording about expectations for enabled status and default group ( #10993 )
...
* Add wording about expections for enabled status and default group
* fix pluralization
Co-authored-by: Alex Corey <acorey@redhat.com>
* Correct grammar mistake
Co-authored-by: Alex Corey <acorey@redhat.com>
2021-09-03 10:35:29 -04:00