Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

FRR image and PoC lesson #273

Merged
merged 4 commits into from
Oct 7, 2019
Merged

FRR image and PoC lesson #273

merged 4 commits into from
Oct 7, 2019

Conversation

cloudtoad
Copy link
Contributor

@cloudtoad cloudtoad commented Sep 27, 2019

Create FRR image w/netconf support for use in NRELabs.

Nearly complete, need to finish testing the python configuration bits.

Closes #264

@cloudtoad cloudtoad added the WIP This is a work-in-progress. Please hold off on serious reviews for now. label Sep 27, 2019
@cloudtoad cloudtoad removed the WIP This is a work-in-progress. Please hold off on serious reviews for now. label Oct 1, 2019
@cloudtoad cloudtoad requested a review from Mierdin October 1, 2019 01:09
@cloudtoad
Copy link
Contributor Author

FRR now working in self-medicate. Should be OK to merge.

Copy link
Member

@Mierdin Mierdin left a comment

Choose a reason for hiding this comment

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

👍 assuming you fix the below typo. Nice work!

lessons/fundamentals/lesson-98-frr/lesson.meta.yaml Outdated Show resolved Hide resolved
Copy link
Member

@Mierdin Mierdin left a comment

Choose a reason for hiding this comment

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

I'm seeing this in selfmedicate now:

vagrant@antidote-040:~$ kubectl logs -n=98-4jpp5r4kkmmy0ipt-ns hub 
mount: /sys: cannot remount sysfs read-write, is write-protected.
RTNETLINK answers: Operation not permitted
Failed to send flush request: Operation not permitted
Error: argument "brnet1tap0" is wrong: Device does not exist

open: No such file or directory
Error: argument "brnet1tap0" is wrong: Device does not exist

Cannot find device "brnet1tap0"
Cannot find device "tap0"
/launch.sh: line 36: /sys/class/net/brnet1tap0/bridge/group_fwd_mask: No such file or directory
RTNETLINK answers: Operation not permitted
Failed to send flush request: Operation not permitted
Error: argument "brnet2tap1" is wrong: Device does not exist

open: No such file or directory
Error: argument "brnet2tap1" is wrong: Device does not exist

Cannot find device "brnet2tap1"
Cannot find device "tap1"
/launch.sh: line 36: /sys/class/net/brnet2tap1/bridge/group_fwd_mask: No such file or directory
-netdev
tap,id=dev0,ifname=tap0,script=no,downscript=no
-device
virtio-net-pci,netdev=dev0,id=eth1,mac=52:54:00:9e:8a:7c,multifunction=off,addr=3.1
-netdev
tap,id=dev1,ifname=tap1,script=no,downscript=no
-device
virtio-net-pci,netdev=dev1,id=eth2,mac=52:54:00:b0:6b:41,multifunction=off,addr=3.2
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize KVM: No such file or directory

I'm in a hurry so can't look deeply at the moment, but looks like privileged mode not enabled here. Likely to be a Syringe fix. Don't merge this just yet, I'll take a peek later on tonight hopefully, just want to spin up in selfmedicate and might need to fix Syringe in order to do that. Thanks for your patience.

@Mierdin Mierdin changed the title WIP: FRR image #264 FRR image and PoC lesson Oct 6, 2019
Copy link
Member

@Mierdin Mierdin left a comment

Choose a reason for hiding this comment

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

Apologies, ignore my previous comment. Your use of --enable-kvm revealed a bug in our selfmedicate setup, but running this outside works great. LGTM

@Mierdin Mierdin merged commit 5a39a0d into master Oct 7, 2019
@Mierdin Mierdin deleted the frr-init branch October 7, 2019 20:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create FRR image w/Netconf support
2 participants