PR for this task
https://github.com/vyos/vyos-1x/pull/207
https://github.com/vyos/vyos-replace/pull/5
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Jan 15 2020
Jan 14 2020
I ran into the same problem, here:
Jan 13 2020
I pushed a fix earlier which might fix this in UEFI mode. Can you check the rolling tomorrow (or build youself today). If you are interested, I also have a custom built ISO with the fix in it.
Xml for interface-definitions for commands set protocol mpls
https://github.com/sever-sever/vyos-1x/blob/current/interface-definitions/protocols-mpls.xml.in
Also discovered during testing that 4K sector drives will fail to boot with EFI. Also fixed in the above PR
T1940 should fix this. It would be pretty trivial to add the ability to choose between EFI and BIOS when EFI is present, though this fix should make it unnecessary
PR corrects this. Buster forces secure-boot by default, which we don't support
@c-po Thanks for the fix.
The described problem exists in stable FRR 7.2, but fixed in FRR master branch by https://github.com/FRRouting/frr/pull/5184
We have tested 7.2 with this PR applied, and the bug was gone, so we can apply this PR to our FRR package and solve the problem.
Revising this design, following discussion with dmbaturin; implementation in T1962.
Also reported in T1830
In FRR 7.0.1 (VyOS 1.2.3) was some bug, due to which static routes were not updated (maybe, not in all cases or environments) after the next-hop state change. In VyOS 1.2.4 we use stable FRR 7.2, which processes this situation without problems. An example (key point from FRR debug log):
FRR 7.0.1:
Jan 13 15:29:51 vyos zebra[1041]: 0:10.230.230.0/30: Adding route rn 0x5612ea69d1f0, re 0x5612ea69d370 (type 2) Jan 13 15:29:51 vyos zebra[1041]: 0:10.230.230.0/30: Redist update re 0x5612ea69d370 (type 2), old (nil) (type -1) Jan 13 15:29:51 vyos zebra[1041]: 0:10.230.230.0/30: Adding route rn 0x5612ea69d490, re 0x5612ea69e110 (type 2) Jan 13 15:29:51 vyos zebra[1041]: 0:10.230.230.0/30: Redist update re 0x5612ea69e110 (type 2), old (nil) (type -1) Jan 13 15:29:51 vyos zebra[1041]: NHT processing check for zvrf default Jan 13 15:29:51 vyos zebra[1041]: 0:10.230.230.1/32: Evaluate RNH, type 0 Jan 13 15:29:51 vyos zebra[1041]: 0:10.230.230.1/32: NH resolved over route 10.230.230.0/30 Jan 13 15:29:51 vyos zebra[1041]: 0:10.230.230.1/32: Notifying client static about NH Jan 13 15:29:51 vyos zebra[1041]: 0:192.168.20.1/32: Evaluate RNH, type 0
FRR 7.2:
Jan 13 15:33:23 vyos zebra[1042]: 0:10.230.230.0/30: Adding route rn 0x5574620a18b0, re 0x5574620a1930 (connected) Jan 13 15:33:23 vyos zebra[1042]: 0:10.230.230.0/30: Adding route rn 0x5574620a29b0, re 0x5574620a1850 (connected) Jan 13 15:33:23 vyos zebra[1042]: 0:10.230.230.0/30 update_from_ctx(): no fib nhg Jan 13 15:33:23 vyos zebra[1042]: 0:10.230.230.0/30 update_from_ctx(): rib nhg matched, changed 'true' Jan 13 15:33:23 vyos zebra[1042]: 0:10.230.230.0/30: Redist update re 0x5574620a1930 (connected), old 0x0 (None) Jan 13 15:33:23 vyos zebra[1042]: 0:10.230.230.1/32: Evaluate RNH, type Nexthop Jan 13 15:33:23 vyos zebra[1042]: 0:10.230.230.1/32: NH resolved over route 10.230.230.0/30 Jan 13 15:33:23 vyos zebra[1042]: 0:10.230.230.1/32: Notifying client static about NH Jan 13 15:33:23 vyos zebra[1042]: rib_add_multipath: 0:10.0.0.0/8: Inserting route rn 0x5574620a1b10, re 0x5574620a1a30 (static) existing (nil) Jan 13 15:33:23 vyos zebra[1042]: 0:10.0.0.0/8: Adding route rn 0x5574620a1b10, re 0x5574620a1a30 (static) Jan 13 15:33:23 vyos zebra[1042]: netlink_route_multipath(): RTM_NEWROUTE 10.0.0.0/8 vrf 0(254) Jan 13 15:33:23 vyos zebra[1042]: netlink_route_multipath() (single-path): nexthop via 10.230.230.1 if 3(0) Jan 13 15:33:23 vyos zebra[1042]: netlink_talk: netlink-dp (NS 0) type RTM_NEWROUTE(24), len=60 seq=10 flags 0x501 Jan 13 15:33:23 vyos zebra[1042]: 0:10.0.0.0/8 update_from_ctx(): no fib nhg Jan 13 15:33:23 vyos zebra[1042]: 0:10.0.0.0/8 update_from_ctx(): rib nhg matched, changed 'true' Jan 13 15:33:23 vyos zebra[1042]: 0:10.0.0.0/8: Redist update re 0x5574620a1a30 (static), old 0x0 (None)
So, configured static routes updating properly.
Dou can try to play around withe the node.def and interfaces-vxlan.py file and lower the limits to see if it works at all.
Jan 12 2020
I was getting a lot missing dependencies even all the vyatta/vyos-* packages were being complained that they were required but weren't being installed. I'd already deleted and re-cloned the build repo and cleaned out my local docker several times so i'm not completely sure what fixed building 1.2 ISOs again. Frustrating but at least it's working for the time being.
I think we can close this task.
Nothing like that has happened in the last few months.
vyos@mpls# sudo nft list table nat table ip nat { chain PREROUTING { type nat hook prerouting priority -100; policy accept; counter packets 0 bytes 0 jump VYATTA_PRE_DNAT_HOOK }
Jan 11 2020
Thanks @Viacheslav, I've build a custom vyos 1.2.4 with nftables package because I want to add custom rules in nftables mode.
@elbuit
Rolling is support nft now.
vyos@mpls:~$ sudo nft -v nftables v0.9.0 (Fearless Fosdick)
PR https://github.com/vyos/vyos-1x/pull/203
Adding commands for show mpls
Jan 10 2020
@bmhughes For me an issue was that cpio is missing from the docker image
edit:
I can build working images now, I have no idea what's changed over what i've been trying for the last few days.
@bmhughes I tested this on the downloaded lts 1.2.4 iso and it seems to work fine...
All works, but seems we need works with timezone for correct converting USEC to "date time" format
Service custom don't support 2 ddns entries now.
It overwrite login/pass to (login02) for each custom service
Please use service custom
Very Nice!
Jan 9 2020
Has been fixed already.
Created new Azure image
I'm also affected by this, but even with a relatively "small" configuration (2662 lines, at present, where more than half are firewall rules, 5 interfaces).
First tests for MPLS.
Latest rolling releases is supported it.
In this case we can use /run/systemd/shutdown/scheduled file for detecting powertrl scheduler
PR for this task https://github.com/vyos/vyos-1x/pull/201
Jan 8 2020
https://github.com/vyos/vyos-1x/pull/200
adding CLI commands
Hang on, I see the error in syslog (only syslog), so at least I can reproduce it now.
@Merijn I tested with the latest rolling and can't reproduce the issue. From your error message yesterday it looks like your snmpd.conf has an issue. Can you copy that content as well?
@jjakob https://downloads.vyos.io/rolling/current/amd64/vyos-1.3-rolling-202001081700-amd64.iso and later should address that issue.
set service snmp community dummycomm authorization 'ro' set service snmp community dummycomm client '8.8.8.8' set service snmp community dummycomm client '8.8.4.4' set service snmp contact '[email protected]' set service snmp location 'Datacenter, City, Country'
Update
The problem was resolved by manually removing the interfaces from the file /config/config.boot (section flow-accounting)
Successfully tested on latest rolling 1.3-rolling-202001080217
Actually, this seems to be a build issue as a fresh build with the up to date vyos-build repo causes a fresh build of 1.2.3 to suffer the same problem.
Confirmed fix with that commit.
Jan 7 2020
https://github.com/vyos/vyos-1x/commit/3863e5dc24a622090f52c13f8aa04e5c9f00341a should fix it.
(http://dev.packages.vyos.net/repositories/current/pool/main/v/vyos-1x/vyos-1x_1.3.0-16_all.deb if you want to manually install and test or wait for tomorrows iso).
systemctl renamed it to syslog, so it won't be restarted correctly and the conf script won't generate the files correctly. It is correctly named within init.d.
It definitely remains in my config:
looks like service syslog did disappear from the default config.
@Merijn Can you please share the snmp part from your config?
I only have a workaround right now, it appears that grub.cfg can't be found. To boot at least the installed system do the following within the grub shell:
configfile /EFI/VyOS/grub.cfg