Jim Ladd
8eee0d40dd
revert EC2_INSTANCE_ID_VAR
2020-06-11 09:52:54 -07:00
Jim Ladd
9514adaf3a
wrap --instance-id-var in quotes
2020-06-10 13:55:54 -07:00
Jim Ladd
17eaeb28a8
update VMWARE_INSTANCE_ID_VAR
...
* Favor instanceUuid
* .. but fall back to instanceuuid if necessary
2020-06-10 13:30:05 -07:00
AlanCoding
1dd9772e41
Allow use of fallback instance_ids
2020-06-09 22:51:42 -07:00
Jake McDermott
ee6f03515e
Merge pull request #4340 from jakemcdermott/fix-4336
...
[3.7.1] Enable management job notications for admins
2020-06-09 16:27:07 -04:00
Jake McDermott
16f81154c0
Merge pull request #4338 from mabashian/4334-backport-v2
...
[3.7.1] Fixes bug where all_parents_must_converge was not being set for new or existing approval nodes
2020-06-09 15:36:40 -04:00
Ryan Petrello
1d7e2a82c6
Merge pull request #4393 from kdelee/backport_dont_block_log_send
...
[3.7.1] don't block on log aggregator socket.send() calls
2020-06-09 14:49:43 -04:00
Ryan Petrello
b7ac5f0ffb
Merge pull request #4395 from fosterseth/fix-parents_converge_settable_api_backport
...
[backport] Make all_parents_must_converge settable when creating node
2020-06-09 11:29:34 -04:00
Seth Foster
0e5f68ef53
Make all_parents_must_converge settable when creating node
...
When targeting, ../workflow_job_templates/id#/workflow_nodes/ endpoint,
user could not set all_parents_must_converge to true.
3.7.1 backport for awx issue #7063
2020-06-09 11:07:22 -04:00
Ryan Petrello
a057a2e056
Merge pull request #4394 from ryanpetrello/mattermost-371
...
Send content-type with mattermost notifications, fixes #7264
2020-06-09 10:35:55 -04:00
Florian Apolloner
e9e410f4f8
Send content-type with mattermost notifications, fixes #7264
2020-06-09 10:32:32 -04:00
Ryan Petrello
71cc359ccf
don't block on log aggregator socket.send() calls
...
see: https://github.com/ansible/tower/issues/4391
2020-06-09 10:10:32 -04:00
Chris Meyers
37c1c33ecd
Merge pull request #4389 from chrismeyersfsu/fix-run_wsbroadcast_status_3_7_1
...
awx-manage run_wsbroadcast --status doesn't work in openshift
2020-06-08 20:18:32 -04:00
chris meyers
2f7ba75ae4
track stats by hostname not remote host/ip
...
* broadcast websockets have stats tracked (i.e. connection status,
number of messages total, messages per minute, etc). Previous to this
change, stats were tracked by ip address, if it was defined on the
instance, XOR hostname. This changeset tracks stats by hostname.
2020-06-08 16:35:17 -04:00
chris meyers
9c20b9412a
delete and re-add host when ip address changes
...
* The websocket backplane interconnect is done via ip address for
Kubernetes and OpenShift. On init run_wsbroadcast reads all Instances
from the DB and makes a decision to use the ip address or the hostname
based, with preference given to the ip address if defined. For
Kubernetes and OpenShift the nodes can load the Instance before the
ip_address is set. This would cause the connection to be tried by
hostname rather than ip address. This changeset ensures that an ip
address set after an Instance record is created will be detected and
used.
2020-06-08 16:34:51 -04:00
Ryan Petrello
99c0a954e4
Merge pull request #4384 from ryanpetrello/rsyslog-chmod
...
properly write rsyslog configuration as 0640
2020-06-08 14:05:18 -04:00
Jim Ladd
0a0735344e
Merge pull request #4342 from jladdjr/foreman_group_prefix_should_apply_to_all_groups_3.7.1
...
foreman: use group_prefix for all groups (release_3.7.1)
2020-06-05 15:25:22 -07:00
Jim Ladd
9ae344b772
foreman: use group_prefix for all groups
...
* awx's "compatibility layer" for the foreman plugin had the
group_prefix hard-coded to 'foreman_'
2020-06-05 14:44:55 -07:00
Jim Ladd
0c4adfb32e
Merge pull request #4387 from jladdjr/bump_foreman_collection_0.8.1
...
Bump foreman collection to 0.8.1
2020-06-05 12:10:22 -07:00
Jim Ladd
4ce37ec849
Bump foreman collection to 0.8.1
...
* New release includes:
'add host_filters and want_ansible_ssh_host like script used to have'
2020-06-05 11:13:01 -07:00
Ryan Petrello
c53e5bdbcf
properly write rsyslog configuration as 0640
...
see: https://github.com/ansible/tower/issues/4383
2020-06-04 15:12:09 -04:00
Christian Adams
e0032f7705
Merge pull request #4367 from rooftopcellist/sumologic_conf
...
Correctly parse sumologic url paths
2020-06-01 01:36:20 -04:00
Christian Adams
ed05ce164f
Merge pull request #4377 from rooftopcellist/cleanup_flake8
...
Fix misc. linter errors due to the flake8-3.8.1 release
2020-05-29 19:29:17 -04:00
Christian Adams
d98f2714cb
Merge pull request #4376 from rooftopcellist/rm_label_3.7.1
...
Fix 500 on Label Removal for WFJT's [3.7.1]
2020-05-29 18:11:45 -04:00
beeankha
85426f76a5
Fix misc. linter errors due to the flake8-3.8.1 release
...
- [Ref] https://flake8.pycqa.org/en/latest/release-notes/
2020-05-29 17:58:27 -04:00
Christian Adams
c48da1b384
allow org admins to remove labels
2020-05-29 15:12:35 -04:00
Christian Adams
aec7d3cc93
Correctly parse sumologic url paths
...
- Sumologic includes a token with a '==' at the end of it's host path.
This adds rsyslog conf parsing tests and does not escape equals
signs.
2020-05-27 13:05:31 -04:00
Ryan Petrello
bd23c41d25
Merge pull request #4361 from ryanpetrello/venv-try-except
...
[3.7.1] backport a change to address venv permission issues
2020-05-26 11:31:16 -04:00
gamuniz
563d3944ed
removed pass per feedback
2020-05-26 11:21:58 -04:00
Gabe Muniz
492d01ff3b
added try/except to virtual env
2020-05-26 11:21:49 -04:00
Elijah DeLee
3ded30411f
Merge pull request #4341 from kdelee/backport_host_summary_optimization_3.7.1
...
Backport host summary optimization 3.7.1
2020-05-21 13:37:16 -04:00
Bill Nottingham
b38c62d37f
Merge pull request #4353 from wenottingham/analytics-skip-3.7.1
...
Always check configuration before gathering data.
2020-05-21 13:23:08 -04:00
Bill Nottingham
4c499b2d80
Always check configuration before gathering data.
...
We shouldn't perform expensive operations if we won't be able to send it.
Only log at debug level, otherwise every node will log this every 5
minutes.
2020-05-20 17:24:38 -04:00
Ryan Petrello
3d02bd7a90
Merge pull request #4350 from ryanpetrello/371-os-walkdir-recursive
...
Revert "follow symlinks while discovering valid playbooks"
2020-05-20 16:50:28 -04:00
Ryan Petrello
71257c18c2
Revert "follow symlinks while discovering valid playbooks"
...
This reverts commit 3dd21d720eb5351e63f9f31c4e601a67965dac56.
2020-05-20 16:47:38 -04:00
Ryan Petrello
d85df2e4a1
further optimize job host summary queries
2020-05-19 13:00:12 -04:00
Ryan Petrello
59d457207c
properly update .failed, .last_job_id, and last_job_host_summary
2020-05-19 13:00:05 -04:00
Ryan Petrello
3ea642f212
properly handle host summary bulk updates if hosts go missing
2020-05-19 13:00:00 -04:00
Ryan Petrello
b6d3c3c1a3
drastically optimize job host summary creation
...
see: https://github.com/ansible/awx/issues/6991
2020-05-19 12:59:54 -04:00
Jake McDermott
b83db0500f
Enable management job notications for admins
2020-05-19 10:52:09 -04:00
mabashian
c4d9b81c55
Fixes bug where all_parents_must_converge was not being set for new or existing approval nodes.
2020-05-18 15:16:05 -04:00
Shane McDonald
cdfc9e05d4
Fix offline RHEL 8 builds
...
This was causing our EL8 Brew builds to break, because it wasn't being
vendored. This is in fact required for python3. It was being resolved as a
dependency of other things (see list at end of line), so it was being downloaded
on-the-fly since our normal builds have internet access. It only broke when it
wasn't vendored for offline builds.
2020-05-15 17:52:08 -04:00
Shane McDonald
c3ff7ab247
Do not start services when generating swagger docs
2020-05-12 16:35:09 -04:00
Christian Adams
a38a7ad9b6
Merge pull request #4327 from ansible/i18n_release_3.7.0_translations
...
UI translation strings for release_3.7.0 branch
2020-05-12 11:10:07 -04:00
ansible-translation-bot
732f2fb828
UI translation strings for release_3.7.0 branch
2020-05-12 13:15:21 +00:00
Alan Rominger
2e2fe40d2a
Add options to ovirt inventory file ( #4307 )
...
fixes schema differences from script
add back in default groups from script
change hostnames to reflect script
add in some hostvars
Generally allow giving plugin options from source variables
allows testing with insecure connection with ovirt_insecure
this is a behavior change from the script
2020-05-11 22:45:19 -04:00
Bill Nottingham
d96fd7e06f
Merge pull request #4322 from wenottingham/the-girl-with-the-pycurl
...
Don't uninstall pycurl, but do build it from source.
2020-05-11 16:39:39 -04:00
Chris Meyers
cb7036382b
Merge pull request #4320 from chrismeyersfsu/fix-ws_group_timeout
...
cleanup channel groups on start
2020-05-11 15:52:04 -04:00
Bill Nottingham
725437571d
Set a default pycurl SSL backend.
2020-05-11 15:25:44 -04:00
Bill Nottingham
345f1db994
Don't uninstall pycurl, but do build it from source.
...
oVirt requires something newer, but we can't use the wheel.
2020-05-11 13:11:19 -04:00