Comments (9)
I believe this error is usually attributed to networking issues (usually DNS-related) within slugbuilder to the outside world. IIRC Vagrant somehow inherits the host's DNS server information. Can you try using the kubectl troubleshooting guide and check the DNS setup in your cluster?
from deis.
Is there something specific I should be looking for?
Just for reference, I've then tried to create a new app via the deis pull
method (https://deis.com/docs/workflow/quickstart/deploy-an-app/) which works.
$ deis pull deis/example-go -a global-zirconia
Creating build... done
$ curl http://global-zirconia.10.247.16.91.nip.io
Powered by Deis
from deis.
deis pull
should work normally because the commands are run from the host's docker socket which inherits the node's networking. I believe this issue crops up every so often in Vagrant due to pod networking.
Is there something specific I should be looking for?
Yes, you can look in /etc/resolv.conf in the builder container with the following:
kubectl exec -it --namespace=deis deis-builder-somerandomstring bash
cat /etc/resolv.conf
curl --verbose google.com # to determine if the pod's resolving DNS lookups correctly
from deis.
For reference here's when I hit the same issue: deis/builder#55
from deis.
thanks @bacongobbler!
Looks like I can't curl google.com as you expected.
How does the pod inherit its nameservers from and where should I be modifying the resolv.conf. Directly on the pod itself?
from deis.
So for myself, my ISP was providing my computer with a DNS search domain called bacongobbler.com
, making all requests from https://google.com to become https://google.com.bacongobbler.com. I edited the host machine's /etc/resolv.conf (as in my physical host, not the virtual machines), then destroyed my cluster and re-provisioned from scratch.
deis/builder#55 (comment) goes into a little more detail on how I resolved this.
from deis.
@bacongobbler done! got builder curling google.com
successfully.
Unfortunately, still getting a pre-receive hook error.
➜ 2048 git:(master) git push deis master
Counting objects: 768, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (329/329), done.
Writing objects: 100% (768/768), 446.45 KiB | 0 bytes/s, done.
Total 768 (delta 435), reused 768 (delta 435)
Starting build... but first, coffee!
remote: 2016/10/10 04:59:15 Error running git receive hook [watching events for builder pod startup (Giving up; pod went into failed status:
remote: []:)]
To ssh://deis-builder.10.247.16.91.nip.io:2222/ironic-hacienda.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://[email protected]:2222/ironic-hacienda.git'
from deis.
@davidchua interesting that kubernetes didn't post any debug information about why the pod went into failed status. If you're still seeing this issue I'd suggest diving into the kubernetes logs or watching the events api in the deis
namespace to investigate why slugbuilder is failing.
from deis.
looks like this issue has since been resolved, so I'm closing this due to inactivity. If you're still seeing this issue, please post a new issue at https://github.com/deis/builder as this repo is intended for v1 issues. Thanks!
from deis.
Related Issues (20)
- Can't build database image HOT 1
- Publisher fails to parse HEALTHCHECK_INITIAL_DELAY if the value contains `\r` HOT 4
- Workflow: can't add readiness probe healthcheck HOT 2
- (Custom) domain with no certificate still serves https HOT 7
- Is it possible to disallow features at a cluster level? HOT 3
- Unable to Deploy on v2.8.0 ontop of Digitalocean K8 Cluster HOT 6
- nds
- LTS won't build with Go 1.7.3 HOT 2
- Pushing an app crashes the pod network HOT 1
- Off cluster Minio HOT 1
- How to change timezone? HOT 4
- Deis login command hangs when invoked via a bash shell script HOT 2
- ป้ายหน้าหมู่บ้านพระราม 2 ซิตี้
- Could not create the Namespace in Kubernetes - deis config:push
- Git push hangs on "Pushing to registry" HOT 3
- InvalidDomainNameLabel while provisioning Docker EE on Azure HOT 1
- Deis builder push operation timed out
- cluster namespaces conflicts when using same deis login HOT 3
- deis CLI version changing HOT 1
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 deis.