Interface redirect showing "Parent Qdisc doesn't exists" error

Hi forum, I was trying to setup ingress shaper, following the official doc in Traffic Policy — VyOS 1.4.x (sagitta) documentation

Here is my conf and my process:

set traffic-policy shaper INGRESS bandwidth '1gbit'
set traffic-policy shaper INGRESS default bandwidth '5mbit'
set traffic-policy shaper INGRESS default burst '15k'
set traffic-policy shaper INGRESS default queue-type 'fair-queue'

set traffic-policy shaper OUTGRESS bandwidth '1gbit'
set traffic-policy shaper OUTGRESS default bandwidth '1mbit'
set traffic-policy shaper OUTGRESS default burst '15k'
set traffic-policy shaper OUTGRESS default queue-type 'fair-queue'

set interfaces ethernet eth1 address '172.16.1.2/24'
set interfaces ethernet eth1 traffic-policy out 'OUTGRESS'

set interfaces input ifb0 traffic-policy out 'INGRESS'
set interfaces ethernet eth0 redirect ifb0

When I commit, It shows me an error:

vyos@vyos# set interfaces ethernet eth1 redirect 'ifb0'
vyos@vyos# commit
[ interfaces ethernet eth1 redirect ifb0 ]

Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel

tc action redirect command failed at /opt/vyatta/sbin/vyatta-qos.pl line 343.
[[interfaces ethernet eth1]] failed

Commit failed

Version: VyOS 1.4-rolling-202102202002
Release Train: sagitta

Does anyone know where I was wrong? Thank you very much !

Update : Same problem in version 1.3.
But after rolling back to 1.2.6 LTS, no problem anymore.

I found this problem has submitted by other user:
https://phabricator.vyos.net/T3305

No idea here? I think that’s a huge problem because any ingress shaper will not work after version 1.2.6 LTS. I hope we can check it ASAP. :smiley:

Hi @a952637635, yes, it looks like a bug. I think that it is possible to resolve before CLI for QoS will be rewritten to python

1 Like

Thanks, I love vyos ~

I’ve download the latest rolling release, and I am sure that this problem has been fixed. Thank you guys.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.