converged-edge-experience-kits icon indicating copy to clipboard operation
converged-edge-experience-kits copied to clipboard

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

Open ishanVshah opened this issue 4 years ago • 2 comments

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 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/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 of ddp_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 avatar Feb 06 '21 17:02 ishanVshah

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.

ishanVshah avatar Feb 08 '21 18:02 ishanVshah

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?

cjnolan avatar Feb 10 '21 12:02 cjnolan