Ryan Petrello
dc8115681a
bump the migration version number for Centrify
2021-03-17 10:20:11 -04:00
Ryan Petrello
6f0f56f4f6
verify all Centrify HTTPS requests
2021-03-17 10:19:03 -04:00
Ryan Petrello
1b2d457090
fix a bug in the Centrify Vault plugin
2021-03-17 10:19:03 -04:00
Ryan Petrello
764322b87b
more centrify fixes
2021-03-17 10:19:03 -04:00
Asharma-bhavna
51005c0342
Bugs identified during flake8 testing
2021-03-17 10:19:03 -04:00
Asharma-bhavna
cccd021d8b
Removed explicitly calling of python json module
2021-03-17 10:19:03 -04:00
Asharma-bhavna
18752a637f
Code changes suggested by AWX repo reviewer team
2021-03-17 10:19:03 -04:00
surbhijain1502
bbf283d1fd
Change namespace placing in the array
2021-03-17 10:19:03 -04:00
surbhijain1502
f83126643a
Removed account name as secret, query changed
2021-03-17 10:19:03 -04:00
surbhijain1502
d913d622d3
Centrify Vault Plugin
...
To read Inputs and fetch the data from PAS Portal
2021-03-17 10:19:03 -04:00
surbhijain1502
2d0eae26bc
Adding Centrify plugin namespace to test
2021-03-17 10:19:03 -04:00
Jérémie Ben Arros
1550989482
add vault namespace support
2021-03-16 09:27:22 -04:00
Jérémie
d94a49ac74
Update hashivault.py
2021-03-16 09:16:55 -04:00
softwarefactory-project-zuul[bot]
de52adedef
Merge pull request #9584 from shanemcd/explicit-is_container_group
...
Explicit db field for is_container_group
Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
Reviewed-by: Ryan Petrello <None>
2021-03-15 18:57:01 +00:00
Shane McDonald
b15a75676d
Fix container group tests
2021-03-15 13:28:40 -04:00
Shane McDonald
1c4a376758
Explicit db field for is_container_group
...
We now have Container Groups that dont require a credential.
2021-03-15 13:28:39 -04:00
Shane McDonald
836335b4c5
Update inventory_import to run inside of an EE
2021-03-15 12:17:19 -04:00
softwarefactory-project-zuul[bot]
8298b76dff
Merge pull request #9569 from jbradberry/further-fix-for-ee-deletion
...
Undo the polymorphic.SET_NULL for Organization
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2021-03-11 21:47:59 +00:00
Jeff Bradberry
5bec4a51c6
Undo the polymorphic.SET_NULL for Organization
...
It isn't polymorphic.
2021-03-11 15:50:57 -05:00
softwarefactory-project-zuul[bot]
6a296419d2
Merge pull request #9360 from kdelee/log_request_time
...
create performance logger to log api response time
Reviewed-by: Ryan Petrello
https://github.com/ryanpetrello
2021-03-11 20:02:48 +00:00
softwarefactory-project-zuul[bot]
27c56d4148
Merge pull request #9523 from jbradberry/ee-association-rbac
...
Fix the RBAC for attaching an EE to various objects
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2021-03-11 19:34:19 +00:00
softwarefactory-project-zuul[bot]
ae7396b0cf
Merge pull request #9562 from jbradberry/ee-polymorphic-set-null
...
Make sure that EE foreign keys are polymorphic.SET_NULL
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2021-03-11 19:34:08 +00:00
Jeff Bradberry
e31fc37215
Make sure that EE foreign keys are polymorphic.SET_NULL
...
Deleting EEs that had been attached to something was failing.
2021-03-11 11:25:59 -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
Jeff Bradberry
097f465f39
Fix the RBAC for attaching an EE to various objects
...
- Organization.default_environment
- Project.default_environment
- JobTemplate.execution_environment
- WorkflowJobTemplate.execution_environment
System jobs are not editable by anyone other than a system admin, so
we don't need to check. It appears that unified job templates can't
be created or edited outside of the endpoints for the specific types.
2021-03-09 11:00:03 -05:00
softwarefactory-project-zuul[bot]
c9ec0d31f1
Merge pull request #9498 from ryanpetrello/bye-bye-virtualenv
...
remove custom_virtualenv support from the AWX collection and docs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2021-03-06 14:12:32 +00:00
Ryan Petrello
4c60999161
remove custom_virtualenv support from the AWX collection and docs
2021-03-05 15:38:46 -05:00
softwarefactory-project-zuul[bot]
18ba40506f
Merge pull request #9480 from wenottingham/burn-it
...
Remove ansible venvs & collection infrastructure.
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2021-03-05 19:29:05 +00:00
softwarefactory-project-zuul[bot]
2ae82b9302
Merge pull request #9452 from ryanpetrello/rsyslogd-last-ditch
...
make rsyslogd socket emit failures a bit less verbose (but still write to stderr)
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2021-03-05 19:14:33 +00:00
Bill Nottingham
0505e38071
Remove ansible venvs & collection infrastructure.
2021-03-04 13:06:06 -05:00
Rebeccah
4d2fcfd8c1
add a functional test for creating an EE, remove bum copy function because it's not needed, copy works from the base class
...
moved AWXKit pull additions to separate PR and made some changes that were causing linting errors in tests and add copy to show_capabilities for the ee serializer
2021-03-03 18:52:55 -05:00
Rebeccah
0921de5d2b
adding needed url endpoint for copy functionality and the beginning of some testing that can be fleshed out more fully in later work
2021-03-03 18:52:55 -05:00
Shane McDonald
befc658042
Wire up --pull option for EEs
2021-03-03 18:52:55 -05:00
beeankha
60827143bb
Bump up unified_jobs_table version for new column addition
2021-03-03 18:52:55 -05:00
beeankha
5b17ab6873
Enable EE collections info to be loaded as valid JSON vs stringified JSON
2021-03-03 18:52:55 -05:00
beeankha
0e80f663ab
Add installed_collections column to unified job query
2021-03-03 18:52:55 -05:00
beeankha
cb95de0862
Assign entire file path to variable
2021-03-03 18:52:55 -05:00
beeankha
86a3a79be4
Enable utilized EE Collections name and version info to be detected
2021-03-03 18:52:55 -05:00
Jeff Bradberry
b417fc3803
Turn off permissions check bypassing for admins when hitting the execution environment list and detail views.
2021-03-03 18:52:55 -05:00
Jeff Bradberry
5b2adc89cf
Make the managed_by_tower field read-only for EEs (similar to how we deal with it not being settable for Credentials) and add permissions checking for Org EE Admins.
...
can_add: gets an explicit role to check against, `'execution_environment_admin_role'`
can_change: leverages `self.check_related()` for the case where the Org is not changing, but also adds an explicit check for the EE Admin Role when the Org is changing to an explicit different Org.
2021-03-03 18:52:55 -05:00
Rebeccah
41fb21911e
add execution_environment_admin_role to the an organizations read role, which access.py uses for determining access to reading an ee within an organization,
...
add migration file for execution_env_admin role addition to read_roles within an organization,
and set check related to mandatory
2021-03-03 18:52:55 -05:00
Rebeccah
eaa74b40c1
add org admins as able to control EEs even if they don't have the ee_admin role for the specific ee and prevent managed_by_tower EEs from being edited/deleted
2021-03-03 18:52:55 -05:00
Rebeccah
b1361c8fe2
edit original migration file, add blank string as acceptable to model
2021-03-03 18:52:55 -05:00
Rebeccah
20ee73ce73
default pull options for container images to None, also adding pull options to awxkit
2021-03-03 18:52:55 -05:00
Shane McDonald
05ef51f710
Add migration to reset custom pod specs
2021-03-03 18:52:55 -05:00
Rebeccah
4b40cb3abb
changed the field name from 'container_options' to simply 'pull'
2021-03-03 18:52:55 -05:00
Rebeccah
31e7e10f30
migration for container options for EE model
...
Co-authored-by: Shane McDonald <me@shanemcd.com>
2021-03-03 18:52:55 -05:00
Rebeccah
92f0af684c
execution model pull container options added
2021-03-03 18:52:55 -05:00
Shane McDonald
6a7520d10f
Handle quota exceeded in Container Groups v2
2021-03-03 18:52:55 -05:00
Shane McDonald
9f39bab2b8
Quick fix for jobs failing in dev environment / VMs
...
The other alternative here is to go all the way with
https://github.com/ansible/ansible-runner/pull/617 , which is proving to be
difficult if not impossible.
2021-03-03 18:52:55 -05:00