step to reproduce:
conf set qos policy shaper-hfsc test bandwidth 100gbit set qos interface eth1 egress test commit
[ qos ]
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
https://forum.vyos.io
- Join us on Slack where our users exchange help and advice:
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report time: 2024-10-23 11:24:35
Image version: VyOS 1.4.1-beta1
Release train: sagitta
Built by: Daniil Baturin <daniil@vyos.io>
Built on: Fri 18 Oct 2024 12:42 UTC
Build UUID: b2a9ec78-43ba-4b1d-8c6e-b12be35ee68c
Build commit ID: 0285f0f2f9bbb3-dirty
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Hardware vendor: QEMU
Hardware model: Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID: c06a5ce0-5e5b-4be4-9b54-f54866088f11
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/qos.py", line 262, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/qos.py", line 253, in apply
tmp.update(shaper_config, direction)
File "/usr/lib/python3/dist-packages/vyos/qos/trafficshaper.py", line 171, in update
self._cmd(tmp)
File "/usr/lib/python3/dist-packages/vyos/qos/base.py", line 75, in _cmd
return cmd(command)
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/utils/process.py", line 155, in cmd
raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: tc class replace dev eth1 parent 1: classid 1:1 hfsc sc rate 100000000000 ul rate 100000000000
returned:
exit code: 1
noteworthy:
cmd 'tc qdisc del dev lo parent ffff:'
returned (out):
returned (err):
Error: Cannot find specified qdisc on specified device.
cmd 'tc qdisc del dev lo root'
returned (out):
returned (err):
Error: Cannot delete qdisc with handle of zero.
cmd 'tc qdisc del dev eth0 parent ffff:'
returned (out):
returned (err):
Error: Cannot find specified qdisc on specified device.
cmd 'tc qdisc del dev eth0 root'
returned (out):
returned (err):
Error: Cannot delete qdisc with handle of zero.
cmd 'tc qdisc del dev eth1 parent ffff:'
returned (out):
returned (err):
Error: Cannot find specified qdisc on specified device.
cmd 'tc qdisc del dev eth2 parent ffff:'
returned (out):
returned (err):
Error: Cannot find specified qdisc on specified device.
cmd 'tc qdisc del dev eth2 root'
returned (out):
returned (err):
Error: Cannot delete qdisc with handle of zero.
cmd 'tc qdisc del dev eth3 parent ffff:'
returned (out):
returned (err):
Error: Cannot find specified qdisc on specified device.
cmd 'tc qdisc del dev eth3 root'
returned (out):
returned (err):
Error: Cannot delete qdisc with handle of zero.
cmd 'tc qdisc del dev pim6reg parent ffff:'
returned (out):
returned (err):
Error: Cannot find specified qdisc on specified device.
cmd 'tc qdisc del dev pim6reg root'
returned (out):
returned (err):
Error: Cannot delete qdisc with handle of zero.
cmd 'tc class replace dev eth1 parent 1: classid 1:1 hfsc sc rate 100000000000 ul rate 100000000000'
returned (out):
returned (err):
HFSC: Illegal "rate"
HFSC: Illegal "sc"
[[qos]] failed
Commit failed
[edit]