Allow arm64 using ETCD_UNSUPPORTED_ARCH env var 27/2127/1 master
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 16 Dec 2019 12:21:51 +0000 (13:21 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 16 Dec 2019 12:21:51 +0000 (13:21 +0100)
By default, etcd won't start on arm64 unless the proper env var or
flag are set, see [1].

[1] https://github.com/etcd-io/etcd/issues/9077

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: I3e04972848847f4979ed882f22fe81a82c8ee04e

ansible/roles/etcd/templates/etcd.yml
caas-etcd.spec

index c54017f..adbb9a2 100644 (file)
@@ -75,6 +75,8 @@ spec:
 {% endif %}
         - name: ETCD_LISTENONINTERFACE
           value: "{{ networking.infra_internal.interface }}"
+        - name: ETCD_UNSUPPORTED_ARCH
+          value: "arm64"
       resources:
         requests:
           cpu: "60m"
index 2351a28..abe2197 100644 (file)
@@ -15,7 +15,7 @@
 %define COMPONENT etcd
 %define RPM_NAME caas-%{COMPONENT}
 %define RPM_MAJOR_VERSION 3.4.3
-%define RPM_MINOR_VERSION 0
+%define RPM_MINOR_VERSION 1
 %define go_version 1.12.10
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
 %define docker_build_dir %{_builddir}/%{RPM_NAME}-%{RPM_MAJOR_VERSION}/docker-build