Alan Rominger
28fa90e9e5
Only allow provision_instances without options to be used on k8s
2022-03-29 16:24:06 -04:00
Alan Rominger
fe5736dc7f
Specifically abort the reaper if instance not registered
2022-03-29 14:08:58 -04:00
Shane McDonald
b36af5dfb3
Update help text for provision_instance command
2022-03-29 14:08:58 -04:00
Shane McDonald
4446434e5b
Ensure stop signals are forwarded to the correct processes
2022-03-29 14:08:56 -04:00
Shane McDonald
39905b33cd
Replace tini with dumb-init
...
dumb-init is more actively maintained, available on pypi, and already used for both upstream and downstream EEs
2022-03-29 14:08:09 -04:00
Shane McDonald
dbdc529d4a
Fix race condition causing rsyslog to crash
2022-03-29 14:08:07 -04:00
Shane McDonald
0cbc802cf4
Use the same settings on each supervisor entry
...
I didnt see a reason for the weird inconsistencies here.
2022-03-29 14:07:54 -04:00
Shane McDonald
b04747676c
Provision the instance before booting anything
...
There was a race condition because the callback reciever tried to run this code:
File "/awx_devel/awx/main/management/commands/run_callback_receiver.py", line 31, in handle
CallbackBrokerWorker(),
File "/awx_devel/awx/main/dispatch/worker/callback.py", line 49, in __init__
self.subsystem_metrics = s_metrics.Metrics(auto_pipe_execute=False)
File "/awx_devel/awx/main/analytics/subsystem_metrics.py", line 156, in __init__
self.instance_name = Instance.objects.me().hostname
Before get_or_register was being called by the dispatcher.
2022-03-29 14:07:49 -04:00
Shane McDonald
270497eda1
Kill all control plane processes if one of them fails to boot
2022-03-23 18:40:23 -04:00
Shane McDonald
dbcdb825b0
Remove awx-config-watcher from kube dev env
2022-03-23 18:37:16 -04:00
Shane McDonald
7b2b979c1b
Merge pull request #11941 from shanemcd/update-devel-image-refs
...
Update some references to our development images
2022-03-23 15:57:18 -04:00
Shane McDonald
e87c9d8811
Fix command in build_awx_image.md
2022-03-23 15:40:49 -04:00
Alex Corey
7d04737a65
Merge pull request #11934 from mabashian/5707-proj-field-label
...
Fix Source Control Type label in project form
2022-03-23 11:32:30 -04:00
Shane McDonald
99056e3697
Update some references to our development images
2022-03-23 11:31:11 -04:00
Shane McDonald
c110101cb1
Merge pull request #11787 from liortamari/hashicorp-vault-kubernetes-auth
...
Add Hashicorp Vault Kubernetes authentication method
2022-03-23 11:02:38 -04:00
Shane McDonald
aa6129fda0
Merge pull request #11932 from shanemcd/gha-devel-images
...
Migrate all development image builds to GHA
2022-03-23 10:28:48 -04:00
Shane McDonald
1d181757e8
Migrate all development image builds to GHA
...
- This also moves the development image from quay.io to ghcr.io.
- These changes will need to be backported to all of our supported branches.
2022-03-23 10:03:55 -04:00
Sarah Akus
4fa8b6ded8
Merge pull request #11788 from AlexSCorey/10281-OutputHostFilters
...
Fixes search drop down items for job output search
2022-03-23 09:45:01 -04:00
Alex Corey
79afdfd1a6
Fixes search drop down items for job output search
2022-03-23 09:26:49 -04:00
Shane McDonald
3d6a49ce7c
Merge pull request #11937 from ansible/shanemcd-patch-1
...
Stop adding needs_triage label every time an issue is edited
2022-03-22 14:04:46 -04:00
Shane McDonald
f823049f55
Stop adding needs_triage label every time an issue is edited
2022-03-22 13:08:34 -04:00
Seth Foster
b608b73110
Merge pull request #11927 from fosterseth/fix_subsystem_metrics_sync_in_async
...
Fix subsystem metrics sync-only operation in async context
2022-03-22 11:55:05 -04:00
mabashian
12c36d279e
Fix Source Control Type label in project form
2022-03-22 09:35:37 -04:00
Shane McDonald
afbd9f04d7
Merge pull request #11748 from john-westcott-iv/github_workflows_on_all_releases
...
Chaning workflow to run on all release branches
2022-03-22 09:06:50 -04:00
liortamari
26fb5a0bd7
Merge branch 'ansible:devel' into hashicorp-vault-kubernetes-auth
2022-03-22 14:07:15 +02:00
Seth Foster
acebff7be1
Fix sync-only operation in async context
2022-03-21 14:37:10 -04:00
John Westcott IV
45bd143c07
Fixing import of projects issue due to local_path ( #11889 )
2022-03-21 14:04:47 -04:00
Jeff Bradberry
aa46a7fe06
Merge pull request #11924 from jbradberry/awxkit-support-inventory-labels
...
Support the new Inventory.labels in awxkit / awx-cli
2022-03-21 10:19:42 -04:00
Shane McDonald
07d0eedb0a
Merge pull request #11875 from shanemcd/url-prefixing-collection
...
Make our collection work with prefixed API endpoints
2022-03-21 08:09:08 -04:00
Kersom
9aae2a11f2
Add related job templates to a couple of screens ( #11890 )
...
Add related job templates to a couple of screens. Credential and
Inventory.
Also refactor the component already in place for Projects to be in sync
with the Job Templates screen.
See: https://github.com/ansible/awx/issues/5867
2022-03-18 20:52:50 +00:00
Jeff Bradberry
51021f380b
Support the new Inventory.labels in awxkit / awx-cli
2022-03-18 14:24:49 -04:00
Shane McDonald
7818a479ee
Merge pull request #11880 from kurokobo/operator_version
...
fix: add OPERATOR_VERSION as build-arg to pass the version to operator
2022-03-18 11:20:20 -04:00
Alan Rominger
799bac4066
Merge pull request #11860 from AlanCoding/hybrid_artifacts
...
Do not remove artifacts for local work
2022-03-18 10:37:06 -04:00
Tiago Góes
41b3ad1b83
Merge pull request #11917 from nixocio/ui_survey_issue
...
Fix credential encrypted
2022-03-18 10:44:39 -03:00
nixocio
c912dd4e76
Fix credential encrypted
...
Display credential as encrypted.
See: https://github.com/ansible/awx/issues/11915
2022-03-17 16:37:44 -04:00
Tiago Góes
3ec9bacb30
Merge pull request #11913 from keithjgrant/9041-page-titles
...
display current page name in document title
2022-03-17 17:32:00 -03:00
Keith J. Grant
13db49aab7
display current page name in document title
2022-03-17 11:26:20 -07:00
Jeff Bradberry
ac6a82eee4
Merge pull request #11654 from jbradberry/django-3.2-upgrade
...
Django 3.2 upgrade
2022-03-17 10:34:22 -04:00
Tiago Góes
546fc24a0a
Merge pull request #11839 from nixocio/ui_issue_11718_backup
...
Add several changes to Instance Groups
2022-03-15 18:11:01 -03:00
Alan Rominger
f99820a391
Merge pull request #11898 from AlanCoding/hop_node_lost_found
...
Only clear hop node errors if they were lost before, not lost now
2022-03-15 13:03:33 -04:00
Shane McDonald
873875af84
Merge pull request #11909 from JamieSlome/patch-1
...
Create SECURITY.md
2022-03-15 10:38:54 -04:00
Jamie Slome
fcb1c4823e
Create SECURITY.md
2022-03-15 13:59:42 +00:00
Kersom
a1203e6fec
Merge pull request #11902 from keithjgrant/error-detail-formatting
...
add line wrap formatting to ErrorDetail
2022-03-15 08:30:12 -04:00
Alan Rominger
2321f06c8a
Only clear hop node errors if they were lost before, not lost now
2022-03-14 16:04:55 -04:00
nixocio
ce8b9750c9
Add several changes to Instance Groups
...
Add several changes to API and UI related to Instance Groups.
* Update summary_fields for DEFAULT_CONTROL_PLANE_QUEUE_NAME, and
DEFAULT_EXECUTION_QUEUE_NAME. Rely on API validation for those fields.
* Fix Instance Group list RBAC
* Add validation for a couple of fields on the Instance Groups endpoint
1. is_container_group
2. policy_instance_percentage
3. policy_instance_list
See: https://github.com/ansible/awx/issues/11130
Also: https://github.com/ansible/awx/issues/11718
2022-03-14 14:55:59 -04:00
Jeff Bradberry
574e3ed6ef
Fix the signature of RADIUSBackend.get_django_user
...
to match what django-radius is now expecting.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
584514766d
Disable our wrapping of the Django settings during migrations
...
This will hopefully get us past the unfortunate check against the
HostMetric table, which doesn't exist when you are upgrading from 3.8
to 4.x.
Additionally, guard against AUTH_LDAP_GROUP_TYPE not being in settings
for conf migration 0006.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
eb8a1fec49
Make API queries involving json fields cast the fields to text
...
This restores compatibility with the way it previously worked -- we
never supported proper json operator queries through the API.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
38ccea0f1f
Fix up warnings
...
- the default auto-increment primary key field type is now
configurable, and Django's check command issues a warning if you are
just assuming the historical behavior of using AutoField.
- Django 3.2 brings in automatic AppConfig discovery, so all of our
explicit `default_app_config = ...` assignments in __init__.py
modules are no longer needed, and raise a RemovedInDjango41Warning.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
5d000c37d6
Deal with breaking tests for 3.2
...
- Instantiating an abstract model raises a TypeError
2022-03-14 13:19:57 -04:00