Needs to migrate "maximum-paths" to afi and add ipv6 (1.3)
[email protected]# set protocols bgp 65001 maximum-paths Possible completions: ebgp Maximum ebgp multipaths ibgp Maximum ibgp multipaths
Needs to migrate "maximum-paths" to afi and add ipv6 (1.3)
[email protected]# set protocols bgp 65001 maximum-paths Possible completions: ebgp Maximum ebgp multipaths ibgp Maximum ibgp multipaths
As a workaround, we can replace https://github.com/vyos/vyos-1x/blob/f892294239101aecc21a45629eb1d10bd89fba0b/python/vyos/ifconfig/vrrp.py#L95 to
from vyos.util import cmd
cmd(f'sudo kill -s {cls._signal[what]} {pid}')And get JSON values
vyos@r-roll01:~$ sudo cat /tmp/keepalived.json
[ { "data": { "iname": "test", "dont_track_primary": 0, "skip_check_adv_addr": 0, "strict_mode": 0, "vmac_ifname": "eth1v1", "track_ifp": [ ], "track_script": [ ], "ifp_ifname": "eth1v1", "master_priority": 100, "last_transition": 1615454936.7267461, "garp_delay": 5, "garp_refresh": 0, "garp_rep": 5, "garp_refresh_rep": 1, "garp_lower_prio_delay": 5, "garp_lower_prio_rep": 5, "lower_prio_no_advert": 0, "higher_prio_send_advert": 0, "vrid": 1, "base_priority": 100, "effective_priority": 100, "vipset": true, "vips": [ "172.20.110.111", "172.20.110.15" ], "evips": [ ], "promote_secondaries": false, "vroutes": [ ], "vrules": [ ], "adver_int": 1, "master_adver_int": 1, "accept": 1, "nopreempt": false, "preempt_delay": 0, "state": 2, "wantstate": 2, "version": 2, "smtp_alert": false, "auth_type": 0 }, "stats": { "advert_rcvd": 983, "advert_sent": 10535, "become_master": 1, "release_master": 0, "packet_len_err": 0, "advert_interval_err": 0, "ip_ttl_err": 0, "invalid_type_rcvd": 0, "addr_list_err": 0, "invalid_authtype": 0, "authtype_mismatch": 0, "auth_failure": 0, "pri_zero_rcvd": 2, "pri_zero_sent": 0 } } ]Or more readable:
{
"data":{
"iname":"test",
"dont_track_primary":0,
"skip_check_adv_addr":0,
"strict_mode":0,
"vmac_ifname":"eth1v1",
"track_ifp":[VRRP return always [] <= nodata
https://github.com/vyos/vyos-1x/blob/f892294239101aecc21a45629eb1d10bd89fba0b/src/op_mode/show_interfaces.py#L68
Maybe don't have permissions to kill PID https://github.com/vyos/vyos-1x/blob/f892294239101aecc21a45629eb1d10bd89fba0b/python/vyos/ifconfig/vrrp.py#L95
The same bug with 1.2.7-epa1
set interfaces dummy dum0 set interfaces ethernet eth1 address dhcp set load-balancing wan interface-health eth1 nexthop dhcp set load-balancing wan rule 1 inbound-interface dum0 set load-balancing wan rule 1 interface eth1 commit
Status
[email protected]:~$ show wan-load-balance Interface: eth1 Status: active Last Status Change: Thu Mar 11 09:31:54 2021 +Test: ping Target: Last Interface Success: 0s Last Interface Failure: 2m35s # Interface Failure(s): 0
Fixed in VyOS 1.4-rolling-202103110218
set system syslog global facility all level 'info' set system syslog global facility protocols level 'debug' set system syslog host 192.168.122.1 facility all level 'all' set system syslog host 192.168.122.1 port '514' set system syslog host 2001:db8::2 facility all level 'all' set system syslog host 2001:db8::3 facility all level 'all' set system syslog host 2001:db8::3 port '514' set system syslog host 2001:db8::4 facility all level 'all' set system syslog host 2001:db8::4 port '514'
I can't reproduce it. Updated successfully. from 1.2.6-s1 to 1.2.7-epa1
Fixed VyOS 1.3-beta-202103110443
set protocols rpki cache rtr-ham1.mhl-lab.net port '3323' set protocols rpki cache rtr-ham1.mhl-lab.net preference '2'
One solution that I see, uses vif/svlan/cvlan.
@mpueschel will be fixed in the next rolling 1.4 release, after 2021-03-10
Can you check it out?
PR for "equuleus" https://github.com/vyos/vyos-1x/pull/765
We can't reproduce/fix it without any provided information/configuration.
PR for "current" https://github.com/vyos/vyos-1x/pull/764
Expected format @[2001:db8::2]:514
1.1.8 configuration
set system syslog host [2001:db8::2]:514 facility all level 'all'
Try one of them options
I kill the vm 80+ times.
All works fine.
@c-po can we "cherry-pick" it to 1.3.0?
vrf detected even it not created
https://github.com/vyos/vyos-1x/blob/dd35eb76153191bc487e3ea23c3e73c753ec1d4b/src/etc/dhcp/dhclient-enter-hooks.d/03-vyos-ipwrapper#L55-L59
root@r-roll01:/home/vyos# basename /sys/class/net/eth1/upper_* | sed -e 's/upper_//' eth1v1
Wrong behavior
Original task https://phabricator.vyos.net/T3377
Original task https://phabricator.vyos.net/T3377
Original task https://phabricator.vyos.net/T3377
Original task https://phabricator.vyos.net/T3377
@trystan attach please configuration with sets, how to reproduce it.
For example
set param xxx option xxx.. set param2 xxx .option xxx..
And after commit... tc error..
The same with ports.
It will be fixed after rewriting the firewall to python.
FRR doesn't have such a function.
Expected output, in VyOS 1.3.0-rc1 works fine
showvyos@vyos:~$ show int
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
eth0 - u/u WAN01-pppoe
eth1 10.0.0.1/24 u/u LAN
eth2 192.0.2.12/24 u/u WAN02-dhcp
eth3 - u/u
lo 127.0.0.1/8 u/u
::1/128
pppoe0 10.1.1.101/32 u/uUnexpected redistribution for isis VyOS 1.4-rolling-202103040218
Also, It can't check that cmd on hypervisor
@linuxludo Can you share a link?
It seems it some upstream issue
vyos@r-roll01# sudo ip tunnel add tun22 mode gre local 203.0.113.1 remote any [edit] vyos@r-roll01# sudo ip tunnel change tun22 mode gre local 203.0.113.1 remote 203.0.113.254 add tunnel "tun22" failed: Invalid argument [edit] vyos@r-roll01#
For 1.4 the same fail
Config
set interfaces tunnel tun1 address '10.20.30.1/30' set interfaces tunnel tun1 encapsulation 'gre' set interfaces tunnel tun1 source-address '192.168.122.11' set interfaces tunnel tun1 multicast 'disable' commit set interfaces tunnel tun1 remote 192.168.122.12 commit
Updated PR
I replace raw dhcpv6 global-parameters with leafNode.
@FileGo will be fixed in the next rolling release.
To reproduce, add one tunnel
I think it related T2651
It seems a bug with your configuration. It is incorrect.
It used different scripts in 1.3 and 1.4.
show interfaces => run: ${vyos_op_scripts_dir}/show_interfaces.py --action=show-brief
show interfaces vrrp => run: ${vyatta_bindir}/vyatta-show-interfaces.pl --vrrp --action=show-brief
Frr doesn't provide such option for ipv4, only for ipv6
Try to place that rule after established, for example, number 25
Duplicate T3349
Update pr
PR https://github.com/vyos/vyos-1x/pull/755
@Dmitry Can you check/review PR?