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

OSPF is broken on Cumulus Linux 5.0.1 #387

Closed
ipspace opened this issue Sep 5, 2022 · 3 comments
Closed

OSPF is broken on Cumulus Linux 5.0.1 #387

ipspace opened this issue Sep 5, 2022 · 3 comments
Assignees

Comments

@ipspace
Copy link
Owner

ipspace commented Sep 5, 2022

I tried to set up an OSPF+BGP lab with CL 5.0.1/NVUE (topology `tests/tests/integration/bgp/default-af/topology.yml') and OSPF wouldn't work -- the loopback interface was not in the OSPF process because NVUE ospf network statement doesn't make it into FRR.

nv config show reports:

- set:
    router:
      ospf:
        enable: on
    vrf:
      default:
        router:
          ospf:
            area:
              0.0.0.0:
                network:
                  10.0.0.1/32: {}
            enable: on
            router-id: 10.0.0.1
    interface:
      eth0:
        ip:
          address:
            dhcp: {}
          vrf: mgmt
        type: eth
      lo:
        ip:
          address:
            10.0.0.1/32: {}
            2001:db8:0:1::1/64: {}
        type: loopback
      swp1:
        description: r1 -> r2
        ip:
          address:
            10.1.0.1/30: {}
            2001:db8:2::1/64: {}
        link:
          state:
            up: {}
        router:
          ospf:
            area: 0.0.0.0
            enable: on
            network-type: point-to-point
        type: swp

FRR config:

!
interface swp1
 ip ospf area 0.0.0.0
 ip ospf network point-to-point
!
router ospf
 ospf router-id 10.0.0.1

Please note theres no loopback interface in FRR config, and no OSPF network statement. Interestingly, the IP address on the Linux loopback interface is set correctly.

I tried to migrate to 5.2.0, no change. Looks like CL 5.x is broken, and I don't have the willpower to argue with whoever should fix this. How about you @petercrocker?

I would suggest that we put CL 5.x on hold, document its brokenness in caveats, and wait for them to fix stuff. Alternatively, we could document how to run CL 5.x as CL 4.x (hoping all it takes is changing the Vagrant box). Any other ideas?

@petercrocker
Copy link
Collaborator

I'll take a look and fix this.

@ipspace
Copy link
Owner Author

ipspace commented Sep 5, 2022

Found what the problem might be - FRR does not allow a combo of "network area" router commands and "ip ospf area" interface commands and reports an error (more likely just a chatty comment to STDOUT), which NVUE cheerfully ignores.

We might have to restructure the whole thing to use network statements. It sucks.

@ipspace
Copy link
Owner Author

ipspace commented Sep 5, 2022

... almost there, running tests to make sure multi-area setup works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants