apache / apache/openwhisk

OpenWhisk installation failure in Arm

Open
#3,172 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

## Environment details:

* Architecture: aarch64(arm64v8), Os: Ubuntu 16.04

## Steps to reproduce the issue:

I was trying to install OpenWhisk on Arm server based on the introduction [here](https://github.com/apache/incubator-openwhisk/blob/master/tools/ubuntu-setup/README.md).when Deploying Using CouchDB, it encountered some break down.

## Provide the actual results and outputs:

root@ubuntu:~/gobin/src/github.com/apache/openwhisk/ansible# ansible-playbook apigateway.yml
….. …..
TASK [redis : pull the redis:3.2 image] ****************************************************************************************************************************
Tuesday 09 January 2018 11:27:12 +0800 (0:00:01.307) 0:00:01.348 *******
changed: [172.17.0.1]
…… ……
TASK [apigateway : pull the openwhisk/apigateway:0.8.2 image] ******************************************************************************************************
Tuesday 09 January 2018 11:27:48 +0800 (0:00:00.844) 0:00:37.047 *******
changed: [172.17.0.1]

TASK [apigateway : (re)start apigateway] ***************************************************************************************************************************
Tuesday 09 January 2018 11:28:48 +0800 (0:01:00.623) 0:01:37.670 *******
changed: [172.17.0.1]

TASK [apigateway : wait until the API Gateway in this host is up and running] **************************************************************************************
Tuesday 09 January 2018 11:28:52 +0800 (0:00:04.181) 0:01:41.852 *******
fatal: [172.17.0.1]: FAILED! => {"attempts": 12, "changed": false, "content": "", "failed": true, "msg": "Status code was not [200]: Request failed: ", "redirected": false, "status": -1, "url": "http://172.17.0.1:9000/v1/apis"}
PLAY RECAP *********************************************************************************************************************************************************
172.17.0.1 : ok=7 changed=5 unreachable=0 failed=1

root@ubuntu:~/gobin/src/github.com/apache/openwhisk/ansible# ansible-playbook openwhisk.yml

PLAY [zookeepers] **************************************************************************************************************************************************

TASK [Gathering Facts] *********************************************************************************************************************************************
Tuesday 09 January 2018 13:48:44 +0800 (0:00:00.040) 0:00:00.040 *******
ok: [kafka0]

TASK [zookeeper : pull the zookeeper:3.4 image]
….. …..
PLAY [kafkas] ******************************************************************************************************************************************************

TASK [Gathering Facts] *********************************************************************************************************************************************
Tuesday 09 January 2018 13:50:00 +0800 (0:00:00.055) 0:01:16.936 *******
ok: [kafka0]

TASK [kafka : pull the wurstmeister/kafka:0.11.0.1 ]
**********************************************************************************************************
Tuesday 09 January 2018 13:50:01 +0800 (0:00:00.835) 0:01:17.771 *******
…. …..
TASK [kafka : wait until the kafka server started up] **************************************************************************************************************
Tuesday 09 January 2018 13:50:44 +0800 (0:00:02.641) 0:02:00.489 *******
…. ……
fatal: [kafka0]: FAILED! => {"attempts": 10, "changed": true, "cmd": "docker logs kafka0", "delta": "0:00:00.034615", "end": "2018-01-09 13:51:39.839736", "failed": true, "rc": 0, "start": "2018-01-09 13:51:39.805121", "stderr": "standard_init_linux.go:195: exec user process caused \"exec format error\"\nstandard_init_linux.go:195: exec user process caused \"exec format error\"\nstandard_init_linux.go:195: exec user process caused \"exec format error\"\nstandard_init_linux.go:195: exec user process caused \"exec format error\"\nstandard_init_linux.go:195: exec user process caused \"exec format error\"\nstandard_init_linux.go:195: exec user process caused \"exec format error\"\nstandard_init_linux.go:195: exec user process caused \"exec format error\"\nstandard_init_linux.go:195: exec user process caused \"exec format error\"\nstandard_init_linux.go:195: exec user process caused \"exec format error\"", "stderr_lines": ["standard_init_linux.go:195: exec user process caused \"exec format error\"", "standard_init_linux.go:195: exec user process caused \"exec format error\"", "standard_init_linux.go:195: exec user process caused \"exec format error\"", "standard_init_linux.go:195: exec user process caused \"exec format error\"", "standard_init_linux.go:195: exec user process caused \"exec format error\"", "standard_init_linux.go:195: exec user process caused \"exec format error\"", "standard_init_linux.go:195: exec user process caused \"exec format error\"", "standard_init_linux.go:195: exec user process caused \"exec format error\"", "standard_init_linux.go:195: exec user process caused \"exec format error\""], "stdout": "", "stdout_lines": []}
[FAILED]
> docker logs kafka0
standard_init_linux.go:195: exec user process caused "exec format error"
standard_init_linux.go:195: exec user process caused "exec format error"
standard_init_linux.go:195: exec user process caused "exec format error"
standard_init_linux.go:195: exec user process caused "exec format error"
standard_init_linux.go:195: exec user process caused "exec format error"
standard_init_linux.go:195: exec user process caused "exec format error"
standard_init_linux.go:195: exec user process caused "exec format error"
standard_init_linux.go:195: exec user process caused "exec format error"
standard_init_linux.go:195: exec user process caused "exec format error"

PLAY RECAP *********************************************************************************************************************************************************
kafka0 : ok=7 changed=5 unreachable=0 failed=1

## Additional information you deem important:
I know the error is related to running binaries of x86 on ARM, image wurstmeister/kafka:0.11.0.1 and openwhisk/apigateway:0.8.2 all for amd64 and similar issue has been put in repository #2829 .Quoting from the comments below the issue,” Got no quick fix for that. Apparently, there are alpine base images for ARM specifically.” and right now, the basic official alpine image have all been Multi-arch image, supporting arm64v8. Is there any plan to develop relevant image for arm?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.