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 connecting nebula with console on M1 #2834

Closed
foesa-yang opened this issue Sep 10, 2021 · 5 comments · Fixed by #3240
Closed

Error connecting nebula with console on M1 #2834

foesa-yang opened this issue Sep 10, 2021 · 5 comments · Fixed by #3240
Assignees
Labels
type/feature req Type: feature request
Milestone

Comments

@foesa-yang
Copy link

foesa-yang commented Sep 10, 2021

Nebula Graph version 2.5.0
Apple M1 chip
When I use docker to connect to the console, the following problems occur.

foesa@foesasdeMacBook-Pro nebula-docker-compose % docker run --rm -ti --network nebula-docker-compose_nebula-net --entrypoint=/bin/sh vesoft/nebula-console:v2.5.0
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

/ # nebula-console -u root -p 23 --address=graphd --port=9669
2021/09/10 01:47:47 [INFO] connection pool is initialized successfully
2021/09/10 01:47:47 Fail to create a new session from connection pool, failed to open transport, error: dial tcp 172.21.0.9:9669: connect: connection refused
panic: Fail to create a new session from connection pool, failed to open transport, error: dial tcp 172.21.0.9:9669: connect: connection refused

goroutine 1 [running]:
log.Panicf(0x7ac363, 0x35, 0xc000061e98, 0x1, 0x1)
	/usr/local/go/src/log/log.go:345 +0xc0
main.main()
	/usr/src/main.go:364 +0x8cd

And the state is unhealthy

foesa@foesasdeMacBook-Pro nebula-docker-compose % docker-compose ps
              Name                             Command                   State                                                          Ports                                                  
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
nebula-docker-compose_graphd1_1     /usr/local/nebula/bin/nebu ...   Up (healthy)     0.0.0.0:61914->19669/tcp, 0.0.0.0:61912->19670/tcp, 0.0.0.0:61913->9669/tcp                              
nebula-docker-compose_graphd2_1     /usr/local/nebula/bin/nebu ...   Up (healthy)     0.0.0.0:61919->19669/tcp, 0.0.0.0:61917->19670/tcp, 0.0.0.0:61918->9669/tcp                              
nebula-docker-compose_graphd_1      /usr/local/nebula/bin/nebu ...   Up (healthy)     0.0.0.0:61915->19669/tcp, 0.0.0.0:61916->19670/tcp, 0.0.0.0:9669->9669/tcp                               
nebula-docker-compose_metad0_1      /usr/local/nebula/bin/nebu ...   Up (unhealthy)   0.0.0.0:61901->19559/tcp, 0.0.0.0:61899->19560/tcp, 0.0.0.0:61900->9559/tcp, 9560/tcp                    
nebula-docker-compose_metad1_1      /usr/local/nebula/bin/nebu ...   Up (unhealthy)   0.0.0.0:61892->19559/tcp, 0.0.0.0:61893->19560/tcp, 0.0.0.0:61894->9559/tcp, 9560/tcp                    
nebula-docker-compose_metad2_1      /usr/local/nebula/bin/nebu ...   Up (unhealthy)   0.0.0.0:61896->19559/tcp, 0.0.0.0:61897->19560/tcp, 0.0.0.0:61898->9559/tcp, 9560/tcp                    
nebula-docker-compose_storaged0_1   /usr/local/nebula/bin/nebu ...   Up (unhealthy)   0.0.0.0:61902->19779/tcp, 0.0.0.0:61903->19780/tcp, 9777/tcp, 9778/tcp, 0.0.0.0:61904->9779/tcp, 9780/tcp
nebula-docker-compose_storaged1_1   /usr/local/nebula/bin/nebu ...   Up (unhealthy)   0.0.0.0:61910->19779/tcp, 0.0.0.0:61911->19780/tcp, 9777/tcp, 9778/tcp, 0.0.0.0:61909->9779/tcp, 9780/tcp
nebula-docker-compose_storaged2_1   /usr/local/nebula/bin/nebu ...   Up (unhealthy)   0.0.0.0:61906->19779/tcp, 0.0.0.0:61907->19780/tcp, 9777/tcp, 9778/tcp, 0.0.0.0:61905->9779/tcp, 9780/tcp

close #2791

@HarrisChu
Copy link
Contributor

#2791

@Sophie-Xie Sophie-Xie assigned yixinglu and unassigned Aiee Sep 10, 2021
@Sophie-Xie Sophie-Xie added the type/feature req Type: feature request label Sep 10, 2021
@Sophie-Xie Sophie-Xie added this to the v2.6.0 milestone Sep 10, 2021
@yixinglu
Copy link
Contributor

We need to build the ARM-arch docker image for M1, which will include following images:

  • vesoft/nebula-dev
  • vesoft/nebula-{graphd, storaged, metad}
  • vesoft/nebula-console
  • vesoft/nebula-importer
  • vesoft/nebula-http-gateway
  • vesoft/nebula-studio

@Sophie-Xie Sophie-Xie modified the milestones: v2.6.0, v3.0.0 Oct 15, 2021
@Sophie-Xie
Copy link
Contributor

Product Committee: not include in v3.0.0

@Sophie-Xie Sophie-Xie removed this from the v3.0.0 milestone Oct 18, 2021
@Sophie-Xie Sophie-Xie moved this from Todo to Done in Nebula Graph v3.0.0 Nov 4, 2021
@Sophie-Xie Sophie-Xie moved this from Done to Todo in Nebula Graph v3.0.0 Nov 10, 2021
@Sophie-Xie Sophie-Xie moved this from Todo to Backlog in Nebula Graph v3.0.0 Nov 18, 2021
@yixinglu yixinglu moved this from Backlog to Coding in Nebula Graph v3.0.0 Nov 23, 2021
@yixinglu yixinglu moved this from Coding to Done in Nebula Graph v3.0.0 Nov 23, 2021
@Sophie-Xie Sophie-Xie moved this from Done to Backlog in Nebula Graph v3.0.0 Dec 10, 2021
@Sophie-Xie Sophie-Xie moved this from Backlog to Todo in Nebula Graph v3.0.0 Jan 7, 2022
@Sophie-Xie Sophie-Xie reopened this Jan 10, 2022
@Sophie-Xie Sophie-Xie moved this from Todo to Backlog in Nebula Graph v3.1.0 Jan 10, 2022
@Sophie-Xie Sophie-Xie added this to the v3.1.0 milestone Jan 10, 2022
@wey-gu
Copy link
Contributor

wey-gu commented Feb 10, 2022

I think it's crucial to provide at least core arm linux image due to developers with Mac desktop machines since 2020+ are all arm-based and whether to be able to run it with docker on the desktop makes quite some differences for those why would like to access/quick start nebula graph.

One workaround that might be possible is to have the standalone nebula docker image, which is a single docker image, ideally, the x86 image could be runnable in qemu-fmt(emulating x86 in ARM machine).(#3874)

@abby-cyber
Copy link
Contributor

#1542

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature req Type: feature request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

7 participants