Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

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

Open
ishanVshah opened this issue Feb 6, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@ishanVshah
Copy link

ishanVshah commented Feb 6, 2021

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
Copy link
Author

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
Copy link
Contributor

cjnolan commented Feb 10, 2021

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 cjnolan added the help wanted Extra attention is needed label Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants