23446 Commits

Author SHA1 Message Date
Ryan Petrello
aa0179690d
expose CredentialType.namespace in the API
see: https://github.com/ansible/awx/issues/3644
2019-04-08 19:02:10 -04:00
softwarefactory-project-zuul[bot]
67aeecdee5
Merge pull request #3637 from ryanpetrello/install-uuid
add a unique UUID for identifying an AWX installation

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-08 20:17:19 +00:00
softwarefactory-project-zuul[bot]
d14b71ccee
Merge pull request #3643 from AlanCoding/cloudforms_py3
Backport fix to run cloudforms script in py3

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-08 18:06:49 +00:00
AlanCoding
47a3ee7d76
backport fix to run cloudforms script in py3 2019-04-08 13:40:44 -04:00
softwarefactory-project-zuul[bot]
a2bfb0f65c
Merge pull request #3633 from AlanCoding/slice_of_one
Avoid slicing if the inventory only has 1 host

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-08 16:57:51 +00:00
Ryan Petrello
fc9da002d2
add an example config file and make target for starting a prometheus 2019-04-08 12:01:46 -04:00
Christian Adams
e1c6057b4c add insights setting to metrics 2019-04-08 11:49:41 -04:00
Wayne Witzel III
520cbd2015 update prometheus run example 2019-04-08 11:47:10 -04:00
Christian Adams
e2039b7d3f add insights setting to metrics 2019-04-08 11:34:38 -04:00
Keith Grant
70137dea5a fix tests for OrganizationTeams, OrganizationTeamsList 2019-04-08 10:59:26 -04:00
Marliana Lara
3d6790a419
Merge pull request #155 from marshmalien/ux-instance-groups-lookup-height
UX - Lookup static height
2019-04-08 10:40:20 -04:00
softwarefactory-project-zuul[bot]
9125313ed3
Merge pull request #3640 from konkolorado/devel
Removes failing symlink to /usr/bin/python3 during the image build

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-08 14:30:49 +00:00
Wayne Witzel III
2c8900568b add prometheus-client license details 2019-04-08 10:21:05 -04:00
Wayne Witzel III
5c1d2a6f0b flake8 cleanup 2019-04-08 09:35:46 -04:00
Wayne Witzel III
bb5c7a98f3 test prometheus metrics output 2019-04-08 09:28:57 -04:00
Christian Adams
3fb3079264 fix job status metric 2019-04-08 02:47:56 -04:00
Wayne Witzel III
c3812de3d6 initial prometheus commit
Co-authored-by: Wayne Witzel III <wayne@riotousliving.com>
Co-authored-by: Christian Adams <rooftopcellist@gmail.com>
2019-04-08 02:47:56 -04:00
Uriel Mandujano
4821a94944 Removes failing symlink to /usr/bin/python3 during the image build
Installing the latest python36-setuptools automatically creates the symlink from python3 -> python3.6 and from python36 -> /usr/bin/python3.6. Building the images fails when the symlink is created explicitly in the AWX installer.

Signed-off-by: Uriel Mandujano <uriel.mandujano14@gmail.com>
2019-04-06 11:13:41 -05:00
Uriel Mandujano
97e030dd1f Revert "Removes failing symlink to /usr/bin/python3 because that file already exists"
This reverts commit 13fadd38380c1e2b7f8f587f90a43e11987e78af.
2019-04-06 11:10:35 -05:00
Ryan Petrello
dfd4cb55e5
add a unique UUID for identifying an AWX installation 2019-04-05 20:10:55 -04:00
Uriel Mandujano
13fadd3838 Removes failing symlink to /usr/bin/python3 because that file already exists 2019-04-05 16:53:20 -05:00
Jeff Byrnes
7b636a7566
Set up HTTPS w/ proper port & HTTP redirect
HTTPS is, by default, expected to be on port 443.

Also, with HSTS set, we need to be sure that users attempting to arrive
via HTTP are properly redirected to HTTPS.

This does so by:

* Setting up a 301 redirect for any URL to its HTTPS version
* Adjusting the internal port for HTTPS traffic to 8053
* Setting docker-compose to share port 443 → 8053
    - This is configurable via an inventory variable
2019-04-05 16:13:23 -04:00
Jeff Byrnes
28e3c63562
Add optional SSL cert to docker-compose install
In #3322, this mount was added, but only to the standalone
Docker install setup:

github.com/ansible/awx/pull/3322/files#diff-596e32ab54a52bfed763f8a639499fe0

