Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: failed to start network: network not bootstrapped #378

Open
vega-paul opened this issue Feb 6, 2023 · 1 comment
Open

Error: failed to start network: network not bootstrapped #378

vega-paul opened this issue Feb 6, 2023 · 1 comment
Assignees

Comments

@vega-paul
Copy link
Contributor

When starting a network using

vegacapsule network start --home-path /Users/paulwebb/repos/networkdata/testnet --do-not-stop-on-failure

This fails with the error below
Only solution here is to remove the /testnet folder and try again

Check local environment: Start
WORK_DIR=/Users/paulwebb/repos
SYSTEM_TEST_DIR=/Users/paulwebb/repos/system-tests
VEGA_DIR=/Users/paulwebb/repos/vega
VEGATOOLS_DIR=/Users/paulwebb/repos/vegatools
GOPATH=/Users/paulwebb/Projects/go
GOOS=
GOARCH=amd64
GOPROXY=
SYSTEM_TESTS_ENV=127.0.0.1
VALIDATOR_NODE_COUNT=2
NON_VALIDATOR_NODE_COUNT=1
TEST_FUNCTION=
TEST_DIRECTORY=tests
TEST_MARK=
TEST_EXTRA_PYTEST_ARGS=
UID=501
GID=20
VEGA_LOG_LEVEL=Info
VEGACAPSULE_CONFIG_FILENAME=/Users/paulwebb/repos/system-tests/vegacapsule/capsule_config_network_infra.hcl
TESTS_DIR=/Users/paulwebb/repos/networkdata
NETWORK_HOME_PATH=/Users/paulwebb/repos/networkdata/testnet
MAINNET_TEST_CASE=
VEGACAPSULE_DIR=/Users/paulwebb/repos/vegacapsule
VEGACAPSULE_NET_ADDR=
GOBIN=/Users/paulwebb/Projects/go/bin
/Users/paulwebb/.local/bin/poetry
=== Check Successful ===
Check local environment: End
Generate network: Start
Generate network: End
Start network: Start
Error: failed to start network: network not bootstrapped. Use the 'bootstrap' subcommand or provide different network home with the `--home-path` flag
Usage:
  vegacapsule network start [flags]

Flags:
      --do-not-stop-on-failure   Do not stop partially running network when failed to start
  -h, --help                     help for start

Global Flags:
      --home-path string   Specify the location of network home directory (default "/Users/paulwebb/.vegacapsule/testnet")

@vega-paul vega-paul added the bug Something isn't working label Feb 6, 2023
@jgsbennett
Copy link
Contributor

I've seen this issue before, and it's basically always caused by not having cleaned up the directory with make cleanup. Given what you say about removing the testnet directory, and your other issue about the cleanup command, I'd 95% say that this is not a bug, and caused by the other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants