Open gemoya opened 7 years ago
I would heavily suggest upgrading to v1.5.7 first and check to see if that fixes things. There are several high-severity patches since v1.5.0, any of which might be the reason why Workflow doesn't work on v1.5.0.
If you're still having issues on v1.5.7 then let us know!
I am experiencing exactly the same problem on a newer setup:
By the way, it's not only git push deis
that gets stuck, but also deis pull
gets stuck on "Creating build" even after the build completes and the app starts:
$ deis pull deis/example-go -a test
Creating build... ..o <--- this will be spinning forever
The same problem with deis config
, it completes on the server but the client command never exits:
$ deis config:set POWERED_BY="test5" -a test
Creating config... ..o <-- this will be spinning forever
Kubernetes 1.5.4 is the latest what stable Rancher offers, so it's not easy to upgrade to 1.5.7 or 1.6.x. Is there a suggested way to trace the problem?
@IlyaSemenov
With all my tests I concluded the problem was the network stack of Rancher, so I only got working deis with some versions of Rancher networking stacks vs Rancher Kubernetes versions. To do this you need to add the rancher-community catalog from github with specifics branches (you can add all branches you need and there in environments you can use every component from the branch you want, example: kubernetes from branch1, ipsec from branch2, networking from branch3, etc )
Is a tedious work...
pd: An additional problem I got is with some versions of Kubernetes and Rancher. Specially with autoscale where deis queries the Kuberentes version expecting only numbers but Kubernetes from Rancher returns versions on format like 1.5+ where the '+' crashes the autoscaling.
Now I am using pure Kubernetes but I am trying to solve some problems with RBAC :) .
@gemoya Thank you for sharing the experience. What do you now recommend to provision pure k8s? kubeadm?
Just FYI, I'm experiencing the same error with:
This issue was moved to teamhephy/builder#9
Hi,
I have a Kubernetes v1.5.0 provided by rancher:v1.4.3 with Deis Workflow 2.14
My problem is: When I hit 'git push deis' I got stuck at
The slug builder pod is launched and completed with success, you can view manually the supposed logs to be streamed (kubectl logs slug-build-xxxxxx).
Finally the app is deployed and works! but the 'git push' command never ends and the client can not know if his/her app is ready or not.
On the other way, the builder logs are:
And if I go inside of builder pod and tried to debug it I encounter this on pod processes
So, my idea is: the builder isn't getting the logs stream buffer from some side then I got a broken pipe because the builder is listening forever. I don't know the exact component what it uses to get the logs. I think fluentd takes the logs output of all containers but I don't know how the builder make a request of slug builder logs.
The deis workflow is deployed all on-cluster, with of-cluster redis/object-storage/all the problem persist.
An output of my deis workflow pods
extra info: My kubelet running options:
The app los can be viewed using deis cli
Some idea how do to the get this working properly ?