smart-edge-open / converged-edge-experience-kits

Source code for experience kits with Ansible-based deployment.
Apache License 2.0
37 stars 40 forks source link

[OPENNESS:20.12.1] : Not able to build SRIOV DEVICE PLUGIN on fresh setup of servers #84

Open ishanVshah opened 3 years ago

ishanVshah commented 3 years ago

Hello, I am installing OpenNESS 20.12.1 on fresh setup of servers (CentOS - Linux release 7.8.2003 (Core))

2021-02-06 10:25:10,380 p=18258 u=root n=ansible | fatal: [zd03]: FAILED! => { "attempts": 10, "changed": true, "cmd": [ "make", "image" ], "delta": "0:00:27.212839", "end": "2021-02-06 10:25:10.353690", "rc": 2, "start": "2021-02-06 10:24:43.140851" }

STDOUT: Building Docker image... .................................................. .................................................. gcc -z noexecstack -z relro -z now -pie -o ddptool src/ddp.o src/ddp_list.o src/os.o src/cmdparams.o src/output.o -fstack-protector -fPIE -fPIC -Wformat -Wformat-security -Wall -I./inc -Isrc -O2 -D_FORTIFY_SOURCE=2 -Werror -Wl,-strip-debug /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: src/ddp_list.o:(.bss+0x0): multiple definition of ddp_func_print_adapter_list'; src/ddp.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: src/os.o:(.bss+0x0): multiple definition ofddp_func_print_adapter_list'; src/ddp.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: src/cmdparams.o:(.bss+0x0): multiple definition of ddp_func_print_adapter_list'; src/ddp.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: src/output.o:(.bss+0x0): multiple definition ofddp_func_print_adapter_list'; src/ddp.o:(.bss+0x8): first defined here collect2: error: ld returned 1 exit status make: *** [makefile:45: ddptool] Error 1

STDERR:

The command '/bin/sh -c apk add --update --virtual build-dependencies build-base linux-headers && cd /usr/src/sriov-network-device-plugin && make clean && make build && cd /tmp/ddptool && tar zxvf ddptool-1.0.0.0.tar.gz && make' returned a non-zero code: 2 make: *** [image] Error 2

MSG:

non-zero return code

ishanVshah commented 3 years ago

Hello @cjnolan and @amr-mokhtar

i am facing many challanges while installing OpenNESS 20.12.01. i.e. upgrade requests module using pip, build SRIOV device plugin, metrics-server not found in https://kubernetes-charts.storage.googleapis.com and many more.

i made some changes manually to complete this installation.

request you to please help me here how to install without any manual innervation.

cjnolan commented 3 years ago

Hi @ishanVshah a new release, OpenNESS 20.12.02, has just been completed with new updates, could you please try deploying the new release and see if the issues are cleared?