git push deis master times out on GKE
bnookala opened this issue · 4 comments
Hi! I attempted to follow the quickstart guide to publish a small application onto Deis on GKE. I've followed the same guide for Azure and AWS with a moderate amount of success - so kudos for a comprehensive guide 👍 .
I keep running into this issue on GKE using the node buildpack, wherein a git push inevitably times out. I've attached console/log output from my terminal and deis-builder below.
Workflow v2.13.0
Kubernetes v1.6.0 on GKE
Terminal:
$ git push deis master
Counting objects: 31, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (29/29), done.
Writing objects: 100% (31/31), 22.21 MiB | 11.27 MiB/s, done.
Total 31 (delta 13), reused 0 (delta 0)
Starting build... but first, coffee!
-----> Restoring cache...
No cache file found. If this is the first deploy, it will be created now.
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true
NODE_VERBOSE=false
NODE_ENV=production
NODE_MODULES_CACHE=true
-----> Installing binaries
engines.node (package.json): unspecified
engines.npm (package.json): unspecified (use default)
Resolving node version 6.x via semver.io...
Downloading and installing node 6.10.2...
Using default npm version: 3.10.10
-----> Restoring cache
Skipping cache restore (new runtime signature)
-----> Building dependencies
Installing node modules (package.json)
k8s-load-test@1.0.0 /tmp/build
+-- express@4.15.2
| +-- accepts@1.3.3
| | +-- mime-types@2.1.15
| | | `-- mime-db@1.27.0
| | `-- negotiator@0.6.1
| +-- array-flatten@1.1.1
| +-- content-disposition@0.5.2
| +-- content-type@1.0.2
| +-- cookie@0.3.1
| +-- cookie-signature@1.0.6
| +-- debug@2.6.1
| | `-- ms@0.7.2
| +-- depd@1.1.0
| +-- encodeurl@1.0.1
| +-- escape-html@1.0.3
| +-- etag@1.8.0
| +-- finalhandler@1.0.1
| | +-- debug@2.6.3
| | `-- unpipe@1.0.0
| +-- fresh@0.5.0
| +-- merge-descriptors@1.0.1
| +-- methods@1.1.2
| +-- on-finished@2.3.0
| | `-- ee-first@1.1.1
| +-- parseurl@1.3.1
| +-- path-to-regexp@0.1.7
| +-- proxy-addr@1.1.4
| | +-- forwarded@0.1.0
| | `-- ipaddr.js@1.3.0
| +-- qs@6.4.0
| +-- range-parser@1.2.0
| +-- send@0.15.1
| | +-- destroy@1.0.4
| | +-- http-errors@1.6.1
| | | `-- inherits@2.0.3
| | `-- mime@1.3.4
| +-- serve-static@1.12.1
| +-- setprototypeof@1.0.3
| +-- statuses@1.3.1
| +-- type-is@1.6.15
| | `-- media-typer@0.3.0
| +-- utils-merge@1.0.0
| `-- vary@1.1.1
`-- pg@6.1.5
+-- buffer-writer@1.0.1
+-- packet-reader@0.2.0
+-- pg-connection-string@0.1.3
+-- pg-pool@1.7.1
| +-- generic-pool@2.4.3
| `-- object-assign@4.1.0
+-- pg-types@1.11.0
| +-- ap@0.2.0
| +-- postgres-array@1.0.2
| +-- postgres-bytea@1.0.0
| +-- postgres-date@1.0.3
| `-- postgres-interval@1.0.2
| `-- xtend@4.0.1
+-- pgpass@1.0.1
| `-- split@1.0.0
| `-- through@2.3.8
`-- semver@4.3.2
-----> Caching build
Clearing previous node cache
Saving 2 cacheDirectories (default):
- node_modules
- bower_components (nothing to cache)
-----> Build succeeded!
-----> Discovering process types
Procfile declares types -> web
Default process types for Node.js -> web
-----> Checking for changes inside the cache directory...
Files inside cache folder changed, uploading new cache...
Done: Uploaded cache (424K)
-----> Compiled slug size is 37M
(a lot of time passes…)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Builder:
receiving git repo name: convex-bagpiper.git, operation: git-receive-pack, fingerprint: 38:86:1a:ba:08:07:df:ef:f8:3c:f6:5b:7e:91:52:82, user: bhargav
creating repo directory /home/git/convex-bagpiper.git
writing pre-receive hook under /home/git/convex-bagpiper.git
git-shell -c git-receive-pack 'convex-bagpiper.git'
Waiting for git-receive to run.
Waiting for deploy.
(a lot of time passes…)
---> ---> ---> ---> ---> ---> ---> ---> ---> [ERROR] Failed git receive: convex-bagpiper lock exceeded timeout
Are there any other logs I can look at/more immediate actions I can take to fix this? :)
Aaaand, my github foo isn't as good as I thought it was. Closing this issue as deis/builder#507 appears to be the original.
I am getting below issue on GKE 1.8.8-gke.0 version , not able to understand what's going wrong.
"git push deis master
ssh: connect to host deis-builder.35.192.188.163.nip.io port 2222: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists. "
Hey @sachinkale, Deis Workflow is no longer being maintained by the Deis (now Microsoft) team as of last month. Can you ask over at https://github.com/teamhephy/workflow? Thanks!
Thanks for the reply @bacongobbler