-
Notifications
You must be signed in to change notification settings - Fork 495
Description
When using the Settings: Region: Server Location option in the web console to set a value (e.g. FSN1-DC3 in my case), a space character at the beginning of the value is somehow added, which renders it invalid. So, when MinIO starts it complains about it:
Error: Invalid site configuration: region ' FSN1-DC3' is invalid, expected simple characters such as [us-east-1, myregion...] (*fmt .wrapError)
Note the extra space character at the begining of the value.
Expected Behavior
Not adding an extra space character at the beginning. Moreover, ideally the UI should check the value before trying to save it (against the same rules MinIO checks it when starting up).
Current Behavior
An error from minio is logged into /var/log/syslog, but the server starts and works correctly.
Your Environment
It's a very recent version, but not the latest:
# minio --version
minio version RELEASE.2023-02-27T18-10-45Z (commit-id=0ff931dc765d5d8fdddcdf7687fec1b0b194fca9)
Runtime: go1.19.6 linux/amd64
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Copyright: 2015-2023 MinIO, Inc.
It's running inside an LXC on a Proxmox 7.4 server on Debian 11 Bullseye:
# uname -a
Linux minio1 5.15.104-1-pve minio/minio#1 SMP PVE 5.15.104-1 (2023-03-29T15:51Z) x86_64 GNU/Linux