Page MenuHomeVyOS Platform

Ingress qdisc does not work anymore in 1.3-rolling-202101 snapshot
Closed, ResolvedPublicBUG

Description

here is brief configuration that does not work in 1.3-rolling-202101 snapshot

interfaces {

hw-id XX:XX:XX:XX:XX:20
vif 60 {
  address xxx.xxx.83.221/26
  description INET-DMZ
  disable
}
vif 408 {
  address xxx.xxx.8.82/30
  description BEELINE-INET-BGP
  firewall {
    local {
      name IN
    }
  }
  redirect ifb408
  traffic-policy {
    out INET-HTB-SHAPER
  }
}
vif 1099 {
  address xxx.xxx.97.61/24
  description Mgmt
  vrf Mgmt-vrf
}
input ifb408 {
 traffic-policy {
   out INET-HTB-SHAPER
 }

}

  1. input traffic does not redirected to desired ifb interface. /opt/vyatta/sbin/vyatta-qos.pl terminates with error at line 344.
  2. as a consequence vlans at eth0 do not initialized during boot.

i tried to reproduce commands manually
zotov@ttylog:~$ sudo tc qdisc del dev eth0 ingress
zotov@ttylog:~$ sudo /sbin/tc qdisc add dev $dev handle fffe: ingress
zotov@ttylog:~$ /sbin/tc filter add dev $dev parent fffe: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev ifb0
Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel, -1

changing fffe to ffff in vyatta-qps.pl eliminated the problem.

Details

Difficulty level
Easy (less than an hour)
Version
1.3-rolling-202101
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Same problem here in version1.4.

@Dmitry @a952637635. It seems that, I changed the handle address to avoid conflict. I don't know if it will conflict

Viacheslav changed the task status from Open to Needs testing.Mar 10 2021, 8:57 PM
Viacheslav assigned this task to jack9603301.
Viacheslav changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).Mar 10 2021, 8:59 PM
Viacheslav changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Viacheslav added a project: VyOS 1.3 Equuleus.
Viacheslav added a project: VyOS 1.4 Sagitta.

Now the problem should be solved

jack9603301 moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
jack9603301 moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
SrividyaA set Issue type to Bug (incorrect behavior).Aug 31 2021, 11:40 AM