Alan Rominger
87918bd275
[constructed-inventory] Add constructed inventory docs and do minor field updates ( #13487 )
...
* Add constructed inventory docs and do minor field updates
Add verbosity field to the constructed views
automatically set update_on_launch for the auto-created constructed inventory source
2023-01-30 15:12:40 -05:00
Alan Rominger
7598e117d4
[constructed-inventory] Use control plane EE for constructed inventory and hack temporary image ( #13474 )
...
* Use control plane EE for constructed inventory and hack temporary image
* Update page registry to work with new endpoints
2023-01-27 13:06:55 -05:00
Gabriel Muniz
700055801a
Merge pull request #13470 from gamuniz/collection_limit_addition
...
[constructed-inventory] adding limit to inventory_source collection module
2023-01-26 09:46:54 -05:00
Gabe Muniz
1c6a48ffb6
adding limit to inventory_source collection module
2023-01-25 10:13:45 -05:00
Alan Rominger
fab83715e9
Merge pull request #13463 from AlanCoding/constructed_view
...
[constructed-inventory] Add views and serializers for special constructed inventory endpoints
2023-01-25 10:04:56 -05:00
Alan Rominger
0ebe57cbf4
Start on new constructed inventory API view
...
Make the GET function work at most basic level
Basic functionality of updating working
Add functional test for the GET and PATCH views
Add constructed inventory list view for direct creation
Add limit field to constructed inventory serializer
2023-01-24 11:35:29 -05:00
Hao Liu
d4840b240b
move limit field from InventorySourceSerializer to InventorySourceOptionsSerializer ( #13464 )
...
InventorySourceOptionsSerializer is the parent for both InventorySourceSerializer and InventoryUpdateSerializer
The limit option need to be exposed to both inventory_source and inventory_update
2023-01-24 11:24:50 -05:00
Gabriel Muniz
8538d37702
Merge pull request #13456 from gamuniz/add_limit_to_serializer
...
added 'limit' to InventorySourceSerializer
2023-01-20 16:21:58 -05:00
Gabe Muniz
5550086b3b
added 'limit' to InventorySourceSerializer
2023-01-20 12:41:35 -05:00
Gabriel Muniz
980bfc4b6f
Merge pull request #13449 from gamuniz/inventory_source_limit
...
[constructed-inventory] pushing limit to inventory sources
2023-01-19 15:01:33 -05:00
Gabe Muniz
6351e8bbc9
added new migration for deprecation of host_filter
2023-01-19 13:01:45 -05:00
Gabe Muniz
325e566a3d
pushing limit to inventory sources
2023-01-19 12:40:14 -05:00
Alan Rominger
d7f87ed27c
Merge pull request #13303 from AlanCoding/smart_inventory_v2
...
[constructed-inventory] Constructed inventory as alternative to smart inventory
2023-01-18 22:18:58 -05:00
Alan Rominger
a5baee1b3a
Remove extra unwanted assignment from line
...
Co-authored-by: Rick Elrod <rick@elrod.me>
2023-01-18 10:38:12 -05:00
Alan Rominger
dd8c9f87a9
Model and task changes for constructed inventory
...
Add in required setting about empty groups
2023-01-18 10:26:56 -05:00
Lila Yasin
11fbfc2063
added fix for preserve existing children issue. ( #13374 )
...
* added fix for preserve existing children issue.
* Modified line 131 to call actual parm name.
* Removed line 132 after updating.
2023-01-16 11:36:07 -03:00
kialam
ca07bc85cb
Merge pull request #13367 from kialam/fix-13290-instance-404
...
Conditionally query /health_check endpoint for execution node only.
2023-01-12 13:20:35 -08:00
Seth Foster
f8d46d5e71
Merge pull request #13351 from jangel97/project_lokfile_timeout
...
add logging to situation in which project lock file is locked
2023-01-10 20:58:53 -05:00
Jose Angel Morena
ce0a456ecc
add log message if unable to open lockfile
...
Signed-off-by: Jose Angel Morena <jmorenas@redhat.com>
2023-01-10 21:51:23 +01:00
John Westcott IV
d73cc501d5
Merge pull request #13342 from john-westcott-iv/reconcile_fix
...
Fixing bug in LDAP reconcile loop
2023-01-09 14:20:49 -05:00
John Westcott IV
7e40a4daed
Refactoring code
2023-01-09 10:31:15 -05:00
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
Michael Abashian
98107301a5
Merge pull request #13194 from mabashian/13193-related-name-exact
...
Adds support for exact name searching against related fields to the ui
2023-01-05 10:20:39 -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
Shane McDonald
b99a434dee
Merge pull request #13395 from shanemcd/pin-rsyslog
...
Pin rsyslog to avoid crash
2023-01-04 21:54:34 +08:00
Shane McDonald
6cee99a9f9
Pin rsyslog to prevent crash
...
With the latest version of rsyslog we had a test failing with:
AssertionError: Response data: {'error': "b'rsyslog internal message (3,-2455): could not transfer the specified internal posix capabilities settings to the kernel, capng_apply=-5\\n [v8.2102.0-107.el9 try https://www.rsyslog.com/e/2455 ]\\n'"}
Downgrading fixes it
2023-01-04 08:19:20 -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
0c980fa7d5
Merge pull request #13366 from fosterseth/bump_receptorctl_1.3.0
...
bump receptorctl version to 1.3.0
2022-12-21 16:27:25 -05:00
Shane McDonald
e34ce8c795
Merge pull request #13365 from dsavineau/downgrade_hiredis
...
Pin hiredis to 2.0.0
2022-12-21 15:23:15 -05:00
Kia Lam
58bad6cfa9
Conditionally query /health_check endpoint for execution node only.
2022-12-21 10:44:12 -08:00
Seth Foster
3543644e0e
bump receptorctl version to 1.3.0
2022-12-21 13:36:11 -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
Dimitri Savineau
239827a9cf
Pin hiredis to 2.0.0
...
The hiredis 2.1.0 release doesn't provide source distribution on PyPi so
users can't build that python package from sources.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2022-12-21 11:57:41 -05:00
Alan Rominger
ac9871b36f
Merge pull request #13361 from relrod/sanity
...
[collection] Run sanity tests outside of our container
2022-12-21 11:00:21 -05:00
Alan Rominger
f739908ccf
Add comment about Ansible-core being installed by default
...
Co-authored-by: John R Barker <john@johnrbarker.com>
2022-12-21 09:57:00 -05:00
Alan Rominger
cf1ec07eab
Changes to run sanity tests locally
...
Use a Makefile arg for the ansible-test sanity CLI args
defaults to --docker
in the future we probably need to customize python versions
Copy the rule exception for Ansible 2.15
this helps people who are running from Ansible devel
2022-12-21 09:53:22 -05:00
Rick Elrod
d968b648de
Run sanity tests outside of our container
...
Also just ignore one sanity test for the export module, instead of
ignoring all of them.
Also use latest ansible-test, and make it work on GHA (by using podman
instead of docker).
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-12-20 21:40:41 -06:00
Rick Elrod
5dd0eab806
Pin channels-redis to 4.3.1 to fix an async issue ( #13348 )
...
Refs django/channels_redis#332
Refs #13313
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-12-20 17:05:44 -06: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
ac8cff75ce
Run collection sanity tests in CI ( #13356 )
...
* Run collection sanity tests in CI
This requires adding a Makefile install of ansible-core
Fake the version to make semver check happy
* Fixes from ansible-test sanity failures
* Exclude the export module due to awxkit requirement
* Fix broken ansible-test rule exceptions
remove Ansible 2.14 exclusions that make ansible-test ERROR, saying they are not needed
2022-12-20 16:06:25 -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