garage layout revert error #454

Closed
opened 2022-12-23 13:22:50 +00:00 by calvin01 · 1 comment

I has commit 1 layout when setup the cluser.

Then I try adjust and want to revert, get this error:

garage layout revert --version 1
2022-12-23T13:19:27.752253Z  INFO netapp::netapp: Connected to 192.168.0.101:3901, negotiating handshake...    
2022-12-23T13:19:27.794770Z  INFO netapp::netapp: Connection established to 551189adaa50cdda    
Error: Internal error: Invalid new layout version
I has commit 1 layout when setup the cluser. Then I try adjust and want to revert, get this error: ```sh garage layout revert --version 1 2022-12-23T13:19:27.752253Z INFO netapp::netapp: Connected to 192.168.0.101:3901, negotiating handshake... 2022-12-23T13:19:27.794770Z INFO netapp::netapp: Connection established to 551189adaa50cdda Error: Internal error: Invalid new layout version ```
Owner

It's unintuitive but you also need to increase the version number when doing layout revert: garage layout revert --version 2

It's unintuitive but you also need to increase the version number when doing layout revert: `garage layout revert --version 2`
lx closed this issue 2023-01-02 14:12:06 +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#454
No description provided.