[MXS-4331] Altering servers fails if SSL is enabled Created: 2022-09-30  Updated: 2022-10-04  Resolved: 2022-10-04

Status: Closed
Project: MariaDB MaxScale
Component/s: REST-API
Affects Version/s: 2.5.21
Fix Version/s: 2.5.22

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

The following command (and possibly all others as well) will fail with a Cannot alter SSL at runtime error if SSL is enabled.

maxctrl alter server server1 persistpoolmax 10

The configuration that reproduces the problem:

[server1]
type=server
address=127.0.0.1
port=3000
protocol=MariaDBBackend
ssl=true
ssl_ca_cert=/home/markusjm/ssl-certs/ca.pem



 Comments   
Comment by markus makela [ 2022-10-04 ]

The runtime configuration code now correctly detects no-op changes to the SSL configurations and ignores them.

Generated at Thu Feb 08 04:27:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.