This ensures that the SSL cert is loaded when using docker-compose,
which is the only Docker-based method available as of v4.0.0
2019-04-05 16:13:23 -04:00
AlanCoding
cca9de9a3e
set default slice ct for special cases 2019-04-05 16:12:40 -04:00
Marliana Lara
212d3d517d
Replace lookup with patternfly's input group component and 'fix' the height 2019-04-05 15:39:14 -04:00
AlanCoding
880341ac05
avoid slicing if the inventory only has 1 host 2019-04-05 15:28:29 -04:00
softwarefactory-project-zuul[bot]
e9f2fddc7f
Merge pull request #3635 from ryanpetrello/i-am-so-smrt
fix a typo

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 18:57:16 +00:00
Ryan Petrello
a9a479a51b
fix a typo 2019-04-05 14:28:39 -04:00
softwarefactory-project-zuul[bot]
ddcb7d4881
Merge pull request #3634 from ryanpetrello/dashboard-confessionals
fix a small bug related to failed inventory counts in the dashboard API

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 18:24:39 +00:00
Ryan Petrello
cd90ad2497
fix a small bug related to failed inventory counts in the dashboard API 2019-04-05 14:02:19 -04:00
softwarefactory-project-zuul[bot]
e3dfc6c796
Merge pull request #3596 from jbradberry/capture-isolated-command
Updated IsolatedManager to take a callback that captures the remote command

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 17:15:11 +00:00
Alex Corey
09fd8e8106
Merge pull request #141 from AlexSCorey/48-deleteOrgs
Add alert for org. delete.
2019-04-05 12:39:38 -04:00
softwarefactory-project-zuul[bot]
1a151ad63a
Merge pull request #3587 from chrismeyersfsu/fix-pickup_insights_id_from_ansible_facts
pickup insights system_id from ansible facts

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 16:07:21 +00:00
Alex Corey
c0b882d6fb fixes progress bar 2019-04-05 12:01:04 -04:00
softwarefactory-project-zuul[bot]
4095a6c9d4
Merge pull request #3632 from ryanpetrello/duplicate-playbook-stdout
don't write playbook stdout to sys.stdout (it's duplicated in log files)

Reviewed-by: awxbot
             https://github.com/awxbot
2019-04-05 15:50:17 +00:00
softwarefactory-project-zuul[bot]
161fd9cde0
Merge pull request #3460 from vismay-golwala/project_admin_issue
Project admin manual SCM Type creation bug fix

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 15:43:49 +00:00
softwarefactory-project-zuul[bot]
dc77ddbc5b
Merge pull request #3617 from mabashian/jt-enter-toggle
Prevent on/off toggles from getting inadvertently trigged by enter key presses

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 15:31:02 +00:00
Alex Corey
a42a1bfa17 Addresses PR feedback 2019-04-05 11:29:48 -04:00
Ryan Petrello
81fe923577
don't write playbook stdout to sys.stdout (it's duplicated in log files)
this instructs runner to _not_ write to stdout when we invoke
runner.interface.run(); AWX consumes/ingests this strictly as events
2019-04-05 11:20:34 -04:00
softwarefactory-project-zuul[bot]
3521c56baf
Merge pull request #3608 from mabashian/host-filter-quotes
Prevents replacing encoded quotes while searching against host filter

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 15:14:29 +00:00
softwarefactory-project-zuul[bot]
dd609b8a7c
Merge pull request #3622 from wenottingham/roleing-roleing-roleing
Adjust descriptions of RBAC roles for clarity.

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 15:09:42 +00:00
softwarefactory-project-zuul[bot]
ef1a5c09b6
Merge pull request #3510 from jbradberry/errors-on-change-password
Use Django's own logic to invalidate sessions of users when changing passwords

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 14:54:20 +00:00
Keith Grant
89ecddf662 refactor OrganizationTeams/OrganizationTeamsList 2019-04-05 10:52:52 -04:00
mabashian
fa3a41f25b Refresh the page after pendo flag changes to make change effective immediately 2019-04-05 10:48:53 -04:00
Alex Corey
de55ec1688 Add alert for org. delete. 2019-04-05 10:48:51 -04:00
softwarefactory-project-zuul[bot]
50c7807483
Merge pull request #3628 from marshmalien/fix-org-user-linkout
Fix Organization User badge linkout

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 14:37:53 +00:00
chris meyers
531d97d3b3 pickup insights system_id from ansible facts
* Continue to pick up facts from scan_insights.py
* This PR adds the ability to pickup facts from
/etc/ansible/facts.d/insights.facts
* Log what transport the insights system_id was found via
2019-04-05 10:35:56 -04:00
softwarefactory-project-zuul[bot]
d4c69429db
Merge pull request #3624 from ryanpetrello/iso-cleanup-path-changes
update periodic isolated cleanup to match the new paths post-runner

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 14:25:18 +00:00
Marliana Lara
2062124a92
Merge pull request #149 from marshmalien/org-details-ig-show-more-less
Update Org Details UX layout
2019-04-05 10:04:20 -04:00
Marliana Lara
868ad51158
Set static value to const variable 2019-04-05 09:58:19 -04:00