Commit Graph
100 Commits
Author SHA1 Message Date
Christian M. Adams 191a25cccc Add docs for building and using custom awx image 2021-04-26 15:50:57 -04:00
Christian M. Adams 40be9607ee Importing the langs is now done in the lingui config 2021-04-20 16:34:23 -04:00
Christian M. Adams b729377a2c Fix syntax error with fr translations 2021-04-20 10:57:10 -04:00
Christian M. Adams c7de869a07 Manually commit in translated ui_next strings 2021-04-20 10:49:46 -04:00
Christian M. Adams ca19b9e9d4 consolidate conditional pytest sqlite3 db settings 2021-03-10 10:16:37 -05:00
Christian M. Adams 34df47ceba Remove messages.js files that do not need to be committed to the repo
* also clean up old .PHONY entries
2021-03-04 13:13:27 -05:00
Christian M. Adams 6b8267d2b8 add extract-template to pot target 2021-03-02 14:45:34 -05:00
Christian M. Adams 53d0611cf8 Update translation make targets and add init PO files 2021-03-02 09:51:04 -05:00
Christian M. Adams 2097b014e8 fix dev env migrate.yml path in docs 2021-02-23 16:04:22 -05:00
Christian M. Adams 1b6976205c Add ansible requirement for dev env docs 2021-02-23 13:03:47 -05:00
Christian M. Adams 2239c8d6e5 Add full path to data migration example in docs 2021-02-23 09:07:37 -05:00
Christian M. Adams ec40f62c4d Mount SECRET_KEY into dev env & document it 2021-02-22 18:46:47 -05:00
Christian M. Adams b583aeb646 Pass docker project_name whenever docker-compose is used
- Also, do no explicitly name containers
2021-02-22 17:05:51 -05:00
Christian M. Adams af6af052d0 Remove unneeded roles from the installer directory 2021-02-22 15:37:24 -05:00
Christian M. Adams 9672e72834 Consolidate the Local Docker installer and the dev env
- removes local_docker installer and points community users to our development environment (make docker-compose)
  - provides a migration path from Local Docker Compose installations --> the dev environment
  - the dev env can now be configured to use an external database
  - consolidated the Local Docker and dev env docker-compose.yml files into one template file, used by the dockerfile role
  - added a 'sources' role to template out config files
  - the postgres data dir is no longer a bind-mount, it is a docker volume
  - the redis socket is not longer a bind-mount, it is a docker volume
  - the local_settings.py.docker-compose file no longer needs to be copied over in the dev env
  - Create tmp rsyslog.conf in rsyslog volume to avoid cross-linking. Previously, the tmp code-generated rsyslog.conf was being written to /tmp (by default).  As a result, we were attempting to shutil.move() across volumes.
  - move k8s image build and push roles under tools/ansible
  - See tools/docker-compose/README.md for usage of these changes
2021-02-22 13:44:19 -05:00
Christian M. Adams 8d8aadb193 Bump version to 17.0.1 & update changelog 2021-01-26 12:35:14 -05:00
Christian M. Adams e62035fa5e Pre-create pgdocker dir ahead of time with proper permissions 2021-01-25 09:52:02 -05:00
Christian M. Adams ac925a03b5 Fix bind-mount problem with pg12 upgrades 2021-01-19 16:34:24 -05:00
Christian M. Adams a1514a3b26 Remove launch scrip config mapping for k8s and ocp
* Related to https://github.com/ansible/awx/pull/8968
2021-01-14 13:48:33 -05:00
Christian M. Adams 88a0d98447 Run migrations via a task, not in the container
* Issue: https://github.com/ansible/awx/issues/9077
  * Fixes problem with migrations not completing
2021-01-14 09:50:26 -05:00
Christian M. Adams 57c3b9ab17 Run PG upgrade tasks in container because of permissions
* update pg references
2021-01-13 17:27:03 -05:00
Christian M. Adams 36466b9694 Upgrade PostgreSQL from 10 to 12 2021-01-08 10:54:00 -05:00
Christian M. Adams b81f082a18 Aggregate quantity per sub allocation, not exported
* The exported field shows total quantity exported to a manifest for a given sub.  We want to sum the quantities of each sub allocation in a manifest instead.
2020-12-08 16:23:43 -05:00
Christian M. Adams aa7514a993 Read in and use the Sat port if applicable for Subscriptions 2020-12-07 13:59:58 -05:00
Christian M. Adams 8795d860d6 Fix image build - powertools repo ref changed 2020-12-07 11:08:00 -05:00
Christian M. Adams 8e66172ed4 Remove redundant available_instances field 2020-12-01 11:20:21 -05:00
Christian Adams a65008f762 Merge pull request #4680 from ansible/i18n_release_3.8.0_translations
(More) UI translation strings for release_3.8.0 branch
2020-11-11 12:07:35 -05:00
Christian Adams e4d9cd4000 Merge pull request #4676 from ansible/i18n_release_3.8.0_translations
UI translation strings for release_3.8.0 branch
2020-11-10 16:07:22 -05:00
Christian Adams ff78cade3a Merge pull request #4677 from rooftopcellist/fix_hover_help
Fix hover-over help text for subscriptions
2020-11-10 09:56:08 -05:00
Christian M. Adams 97381f6810 Fix hover-over help text for subscriptions 2020-11-10 09:32:16 -05:00
Christian M. Adams 3e9a98170e Update tool tip for RH username & password settings 2020-10-30 16:40:02 -04:00
Christian M. Adams b031e1f05e Properly record the license type when sub is a trial 2020-10-30 16:40:02 -04:00
Christian M. Adams 422c7308fd Update compliance wording in UI on license page 2020-10-30 16:40:01 -04:00
Christian M. Adams 633dc60d49 Simplify link to fit UI column 2020-10-30 16:40:01 -04:00
Christian M. Adams b05c34a969 Valid key always set correctly, compliant field set correctly 2020-10-30 16:40:01 -04:00
Christian M. Adams bfca3d9910 Update get subscriptions button name in UI 2020-10-30 16:40:01 -04:00
Christian M. Adams dd459e23e2 Add migration to prefill rh username and password for subscriptions 2020-10-30 16:40:00 -04:00
Christian M. Adams be4e4ff47c Clean up unnecessary comments 2020-10-30 16:40:00 -04:00
Christian M. Adams 67000f0ce9 Remove license_key check & fix docker-compose make command 2020-10-30 16:39:59 -04:00
Christian M. Adams 05de875ace Fix flake8 2020-10-30 16:39:59 -04:00
Christian M. Adams d8b7791375 Revert subman install and setfacl 2020-10-30 16:39:59 -04:00
Christian M. Adams b609e4ee84 remove outdated license references 2020-10-30 16:39:58 -04:00
Christian M. Adams 0a23bb6e36 Install subman and set ACL for rhsm.conf for dev 2020-10-30 16:39:58 -04:00
Christian M. Adams cb86193459 Fallback to RH Candlepin Verify setting for OCP 2020-10-30 16:39:57 -04:00
Christian M. Adams 10242cd6c4 Add error handling for missing rhsm.conf 2020-10-30 16:39:57 -04:00
Christian M. Adams a4e76db672 Update tool tip for RH username & password settings 2020-10-29 12:15:24 -04:00
Christian M. Adams 6d412fd8e7 Properly record the license type when sub is a trial 2020-10-27 16:05:43 -04:00
Christian M. Adams 0a839430e7 Update compliance wording in UI on license page 2020-10-27 10:51:11 -04:00
Christian M. Adams f83e4cf092 Simplify link to fit UI column 2020-10-26 22:17:20 -04:00
Christian M. Adams 1f5df7e39c Valid key always set correctly, compliant field set correctly 2020-10-26 16:25:25 -04:00
Christian M. Adams 44633c2ba7 Update get subscriptions button name in UI 2020-10-26 12:16:53 -04:00
Christian M. Adams 98b2ac77c8 Add migration to prefill rh username and password for subscriptions 2020-10-23 17:01:14 -04:00
Christian M. Adams 8a9f75c291 Clean up unnecessary comments 2020-10-23 11:00:08 -04:00
Christian M. Adams 25ace77048 Remove license_key check & fix docker-compose make command 2020-10-22 16:49:13 -04:00
Christian M. Adams 44e9ba1117 Fix flake8 2020-10-22 15:47:54 -04:00
Christian M. Adams a5b644c23c Revert subman install and setfacl 2020-10-22 15:40:05 -04:00
Christian M. Adams 784c924d88 remove outdated license references 2020-10-22 14:59:48 -04:00
Christian M. Adams fbde4797f8 Install subman and set ACL for rhsm.conf for dev 2020-10-22 14:39:31 -04:00
Christian M. Adams f812d2e318 Fallback to RH Candlepin Verify setting for OCP 2020-10-22 13:33:41 -04:00
Christian M. Adams 23f365786c Add error handling for missing rhsm.conf 2020-10-22 12:29:29 -04:00
Christian M. Adams e7b5f311b5 Include Gettext in dev container image for translation automation 2020-09-29 08:53:18 -04:00
Christian M. Adams 0681444294 Provide a distinct column name for inventory_name in unifiedjob analytics csv 2020-09-08 11:14:24 -04:00
Christian M. Adams 4ea648307e Accept all responses <300 from Insights API 2020-08-28 12:45:50 -04:00
Christian Adams 6e75d25b74 Merge pull request #4492 from rooftopcellist/fix_broken_ui_links
Use quotations when marking strings for translation [3.7.2]
2020-07-29 15:28:18 -04:00
Christian Adams f24b15dc2e Merge pull request #4415 from ansible/i18n_release_3.7.1_translations
UI translation strings for release_3.7.1 branch for es and nl
2020-06-19 15:25:33 -04:00
Christian Adams 186c54cb14 Merge pull request #4404 from ansible/i18n_release_3.7.1_translations
UI translation strings for release_3.7.1 branch
2020-06-15 17:10:10 -04:00
Christian Adams e0032f7705 Merge pull request #4367 from rooftopcellist/sumologic_conf
Correctly parse sumologic url paths
2020-06-01 01:36:20 -04:00
Christian Adams ed05ce164f Merge pull request #4377 from rooftopcellist/cleanup_flake8
Fix misc. linter errors due to the flake8-3.8.1 release
2020-05-29 19:29:17 -04:00
Christian Adams d98f2714cb Merge pull request #4376 from rooftopcellist/rm_label_3.7.1
Fix 500 on Label Removal for WFJT's [3.7.1]
2020-05-29 18:11:45 -04:00
Christian Adams a38a7ad9b6 Merge pull request #4327 from ansible/i18n_release_3.7.0_translations
UI translation strings for release_3.7.0 branch
2020-05-12 11:10:07 -04:00
Christian Adams c494c38966 Merge pull request #4294 from ansible/i18n_release_3.7.0_translations
[WIP] UI translation strings for release_3.7.0 branch
2020-05-08 09:56:40 -04:00
Christian Adams bae9c03258 Merge pull request #4302 from rooftopcellist/rsyslog_conf_race
Prevent Rsyslog config race condition when writing to file
2020-05-07 14:21:57 -04:00
Christian Adams d0a7f7f4e9 Merge pull request #4297 from rooftopcellist/rsyslog_term
Rsyslog config race condition between saving and writing the file
2020-05-06 13:41:13 -04:00
roofotpcellist 462cfa2344 UI translation strings for release_3.7.0 branch 2020-05-04 15:37:35 +00:00
Christian Adams ec1e93cc69 Upgrade to postgres 10.6
- use awx-python in shebang in dev env
  - scl enable where needed for rhel7 & container installs
  - use scram-sha-256 pg user hashing by default
  - ensure psycopg2 is using the correct PG_CONFIG at build time for the right libpq version
