Seth Foster
4da0e0dd80
Vendor collections for isolated jobs to work in ansible 2.10
...
kubectl and synchronize are now part of community.kubernetes
and ansible.posix collections, respectively. This change installs
these collections to a local directory to be used in inventory and
isolated management playbooks.
awx issue #6930
2020-05-13 10:41:01 -04:00
Bill Nottingham
caa4e90fa0
Remove extraneous re-install of rsyslog
2020-05-11 22:24:16 -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
Alan Rominger
961c5589c1
Refresh inventory collection requirements ( #4296 )
...
* Refresh inventory collection requirements
Fix bug specific to Docker development where the right folder of
install was not specified in the setting
Add initial rhv/ovirt version for consistency
* Update unit test to ovirt name change
2020-05-05 18:22:00 -04:00
Christian Adams
c565130b35
TERM rsyslogd instead of KILL for more graceful shutdown
2020-05-05 15:38:57 -04:00
Shane McDonald
b12c0def7d
Fix permissions for vendored collections in dev env
2020-05-04 12:44:04 -04:00
chris meyers
960aa9df16
add redis logs to sosreport
...
* rhel8 /var/log/redis/redis.log
* rhel7 scl location
2020-04-28 09:12:42 -04:00
Christian Adams
c07b6285da
Increase stopwait time for rsyslogd service
2020-04-27 14:33:46 -04:00
Graham Mainwaring
d55b223aae
Use sysconfig file to get the list of services
2020-04-24 14:08:24 -04:00
Graham Mainwaring
e36ffa5764
Return more status information from ansible-tower-service status and error check commands better
2020-04-24 11:37:16 -04:00
softwarefactory-project-zuul[bot]
c0e07198cf
Merge pull request #6283 from AlanCoding/vendoring_collections
...
Use vendored collections for inventory imports
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-23 18:54:50 +00:00
AlanCoding
ab703e2a32
Add feature docs and document development tooling
2020-04-22 21:41:52 -04:00
Ryan Petrello
cec7cb393d
record redis config in the sosreport
2020-04-20 17:03:50 -04:00
Yanis Guenane
541b9607f5
Collections: Adding a requirements.yml file
2020-04-16 20:55:59 -04:00
chris meyers
72248db76d
fix copy paste error in docker compose cluster
2020-04-16 14:12:30 -04:00
softwarefactory-project-zuul[bot]
e19194b883
Merge pull request #6721 from shanemcd/dockerfile-cleanup
...
Dockerfile organization
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-16 14:48:58 +00:00
Shane McDonald
29a582f869
Dockerfile organization
2020-04-15 14:43:59 -04:00
Christian Adams
c8ceb62269
Rename awx rsyslog socket and PID dir
2020-04-15 14:11:15 -04:00
Ryan Petrello
0f74a05fea
rsyslogd: ignore /dev/log when we load imuxsock
2020-04-14 11:34:58 -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
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
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
Shane McDonald
c0af3c537b
Configure rsyslog to listen over a unix domain socket instead of a port
...
- Add a placeholder rsyslog.conf so it doesn't fail on start
- Create access restricted directory for unix socket to be created in
- Create RSyslogHandler to exit early when logging socket doesn't exist
- Write updated logging settings when dispatcher comes up and restart rsyslog so they take effect
- Move rsyslogd to the web container and create rpc supervisor.sock
- Add env var for supervisor.conf path
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
Ryan Petrello
589d27c88c
POC: replace our external log aggregation feature with rsyslog
...
- this change adds rsyslog (https://github.com/rsyslog/rsyslog ) as
a new service that runs on every AWX node (managed by supervisord)
in particular, this feature requires a recent version (v8.38+) of
rsyslog that supports the omhttp module
(https://github.com/rsyslog/rsyslog-doc/pull/750 )
- the "external_logger" handler in AWX is now a SysLogHandler that ships
logs to the local UDP port where rsyslog is configured to listen (by
default, 51414)
- every time a LOG_AGGREGATOR_* setting is changed, every AWX node
reconfigures and restarts its local instance of rsyslog so that its
fowarding settings match what has been configured in AWX
- unlike the prior implementation, if the external logging aggregator
(splunk/logstash) goes temporarily offline, rsyslog will retain the
messages and ship them when the log aggregator is back online
- 4xx or 5xx level errors are recorded at /var/log/tower/external.err
2020-04-13 11:43:59 -04:00
softwarefactory-project-zuul[bot]
2da22ccd8a
Merge pull request #6659 from shanemcd/pre-tty
...
Enable tty in dev container
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 16:35:37 +00:00
Shane McDonald
677a8dae7b
Enable tty in dev container
...
Pretty colors and real-time migration logs
2020-04-08 11:43:30 -04:00
softwarefactory-project-zuul[bot]
e57991d498
Merge pull request #6652 from matburt/update_zome_docz
...
Update some contributing docs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 14:58:40 +00:00
Matthew Jones
6abeaf2c55
Update some contributing docs
...
* Update the tools called in the dev environment
* More RMQ purges from architecture docs
* Remove the old clusterdev target
2020-04-08 10:03:22 -04:00
softwarefactory-project-zuul[bot]
91f2e0c32b
Merge pull request #6605 from ansible/firehose_pkey
...
update firehose script for bigint migration
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-08 13:33:19 +00:00
Shane McDonald
7e52f4682c
Use a docker volume for the dev env db
2020-04-07 13:14:19 -04:00
softwarefactory-project-zuul[bot]
05b28efd9c
Merge pull request #6617 from chrismeyersfsu/fix-memcached
...
fix memcached in dev env
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-06 23:49:04 +00:00
softwarefactory-project-zuul[bot]
606c3c3595
Merge pull request #6338 from rooftopcellist/update_logstash_docs
...
Update logstash docs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-06 21:10:44 +00:00
chris meyers
c4d704bee1
fix memcached in dev env
...
* create memcached dir via git so that the current user owns it.
Otherwise, docker will create the dir as root at runtime
2020-04-06 16:35:52 -04:00
Mat Wilson
59477aa221
update firehose script for bigint migration
2020-04-06 10:54:08 -07:00
Shane McDonald
bb319136e4
Merge pull request #6585 from shanemcd/cleanup-cleanup
...
Tidy up the dev environment a bit
2020-04-06 13:09:39 -04:00
Shane McDonald
6fc815937b
Tidy up the dev environment a bit
2020-04-06 11:13:51 -04:00
chris meyers
7433aab258
switch memcached from tcp to unix domain socket
2020-04-06 08:35:12 -04:00
chris meyers
d7f0642f48
add ws broadcast status to sos report
2020-04-02 21:46:12 -04:00
softwarefactory-project-zuul[bot]
67d48a87f8
Merge pull request #6408 from ryanpetrello/rabbitmq-cleanup
...
remove a bunch of RabbitMQ references
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-25 17:02:54 +00: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