Comments (5)
A resolvation response from Cocaine locator looks similar to:
[['hostname', 60085],
1,
{0: 'start_app', 1: 'pause_app', 2: 'list'}]
So the hostname
from this responce goes through getaddrinfo
to resolve into IP. Seems that your hostname can't be resolved into 10.0.0.1
. Could you check it? For example, using that with a replaced hostname:
python -c "import socket; print socket.getaddrinfo('localhost', 10053, 0, socket.SOCK_STREAM); "
from cocaine-tools.
Here is a netstat
dump:
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp 0 0 10.0.0.1:10053 0.0.0.0:* LISTEN 27203/cocaine-runti
tcp 0 0 10.0.0.1:55238 0.0.0.0:* LISTEN 27203/cocaine-runti
tcp 0 0 10.0.0.1:52778 0.0.0.0:* LISTEN 27203/cocaine-runti
tcp 0 0 10.0.0.1:46262 0.0.0.0:* LISTEN 27203/cocaine-runti
tcp6 0 0 ::1:631 :::* LISTEN -
tcp6 0 0 :::5000 :::* LISTEN -
As soon as I specify the locator address in cocaine-runtime
configuration, all services start running on this address, i.e. node
, storage
and logger
.
from cocaine-tools.
getaddrinfo
returns 127.0.0.1
, but network address of the machine is 10.0.0.1
from cocaine-tools.
As I expected.. So you could sort this out by adding 10.0.0.1
address for your hostname into /etc/hosts
or configure DNS.
PS. We're thinking about getting rid of this inconvenience by replying with a list of suitable addresses in the next version of Cocaine
from cocaine-tools.
Solved, thanks.
from cocaine-tools.
Related Issues (20)
- Zero exit code when trying to upload incorrect profile HOT 2
- Uploading docker app fails if tornado version is 4.0 HOT 5
- Add cocaine-tool profile/runlist/group copy/rename
- Add cocaine-tool locate SERVICE HOT 1
- Remove cocaine-tool call. HOT 1
- View a cluster map from Locator HOT 1
- [Groups] Edit command
- Proper support of chunked transfer encoding HOT 1
- Example of Docker image importing (v 0.11) HOT 6
- Remove all: skip missing crashlog HOT 1
- [Cluster] Support a flag to resolve hostnames from an address HOT 1
- Error in cocaine-tornado-proxy HOT 1
- Cannot run cocaine on a local machine HOT 17
- [Info] Implement streamed cocaine-tool info HOT 1
- Can`t upload program. Cocaine + elliptics HOT 17
- Anyone, please HOT 1
- runlist remove-app broken when removing the last app HOT 1
- Where did `cocaine-tool proxy` command go? HOT 1
- app upload from existing docker image HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocaine-tools.