2019-09-12 12:52:43 -04:00
Christian Adams 78c0d531bc Adds versions to analytics collectors and manifest file.
- adds 'query_info.json' to contain collection metadata
  - adds 'manifest.json' to contain collection file version info
2019-08-27 10:14:14 -04:00
Christian Adams cd3645eb4d Send job & org data 2019-08-26 10:22:07 -04:00
Christian Adams a58a191071 fix typo in migration name 2019-08-16 13:46:41 -04:00
Christian Adams 52f8a8a6e5 Use consistent description types 2019-08-16 09:25:03 -04:00
Christian Adams c37bf5e9f5 Fix NoneType path error with analytics collection 2019-08-07 16:19:05 -04:00
Christian Adams 670a184708 Update job status comments
- waiting and pending job descriptions were not accurate
2019-07-25 15:06:06 -04:00
Christian Adams 11a6e98230 Add pending jobs and system level job status to metrics 2019-07-25 14:19:20 -04:00
Christian Adams e72b2fac6d Delete collection tarball when no longer needed
* Delete after shipping it
   * Delete when ship() fails
2019-07-01 11:11:44 -04:00
Christian Adams 4d7c49372c Fix collection datetime for isolated instance info
* 'last_isolated_check' was a non JSON-serializable object and needed to be a str
2019-06-27 13:31:10 -04:00
Christian Adams a5c057cc18 Fixes analytics & metrics instance specific job counts 2019-06-19 11:32:05 -04:00
Christian Adams a727de184b Fix analytics job counts by ordering query
- More Info: https://github.com/ansible/awx/issues/4014
2019-06-06 10:45:26 -04:00
Christian Adams cb279843d2 remove implicit grant type for OAuth 2 apps 2019-05-29 02:28:37 -04:00
Christian Adams 45458b3265 fix analytics logging msg 2019-05-23 14:26:03 -04:00
Christian Adams 8ca0c1b992 Add clearsessions and cleartokens system jobs
* add system job for gathering insights analytics
* enforce schedule enablement with analytics setting
* remove celery beat analytics job
* keep analytics schedule & setting enablement in sync in API
* handles updating schedules for multiple sys job schedules
* add analytics setting & schedule test
* rm ui modal from collection sys job
2019-05-22 13:11:48 -04:00
Christian Adams 2b327935de reorder migrations to avoid session error 2019-05-16 15:13:47 -04:00
Christian Adams 0c4925afe8 rm extra collection error line 2019-05-16 14:48:41 -04:00
Christian Adams d0e160a037 collect events based on last ship, not collection 2019-05-14 17:14:44 -04:00
Christian Adams 21105b836e more verbose list_instance messaging 2019-05-09 15:08:56 -04:00
Christian Adams 64ae7a6e45 analytics table copies formatted as csv now 2019-04-23 16:26:14 -04:00
Christian Adams add8673d7c rename analytics setting 2019-04-17 15:28:15 -04:00
Christian Adams 8ef81065b7 add url to prom docs 2019-04-15 13:39:55 -04:00
Christian Adams fb4495b1b5 add prometheus data to gitignore 2019-04-15 10:43:28 -04:00
Christian Adams 40393e201f add uuids to ping and metrics 2019-04-12 18:37:40 -04:00
Christian Adams fd5d9c45d7 remove invalid json renderer from metrics endpoint 2019-04-10 16:14:54 -04:00
Christian Adams f49532090b add prom permissions test 2019-04-09 15:12:04 -04:00