Skip to content

Cluster crush after edit configuration file #1152

@whls

Description

@whls

Describe the bug
Cluster crush after add environment variables to configuration file /etc/default/rustfs.

To Reproduce
Steps to reproduce the behavior:

  1. Add RUSTFS_SERVER_DOMAINS to the configuration file /etc/default/rustfs:
    RUSTFS_ACCESS_KEY=rustfsadmin
    RUSTFS_SECRET_KEY=rustfsadmin
    RUSTFS_VOLUMES="http://rustfs-node0{1...4}:9000/data/rustfs0{1...4}"
    RUSTFS_ADDRESS=":9000"
    RUSTFS_CONSOLE_ENABLE=true
    RUST_LOG=error
    RUSTFS_OBS_LOG_DIRECTORY="/var/logs/rustfs/"
    RUSTFS_SERVER_DOMAINS=rustfs.eccom.com

  2. Restart rustfs service and service status is running.

  3. Can't access cluster:
    [root@rustfs-node01 ~]# mc ls rustfs
    mc: Unable to list folder. Not init

  4. find error in log file:
    RustFS API: http://172.20.57.161:9000 http://127.0.0.1:9000
    RustFS Start Time: 2025-12-15 16:56:28
    Console WebUI Start Time: 2025-12-15 16:56:28
    Console WebUI available at: http://172.20.57.161:9001/rustfs/console/index.html
    Console WebUI (localhost): http://127.0.0.1:9001/rustfs/console/index.html
    Error: Custom { kind: Other, error: "ec init failed" }

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: CentOS Linux release 8.4.2105
  • Browser: 143.0.7499.109
  • Version: rustfs 1.0.0-alpha.72

Additional context
Follow the official document below to perform the operation: https://docs.rustfs.com/integration/virtual.html

Metadata

Metadata

Assignees

Labels

S-reproducingStatus: Reproducing a bug reportquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions