You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ vegacapsule nodes remove --name testnet-nodeset-validators-1-validator
2023/02/27 12:43:11 stopping testnet-nodeset-validators-1-validator node set
2023/02/27 12:43:11 Trying to stop jobs: testnet-nodeset-validators-1-validator
2023/02/27 12:43:13 Job "testnet-nodeset-validators-1-validator" stopped
2023/02/27 12:43:13 Jobs have been stopped.
2023/02/27 12:43:13 stopping testnet-nodeset-validators-1-validator node set success
Try to then add a new node, and it fails:
$ vegacapsule nodes add --base-on testnet-nodeset-validators-0-validator
2023/02/27 12:43:49 Initiating Tendermint node "validator" with: /Users/wwestgarth/go2/bin/vega [tm init validator --home /Users/wwestgarth/.vegacapsule/testnet/tendermint/node2]
2023/02/27 12:43:49 I[2023-02-27|12:43:49.884] Found private validator module=main keyFile=/Users/wwestgarth/.vegacapsule/testnet/tendermint/node2/config/priv_validator_key.json stateFile=/Users/wwestgarth/.vegacapsule/testnet/tendermint/node2/data/priv_validator_state.json
I[2023-02-27|12:43:49.884] Found node key module=main path=/Users/wwestgarth/.vegacapsule/testnet/tendermint/node2/config/node_key.json
I[2023-02-27|12:43:49.884] Found genesis file module=main path=/Users/wwestgarth/.vegacapsule/testnet/tendermint/node2/config/genesis.json
2023/02/27 12:43:49 Initiating node "validator" with: /Users/wwestgarth/go2/bin/vega [init --home /Users/wwestgarth/.vegacapsule/testnet/vega/node2 --nodewallet-passphrase-file /Users/wwestgarth/.vegacapsule/testnet/vega/node2/node-vega-wallet-pass.txt --no-tendermint --output json validator]
2023/02/27 12:43:49 Trying to stop jobs: ganache-1, testnet-nodeset-validators-0-validator, testnet-nodeset-validators-2-validator, testnet-vegawallet
2023/02/27 12:43:49 Job "testnet-vegawallet" stopped
2023/02/27 12:43:51 Job "ganache-1" stopped
2023/02/27 12:43:51 Job "testnet-nodeset-validators-2-validator" stopped
2023/02/27 12:43:51 Job "testnet-nodeset-validators-0-validator" stopped
2023/02/27 12:43:51 Jobs have been stopped.
Error: failed to add new node: failed to initiate Vega node id 2 for node set validators: failed to initiate vega node: failed to execute binary /Users/wwestgarth/go2/bin/vega [init --home /Users/wwestgarth/.vegacapsule/testnet/vega/node2 --nodewallet-passphrase-file /Users/wwestgarth/.vegacapsule/testnet/vega/node2/node-vega-wallet-pass.txt --no-tendermint --output json validator] with error: configuration already exists at `/Users/wwestgarth/.vegacapsule/testnet/vega/node2/config/node/config.toml` please remove it first or re-run using -f
: exit status 255
Usage:
vegacapsule nodes add [flags]
Flags:
--base-on string Name of the node set that the new node set should be based on
--count int Defines how many node sets should be added (default 1)
-h, --help help for add
--out-path string If not empty, details about added nodes are saved in the given file
--start Allows to configure whether or not the new node set should automatically start (default true)
Global Flags:
--home-path string Specify the location of network home directory (default "/Users/wwestgarth/.vegacapsule/testnet")
because it tries to create the new node as if it is node number 2, when really its node number 3 (even though the existing node count is 2)
The text was updated successfully, but these errors were encountered:
Start a network with 3 validator nodes.
Remove node 1 from the network, it works:
Try to then add a new node, and it fails:
because it tries to create the new node as if it is node number 2, when really its node number 3 (even though the existing node count is 2)
The text was updated successfully, but these errors were encountered: