Unable to launch Kubernetes cluster in s390x arch Travis instance

Hi there,

Creating a Kubernetes cluster in s390x Travis instance fails to start up with following messages:

....
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
I0124 18:10:14.588971    8024 local.go:65] [etcd] wrote Static Pod manifest for a local etcd member to "/etc/kubernetes/manifests/etcd.yaml"
I0124 18:10:14.588983    8024 waitcontrolplane.go:91] [wait-control-plane] Waiting for the API server to be healthy
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[kubelet-check] Initial timeout of 40s passed.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp 127.0.0.1:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp 127.0.0.1:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.

I am able to successfully trigger kube builds on amd64.

Please let me know what could be going on here. Thanks.

Failed build:

Try adding this in your script hook:

sudo swapoff -a
sudo sed -i '/ swap / s/^/#/' /etc/fstab

Hi @Montana - thanks for your input. I had already tried the swapoff tweak earlier but it did not help. I also added fstab step to my script but it did not work either.

Hey @rposts,

Let me look into this a bit further. Thanks for the link. I’ll post back when I have more information.

Hi @Montana any news on this? This blocks us too. The problem seems to be in LXD container which is not suitable for Kubernetes. We need a full VM. Looks like linux-ppc64le provides this for Power The Travis CI Blog: Build your open source projects on IBM Power and IBM Z CPU architecture but there is no linux-s390x for Z.