Skip to content

Invalid host resolution (Nimbus, Docker, Marathon) #174

Open
@ilya-bystrov

Description

@ilya-bystrov

I run Storm on Mesos via Docker.

Supervisor can not be started because Nimbus service resolves hostname as localhost.

nimbus:
[INFO] Started HTTP server from which config for the MesosSupervisor's may be fetched. URL: http://localhost:45762/generated-conff

After that fetcher failed. mesos-slave:
I1020 13:38:45.664760 32717 fetcher.cpp:134] Downloading resource from 'http://localhost:45762/generated-conf/storm.yaml' to '/var/lib/mesos/slaves/27978124-3a65-46d5-80c0-cc83871de3f2-S0/frameworks/27978124-3a65-46d5-80c0-cc83871de3f2-0002/executors/inout-1-1476891187/runs/52d08df3-3152-4c6b-b680-4c0d80584c5d/storm.yaml' Failed to fetch 'http://localhost:45762/generated-conf/storm.yaml': Error downloading resource: Couldn't connect to server

Also I find code fragment responsible for host resolution storm.mesos.util.MesosCommon#getNimbusHost

Is there any solution? or I missed some configuration details.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions