Comments (2)
Hi, really sorry you ran in to this. I think I have an idea what's going on here.
tl;dr: I think it's a problem with dns.
Pfs uses etcd to announce its services, this is handled by the announce-master-*-*.service
services. Those services do etcdctl set /pfs/master/0-1 {HOST_NAME}:port
. The router service then uses this to figure out how to contact the master. However this only works if the router can do a dns lookup. How did you setup the CoreOS instances? I remember running in to this problem when I tried to get pfs setup on Vagrant.
There are a few easy ways I can think of to fix this for you short term:
echo "coreos-1 10.132.128.22" >/etc/hosts
is a quick hack that should make things start working. This would also be a good way to confirm the DNS theory.- GCE and EC2 both have DNS by default, shoot me an email at [email protected] and I'll setup a hosted instance for you to play around with.
Action items for pfs:
- If DNS is indeed the problem this error message should explicitly mention that as a likely cause.
- Docs should do a better job of describing this in the "getting started" section.
- We should look in to making pfs not depend on DNS. I think this will be doable via flannel or something similar.
from pachyderm.
Hi Joe,
Thanks for the great response! The project does have "Alpha" plastered
firmly all over it so don't stress about newb issues :)
Unfortunately setting up /etc/hosts like so (and the other way round as you
suggested, which I assume was a mistake).
SHUTIT_TMP#GusY7I2m>cat /etc/hosts
10.132.128.22 coreos-1
10.132.129.103 coreos-2
I can only assume coreos has its own way of doing name resolution?
Was my send_sample call correct btw? If so, I can update the chess example
documentation. Tho it returned an error code 6, possibly because of the
lookup issues.
I'm not too familiar with coreos, so am without all my usual debugging
tools :(
Don't worry about setting something up for me. I can try the others myself;
it's really a DO automation that I was after.
Thanks again.
Ian
On Sat, Jan 24, 2015 at 10:25 PM, Joe Doliner [email protected]
wrote:
Hi, really sorry you ran in to this. I think I have an idea what's going
on here.tl;dr: I think it's a problem with dns.
Pfs uses etcd to announce its services, this is handled by the
announce-master--.service services. Those services do etcdctl set
/pfs/master/0-1 {HOST_NAME}:port. The router service then uses this to
figure out how to contact the master. However this only works if the router
can do a dns lookup. How did you setup the CoreOS instances? I remember
running in to this problem when I tried to get pfs setup on Vagrant.There are a few easy ways I can think of to fix this for you short term:
- echo "coreos-1 10.132.128.22" >/etc/hosts is a quick hack that
should make things start working. This would also be a good way to confirm
the DNS theory.- GCE and EC2 both have DNS by default, shoot me an email at
[email protected] and I'll setup a hosted instance for you to play
around with.
Action items for pfs:
- If DNS is indeed the problem this error message should explicitly
mention that as a likely cause.- Docs should do a better job of describing this in the "getting
started" section.- We should look in to making pfs not depend on DNS. I think this
will be doable via flannel or something similar.—
Reply to this email directly or view it on GitHub
#32 (comment).
from pachyderm.
Related Issues (20)
- There is no `pachctl create project` support in pachctl HOT 2
- Spout pipeline can't be restarted HOT 1
- Service pipeline stops serving static files after new data committed HOT 9
- Directory path collision error - pipeline that fails HOT 2
- pachctl get file returns 'branch "master" not found in repo'
- Can't run pachctl on WSL2 HOT 6
- Integrate pull request preview environments HOT 2
- pachtl put_file pfs folder specification HOT 2
- Console styling problems in airgapped (offline) environment HOT 2
- Proxy configuration does not honor no_proxy variable with hostname HOT 3
- Pachd says running but is Never Ready HOT 1
- Vulnerability of dependency "github.com/containerd/containerd"
- Examine Golang Arenas for GC Performance
- wrong proxy port in local deployment tutorial HOT 3
- 429 error when doing a put file using a url in the Pachyderm tutorial HOT 1
- Offer Database Hosting Locally instead of AWS s3
- pgbouncer cannot connect to server
- Unable to connect to PachD HOT 2
- Main Readme 404's
- console does not load
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 pachyderm.