Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate: do not check NET_ADMIN with ip link add #196

Merged
merged 1 commit into from
Nov 21, 2017

Conversation

runcom
Copy link
Contributor

@runcom runcom commented Nov 20, 2017

ip link add with the foo driver requires the kernel to be custom compiled with particular CONFIG_*. One of our test machines is indeed failing with:

RTNETLINK answers: Operation not supported

Since the aim is to just check for NET_ADMIN, change the ip link command to just a foo brctl addbr

@feiskyer @Random-Liu @sameo PTAL

Signed-off-by: Antonio Murdaca runcom@redhat.com

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 20, 2017
@runcom runcom changed the title validate: use brctl addbr instead of ip link with dummy driver validate: do not check NET_ADMIN with ip link add Nov 20, 2017
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Copy link
Member

@mrunalp mrunalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Thanks

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 21, 2017
@feiskyer feiskyer merged commit 4939408 into kubernetes-sigs:master Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants