Commit Graph
100 Commits
Author SHA1 Message Date
Shane McDonald 5adfacba64 Merge pull request #10321 from kdelee/management_cmd_ee_creds
Create default EE in seperate awx-managment cmd
2021-06-02 18:37:52 -04:00
Shane McDonald 52eeace20f Register default EEs when booting dev env 2021-06-02 18:19:41 -04:00
Shane McDonald 223c5bdaf6 Tweaks to register_default_execution_environments command
- The credential will always be updated. I dont think we want to decrypt the password here for comparison
- Preserve newlines in help text
2021-06-02 16:26:58 -04:00
Shane McDonald 64bd49da16 Delete dependabot.yml 2021-06-01 09:19:33 -04:00
Shane McDonald cabc60792b Bump version and update for 19.2.0 2021-06-01 08:18:21 -04:00
Shane McDonald 63d702d1aa Bump receptor and receptorctl 2021-05-25 11:58:10 -04:00
Shane McDonald afa3501194 Use base image from quay.io/centos/centos 2021-05-11 16:24:59 -04:00
Shane McDonald 1ad561c307 Fix CSP error on Safari
This was causing:

```
[Error] Refused to execute a script because its hash, its nonce, or
'unsafe-inline' does not appear in the script-src directive of the Content
Security Policy. (migrations_notran, line 16)
```
2021-05-03 17:12:30 -04:00
Shane McDonald 929ed3e09d Merge pull request #10074 from shanemcd/bump-19.1.0
Bump changelog and version files for 19.1.0
2021-05-01 07:56:47 -04:00
Shane McDonald f83a005038 Bump changelog and version files for 19.1.0 2021-05-01 07:43:01 -04:00
Shane McDonald f94db36273 Forcibly ensure that the correct ansible-runner command is used for CG pods 2021-04-30 12:34:26 -04:00
Shane McDonald 77c573d64a Fix bug where incorrect EE was being used for Container Group pods 2021-04-30 12:21:03 -04:00
Shane McDonald 0badc2fff7 Explicitly set args for container group pods
A user may try to use an EE that does not have the custom entrypoint script used
by the default AWX EE
2021-04-30 12:16:52 -04:00
Shane McDonald 8374b41e21 Improve error handling / display when Ansible Runner errors 2021-04-27 14:20:27 -04:00
Shane McDonald 0cbfd1129f Update to AWX EE 0.2.0 2021-04-23 14:32:42 -04:00
Shane McDonald 208bde6215 Update to Runner 2.0.0 alpha 2 2021-04-23 14:32:30 -04:00
Shane McDonald 146fb720db Stop installing kubectl/oc
These are no longer needed with Container Groups v2 under Receptor
2021-04-23 09:15:15 -04:00
Shane McDonald 27c15caddd Allow users to set password policies via AUTH_PASSWORD_VALIDATORS 2021-04-22 18:13:36 -04:00
Shane McDonald cfc8b485ee Fix linter 2021-04-21 17:48:21 -04:00
Shane McDonald 21c493724c Remove resource profiling feature 2021-04-21 17:47:45 -04:00
Shane McDonald 658543c0fd Fix up some test fallout 2021-04-21 17:40:43 -04:00
Shane McDonald 17b8589ff2 Add option for ignoring tls on Container Registry credentials 2021-04-21 16:28:13 -04:00
Shane McDonald bcf911daf1 Fix permission assignment on rendered registry auth files
- This file shouldnt need the executable bit
- Should have been setting permissions before writing any data
- No need to close the file since we're using open w/ a context manager
2021-04-21 16:03:11 -04:00
Shane McDonald edaec8dfbb Stop instructing folks to install from devel 2021-04-21 13:22:03 -04:00
Shane McDonald 7fd5a4e79a Fix issue where ad-hoc commands for multiple hosts ran on single host 2021-04-21 12:41:51 -04:00
Shane McDonald e30b4ca875 Dont reap pods when settings.RECEPTOR_RELEASE_WORK = False 2021-04-19 09:06:23 -04:00
Shane McDonald 4a62932ecd Store auth.json is pdd_wrapper directory 2021-04-13 11:54:43 -04:00
Shane McDonald 5df50066a6 Update version and changelog for version 19 2021-04-07 12:29:34 -04:00
Shane McDonald 2d48b24ef2 Update pod reaper to work with receptor launched pods 2021-04-05 17:45:15 -04:00
Shane McDonald 6294ddfded AWX_CONTAINER_GROUP_KEEP_POD -> RECEPTOR_KEEP_WORK 2021-04-05 17:44:40 -04:00
Shane McDonald 2e6e38e77c Update placeholder image variable in inventory file 2021-04-05 09:03:47 -04:00
Shane McDonald 7b25216ee9 Cluster dev env: only run migrations on first node 2021-04-03 13:23:29 -04:00
Shane McDonald f985376d64 Remove invocation of Ansible from launch script
This was missed in the initial EE PR. Ansible is no longer installed inside of
the web & task containers, causing this to show up in the container logs:

```
/usr/bin/launch_awx.sh: line 18: ansible: command not found
/usr/bin/launch_awx.sh: line 19: ansible: command not found
```
2021-04-03 11:53:41 -04:00
Shane McDonald fccfef442c Make logs more readable in development environment
This uses https://github.com/coderanger/supervisor-stdout to prefix process
names before log messages in the dev env
2021-04-02 14:16:51 -04:00
Shane McDonald 5180fccd12 Update receptor version used in dev environment 2021-03-31 16:20:26 -04:00
Shane McDonald c39a4051d7 Use receptorctl from pypi 2021-03-31 15:10:25 -04:00
Shane McDonald 4a726b7f6f Fix race condition that causes InvalidGitRepositoryError 2021-03-30 13:33:17 -04:00
Shane McDonald 54308c5fa1 Use Ansible Runner 2.0 alpha 1 2021-03-30 09:08:39 -04:00
Shane McDonald 4beeeae9f1 Fix k8s credentials that use a custom ca cert 2021-03-29 17:49:50 -04:00
Shane McDonald b73759e380 Fix collection test 2021-03-29 15:03:28 -04:00
Shane McDonald a5b29201a4 Update tests to use ee fixture 2021-03-29 14:45:21 -04:00
Shane McDonald f80c2cbfc3 Delete test for unused code 2021-03-29 14:45:03 -04:00
Shane McDonald 3d533e5661 Fix container group OPTIONS request 2021-03-29 13:26:59 -04:00
Shane McDonald 91351f7e3b Fix default setting for KEEP_POD 2021-03-29 13:13:05 -04:00
Shane McDonald 9bc0bf0ee7 Fix inventory updates when running inside of k8s 2021-03-29 13:09:56 -04:00
Shane McDonald 9d17d40b86 Add setting for keeping container group pod after job run
Helpful for debugging
2021-03-29 13:09:31 -04:00
Shane McDonald eeb6aaaea9 Always use EE resolving logic 2021-03-29 13:09:13 -04:00
Shane McDonald 1e9b221486 Use revolved EE for Container Group tasks 2021-03-29 13:05:57 -04:00
Shane McDonald 8fb393c0a1 Fix awxkit function that detects private data directories in job args 2021-03-29 09:11:56 -04:00
Shane McDonald eac7c409d1 Hide commands that are being run for make black 2021-03-26 17:11:04 -04:00
Shane McDonald f8a698d127 Update minikube.md 2021-03-25 15:21:01 -04:00
Shane McDonald 8bb90dde33 Devel images are now on Quay 2021-03-25 13:27:19 -04:00
Shane McDonald 14f42af700 Update CHANGELOG.md 2021-03-23 10:30:59 -04:00
Shane McDonald ff00239c09 Update CHANGELOG.md 2021-03-22 13:05:52 -04:00
Shane McDonald fc7b2212e6 Merge pull request #9652 from shanemcd/fix-changelog-dates
Fix changelog dates
2021-03-22 12:53:36 -04:00
Shane McDonald ade0734af7 Fix changelog dates 2021-03-22 12:42:40 -04:00
Shane McDonald 1efd189d52 Revert "Remove search filtering from changelog"
This reverts commit f6fb3e0b41.
2021-03-22 12:40:11 -04:00
Shane McDonald fd63937fa2 Create a wrapper directory for the private data dir 2021-03-22 09:24:48 -04:00
Shane McDonald f6fb3e0b41 Remove search filtering from changelog
This has not landed yet
2021-03-19 09:01:33 -04:00
Shane McDonald 9f91190f4b Add changelog entries for installer directory and custom venv removals 2021-03-18 18:56:47 -04:00
Shane McDonald d7b8a20a75 Use correct image for awx-manage inventory_import 2021-03-18 15:18:47 -04:00
Shane McDonald d98e4c304f Fix paths used for detecting and copying awx-logos 2021-03-18 15:09:45 -04:00
Shane McDonald 19d0524461 Dont require is_container_group in payload when creating InstanceGroups 2021-03-16 16:46:24 -04:00
Shane McDonald 876d4316e1 Fix collection tests 2021-03-15 14:14:03 -04:00
Shane McDonald 4a4d25329b Update instance_group module with is_container_group 2021-03-15 13:34:45 -04:00
Shane McDonald e6f06a95da Remove unnecessary code from launch script
- Ansible is no longer installed on the control plane
- We register the instance / instance group at dispatcher startup
2021-03-15 13:30:31 -04: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
Shane McDonald afe8dc6ad9 Fix sdb in dev env 2021-03-05 17:41:25 -05:00
Shane McDonald 6df65c95a7 Update INSTALL.md 2021-03-04 18:34:39 -05:00
Shane McDonald 119e80c717 Delete the old installer directory 2021-03-04 18:28:49 -05:00
Shane McDonald 69edef430c Get clustered dev env working 2021-03-04 14:56:22 -05:00
Shane McDonald a3a47834fd Create admin user / run create_preload_data when dev env boots 2021-03-04 11:26:43 -05:00
Shane McDonald aab58f5ae7 Dont require credential for Container Groups
Might want to follow up and make this only apply to Tower on Kubernetes
2021-03-03 18:56:07 -05:00
Shane McDonald 29ff69a774 For container group pods, use namespace Tower is deployed into by default 2021-03-03 18:56:07 -05:00
Shane McDonald 609b17aa20 Use receptor 0.9.6 2021-03-03 18:56:07 -05:00
Shane McDonald e23a2b4506 Use var instead of set_fact 2021-03-03 18:56:07 -05:00
Shane McDonald eba12a6207 Add ui_next to .dockerignore 2021-03-03 18:56:07 -05:00
Shane McDonald 03c5cc779b Only install podman in local dev env 2021-03-03 18:56:07 -05:00
Shane McDonald 065b943870 Fix mode for k8s launch scripts 2021-03-03 18:56:07 -05:00
Shane McDonald adf708366a Add "copy" to EE related links 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
Shane McDonald 883fa4906a Fix receptor.conf path in dev env 2021-03-03 18:52:55 -05:00
Shane McDonald ae5a1117d4 Use official Receptor 0.9.5 release 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
Shane McDonaldandJake McDermott 0381a3ac8c Container Pull Option -> Pull
Co-authored-by: Jake McDermott <yo@jakemcdermott.me>
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 f2dfa132a7 Install Ansible only for collection tests 2021-03-03 18:52:55 -05:00
Shane McDonald ddcbc408b9 Remove Ansible from control plane
Execution Environments or bust!
2021-03-03 18:52:55 -05:00
Shane McDonald ea39cbce73 Update receptor.conf in dev env 2021-03-03 18:52:55 -05:00
Shane McDonald 44d7d68322 Update default ee image 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
Shane McDonald 8eb4dafb17 Fix missing postgresql module 2021-03-03 18:52:55 -05:00
Shane McDonald 428f8addf8 Create default EE as a part of create_preload_data 2021-03-03 18:52:55 -05:00
Shane McDonald 57b317d440 Get system jobs working under new deployment model (#9221) 2021-03-03 18:52:55 -05:00
Shane McDonald 9f97efece8 Stop and kill dispatcher and callback reciever as group 2021-03-03 18:52:55 -05:00
Shane McDonald 1a68df275c Set correct SDB_NOTIFY_HOST in minikube env 2021-03-03 18:52:55 -05:00
Shane McDonald 86363e260e Provide new default pod defintion in CG metadata (#9181) 2021-03-03 18:52:55 -05:00
Shane McDonald fd0c4ec869 Pin to latest version of PyYAML
Fixes https://github.com/yaml/pyyaml/issues/478
2021-03-03 18:52:55 -05:00