Ryan Petrello
caa55f112f
add robust handling of non-UTF8 when detecting inventory/playbooks
2019-01-19 13:25:41 -05:00
softwarefactory-project-zuul[bot]
fbc7f496c5
Merge pull request #3024 from ryanpetrello/ldap-gc-deadlock
...
fix a deadlock when Python garbage collects LDAPBackend objects
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 19:25:11 +00:00
John Mitchell
bb19a4234e
Merge pull request #3003 from jlmitch5/newSettingsInUI
...
add new settings to ui
2019-01-18 14:20:31 -05:00
softwarefactory-project-zuul[bot]
11f7e90f6a
Merge pull request #3025 from ryanpetrello/django-cors-headers
...
add Django CORS middleware
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 18:47:14 +00:00
John Mitchell
2df51a923d
change grant reference to code in ui help text
2019-01-18 13:13:15 -05:00
Tyler Cross
0da0a8e67b
CORS Support
...
Added the django-cors-headers app and middleware to make CORS possible.
2019-01-18 12:49:00 -05:00
John Mitchell
b75ba7ebea
remove auth misc form and move fields under system misc form
2019-01-18 12:43:21 -05:00
John Mitchell
24de951f6c
add access token and authorization code expiration settings to ui
2019-01-18 12:43:21 -05:00
John Mitchell
974306541e
add isolated settings to ui
2019-01-18 12:43:21 -05:00
softwarefactory-project-zuul[bot]
d2fa5cc182
Merge pull request #3013 from ryanpetrello/ansible-py3-venv
...
add support for custom py3 ansible virtualenvs
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 16:29:27 +00:00
Ryan Petrello
e45e4b3cda
fix a deadlock when Python garbage collects LDAPBackend objects
...
we shouldn't call signal.disconnect in __del__ because it can lead to
deadlocks in Django signal dispatch code
The Signal.connect, Signal.disconnect, and Signal._live_receivers
methods all share a threading.Lock():
22a60f8d0b/django/dispatch/dispatcher.py (L49)
It's possible for this to lead to a deadlock:
1. Have code that calls Signal._live_receivers and enter the critical
path inside the shared threading.Lock()
2. Python garbage collection occurs and finds one or more LDAPBackend
objects with no more references
3. This __del__ is called, which calls Signal.disconnect
4. Code in Signal._disconnect attempts to obtain the (already held)
threading.Lock
5. Python hangs forever while attempting to garbage collect
2019-01-18 11:27:50 -05:00
Ryan Petrello
65641c7edd
add support for custom py3 ansible virtualenvs
2019-01-18 10:55:53 -05:00
softwarefactory-project-zuul[bot]
5f01c3f5a8
Merge pull request #2994 from coreywan/pod-limits
...
Add POD Limits
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 04:28:11 +00:00
softwarefactory-project-zuul[bot]
7b39198f26
Merge pull request #2995 from coreywan/postgres_helm
...
adds persistence.storageClass and limits to postgress helm install
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 04:24:18 +00:00
softwarefactory-project-zuul[bot]
f583dd73e8
Merge pull request #3008 from AlanCoding/inv_cleanup2
...
Remove deprecated logic & components from inventory import command
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-17 19:23:02 +00:00
softwarefactory-project-zuul[bot]
57b8aa4892
Merge pull request #3002 from themr0c/pg_password_10_character_limit
...
pg_password should be random 10 character alphanumeric string, when p…
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-17 18:15:38 +00:00
softwarefactory-project-zuul[bot]
474876872e
Merge pull request #2999 from themr0c/issue-2991
...
related #2991 - Helm creation of postgreql on multiple namespaces
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-17 14:28:05 +00:00
softwarefactory-project-zuul[bot]
3eaed52b83
Merge pull request #3017 from ryanpetrello/beat-shelve-error
...
close the persistent shelve when we're done checking it
Reviewed-by: Alan Rominger <arominge@redhat.com>
https://github.com/AlanCoding
2019-01-17 13:46:09 +00:00
AlanCoding
28822d891c
remove unneeded steps in inventory import
...
Delete some cases that directly loads scripts due
to ansible-inventory group_vars problem (now fixed)
Delete intermediate method that was a go-between the
command and the loader class
Change return type of loader from MemInventory to
a simple python dict
remove backport script and star imports
2019-01-17 08:44:55 -05:00
Ryan Petrello
37dbfa88f9
close the persistent shelve when we're done checking it
...
this code was added to detect celerybeat shelve .db corruption, but it caused a different issue; opening the shelve in this way puts a write lock on it, which means that when we attempt to open it _again_ moments later, we can't.
when we're done checking the validity of the file, we need to close it
2019-01-17 08:20:21 -05:00
Fabrice Flore-Thebault
b6c30e8ef5
it's a limitation of the official postgres helm chart
...
Signed-off-by: Fabrice Flore-Thebault <themr0c@users.noreply.github.com>
2019-01-17 12:56:17 +01:00
Fabrice Flore-Thebault
d938c96a76
pg_password should be random 10 character alphanumeric string, when postgresql is running on kubernetes
...
Signed-off-by: Fabrice Flore-Thebault <themr0c@users.noreply.github.com>
2019-01-17 12:56:06 +01:00
softwarefactory-project-zuul[bot]
4ce18618cb
Merge pull request #3014 from jakemcdermott/skip-ui-release-chromium-download
...
skip chromium download when using ui-release make target
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-17 04:58:22 +00:00
Jake McDermott
6c7f11395b
skip chromium download when building release
2019-01-16 20:48:12 -05:00
softwarefactory-project-zuul[bot]
134950ade1
Merge pull request #3006 from ansible/documentation
...
Documentation of E2E test fixtures, etc.
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-16 23:43:46 +00:00
Daniel Sami
7258a43bad
rewording, typo corrections
2019-01-17 08:28:22 +09:00
Ryan Petrello
27f98163ff
Merge pull request #3012 from ryanpetrello/fix-swagger-key-ordering
...
enforce key order when writing swagger docs JSON
2019-01-16 16:43:43 -05:00
Ryan Petrello
6d04bd34ce
enforce key order when writing swagger docs JSON
2019-01-16 16:00:27 -05:00
softwarefactory-project-zuul[bot]
584ec9cf75
Merge pull request #2538 from ryanpetrello/py3
...
port awx to run natively on python3.6+
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-16 19:39:14 +00:00
Corey Wanless
aebeeb170e
adds pod limits
...
Signed-off-by: Corey Wanless <corey.wanless@wwt.com>
2019-01-16 09:23:18 -06:00
Fabrice Flore-Thebault
c434d38876
adding helm chart version for postgresql
...
Signed-off-by: Fabrice Flore-Thebault <themr0c@users.noreply.github.com>
2019-01-16 09:40:49 +01:00
Daniel Sami
ae3ab89515
lint fix
2019-01-16 11:06:25 +09:00
Daniel Sami
0c250cd6af
Updated parameter info
2019-01-16 10:44:22 +09:00
Ryan Petrello
33c1416f6c
work around a py3 bug in celerybeat
2019-01-15 15:19:02 -05:00
Ryan Petrello
3d7fcb3835
fix a few isolated issues related to the py2 -> py3 move
2019-01-15 14:09:05 -05:00
Shane McDonald
04da4503db
Python 3 / Upstream Kubernetes
2019-01-15 14:09:05 -05:00
Ryan Petrello
2016798e0f
fix a few UTF-8 bugs on Ubuntu related to stdout text downloads
2019-01-15 14:09:05 -05:00
Ryan Petrello
39d119534c
support isolated runs in py2 *and* py3 (for now)
...
once we merge in runner support for isolated environments, we can
revert this commit (because we'll always run isolated code using python3
executables)
2019-01-15 14:09:05 -05:00
Shane McDonald
d273472927
Enable py3 SCL if needed
2019-01-15 14:09:05 -05:00
Shane McDonald
5aa99b2ca1
Dependency updates for Python 3
2019-01-15 14:09:05 -05:00
Ryan Petrello
96b9bd6ab6
make py3 packaging work for k8s
2019-01-15 14:09:05 -05:00
Author: Jim Ladd
2c5bdf3611
fix some isolated py3 bugs
2019-01-15 14:09:05 -05:00
Ryan Petrello
af4234556e
remove dm.xmlsec.binding
...
python-saml uses dm.xmlsec.binding only supports python2
by moving to py3, we now use python3-saml (which uses python-xmlsec
instead)
see: https://github.com/onelogin/python-saml/issues/145#issuecomment-222021691
2019-01-15 14:09:05 -05:00
Ryan Petrello
c6482137d1
parametrize PYTHON for Ubuntu py35 support
2019-01-15 14:09:05 -05:00
Ryan Petrello
f223df303f
convert py2 -> py3
2019-01-15 14:09:01 -05:00
Ryan Petrello
f132ce9b64
switch image builds to py3
2019-01-15 13:25:13 -05:00
softwarefactory-project-zuul[bot]
f22fd58392
Merge pull request #3007 from AlanCoding/test_logging
...
Updates to logging, specifically for unit tests
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-15 18:19:58 +00:00
AlanCoding
cccc038600
Updates to logging, specifically for unit tests
2019-01-15 11:34:54 -05:00
softwarefactory-project-zuul[bot]
b9607dd415
Merge pull request #2983 from mabashian/upgrade-jquery-mabashian
...
Upgrades jQuery and Bootstrap
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-15 14:06:33 +00:00
Fabrice Flore-Thebault
7b32262f75
revert pg_hostname
...
Signed-off-by: Fabrice Flore-Thebault <themr0c@users.noreply.github.com>
2019-01-15 14:59:17 +01:00