yanet icon indicating copy to clipboard operation
yanet copied to clipboard

stl_vector

Open Denyme opened this issue 1 year ago • 3 comments

hi. when i try add static route line yanet-cli rib static insert default x.x.x.x/28 x.x.x.x get error: /usr/include/c++/9/bits/stl_vector.h:1060: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = unsigned char; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::const_reference = const unsigned char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed. Aborted (core dumped)

Denyme avatar May 15 '24 13:05 Denyme

config typical from demo, but use balancer, not firewall

Denyme avatar May 15 '24 13:05 Denyme

build like docs (https://github.com/yanet-platform/yanet/blob/main/docs/build.md). I use mlx5 network card. dataplane.conf: { "ports": [ { "interfaceName": "kni0", "pci": "0000:07:00.0", "coreIds": [ 3 ], "symmetric_mode": true, "rssFlags": [] } ], "workerGC": [ 1 ], "controlPlaneCoreId": 0 } controlplane: { "modules": { "lp0": { "type": "logicalPort", "physicalPort": "kni0", "nextModule": "acl0" }, "acl0": { "type": "acl", "nextModules": [ "balancer0". "route0" ] }, "balancer0": { "type: "balancer", "source_ipv4": "x.x.x.x", "services": "service.conf", "nextModule": "route0" } "route0": { "type": "route", "interfaces": { "lo": { "ipAddresses": [ "x.x.x.x" ] }, "ki0": { "neighborIPv4Address": "y.y.y.y", "neighborMacAddress: "xx:xx:xx:xx:xx:xx", "nextModule": "lp0" } } } } }

Denyme avatar May 16 '24 07:05 Denyme

Hi and thanks for the report! We are starting to work on the issue reproduction and will return with update soon.

Could you provide us with your system specification (CPU network card and memory should be enough). It would be great to see output of the following commands:

  • cat /proc/cpuinfo
  • cat /proc/meminfo
  • lspci -v

WBR Georgy

GeorgyKirichenko avatar May 16 '24 20:05 GeorgyKirichenko

cpu.txt x16 meminfo.txt pci.txt

Denyme avatar May 27 '24 08:05 Denyme