Seth Foster
de1df8bf28
load job meta vars after JT extra vars
2022-03-02 14:42:47 -05:00
Alex Corey
fe01f13edb
Merge pull request #11790 from AlexSCorey/11712-SelectRelatedQuery
...
Use select_related on db queries to reduce db calls
2022-03-02 11:33:45 -05:00
Shane McDonald
3b6cd18283
Merge pull request #11834 from shanemcd/automate-galaxy-and-pypi
...
Automate publishing to galaxy and pypi
2022-03-01 16:22:39 -05:00
Keith Grant
4f505486e3
Add Toast messages when resources are copied ( #11758 )
...
* create useToast hook
* add copy success toast message to credentials/inventories
* add Toast tests
* add copy success toast to template/ee/project lists
* move Toast type to types.js
2022-03-01 15:59:24 -05:00
Shane McDonald
f6e18bbf06
Publish to galaxy and pypi in promote workflow
2022-03-01 15:42:13 -05:00
Marcelo Moreira de Mello
a988ad0c4e
Merge pull request #11659 from ansible/expose_isolate_path_k8s
...
Allow isolated paths as hostPath volume @ k8s/ocp/container groups
2022-03-01 10:52:36 -05:00
Shane McDonald
a815e94209
Merge pull request #11737 from ansible/update-minikube-docs
...
update minkube docs with steps for using custom operator
2022-03-01 07:49:21 -05:00
Shane McDonald
650bee1dea
Merge pull request #11749 from rh-dluong/fix-ocp-cred-desc
...
Fixed doc string for Container Groups credential type
2022-03-01 07:48:37 -05:00
Shane McDonald
80c188586c
Merge pull request #11798 from john-westcott-iv/saml_attr_lists
...
SAML superuse/auditor working with lists
2022-03-01 07:42:35 -05:00
Shane McDonald
b5cf8f9326
Merge pull request #11819 from shanemcd/transmitter-future
...
Reimplement transmitter thread as future
2022-03-01 07:33:26 -05:00
Shane McDonald
2df3ca547b
Reimplement transmitter thread as future
...
This avoids the need for an explicit `.join()`, and removes the need for the TransmitterThread wrapper class.
2022-02-28 11:21:53 -05:00
Marcelo Moreira de Mello
8645147292
Renamed scontext variable to mount_options
2022-02-28 10:22:24 -05:00
Marliana Lara
169da866f3
Add UI unit tests to job settings
2022-02-28 10:22:24 -05:00
Marcelo Moreira de Mello
5e8107621e
Allow isolated paths as hostPath volume @ k8s/ocp/container groups
2022-02-28 10:22:20 -05:00
Alan Rominger
eb52095670
Fix bug where translated strings will cause log error to error ( #11813 )
...
* Fix bug where translated strings will cause log error to error
* Use force_str for ensuring string
2022-02-28 08:38:01 -05:00
John Westcott IV
cb57752903
Changing session cookie name and added a way for clients to know what the name is #11413 ( #11679 )
...
* Changing session cookie name and added a way for clients to know what the key name is
* Adding session information to docs
* Fixing how awxkit gets the session id header
2022-02-27 07:27:25 -05:00
Shane McDonald
895c05a84a
Merge pull request #11808 from john-westcott-iv/fix_minicube
...
Chaning API version from v1beta1 to v1
2022-02-24 16:32:21 -05:00
John Westcott IV
4d47f24dd4
Chaning API version from v1beta1 to v1
2022-02-24 11:17:36 -05:00
Elijah DeLee
4bd6c2a804
set max dispatch workers to same as max forks
...
Right now, without this, we end up with a different number for max_workers than max_forks. For example, on a control node with 16 Gi of RAM,
max_mem_capacity w/ 100 MB/fork = (16*1024)/100 --> 164
max_workers = 5 * 16 --> 80
This means we would allow that control node to control up to 164 jobs, but all jobs after the 80th job will be stuck in `waiting` waiting for a dispatch worker to free up to run the job.
2022-02-24 10:53:54 -05:00
Shane McDonald
48fa947692
Merge pull request #11756 from shanemcd/ipv6-podman
...
Enable Podman ipv6 support by default
2022-02-24 09:58:20 -05:00
Shane McDonald
88f66d5c51
Enable Podman ipv6 support by default
2022-02-24 08:51:51 -05:00
Marcelo Moreira de Mello
e9a8175fd7
Merge pull request #11702 from ansible/fact_insights_mount_issues
...
Do not mount /etc/redhat-access-insights into EEs
2022-02-23 14:44:10 -05:00
Marcelo Moreira de Mello
0d75a25bf0
Do not mount /etc/redhat-access-insights into EEs
...
Sharing the /etc/redhat-access-insights is no longer
required for EEs. Furthermore, this fixes a SELinux issue
when launching multiple jobs with concurrency and fact_caching enabled.
i.e:
lsetxattr /etc/redhat-access-insights: operation not permitted
2022-02-23 14:12:33 -05:00
Tiago Góes
6af294e9a4
Merge pull request #11794 from jainnikhil30/fix_credential_types_drop_down
...
Allow more than 400 credential types in drop down while adding new credential
2022-02-23 16:08:28 -03:00
Elijah DeLee
38f50f014b
fix missing job lifecycle messages ( #11801 )
...
we were missing these messages for control type jobs that call start_task earlier than other types of jobs
2022-02-23 13:56:25 -05:00
Alex Corey
a394f11d07
Resolves occassions where missing table data moves items to the left ( #11772 )
2022-02-23 11:36:20 -05:00
Kersom
3ab73ddf84
Fix TypeError when running a command on a host in a smart inventory ( #11768 )
...
Fix TypeError when running a command on a host in a smart inventory
See: https://github.com/ansible/awx/issues/11611
2022-02-23 10:32:27 -05:00
John Westcott IV
c7a1fb67d0
SAML superuse/auditor now searching all fields in a list instead of just the first
2022-02-23 09:35:11 -05:00
nixocio
afb8be4f0b
Refactor fetch of credential types
...
Refactor fetch of credential types
2022-02-23 09:29:23 -05:00
Nikhil Jain
dc2a392f4c
forgot to run prettier earlier
2022-02-23 12:09:51 +05:30
Nikhil Jain
61323c7f85
allow more than 400 credential types in drop down while adding new credential
2022-02-23 11:30:55 +05:30
Alex Corey
fa47e48a15
Fixes broken link from User to UserOrg ( #11759 )
2022-02-22 16:34:30 -05:00
Kersom
eb859b9812
Fix TypeError when running a command on a host in a smart inventory ( #11768 )
...
Fix TypeError when running a command on a host in a smart inventory
See: https://github.com/ansible/awx/issues/11611
2022-02-21 16:34:31 -05:00
Kersom
7cf0523561
Display roles for organization listed when using non-English web browser ( #11762 )
...
Display roles for organization listed when using non-English web browser
2022-02-21 15:53:32 -05:00
Alex Corey
aae2e3f835
Merge pull request #11785 from ansible/dependabot/npm_and_yarn/awx/ui/url-parse-1.5.9
...
Bump url-parse from 1.5.3 to 1.5.9 in /awx/ui
2022-02-21 14:02:17 -05:00
dependabot[bot]
a60a65cd2a
Bump url-parse from 1.5.3 to 1.5.9 in /awx/ui
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.9.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.9 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 15:06:19 +00:00
Kersom
b7d0ec53e8
Merge pull request #11776 from nixocio/ui_ternary
...
Use ternary rather than &&
2022-02-17 18:24:09 -05:00
nixocio
f20cd8c203
Use ternary rather than &&
...
Use ternary rather than && to avoid display 0.
2022-02-17 15:34:03 -05:00
Tiago Góes
1ed0b70601
Merge pull request #11764 from ansible/filter_hopcontrol_from_associatemodal
...
filter out both hop and control nodes instead of just one or the other
2022-02-17 14:48:59 -03:00
Shane McDonald
c3621f1e89
Merge pull request #11742 from kdelee/drop_unused_capacity_tracking
...
drop unused logic in task manager
2022-02-17 09:46:00 -05:00
Shane McDonald
7de86fc4b4
Merge pull request #11747 from AlanCoding/loop_label
...
Add loop label with docker-compose playbook
2022-02-17 09:45:03 -05:00
Shane McDonald
963948b5c8
Merge pull request #11767 from simaishi/rekey_existing
...
Allow rekey with an existing key
2022-02-17 09:39:05 -05:00
Shane McDonald
d9749e8975
Merge pull request #11734 from shanemcd/fix-image-push
...
Fix image push when overriding awx_image_tag
2022-02-17 07:21:29 -05:00
Julen Landa Alustiza
f6e4e53728
Merge pull request #11766 from Zokormazo/collection-pep8
...
pep8 E231 fix for awx_collection
2022-02-17 13:21:23 +01:00
Julen Landa Alustiza
98adb196ea
pep8 E231 fix for awx_collection
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com>
2022-02-17 09:34:48 +01:00
Rebeccah
6b60edbe5d
filter out both hop and control nodes instead of just one or the other
2022-02-16 18:32:41 -05:00
Satoe Imaishi
9d6de42f48
Allow rekey with an existing key
...
(cherry picked from commit 0c6440b46756f02a669d87e461faa4abc5bab8e6)
2022-02-16 17:58:22 -05:00
Tiago Góes
a94a602ccd
Merge pull request #11746 from AlexSCorey/11744-fixValidatorBug
...
Fixes validator console error, and routing issue in Instance Groups Branch
2022-02-16 12:28:43 -03:00
dluong
301818003d
Fixed doc string for Container Groups credential type
2022-02-15 16:10:28 -05:00
Elijah DeLee
799968460d
Fixup conversion of memory and cpu settings to support k8s resource request format ( #11725 )
...
fix memory and cpu settings to suport k8s resource request format
* fix conversion of memory setting to bytes
This setting has not been getting set by default, and needed some fixing
up to be compatible with setting the memory in the same way as we set it
in the operator, as well as with other changes from last year which
assume that ansible runner is returning memory in bytes.
This way we can start setting this setting in the operator, and get a
more accurate reflection of how much memory is available to the control
pod in k8s.
On platforms where services are all sharing memory, we deduct a
penalty from the memory available. On k8s we don't need to do this
because the web, redis, and task containers each have memory
allocated to them.
* Support CPU setting expressed in units used by k8s
This setting has not been getting set by default, and needed some fixing
up to be compatible with setting the CPU resource request/limits in the
same way as we set it in the resource requests/limits.
This way we can start setting this setting in the
operator, and get a more accurate reflection of how much cpu is
available to the control pod in k8s.
Because cpu on k8s can be partial cores, migrate cpu field to decimal.
k8s does not allow granularity of less than 100m (equivalent to 0.1 cores), so only
store up to 1 decimal place.
fix analytics to deal with decimal cpu
need to use DjangoJSONEncoder when Decimal fields in data passed to
json.dumps
2022-02-15 14:08:24 -05:00