Bugzilla – Bug 1149392
'kubeadm init' fails to start inside openQA on aarch64
Last modified: 2019-10-21 05:18:45 UTC
Created attachment 816842 [details] journal.log 'kubeadm init' fails for an unknown reason. openQA link: https://openqa.opensuse.org/tests/1024732#step/kubeadm/13
I assume in openQA the etcd container does not start, too: 2019-09-05T19:58:46.104209786+00:00 stderr F 2019-09-05 19:58:46.103705 E | etcdmain: etcd on unsupported platform without ETCD_UNSUPPORTED_ARCH=arm64 set.
(In reply to Thorsten Kukuk from comment #1) > I assume in openQA the etcd container does not start, too: > 2019-09-05T19:58:46.104209786+00:00 stderr F 2019-09-05 19:58:46.103705 E | > etcdmain: etcd on unsupported platform without ETCD_UNSUPPORTED_ARCH=arm64 > set. In etcd.spec, we have: echo -e "\n#Enable arm64\nETCD_UNSUPPORTED_ARCH=arm64\n" >> %{buildroot}%{_fillupdir}/sysconfig.%{name} What is missing then?
(In reply to Guillaume GARDET from comment #2) > In etcd.spec, we have: > echo -e "\n#Enable arm64\nETCD_UNSUPPORTED_ARCH=arm64\n" >> > %{buildroot}%{_fillupdir}/sysconfig.%{name} > > What is missing then? The "etcd" package is designed to run by systemd standalone on a system, but with Kubic, we use a containerized control plane. So the etcd.service isn't used at all, but etcd started directly. Additional, since the normal etcd packaging is incompatible to what kubeadm expects in a control-plane container, we have the etcd-for-k8s-image package. I need to add a wrapper script there which sets the environment variable for the container.
This is an autogenerated message for OBS integration: This bug (1149392) was mentioned in https://build.opensuse.org/request/show/728700 Factory / etcd-for-k8s-image
# kubectl get nodes NAME STATUS ROLES AGE VERSION pi3-1 Ready master 5m2s v1.15.2 Only have one Raspberry Pi3 ;) for testing, but on that it's now working. Should work in general after the fixed package/containers are released. The working images of the devel project can be tested with kubeadm init --image-repository=registry.opensuse.org/devel/kubic/containers/container_arm/kubic
The fixed package got accepted. Don't know if openQA is already using a proxy to test the internal packages or if it is only using the official released ones. In the later case, we need to release at first an arm snapshot with the fix to see fixed containers.