Jeff Bradberry
627bde9e9e
Merge pull request #11614 from jbradberry/register_peers_warn_2cycles
...
Only do a warning on 2-cycles for the register_peers command
2022-01-27 10:25:19 -05:00
Shane McDonald
b678d61318
Merge pull request #11569 from zjzh/devel
...
Update ad_hoc_commands.py
2022-01-26 16:51:30 -05:00
Jeff Bradberry
fdbf3ed279
Only do a warning on 2-cycles for the register_peers command
...
It has no way of knowing whether a later command will fix the
situation, and this will come up in the installer. Let's just trust
the pre-flight checks.
2022-01-26 11:50:57 -05:00
Shane McDonald
5660f9ac59
Merge pull request #11514 from shanemcd/python39
...
Upgrade to Python 3.9
2022-01-26 10:59:14 -05:00
Jeff Bradberry
709c439afc
Merge pull request #11591 from ansible/enable-hop-nodes-endpoints
...
Turn off the filtering of hop nodes from the Instance endpoints
2022-01-25 12:03:23 -05:00
Sarah Akus
4cdc88e4bb
Merge pull request #11534 from marshmalien/7678-inv-sync-link
...
Link from sync status icon to prefiltered list of inventory source sync jobs
2022-01-25 12:03:09 -05:00
Jeff Bradberry
7c550a76a5
Make sure to filter out control-plane nodes in inspect_execution_nodes
...
Also, make sure that the cluster host doesn't get marked as lost by
this machinery.
2022-01-25 11:06:20 -05:00
Marcelo Moreira de Mello
7ae6286152
Avoid Project..get_or_create() in create_preload_data
...
Django ORM method get_or_create() does not call save() directly,
but it calls the create() [1].
The create method ignores the skip_update=True option, which then
will trigger a project update, however the EE was not yet created
in the database.
To avoid this problem, we just check the existence of the default
project and creates it with save(skip_update=True) manually.
2022-01-24 17:59:29 -05:00
Jeff Bradberry
fd9c28c960
Adjust register_queue command to not allow hop nodes to be added
2022-01-24 17:40:55 -05:00
Jeff Bradberry
fa9ee96f7f
Adjust the list_instances command to show hop nodes
...
with appropriate attributes removed or added.
2022-01-24 17:22:12 -05:00
Jeff Bradberry
334c33ca07
Handle receptorctl advertisements for hop nodes
...
counting it towards their heartbeat. Also, leave off the link to the
health check endpoint from hop node Instances.
2022-01-24 16:51:45 -05:00
Keith Grant
85cc67fb4e
Update status icons ( #11561 )
...
* update StatusLabels on job detail
* change StatusIcon to use PF circle icons
* change status icon to status label on host event modal
* update status label on wf job output
* update tests for status label changes
* fix default status icon color
2022-01-24 14:01:02 -05:00
Shane McDonald
af9eb7c374
Update timezone test
2022-01-24 12:21:28 -05:00
Marcelo Moreira de Mello
0fef88c358
Support user customization of container mount options and mount paths
2022-01-21 17:12:32 -05:00
Jeff Bradberry
56f8f8d3f4
Turn off the filtering of hop nodes from the Instance endpoints
...
except for the health check.
2022-01-21 15:19:59 -05:00
John Westcott IV
5bced09fc5
Handeling different types of response.data ( #11576 )
2022-01-21 15:16:09 -05:00
Jake McDermott
b4e9ff7ce0
Merge pull request #11573 from nixocio/ui_rename_files
...
Rename remaining .jsx files to .js
2022-01-21 10:55:06 -05:00
Jake McDermott
2fb5cfd55d
Update ui dev readme
2022-01-21 10:31:35 -05:00
Jake McDermott
e06f9f5438
Update ui dev readme, templates
2022-01-21 09:55:54 -05:00
nixocio
461876da93
Rename remaining .jsx files to .js
...
Rename remaining .jsx files to .js
2022-01-20 14:17:32 -05:00
Elijah DeLee
faba64890e
Merge pull request #11559 from kdelee/pending_container_group_jobs_take2
...
Add resource requests to default podspec
2022-01-20 09:54:20 -05:00
Alan Rominger
add54bfd0b
Merge pull request #11472 from AlanCoding/process_ident
...
Pass new ansible-runner parameters to reduce number of artifacts we don't need on file system
2022-01-20 09:48:44 -05:00
zzj
16d39bb72b
Update ad_hoc_commands.py
...
refactoring code with set comprehension which is more concise and efficient
2022-01-20 18:50:33 +08:00
John Westcott IV
e63ce9ed08
Api 4XX error msg customization #1236 ( #11527 )
...
* Adding API_400_ERROR_LOG_FORMAT setting
* Adding functional tests for API_400_ERROR_LOG_FORMAT
Co-authored-by: nixocio <nixocio@gmail.com >
2022-01-19 11:16:21 -05:00
Kersom
60831cae88
Merge pull request #11539 from nixocio/api_issue_11523
...
Update ping endpoint to use last_seen
2022-01-19 10:40:02 -05:00
Shane McDonald
7bd516a16c
Skip project update
2022-01-18 18:40:58 -05:00
Marcelo Moreira de Mello
3dd01cde89
Avoid duplicated entries when calling create_preload_data
2022-01-18 18:07:26 -05:00
Kersom
495394084d
Fix null on workflowjobtemplate ( #11522 )
...
Fix null on workflowjobtemplate
See: https://github.com/ansible/awx/issues/11284
2022-01-18 16:54:00 -05:00
Alan Rominger
2609ee5ed0
Delete artifact dir after transmit phase is finished
2022-01-18 14:51:40 -05:00
Elijah DeLee
987924cbda
Add resource requests to default podspec
...
Extend the timeout, assuming that we want to let the kubernetes scheduler
start containers when it wants to start them. This allows us to make
resource requests knowing that when some jobs queue up waiting for
resources, they will not get reaped in as short of a
timeout.
2022-01-18 13:34:39 -05:00
Alan Rominger
8fac1c18c8
Make task logic use consistent artifact dir location
2022-01-18 13:00:39 -05:00
Alan Rominger
eb64fde885
Pass ident to "process" cmd and disable stdout file
...
This requires corresponding ansible-runner changes
which are only available in devel branch
to do this, requirements are changed
to install ansible-runner devel as it did before
Revert "Use ansible-runner 2.1.1 build"
This reverts commit f0ede01017 .
Add back in change from updater.sh that we want to keep
2022-01-18 13:00:39 -05:00
Alan Rominger
696c0b0055
Merge pull request #11503 from AlanCoding/no_version
...
Remove unused ansible version method
2022-01-14 22:15:15 -05:00
Jeff Bradberry
bb14a95076
Remove the Instance.objects.active_count() method
...
Literally nothing uses it. The similar Host.objects.active_count()
method seems to be what is actually important for licensing.
2022-01-14 16:21:41 -05:00
Alan Rominger
9664aed1f2
Remove unused ansible version method
2022-01-14 14:55:35 -05:00
Alan Rominger
72cd73ca71
Update to cover stuff from tasks.py changes
2022-01-14 13:42:24 -05:00
Alan Rominger
82671680e3
Respect linter rule F811 for trivial re-definition
2022-01-14 13:23:04 -05:00
Amol Gautam
bff49f2a5f
Merge pull request #11528 from amolgautam25/tasks-refactor-1
...
Refactored 'tasks.py' file into a package
2022-01-14 12:16:32 -05:00
Marcelo Moreira de Mello
59d582ce83
Merge pull request #11530 from ansible/dont_expose_k8s_api_token_by_default
...
Don't expose serviceAccount token on default pod spec
2022-01-14 12:04:14 -05:00
Amol Gautam
a4a3ba65d7
Refactored tasks.py to a package
...
--- Added 3 new sub-package : awx.main.tasks.system , awx.main.tasks.jobs , awx.main.tasks.receptor
--- Modified the functional tests and unit tests accordingly
2022-01-14 11:55:41 -05:00
Kersom
11f4b64229
Modify how manual subform is displayed for projects ( #11509 )
...
Modify how manual subform is displayed for projects - Do not rely on
label that could be translated, rely on the value.
See: https://github.com/ansible/awx/issues/11505
2022-01-14 11:19:10 -05:00
Jeff Bradberry
b76029fac3
Merge pull request #11538 from jbradberry/fix-exact-removals-for-register-peers
...
Fix the logic for register_peers --exact
2022-01-14 09:42:51 -05:00
nixocio
3d45f31536
Update ping endpoint to use last_seen
...
Update ping endpoint to use last_seen, instead of `modified` on
instances `heartbeat`.
See: https://github.com/ansible/awx/issues/11523
2022-01-13 16:46:40 -05:00
Jeff Bradberry
82dca5336d
Fix the logic for register_peers --exact
...
- correctly calculate the extraneous peers
- allow --exact to take an empty set of arguments, to remove all peers
2022-01-13 15:41:45 -05:00
Jeff Bradberry
8c33d0ecbd
Add the mesh_visualizer resource to awxkit
2022-01-13 15:01:54 -05:00
Jeff Bradberry
dea5fd1a9d
Fix a problem with IsSystemAdminOrAuditor for anonymous users
...
It was raising an error, but should really show the message about not
being authenticated.
2022-01-13 14:44:50 -05:00
Jeff Bradberry
6a131f70f0
Require System Admin or Auditor permissions to access the mesh visualizer
2022-01-13 14:13:17 -05:00
Alex Corey
d33a0d5dde
Merge pull request #11454 from AlexSCorey/ReceptorEndPoints
...
Creates end point and beginning of serializer for receptor mesh
2022-01-13 11:51:34 -05:00
Marliana Lara
11cc7e37e1
Add prefiltered link to inventory source sync jobs
2022-01-13 11:48:40 -05:00
Jeff Bradberry
807c58dc36
Fix the loop variable name for the register_peers --exact flag
2022-01-13 11:05:26 -05:00