Christian Adams
4d5af1d191
Correctly parse sumologic url paths
...
- Sumologic includes a token with a '==' at the end of it's host path.
This adds rsyslog conf parsing tests and does not escape equals
signs.
2020-05-27 13:02:07 -04:00
Christian Adams
048c394897
Update PO and POT translation files for 11.2.0
2020-05-15 22:53:36 -04:00
Christian Adams
19ccb5e213
Mark job_explanation strings after they are read from the db
...
- For strings that need to be translated, but are saved in the db:
* They must be marked for translation using gettext_noop() to be
translated.
* And must also be marked for translation with _() when read from db
and shown to the user.
* [Ref]: https://docs.djangoproject.com/en/3.0/topics/i18n/translation/#marking-strings-as-no-op
2020-05-15 22:50:50 -04:00
Christian Adams
7e0ef6dd7b
Remove unneeded dockerfile-sync
2020-05-15 17:43:07 -04:00
Christian Adams
c02f6b9ece
Remove redundant dev image build make target
2020-05-14 13:21:46 -04:00
Christian Adams
37125102ab
Clean up rsyslog config temp dir
...
- dir is cleaned up at end of 'with' context
2020-05-07 12:48:50 -04:00
Christian Adams
0675b9e8fa
Make rsyslog.conf writes atomic
...
- This writes the rsyslog.conf in a temporary dir, then replaces the
original in one atomic operation.
2020-05-06 17:54:51 -04:00
Christian Adams
e41d33991a
Prevent a race condition when writing the rsyslog.conf
2020-05-05 15:55:08 -04:00
Christian Adams
c565130b35
TERM rsyslogd instead of KILL for more graceful shutdown
2020-05-05 15:38:57 -04:00
Christian Adams
c07b6285da
Increase stopwait time for rsyslogd service
2020-04-27 14:33:46 -04:00
Christian Adams
f6a2d41e4c
Remove unnecessary or translation
2020-04-24 15:35:56 -04:00
Christian Adams
8d3ce206cd
rsyslogd is only needed in the web container
2020-04-22 10:17:04 -04:00
Christian Adams
97acba8fe9
revert back to the old way of calling flake8 linter
2020-04-20 17:27:52 -04:00
Christian Adams
a899a147e1
Fix new flake8 from pyflakes 2.2.0 release
2020-04-20 09:50:50 -04:00
Christian Adams
69835e9895
Write logs to /dev/null if logging is not enabled
2020-04-15 14:17:21 -04:00
Christian Adams
85960d9035
Volume mount supervisor dir to both containers
2020-04-15 14:11:15 -04:00
Christian Adams
c8ceb62269
Rename awx rsyslog socket and PID dir
2020-04-15 14:11:15 -04:00
Christian Adams
ca7c840d8c
Fix permissions on rsyslog.conf for k8s
2020-04-13 19:33:23 -04:00
Christian Adams
a0e31b9c01
Map logging timeout value to healthchecktimeout for http in rsyslog config
2020-04-13 15:22:16 -04:00
Christian Adams
5d54877183
Add action to default rsyslog.conf so supervisor starts correctly the first time
2020-04-13 11:44:00 -04:00
Christian Adams
b942fde59a
Ensure log messages have valid json
...
- Fix messages getting contatenated at 8k
- Fix rsyslog cutting off the opening brace of log messages
- Make valid default conf and emit logs based on prescence of .sock and
settings
2020-04-13 11:44:00 -04:00
Christian Adams
70391f96ae
Revert rsyslog valid config to one that fails intentionally
2020-04-13 11:43:59 -04:00
Christian Adams
2329c1b797
Add rsyslog config to container from file for consistency
2020-04-13 11:43:59 -04:00
Christian Adams
470159b4d7
Enable innocuous but valid config for rsyslog if disabled
2020-04-13 11:43:59 -04:00
Christian Adams
e740340793
ConfigMap rsyslog conf files for k8
2020-04-13 11:43:59 -04:00
Christian Adams
4d5507d344
Add default rsyslog.conf without including /etc/rsyslog.conf
2020-04-13 11:43:59 -04:00
Christian Adams
d350551547
Tweaks to Test Button logic and cleans up flake8 and test failures
2020-04-13 11:43:59 -04:00
Christian Adams
7fd79b8e54
Remove unneeded logging sock variable
2020-04-13 11:43:59 -04:00
Christian Adams
fb047b1267
Add unit tests for reconfiguring rsyslog & for test endpoint
2020-04-13 11:43:59 -04:00
Christian Adams
d31c528257
Fix Logging settings "Test" button functionality
2020-04-13 11:43:59 -04:00
Christian Adams
996d7ce054
Move supervisor and rsyslog sock files to their own dirs under /var/run
2020-04-13 11:43:59 -04:00
Christian Adams
7040fcfd88
Fix container rsyslog dir permissions
2020-04-13 11:43:59 -04:00
Christian Adams
f8afae308a
Add rsyslog to supervisor for the task container
...
- Add proper paths for rsyslog's supervisor logs
- Do not enable debug mode for rsyslogd
- Include system rsyslog.conf, and specify tower logging conf when
starting rsyslog.
2020-04-13 11:43:59 -04:00
Christian Adams
4cd0d60711
Properly handle logger paths and https/http configuration
...
- log aggregator url paths were not being passed to rsyslog
- http log services like loggly will now truly use http and port 80
- add rsyslog.pid to .gitignore
2020-04-13 11:43:59 -04:00
Christian Adams
955d57bce6
Upstream rsyslog packaging changes
...
- add rsyslog repo to Dockerfile for AWX installation
- Update Library Notes for requests-futures removal
2020-04-13 11:43:59 -04:00
Christian Adams
9489f00ca4
Align k8 and ocp supervisor scripts
...
- Handle scl enable calls for python processes that use postgresql
- Handle ocp specific vars better
2020-04-02 13:56:33 -04:00
Christian Adams
346b9b9e3e
ConfigMap supervisor configs and launch scripts for k8s
2020-04-02 13:56:33 -04:00
Christian Adams
6335004c94
Add common debugging tools to the dev container
...
- nmap-ncat
- sdb
- tcpdump
- strace
- vim
2020-03-25 08:03:32 -04:00
Christian Adams
9a38971d47
Update ELK Stack container files
2020-03-19 09:35:08 -04:00
Christian Adams
c4e697879d
Improve docs for using the logstash container
2020-03-18 18:32:45 -04:00
Christian Adams
4a0c371014
Fix flaky workflow test & set junit family
2020-03-18 14:02:33 -04:00
Christian Adams
3755151cc5
Update dev container to be consistent with other installation methods
...
- rename start_development.sh script to `launch_awx.sh`, like it is in k8 installations
2020-03-11 16:23:31 -04:00
Christian Adams
f93ca814ac
Add total licensed instances to analytics
2020-02-27 10:42:25 -05:00
Christian Adams
0976e9e569
UI translation strings for AWX
2020-02-20 17:33:35 -05:00
Christian Adams
d41322c63c
Remove outdated Zanata translation script as part of migration to Memsource
...
- adds requirement for gettext to dev container for use by Memsource automation
2019-12-05 09:29:33 -05:00
Christian Adams
4f8b624b96
Make spelling of canceled consistent
2019-11-26 00:31:15 -05:00
Christian Adams
05e6f4ab3c
Add User-Agent to analytics upload POST
2019-11-25 22:22:05 -05:00
Christian Adams
94fa4deab3
Set default values for analytics settings
2019-11-21 12:29:15 -05:00
Christian Adams
9d81b00772
have analytics collections verify with system trusted CA list
2019-10-16 13:32:06 -04:00
Christian Adams
844b8a803f
update frequency of collection for automation analytics
2019-10-09 21:10:48 -04:00
Christian Adams
19a6c70858
remove cruft leftover from the postgresql upgrade
2019-10-03 14:43:56 -04:00
Christian Adams
f36f10a702
add RefreshToken Expiration setting in UI
2019-10-03 13:13:31 -04:00
Christian Adams
c0fd70f189
add mgmt cmd to check db connection
2019-10-01 15:40:43 -04:00
Christian Adams
9f8d975a19
revert to get needed scl enables for community container installs
2019-09-26 13:24:26 -04:00
Christian Adams
9548c8ae19
add link to awxkit docs
2019-09-23 15:38:51 -04:00
Christian Adams
54d50d71ab
pass correct awx-dev password on startup
2019-09-16 17:25:15 -04:00
Christian Adams
bdbbb2a4a2
Fix authentication bug with container installs
...
- update awx-dev db password where needed
2019-09-15 19:52:41 -04:00
Christian Adams
6309c0a426
Upload using RH cred settings
2019-09-11 13:24:09 -04:00
Christian Adams
70f9f09fef
remove redundant dbshell make target
2019-09-03 14:22:07 -04:00
Christian Adams
eacd356881
fix wording in settings for license & automation analytics creds
2019-08-29 09:32:50 -04:00
Christian Adams
1a78c16adf
add settings for license & automation analytics creds
2019-08-28 12:39:28 -04:00
Christian Adams
cf464c7cb1
fix typo in comment about encryption
2019-08-26 14:20:39 -04:00
adamscmRH
5a6f1a342f
rm network ui from changelog
2018-09-07 15:04:34 -04:00
adamscmRH
227960e3ea
pin pluggy at 0.6.0
2018-08-27 16:55:40 -04:00
adamscmRH
2643a1b3d6
pin pluggy at 0.6.0
2018-08-27 16:13:24 -04:00
adamscmRH
da1da6f530
Fix oauth and std out mystery migrations
2018-08-16 13:08:45 -04:00
adamscmRH
61931d0b6c
add RefreshToken tests
2018-08-13 10:08:08 -04:00
adamscmRH
1bc83b488b
hide client_secret from API
2018-08-09 11:27:39 -04:00
adamscmRH
1303f3f82f
fix OAuth typos
2018-07-30 10:23:27 -04:00
adamscmRH
df6b7627bc
fix sdb, update host var
2018-07-26 17:48:00 -04:00
adamscmRH
87829ea339
remove client credentials grant_type
2018-07-25 18:23:08 -04:00
adamscmRH
12279b9631
help text for oauth ext user toggle
2018-07-25 08:54:37 -04:00
adamscmRH
ef29dab013
update logging readme
2018-07-19 11:41:39 -04:00
adamscmRH
3d7fd9270c
fix expire session command
2018-07-16 12:57:00 -04:00
adamscmRH
896ffb2065
Fixes sessions in multiple tabs
2018-07-13 16:31:23 -04:00
adamscmRH
e99d922261
selectively clear sesh on pass change
2018-07-11 10:29:16 -04:00
adamscmRH
762ce04b0a
catch empty session case
2018-07-10 13:50:39 -04:00
adamscmRH
16dc1f57dd
reorder api endpoint links
2018-07-09 16:11:27 -04:00
adamscmRH
cb6514777d
grab on-disk setting
2018-07-06 14:16:59 -04:00
adamscmRH
9ac92c0ee0
refactor code
2018-07-05 11:48:33 -04:00
adamscmRH
3e1aaec9fe
add generic setting method
2018-07-03 17:09:47 -04:00
adamscmRH
ae0793f374
Hookup UI session expiration
2018-07-03 16:53:27 -04:00
adamscmRH
4c84d400a8
migrate session length setting
2018-07-02 14:17:16 -04:00
adamscmRH
b5dc3e6b94
patch session length settings
2018-07-02 14:17:16 -04:00
adamscmRH
3b36f85989
update dev pytest
2018-06-25 13:22:17 -04:00
adamscmRH
8cc77234fc
revert django-radius from 1.3.3 to 1.1.0
2018-06-22 15:01:11 -04:00
adamscmRH
b7f5161835
try-except auth_header
2018-06-21 17:11:34 -04:00
adamscmRH
01a1d6ffd0
selectively authenticate with OAuth2 Backend
2018-06-20 23:09:52 -04:00
adamscmRH
b498585c27
fix oauth2 refresh tests for dat112
2018-06-18 13:27:18 -04:00
adamscmRH
c5f2b9a471
upgrade django-oauth-toolkit to 1.1.2
2018-06-15 09:50:34 -04:00
adamscmRH
462e0be8d3
adds related tokens link to app endpoint
2018-06-14 14:12:18 -04:00
adamscmRH
b87d25300a
update dev pytest
2018-06-14 10:11:11 -04:00
adamscmRH
68f7f25788
info to set ip DDT
2018-06-07 11:46:10 -04:00
adamscmRH
d885d0fe22
updates oauth docs with quickstart
2018-06-04 10:57:18 -04:00
adamscmRH
97c5ff0b33
make scope write by default
2018-06-01 13:24:32 -04:00
adamscmRH
bb6a4f6964
fix oauth urls & rename for clarity
2018-05-24 15:32:48 -04:00
adamscmRH
3d5605f4b5
refactor & purge cruft
2018-05-24 14:33:27 -04:00
adamscmRH
be9598af53
fix refresh token & refactor
2018-05-24 12:25:27 -04:00
adamscmRH
5d220e8222
add scope validator to token endpoints
2018-05-24 11:06:58 -04:00
adamscmRH
dead84da1a
add auth cookies
2018-05-01 16:57:17 -04:00