Ryan Petrello
588cb1e403
fix some requirements updater breakage
...
- remove requirements_ansible logic from the update script
- removed the need for py2-specific system dependencies
- update to the latest pip-tools and move to the new long format
(https://github.com/jazzband/pip-tools/pull/1237 )
- fixed a few busted references to receptorctl @ devel
2021-03-11 11:54:01 -05:00
Ryan Petrello
572c0fbb74
clean stale dispatcher connections closer to post-fork
...
see: https://github.com/ansible/awx/issues/9559
2021-03-11 11:14:13 -05:00
Ryan Petrello
269e71c069
clarify this migration is only for 17.x -> 18.x
2021-03-10 09:41:50 -05:00
Ryan Petrello
b6eeb2e77f
restore note about cloning the stable release branch for Docker installs
2021-03-09 12:09:11 -05:00
Ryan Petrello
58337b9e2e
update the changelog w/ notes for 17.1.0
2021-03-09 10:58:50 -05:00
Ryan Petrello
4c60999161
remove custom_virtualenv support from the AWX collection and docs
2021-03-05 15:38:46 -05:00
Ryan Petrello
53d8e8b332
point people at install instructions for older stable releases
2021-03-05 11:38:19 -05:00
Ryan Petrello
f850f8d3e0
introduce a new global flag for denoating K8S-based deployments
...
- In K8S-based installs, only container groups are intended to be used
for playbook execution (JTs, adhoc, inventory updates), so in this
scenario, other job types have a task impact of zero.
- In K8S-based installs, traditional instances have *zero* capacity
(because they're only members of the control plane where services
- http/s, local control plane execution - run)
- This commit also includes some changes that allow for the task manager
to launch tasks with task_impact=0 on instances that have capacity=0
(previously, an instance with zero capacity would never be selected
as the "execution node"
This means that when IS_K8S=True, any Job Template associated with an
Instance Group will never actually go from pending -> running (because
there's no capacity - all playbooks must run through Container Groups).
For an improved ux, our intention is to introduce logic into the
operator install process such that the *default* group that's created at
install time is a *Container Group* that's configured to point at the
K8S cluster where awx itself is deployed.
2021-03-03 18:52:55 -05:00
Ryan Petrello
efe03c396b
add some new fancy badges
2021-03-03 16:27:04 -05:00
Ryan Petrello
4456ae2d71
if rsyslogd cannot be reached, note the failure in sys.stderr
...
see: https://github.com/ansible/awx/issues/8505
2021-03-03 09:46:33 -05:00
Ryan Petrello
c245abefcb
some more data migration notes
...
some things I noticed while going through an upgrade
2021-02-23 17:23:37 -05:00
Ryan Petrello
be79b6e907
build images using Buildkit
2021-02-23 09:32:00 -05:00
Ryan Petrello
3cc3cf1f80
add a per-request GUID and log as it travels through background services
...
see: https://github.com/ansible/awx/issues/9329
2021-02-17 12:54:13 -05:00
Ryan Petrello
d365705e05
Revert "Remove old logo"
...
This reverts commit b24a1746ae .
2021-02-01 16:00:07 -05:00
Ryan Petrello
2017504c51
expose active host count on the Organization detail view
2021-01-22 13:42:27 -05:00
Ryan Petrello
16848e9154
stop detecting the need for event data migration
...
related: https://github.com/ansible/awx/issues/6010
as noted in the comment removed from this diff, it's probably time
to stop calling this function on every dispatcher service restart
2021-01-22 09:22:00 -05:00
Ryan Petrello
3e03c726cb
Merge pull request #9133 from ryanpetrello/more-changelog-bits
...
Change the 17.0.0 date and make room for a bit more to land.
2021-01-22 01:11:39 -05:00
Ryan Petrello
67066a3fa5
Change the 17.0.0 date and make room for a bit more to land.
2021-01-21 17:12:25 -05:00
Ryan Petrello
c77ca928cc
Bump version to 17.0.0
2021-01-21 15:31:46 -05:00
Ryan Petrello
b744c4ebb7
further optimize callback receiver buffering for certain situations
...
see: https://github.com/ansible/awx/issues/9085
2021-01-14 17:17:12 -05:00
Ryan Petrello
b24a1746ae
Remove old logo
2021-01-13 13:55:45 -05:00
Ryan Petrello
b3d4b57ae9
don't record AUTOMATION_ANALYTICS_LAST_GATHER updates
...
this is noisy in the activity stream
2021-01-12 11:21:11 -05:00
Ryan Petrello
f40ee7ca15
pin pip-tools for now
...
a new version of pip-tools changed the format of dependency annotations
in generated requirements.txt files
we should probably change to the new format at some point, but maybe
*after* we merge a few of our long-running branches that touch these
files (otherwise, managing conflicts could be pretty hellish)
2021-01-05 10:45:40 -05:00
Ryan Petrello
5f6a383ebe
Bump version to 16.0.0
2020-12-10 12:12:51 -05:00
Ryan Petrello
3d5f28f790
Introduce a strict Content-Security-Policy
2020-12-08 13:25:46 -05:00
Ryan Petrello
72c3339719
correct a note about TZID support
2020-12-01 09:10:03 -05:00
Ryan Petrello
adfd8ed26b
forcibly close DB and cache socket connection post-fork
...
we've seen evidence of a race condition on fork for awx.conf.Setting
access; in the past, we've attempted to solve this by explicitly closing
connections pre-fork, but we've seen evidence that this isn't always
good enough
this patch is an attempt to close connections post-fork so that sockets
aren't inherited post fork, leading to bizarre race conditions in
setting access
2020-11-12 15:13:16 -05:00
Ryan Petrello
32e149c76e
Merge branch 'downstream' into devel
2020-11-11 13:30:28 -05:00
Ryan Petrello
4d8176e6af
Merge remote-tracking branch 'downstream' into downstream
2020-11-11 13:30:21 -05:00
Ryan Petrello
ddd109059f
Merge pull request #4682 from wenottingham/subs-corner-cases
...
Use the exported count in the manifest for the node count, if present.
2020-11-11 13:13:01 -05:00
Ryan Petrello
40a10dcc5f
removed unused analytics metrics
2020-11-11 09:56:20 -05:00
Ryan Petrello
454c8e66e0
Merge pull request #4678 from beeankha/delete_cloudforms_from_collections
...
Remove Cloudforms as a credential type from collections
2020-11-10 17:12:16 -05:00
Ryan Petrello
fabd2eec63
avoid breaking upgrades from certain AWX versions
...
the prior version of this migration was rewritten, so we should
run the function again to really make sure that cleanup happens
2020-11-10 15:18:49 -05:00
Ryan Petrello
d653c05da8
Merge branch 'downstream' into devel
2020-11-06 13:22:26 -05:00
Ryan Petrello
33f3ad17cb
Merge pull request #4671 from ryanpetrello/cloudforms-minus-minus
...
entirely remove CloudForms inventory sources instead of converting
2020-11-06 11:30:23 -05:00
Ryan Petrello
52d9fbce73
update cloudforms-specific tests
2020-11-06 10:39:14 -05:00
Ryan Petrello
0b701b3b24
entirely remove CloudForms inventory sources instead of converting
2020-11-06 01:02:55 -05:00
Ryan Petrello
b8f1fa1a13
Merge pull request #4666 from ryanpetrello/dont-test-me
...
update a janky old test
2020-11-05 13:36:24 -05:00
Ryan Petrello
662ee6fa36
update a janky old test
...
UJT list views don't work this way anymore after
a929e82060
2020-11-05 12:29:06 -05:00
Ryan Petrello
e9f1f8c6fe
Merge pull request #4670 from wenottingham/pendoh-no
...
Put everyone in the 'anonymous' pendo bucket regardless of setting
2020-11-05 08:36:13 -05:00
Ryan Petrello
e406e4298b
Merge pull request #4660 from beeankha/fix_import_export_failures
...
Change import/export Collections Module to Detect Errors vs Warnings
2020-11-04 09:59:25 -05:00
Ryan Petrello
35eda3a9a7
Merge pull request #4664 from ryanpetrello/pin-collections-requirements
...
pin known working collections in 3.8.0
2020-11-03 15:23:29 -05:00
Ryan Petrello
ac4b38bc30
Merge remote-tracking branch 'downstream/release_3.8.0' into devel
2020-11-03 15:11:50 -05:00
Ryan Petrello
439302b38e
pin known working collections in 3.8.0
2020-11-03 14:26:31 -05:00
Ryan Petrello
4a75ae9869
allow deleting NotificationTemplates w/ old pending notifications
...
see: https://github.com/ansible/awx/issues/8525
2020-11-03 11:09:30 -05:00
Ryan Petrello
3ce9a778f8
fix busted webhook notifications
...
whoops, I broke it
2020-10-30 16:40:02 -04:00
Ryan Petrello
94b6b31185
fix a minor bug in the way we report certain license upload errors
2020-10-30 16:40:02 -04:00
Ryan Petrello
23f1cea29b
correct manifest argument spec for the tower_license module
2020-10-30 16:40:01 -04:00
Ryan Petrello
f9511ed7da
fix a typo in the tower_license module documentation
2020-10-30 16:40:01 -04:00
Ryan Petrello
478111e7df
cut down on queries necessary to generate the X-API-Product-Name header
2020-10-30 16:40:00 -04:00
Ryan Petrello
e50c2c2867
warn about legacy license usage in the licensing UI
2020-10-30 16:40:00 -04:00
Ryan Petrello
7f9784c443
clarify that the manifest file is a .zip file
2020-10-30 16:40:00 -04:00
Ryan Petrello
1294efdeb9
consolidate a few license code function calls
2020-10-30 16:40:00 -04:00
Ryan Petrello
c139a998b8
simplify how awx "open" licensing works
2020-10-30 16:39:59 -04:00
Ryan Petrello
e591f1f002
update the tower_license module to properly upload manifests
2020-10-30 16:39:59 -04:00
Ryan Petrello
0ddf47740c
fix incorrect detection of license on inventory updates
2020-10-30 16:39:59 -04:00
Ryan Petrello
74c7883b3b
cleanup more old licensing cruft
2020-10-30 16:39:58 -04:00
Ryan Petrello
0a36959ef1
clarify some Sat6 verbiage in the license screen
2020-10-30 16:39:58 -04:00
Ryan Petrello
2ae429b4ac
remove unnneeded licenses
2020-10-30 16:39:58 -04:00
Ryan Petrello
13f2e90a82
change rhsm candlepin crt location
2020-10-30 16:39:58 -04:00
Ryan Petrello
74ad1f36ac
remove some entitlements config we no longer need
2020-10-30 16:39:58 -04:00
Ryan Petrello
86d0ee590f
clarify messaging and behavior when subscription-manager isn't installed
2020-10-30 16:39:57 -04:00
Ryan Petrello
3bb930c769
cleanup up some unused code/comments, and simplify the license migration
2020-10-30 16:39:57 -04:00
Ryan Petrello
ef43d85271
remove Organization label from RHSM/Sat6 license form
2020-10-30 16:39:57 -04:00
Ryan Petrello and Christian Adams
927b055e65
change license uploading to parse RHSM manifests
...
Co-authored-by: Christian Adams <chadams@redhat.com >
2020-10-30 16:39:57 -04:00
Ryan Petrello and Christian Adams
4445d096f5
reimplement licensing to work with RHSM and entitlement uploads
...
Co-authored-by: Christian Adams <chadams@redhat.com >
2020-10-30 16:39:57 -04:00
Ryan Petrello
df874966a6
fix a display bug in webhook notifications with unicode characters
...
see: https://github.com/ansible/awx/issues/7400
2020-10-30 16:39:56 -04:00
Ryan Petrello
b9bce03f71
fix a test related to proximity to the DST boundary
...
technically speaking, this test could still fail on the Saturday before
DST boundaries
...but I don't care
2020-10-30 16:10:07 -04:00
Ryan Petrello
024d148b7f
Merge pull request #4648 from rebeccahhh/non_admin_jt_copy
...
Allow user to copy job templates as permissions intended
2020-10-30 15:46:58 -04:00
Ryan Petrello
8775afc5ea
Merge pull request #4656 from ryanpetrello/ryan-broke-webhooks
...
fix busted webhook notifications
2020-10-30 13:09:46 -04:00
Ryan Petrello
2f738415b8
fix busted webhook notifications
...
whoops, I broke it
2020-10-30 13:05:37 -04:00
Ryan Petrello
57cd474beb
Merge pull request #4634 from ryanpetrello/licensing-rhsm-changes-380
...
reimplement licensing to work with RHSM and entitlement uploads
2020-10-30 13:03:08 -04:00
Ryan Petrello
a75874a5d0
Merge pull request #4650 from jbradberry/tower-instance-group-absent
...
Fix a typo in checking the 'absent' state for the tower_instance_group module
2020-10-28 14:38:01 -04:00
Ryan Petrello
98d2e1a898
Merge pull request #4622 from jbradberry/import-export-groups-hosts
...
Rework the export of full dependent objects
2020-10-28 13:55:12 -04:00
Ryan Petrello
e5c0889361
Merge pull request #4649 from ryanpetrello/webhook-unicode-bug
...
fix a display bug in webhook notifications with unicode characters
2020-10-28 13:08:15 -04:00
Ryan Petrello
41d3b164ea
fix a display bug in webhook notifications with unicode characters
...
see: https://github.com/ansible/awx/issues/7400
2020-10-28 13:03:34 -04:00
Ryan Petrello
ee06df97a4
fix a minor bug in the way we report certain license upload errors
2020-10-28 09:58:39 -04:00
Ryan Petrello
e0af178968
fix a minor bug introduced in Project save validation
2020-10-27 15:42:36 -04:00
Ryan Petrello
22e68fe973
correct manifest argument spec for the tower_license module
2020-10-27 09:09:39 -04:00
Ryan Petrello
b7f1393c33
fix a typo in the tower_license module documentation
2020-10-26 10:18:58 -04:00
Ryan Petrello
6097066cd8
Merge branch 'downstream' into devel
2020-10-26 09:32:00 -04:00
Ryan Petrello
048e35850a
cut down on queries necessary to generate the X-API-Product-Name header
2020-10-26 09:19:46 -04:00
Ryan Petrello
942d7ccfc6
warn about legacy license usage in the licensing UI
2020-10-23 11:42:35 -04:00
Ryan Petrello
b36afa3c3e
clarify that the manifest file is a .zip file
2020-10-23 11:08:50 -04:00
Ryan Petrello
3fe9d1c096
consolidate a few license code function calls
2020-10-23 11:05:08 -04:00
Ryan Petrello
7c63a6592e
simplify how awx "open" licensing works
2020-10-23 10:56:19 -04:00
Ryan Petrello
1f0b1923d7
update the tower_license module to properly upload manifests
2020-10-23 10:30:51 -04:00
Ryan Petrello
91f72672a1
fix incorrect detection of license on inventory updates
2020-10-22 16:07:28 -04:00
Ryan Petrello
2df924ae78
cleanup more old licensing cruft
2020-10-22 14:37:26 -04:00
Ryan Petrello
be5ff0a088
clarify some Sat6 verbiage in the license screen
2020-10-22 14:32:03 -04:00
Ryan Petrello
d8514851bf
remove unnneeded licenses
2020-10-22 14:29:34 -04:00
Ryan Petrello
849079316a
change rhsm candlepin crt location
2020-10-22 14:08:19 -04:00
Ryan Petrello
f266325fb0
remove some entitlements config we no longer need
2020-10-22 13:46:36 -04:00
Ryan Petrello
0c63e6a624
clarify messaging and behavior when subscription-manager isn't installed
2020-10-22 13:20:55 -04:00
Ryan Petrello
fcf56b4ba6
cleanup up some unused code/comments, and simplify the license migration
2020-10-22 11:56:47 -04:00
Ryan Petrello
afc028147a
remove Organization label from RHSM/Sat6 license form
2020-10-22 11:56:47 -04:00
Ryan Petrello and Christian Adams
a7c7ac714f
change license uploading to parse RHSM manifests
...
Co-authored-by: Christian Adams <chadams@redhat.com >
2020-10-22 11:56:41 -04:00
Ryan Petrello and Christian Adams
ffab48c77f
reimplement licensing to work with RHSM and entitlement uploads
...
Co-authored-by: Christian Adams <chadams@redhat.com >
2020-10-22 11:10:28 -04:00
Ryan Petrello
a26d20cbf2
Merge pull request #4631 from ryanpetrello/galaxy-creds-cli
...
allow the CLI to associate Galaxy credentials to Organizations
2020-10-21 10:40:55 -04:00
Ryan Petrello
c373d5307f
allow the CLI to associate Galaxy credentials to Organizations
...
$ awx organizations associate Default --galaxy_credential "Ansible Galaxy"
2020-10-21 09:39:33 -04:00