Skip to content

[BUG] failed to update tc-filter priority #167

Open
@Ali-aqrabawi

Description

@Ali-aqrabawi
(+) change request received:
<tc-filters xmlns="urn:okda:iproute2:tc:filter" xmlns:yang="urn:ietf:params:xml:ns:yang:1" yang:operation="none">
  <shared-block-filter yang:operation="none">
    <block>1000</block>
    <netns>1</netns>
    <rule yang:operation="none">
      <pref>15</pref>
      <prio yang:operation="create">100</prio>
    </rule>
  </shared-block-filter>
</tc-filters>
ip_sr_config_change_cb_apply: executing command: tc filter del block 1000 pref 15 
ip_sr_config_change_cb_apply: executing command: tc filter add block 1000 pref 15 protocol ip handle 0x1 prio 100 flower dst_ip 192.168.1.2/32 action pass 
Error: duplicate "priority": "100" is the second value.
ip_sr_config_change_cb_apply: iproute2 command failed, cmd = tc filter add block 1000 pref 15 protocol ip handle 0x1 prio 100 flower dst_ip 192.168.1.2/32 action pass 
ip_sr_config_change_cb_apply: executing rollback cmd: tc filter del block 1000 pref 15 
RTNETLINK answers: No such file or directory
We have an error talking to the kernel
[ERR] User callback failed
[WRN] EV ORIGIN: "iproute2-tc-filter" "change" ID 14 priority 0 failed (User callback failed).
[ERR] User callback failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions