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

sandbox bringup fails on linux/arm64 (Raspberry PI) #196

Open
sdeoras opened this issue Oct 30, 2023 · 0 comments
Open

sandbox bringup fails on linux/arm64 (Raspberry PI) #196

sdeoras opened this issue Oct 30, 2023 · 0 comments
Labels
new-bug Bug report that needs triage

Comments

@sdeoras
Copy link

sdeoras commented Oct 30, 2023

Subject of the issue

Bringing up sandbox environment on linux/arm64 (Raspberry PI 4 w/ 8GB ram) failed due to some services not initializing

Your environment

OS:

uname -a
Linux rpi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

Sandbox at commit id 783d25d

Steps to reproduce

  1. Clone sandbox on a raspberry PI 4 with 8GB RAM at commit id 783d25d
  2. Run ./sandbox up mainnet

Expected behaviour

Expected containers to be up and running with no errors

Actual behaviour

./sandbox up mainnet

Starting sandbox for: mainnet
see sandbox.log for detailed progress, or use -v.
* docker containers started!
* waiting for services to initialize.
the following did not start:
* indexer
* conduit
One or more services failed to start.

FWIW, below is info on containers:

docker ps -a
CONTAINER ID   IMAGE                COMMAND                  CREATED         STATUS         PORTS                                                                                                                                                 NAMES
0571b41f4f34   sandbox_indexer      "/tmp/start.sh"          8 minutes ago   Up 8 minutes   0.0.0.0:8980->8980/tcp, :::8980->8980/tcp                                                                                                             algorand-sandbox-indexer
5c167ae5a96c   sandbox_conduit      "/tmp/start.sh"          8 minutes ago   Up 8 minutes   0.0.0.0:3998->3998/tcp, :::3998->3998/tcp                                                                                                             algorand-sandbox-conduit
fd609d8d97bc   sandbox_algod        "/opt/start_algod.sh"    8 minutes ago   Up 8 minutes   0.0.0.0:3999->3999/tcp, :::3999->3999/tcp, 0.0.0.0:4001-4002->4001-4002/tcp, :::4001-4002->4001-4002/tcp, 0.0.0.0:9392->9392/tcp, :::9392->9392/tcp   algorand-sandbox-algod
6d6c6dcf0ea2   postgres:13-alpine   "docker-entrypoint.s…"   8 minutes ago   Up 8 minutes   0.0.0.0:5433->5432/tcp, :::5433->5432/tcp                                                                                                             algorand-sandbox-postgres

Last several lines of sandbox.log file:

#34 naming to docker.io/library/sandbox_algod 0.0s done
#34 DONE 10.5s
* docker compose up -d
Network sandbox_default  Creating
Network sandbox_default  Created
Container algorand-sandbox-algod  Creating
Container algorand-sandbox-postgres  Creating
Container algorand-sandbox-algod  Created
Container algorand-sandbox-postgres  Created
Container algorand-sandbox-conduit  Creating
Container algorand-sandbox-conduit  Created
Container algorand-sandbox-indexer  Creating
Container algorand-sandbox-indexer  Created
Container algorand-sandbox-postgres  Starting
Container algorand-sandbox-algod  Starting
Container algorand-sandbox-algod  Started
Container algorand-sandbox-postgres  Started
Container algorand-sandbox-conduit  Starting
Container algorand-sandbox-conduit  Started
Container algorand-sandbox-indexer  Starting
Container algorand-sandbox-indexer  Started
@sdeoras sdeoras added the new-bug Bug report that needs triage label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-bug Bug report that needs triage
Projects
None yet
Development

No branches or pull requests

2 participants
@sdeoras and others