slugrunner container from git push fails to boot
bacongobbler opened this issue · 4 comments
bacongobbler commented
After pushing example-go to Deis, the build completed successfully, but when I checked the container I saw this error:
ubuntu@ip-172-20-0-28:~$ sudo cat /var/log/containers/rb-v2-web-1ex4a_rb_rb-web-44cf0bd8248d48c66749f47f5ee35dd95db4ca8d0ada03aabcb2d54e1dfe1e67.log
{"log":"+ export HOME=/app\n","stream":"stderr","time":"2015-12-18T03:36:39.884077992Z"}
{"log":"+ HOME=/app\n","stream":"stderr","time":"2015-12-18T03:36:39.898814622Z"}
{"log":"+ mkdir -p /app\n","stream":"stderr","time":"2015-12-18T03:36:39.898827261Z"}
{"log":"++ ls -A /app\n","stream":"stderr","time":"2015-12-18T03:36:39.898927001Z"}
{"log":"+ [[ -n '' ]]\n","stream":"stderr","time":"2015-12-18T03:36:39.898934388Z"}
{"log":"+ [[ -n http://10.0.196.211:9000/git/home/rb:git-e1590887/slug ]]\n","stream":"stderr","time":"2015-12-18T03:36:39.898937443Z"}
{"log":"+ [[ -e /var/run/secrets/object/store/access-key-id ]]\n","stream":"stderr","time":"2015-12-18T03:36:39.898940527Z"}
{"log":"+ tar -xzC /app\n","stream":"stderr","time":"2015-12-18T03:36:39.898943388Z"}
{"log":"+ curl -s http://10.0.196.211:9000/git/home/rb:git-e1590887/slug\n","stream":"stderr","time":"2015-12-18T03:36:39.898946195Z"}
{"log":"\n","stream":"stderr","time":"2015-12-18T03:36:39.89894912Z"}
{"log":"gzip: stdin: not in gzip format\n","stream":"stderr","time":"2015-12-18T03:36:39.898961137Z"}
{"log":"tar: Child returned status 1\n","stream":"stderr","time":"2015-12-18T03:36:39.898964326Z"}
{"log":"tar: Error is not recoverable: exiting now\n","stream":"stderr","time":"2015-12-18T03:36:39.898967306Z"}
@smothiki says this might be because slugrunner is pointing at the wrong place for the app slug URL.
technosophos commented
I got lucky enough to get a snapshot of the log when slugrunner failed to start:
⇒ k --namespace=iciest-newsreel get po
NAME READY STATUS RESTARTS AGE
iciest-newsreel-v2-web-npzvy 0/1 CrashLoopBackOff 3 47s
☃ @ENG001590.local ~/Code/Go/src/github.com/kubernetes/kubernetes «/Users/mattbutcher/Code» ‹6a81b50*›
⇒ k --namespace=iciest-newsreel logs iciest-newsreel-v2-web-npzvy
+ export HOME=/app
+ HOME=/app
+ mkdir -p /app
++ ls -A /app
+ [[ -n '' ]]
+ [[ -n http://10.247.177.202:9000/git/home/iciest-newsreel:git-6241aef4/slug ]]
+ [[ -e /var/run/secrets/object/store/access-key-id ]]
+ curl -s http://10.247.177.202:9000/git/home/iciest-newsreel:git-6241aef4/slug
+ tar -xzC /app
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
smothiki commented
you are not using the latest workflow
technosophos commented
Okay. I don't know which one is latest. I'll re-test in the AM.
smothiki commented
this PR deis/workflow#131 fixes this bug