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

Failed to start gremlin container #1807

Closed
2 tasks done
seiichi1101 opened this issue Aug 5, 2021 · 7 comments
Closed
2 tasks done

Failed to start gremlin container #1807

seiichi1101 opened this issue Aug 5, 2021 · 7 comments

Comments

@seiichi1101
Copy link
Contributor

Gremlin container failed to start when I run command like below.

docker-compose -f ./entc/integration/compose/docker-compose.yaml up --build gremlin

I think the settings are not correct to the latest image of tinkerpop/gremlin-server

If ent is intended to work with Amazon Neptune, fixing the gremlin version 3.4.11 would be better.
Because Amazon Neptune latest engine version still supports 3.4.11.

https://docs.aws.amazon.com/neptune/latest/userguide/engine-releases-1.0.5.0.html

And in version 3.4.11, both docker and test code work well.

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

I got errors.

gremlin_1     | [ERROR] GremlinServer - Configuration file at conf/gremlin-server.yaml could not be found or parsed properly. [Cannot create property=scriptEvaluationTimeout for JavaBean=org.apache.tinkerpop.gremlin.server.Settings@42e99e4a
gremlin_1     |  in 'reader', line 18, column 1:
gremlin_1     |     host: 172.20.0.2
gremlin_1     |     ^
gremlin_1     | Unable to find property 'scriptEvaluationTimeout' on class: org.apache.tinkerpop.gremlin.server.Settings
gremlin_1     |  in 'reader', line 20, column 26:
gremlin_1     |     scriptEvaluationTimeout: 30000
gremlin_1     |                              ^
gremlin_1     | ]
compose_gremlin_1 exited with code 0

Expected Behavior 🤔

Gremlin container can run.

Your Environment 🌎

Tech Version
Go go version
Ent master(6e48129)
@a8m
Copy link
Member

a8m commented Aug 6, 2021

Thanks for sending a patch for this @seiichi1101

@alexsn, would you mind adding me to the entgo org at Dockerhub? Thanks 🙏

@alexsn
Copy link
Collaborator

alexsn commented Aug 7, 2021

@alexsn, would you mind adding me to the entgo org at Dockerhub? Thanks 🙏

sure, what's your docker id?

@seiichi1101
Copy link
Contributor Author

Any updates?
@a8m, are you still going to use Docker Hub?

@a8m
Copy link
Member

a8m commented Sep 1, 2021

@alexsn, would you mind adding me to the entgo org at Dockerhub? Thanks 🙏

sure, what's your docker id?

mashraki. Thanks @alexsn

@alexsn
Copy link
Collaborator

alexsn commented Sep 1, 2021

@alexsn, would you mind adding me to the entgo org at Dockerhub? Thanks 🙏

sure, what's your docker id?

mashraki. Thanks @alexsn

Added.

@yonidavidson
Copy link
Collaborator

I updated the image in docker-hub to be 3.4.11
image

dockerhub entgo/gremlin-server

All that is left now is just to update the integration test (update the dockerfile in the integration test).
@seiichi1101 can you please update your PR just to update that?
Thanks.

@a8m
Copy link
Member

a8m commented Sep 1, 2021

Thanks @yonidavidson, @alexsn, and @seiichi1101 🙏

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

No branches or pull requests

4 participants