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

Change template file to reflect dev cluster url and port #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abs51295
Copy link
Contributor

Change default values for BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_HOST and BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_PORT

The current values point to localhost instance and failing for dev cluster deployments. Since now we have dev cluster as our primary playground, I am changing the variables to reflect the same.

… and BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_PORT

The current values point to localhost instance and failing for dev cluster deployments. Since now we have dev cluster as our primary playground, I am changing the variables to reflect the same.
@abs51295 abs51295 requested a review from miteshvp March 12, 2018 14:39
@abs51295 abs51295 self-assigned this Mar 12, 2018
@abs51295
Copy link
Contributor Author

[test]

1 similar comment
@abs51295
Copy link
Contributor Author

[test]

@abs51295 abs51295 mentioned this pull request Mar 13, 2018
host=os.environ.get("BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_HOST", "localhost"),
port=os.environ.get("BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_PORT", "8181"))
host=os.environ.get("BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_HOST", "bayesian-gremlin-http"),
port=os.environ.get("BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_PORT", "8182"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's weird that this is failing for dev cluster deployments as both variables (BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_HOST and BAYESIAN_GREMLIN_HTTPINGESTION_SERVICE_PORT) should be provided by OpenShift/k8s automatically. The only case when I would expect those variables to be missing is when data-importer was deployed sooner then gremlin. In such case, OpenShift would not know about the service and those variables would be missing.

@abs51295 is this issue reproducible?

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

Successfully merging this pull request may close these issues.

2 participants