Warnings spam on Docker setup #828

Closed
opened 2024-05-25 17:18:59 +00:00 by ClayenKitten · 1 comment

Hello! Garage keeps spamming warnings about ring not being ready when I use it with Docker Compose. Is there any way to remove these logs without disabling WARN-level logs altogether? Thanks in advance!

depot-storage-1  | 2024-05-25T17:11:05.980833Z  INFO garage::server: Loading configuration...
depot-storage-1  | 2024-05-25T17:11:05.981348Z  INFO garage::server: Initializing Garage main data store...
depot-storage-1  | 2024-05-25T17:11:05.981406Z  INFO garage_model::garage: Opening database...
depot-storage-1  | 2024-05-25T17:11:05.981426Z  INFO garage_db::open: Opening Sqlite database at: /var/lib/garage/meta/db.sqlite
depot-storage-1  | 2024-05-25T17:11:05.989513Z  INFO garage_model::garage: Initializing RPC...
depot-storage-1  | 2024-05-25T17:11:05.989548Z  INFO garage_model::garage: Initialize background variable system...
depot-storage-1  | 2024-05-25T17:11:05.989550Z  INFO garage_model::garage: Initialize membership management system...
depot-storage-1  | 2024-05-25T17:11:05.989574Z  INFO garage_rpc::system: Node ID of this node: 07a6b5397093d1b0
depot-storage-1  | 2024-05-25T17:11:05.989601Z  INFO garage_rpc::layout::manager: No valid previous cluster layout stored (IO error: No such file or directory (os error 2)), starting fresh.
depot-storage-1  | 2024-05-25T17:11:05.989637Z  INFO garage_rpc::layout::helper: ack_until updated to 0
depot-storage-1  | 2024-05-25T17:11:05.989709Z  WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost!
depot-storage-1  | 2024-05-25T17:11:05.989715Z  WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost!
depot-storage-1  | 2024-05-25T17:11:05.989716Z  WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost!
depot-storage-1  | 2024-05-25T17:11:05.989717Z  WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost!
depot-storage-1  | 2024-05-25T17:11:05.989719Z  WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost!
depot-storage-1  | 2024-05-25T17:11:05.989720Z  WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost!
depot-storage-1  | 2024-05-25T17:11:05.989721Z  WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost!
depot-storage-1  | 2024-05-25T17:11:05.989722Z  WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost!
// ...
Hello! Garage keeps spamming warnings about ring not being ready when I use it with Docker Compose. Is there any way to remove these logs without disabling WARN-level logs altogether? Thanks in advance! ``` depot-storage-1 | 2024-05-25T17:11:05.980833Z INFO garage::server: Loading configuration... depot-storage-1 | 2024-05-25T17:11:05.981348Z INFO garage::server: Initializing Garage main data store... depot-storage-1 | 2024-05-25T17:11:05.981406Z INFO garage_model::garage: Opening database... depot-storage-1 | 2024-05-25T17:11:05.981426Z INFO garage_db::open: Opening Sqlite database at: /var/lib/garage/meta/db.sqlite depot-storage-1 | 2024-05-25T17:11:05.989513Z INFO garage_model::garage: Initializing RPC... depot-storage-1 | 2024-05-25T17:11:05.989548Z INFO garage_model::garage: Initialize background variable system... depot-storage-1 | 2024-05-25T17:11:05.989550Z INFO garage_model::garage: Initialize membership management system... depot-storage-1 | 2024-05-25T17:11:05.989574Z INFO garage_rpc::system: Node ID of this node: 07a6b5397093d1b0 depot-storage-1 | 2024-05-25T17:11:05.989601Z INFO garage_rpc::layout::manager: No valid previous cluster layout stored (IO error: No such file or directory (os error 2)), starting fresh. depot-storage-1 | 2024-05-25T17:11:05.989637Z INFO garage_rpc::layout::helper: ack_until updated to 0 depot-storage-1 | 2024-05-25T17:11:05.989709Z WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost! depot-storage-1 | 2024-05-25T17:11:05.989715Z WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost! depot-storage-1 | 2024-05-25T17:11:05.989716Z WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost! depot-storage-1 | 2024-05-25T17:11:05.989717Z WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost! depot-storage-1 | 2024-05-25T17:11:05.989719Z WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost! depot-storage-1 | 2024-05-25T17:11:05.989720Z WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost! depot-storage-1 | 2024-05-25T17:11:05.989721Z WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost! depot-storage-1 | 2024-05-25T17:11:05.989722Z WARN garage_rpc::layout::version: Ring not yet ready, read/writes will be lost! // ... ```
Owner

You must finish the setup of your cluster as described in the quick start guide by creating a cluster layout. This step is mandatory even in a single-node cluster. If you want it to be done automatically, you should try to script it using the admin API.

You must finish the setup of your cluster as described in the [quick start guide](https://garagehq.deuxfleurs.fr/documentation/quick-start/#creating-a-cluster-layout) by creating a cluster layout. This step is mandatory even in a single-node cluster. If you want it to be done automatically, you should try to script it using the admin API.
lx closed this issue 2024-05-29 14:44:31 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#828
No description provided.