Commit Graph

131 Commits

Author SHA1 Message Date
LPowlett
194b04ac13 Revert MQSC error check (#283)
* Revert MQSC error check
2019-03-08 09:13:26 +00:00
Arthur Barr
c441de7d26 Fixes for tests on RHEL and test log output 2019-02-27 15:32:34 +00:00
Arthur Barr
cc0f072908 Change for running as a non-root user (#276)
* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* RHEL image runs as mqm instead of root

* Build on host with SELinux enabled

* Enable building on node in an OpenShift cluster

* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* Merge lastest changes from master

* RHEL image runs as mqm instead of root

* Fix merge issues

* Test changes for non-root

* Make timeout properly, and more non-root test fixes

* Run tests with fewer/no capabilities

* Correct usage docs for non-root

* Add security docs

* Add temporary debug output

* Remove debug code

* Fixes for termination-log

* Allow init container to run as root

* Fixes for CentOS build

* Fixes for RHEL build

* Logging improvements

* Fix Dockerfile RHEL/CentOS build

* Fix bash error

* Make all builds specify UID

* Use redist client for Go SDK

* Inspect image before running tests

* New test for init container

* Log container runtime in runmqdevserver

* Add extra capabilities if using a RHEL image
2019-02-27 15:32:34 +00:00
LPowlett
df6ce917c2 endmqm -r try to reconnect (#268) 2019-01-28 11:03:54 +00:00
LPowlett
525ff82fe7 Error checking invalid mqsc commands (#261)
* testRepeatingMqsc

* testInvalidMqsc

* 9.1.1 Makefile

* testRepeatingMqsc

* testInvalidMqsc

* update copyright 2019

* update invalid mqsc error message

* update changelog to reflect MQSC changes
2019-01-10 13:41:43 +00:00
Robert Parker
9c8b3825be Add image tag into info output, add ability to print info output on demand and prevent multiple instances of runmqserver being run 2018-12-12 13:11:47 +00:00
Rob Parker
78ce84b3a1 Implement GOSec for security scanning Fix vulnerabilities (#227)
* Implement GOSec for security scanning Fix vulnerabilities

* Fix lint failure

* address PR comments and fix build break

* Fix test break in mqsc
2018-10-11 15:39:22 +01:00
Rob Parker
3989661778 Add Diagnostics (#203)
* Add container suplimentary groups support

* Add diagnostic gathering

* Fix incorrect userid group searching

* one last tiny fix

* one last tiny fix
2018-09-03 17:08:26 +01:00
Robert Parker
9a7d44fef6 Add container suplimentary groups support 2018-09-03 15:01:26 +01:00
Stephen Marshall
fc19776c04 Fix lint error 2018-08-13 12:31:47 +01:00
Arthur Barr
ba1b4f8ef9 Remove debug statements 2018-08-07 15:15:45 +01:00
Arthur Barr
9b98555886 Enable only app user to do REST messaging 2018-08-07 15:15:45 +01:00
Rob Parker
80384a65a2 force string output in chkmqhealthy (#174) 2018-08-02 13:53:22 +01:00
Rob Parker
c11c0a2bf4 check explicitly for /mnt/mqm (#175) 2018-08-02 11:42:14 +01:00
Rob Parker
7822c2c3bc Add basic versioning into main golang file (#151)
* Add basic versioning into main golang file

* Add versioning set test

* address Arthur's comments
2018-07-05 11:44:16 +01:00
Arthur Barr
4ad8f269ee Make AppArmor message applicabel to SELinux too 2018-06-26 11:07:03 +01:00
Riccardo Biraghi
0b9a9186cf Extend fs type list for linux 2018-06-20 10:30:28 +01:00
Riccardo Biraghi
0f9cd3f204 Add sfx filesystem and unknown fs handling 2018-06-19 15:28:28 +01:00
Stephen Marshall
4dfe8ed855 Improve metrics error handling (#114)
* Improve metrics error handling

* Updates to metrics error handling
2018-06-06 13:50:48 +01:00
Arthur Barr
be9c759a1c Merge build-devserver target conflict 2018-05-31 15:23:06 +01:00
Arthur Barr
0b36edae58 Convert statfs.Type for s390x (#98)
* Change apt URL for non-x86_64 platforms

* Convert statfs.Type for s390x
2018-05-31 11:55:32 +01:00
Arthur Barr
9f3032f014 Log extra environment information (#95)
* Make metrics tests use a host port

* fix port forwarding in devconfig tests

* Log extra environment information at startup
2018-05-31 09:35:16 +01:00
Stephen Marshall
a4b9a9abaf Initial delivery of metrics code (#81)
* Initial delivery of metrics code

* Fix build issues

* Fix build issue with go vet
2018-05-24 09:15:12 +01:00
Stephen Marshall
c389886d3c Surface errors from configuring the webserver 2018-05-04 10:58:12 +01:00
Rob Parker
04bb404eee Fix TLS logic so containers can be started multiple times 2018-04-30 15:57:19 +01:00
Rob Parker
8eb937b8e0 ensure we use '' round blank for SSLCIPH 2018-04-30 10:36:55 +01:00
Stephen Marshall
3aa46e0793 When pushed, this commit will replace hard-coded values with calls to LookupMQM 2018-04-25 16:24:46 +01:00
Riccardo Biraghi
d7633d8313 Fix test coverage in docker containers 2018-04-24 16:31:21 +01:00
Riccardo Biraghi
831f0695a9 Add vetting, formatting and vetting make commands and fix related errors 2018-04-11 13:43:57 +01:00
Rob Parker
f96304ae8f Merge pull request #49 from riccardobiraghi/issue36
Use template for TLS MQSC commands
2018-04-11 10:10:06 +01:00
Arthur Barr
ff016cf2be Merge pull request #46 from riccardobiraghi/issue32
Bubble up errors instead of using log.Fatal
2018-04-10 16:29:29 +01:00
Riccardo Biraghi
d56fce65c2 Fix tls template file 2018-04-10 16:29:14 +01:00
Riccardo Biraghi
faea308506 Use fmt.Errorf instead of errors.New 2018-04-10 15:18:03 +01:00
Riccardo Biraghi
6773496d99 Use template for MQSC commands for TLS config 2018-04-10 15:03:36 +01:00
Riccardo Biraghi
3fcc7b4c6e Return nil in checkFS 2018-04-10 13:42:44 +01:00
Arthur Barr
eea80d139a Merge pull request #42 from riccardobiraghi/issue33
Fix timing problem in mirroring tests
2018-04-10 13:38:07 +01:00
Riccardo Biraghi
2397966a86 Remove log.Fatal() calls and bubble up errors 2018-04-10 13:27:24 +01:00
Riccardo Biraghi
7009f3a392 Wait for log file after rotation 2018-04-10 10:01:47 +01:00
Riccardo Biraghi
b41a58645b Apply mirroring delay to last iteration 2018-04-09 15:54:05 +01:00
Riccardo Biraghi
ef04949036 Replace logDebug with log.Debug 2018-04-09 12:45:45 +01:00
Arthur Barr
189637e518 Add admin.json to configure web console 2018-03-26 12:08:53 +01:00
Arthur Barr
fcb7377575 Add more dev config tests 2018-03-21 13:40:53 +00:00
Arthur Barr
2d59a94168 Remove unused code 2018-03-21 10:36:26 +00:00
Arthur Barr
ab3b44e84b TLS and HTTPS configuration in default developer config 2018-03-20 16:47:24 +00:00
Arthur Barr
4fc5460ac8 Log termination errors 2018-03-14 14:20:32 +00:00
Arthur Barr
d495b3640e Add extra fields to runmqserver JSON log 2018-03-12 16:27:57 +00:00
Arthur Barr
10e448056b Add web server to dev image 2018-03-12 11:14:59 +00:00
Arthur Barr
a14da7aaa8 Change LOG_FORMAT to basic 2018-03-06 13:47:52 +00:00
Arthur Barr
e07110108f Mirror MQ system logs 2018-03-05 10:57:05 +00:00
Arthur Barr
91bf65ab57 Remove logrus to allow for easier customization 2018-02-22 17:29:06 +00:00