Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection setup failed when adding vlan interface #430

Open
ljkiraly opened this issue Feb 21, 2024 · 0 comments
Open

Connection setup failed when adding vlan interface #430

ljkiraly opened this issue Feb 21, 2024 · 0 comments
Assignees

Comments

@ljkiraly
Copy link

Failure Information

Control connection setup failed towards the service provided by NSE.

Based on logs the vlan sub-interface creation leads to internal crash
Feb 21 17:06:33.698 [INFO] [cmd:vpp] vpp[21]: vnet_feature_arc_init:272: feature node 'ip4-sv-reassembly-output-feature' not found (before 'npt66-output', arc 'ip6-output')
Feb 21 17:06:33.698 [INFO] [cmd:vpp] vpp[21]: vnet_feature_arc_init:272: feature node 'ip4-sv-reassembly-feature' not found (before 'npt66-input', arc 'ip6-unicast')
Feb 21 17:06:33.739 [INFO] [cmd:vpp] vpp[21]: af_packet: Interface host-nse0e30072a6238 has 0 txq
2024/02/21 17:06:33 [INFO]  [handleIfOp:add] parent interface nse0e30072a6238 is added into vpp, if index 1
2024/02/21 17:06:33 [INFO]  [handleIfOp:add] add vlan sub interface: parent interface nse0e30072a6238: connection id:"689a8608-9746-40e5-8bcb-aa6ea355b361"  network_service:"kernel2kernel-vlan"  mechanism:{cls:"LOCAL"  type:"KERNEL"  parameters:{key:"inodeURL"  value:"inode://4/4026534184"}  parameters:{key:"name"  value:"nse0e30072a6238"}  parameters:{key:"supportsVlan"  value:"true"}  parameters:{key:"vlan"  value:"1"}}  context:{ip_context:{src_ip_addrs:"172.16.1.103/32"  dst_ip_addrs:"172.16.1.102/32"  src_routes:{prefix:"172.16.1.102/32"}  dst_routes:{prefix:"172.16.1.103/32"}  excluded_prefixes:"10.96.0.0/16"  excluded_prefixes:"10.244.0.0/16"}  dns_context:{}}  labels:{key:"nodeName"  value:"kind-worker"}  path:{index:2  path_segments:{name:"nsc-kernel-756cfc6bdb-w2v64"  id:"nsc-kernel-756cfc6bdb-w2v64-0"  token:"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zLWtlcm5lbDJrZXJuZWwtdmxhbi9wb2QvbnNjLWtlcm5lbC03NTZjZmM2YmRiLXcydjY0IiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvbnNtZ3ItdDlybmsiXSwiZXhwIjoxNzA4NTM1NzkyfQ.pyNHOnZavAMSnYWJ3HyDfaddwXOy1nf_QXUXwEqLyEVBU4k_YvCpWVKu62IS_h37zFck8ecGDVutFSqHdsULeg"  expires:{seconds:1708535792  nanos:177746509}  metrics:{key:"client_interface"  value:"KERNEL/nsm-1"}}  path_segments:{name:"nsmgr-t9rnk"  id:"0e5b79dd-8539-445a-962b-433218d9233b"  token:"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zbS1zeXN0ZW0vcG9kL25zbWdyLXQ5cm5rIiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvZm9yd2FyZGVyLW92cy1ucWJrcyJdLCJleHAiOjE3MDg1MzU3OTJ9.9Km_rXxujfZsFjrkofrDAxvRhpJmWErJz_LGZVikrHT_C3aT4E70YNOJ_aEgxQr5gkURRymifpLaOtBwfRh7Xw"  expires:{seconds:1708535792  nanos:205214960}}  path_segments:{name:"forwarder-ovs-nqbks"  id:"689a8608-9746-40e5-8bcb-aa6ea355b361"  token:"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zbS1zeXN0ZW0vcG9kL2ZvcndhcmRlci1vdnMtbnFia3MiLCJhdWQiOlsic3BpZmZlOi8vazhzLm5zbS9ucy9ucy1rZXJuZWwya2VybmVsLXZsYW4vcG9kL25zZS1rZXJuZWwtODZjNGI2ZmQ3NC10c2NieCJdLCJleHAiOjE3MDg1Mzc2ODV9.4LCYCaM8PRozt0MAp23zIYmSIotT60-vWp1Fkxp40xc-mgM8IVmwv0bY_y_IYQdSjxWBjs-FYQveg_FWwF-NeQ"  expires:{seconds:1708537685}  metrics:{key:"server_interface"  value:"KERNEL/nsm-1"}}  path_segments:{name:"nse-kernel-86c4b6fd74-tscbx"  id:"6daa2c09-5c43-4a0e-8a65-11a2a0860dee"  token:"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zLWtlcm5lbDJrZXJuZWwtdmxhbi9wb2QvbnNlLWtlcm5lbC04NmM0YjZmZDc0LXRzY2J4IiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvZm9yd2FyZGVyLW92cy1ucWJrcyJdLCJleHAiOjE3MDg1MzU3OTJ9.5w9O3aeg7QMfsFsRXq1eYSfCttVAQVncaR9SdXie2zm4KMit9LazKfqipdMnzOv6sqQvGy7d0Rh-BA8wU2vfsg"  expires:{seconds:1708535792  nanos:540892647}}}  network_service_endpoint_name:"nse-kernel-86c4b6fd74-tscbx"  payload:"ETHERNET"
Feb 21 17:06:33.797 [INFO] [cmd:vpp] vpp[21]: interface: hw_add_del_mac_address: vnet_hw_interface_add_del_mac_address: Secondary MAC Addresses not supported for interface index 0
Feb 21 17:06:33.797 [INFO] [cmd:vpp] vpp[21]: interface: hw_add_del_mac_address: vnet_hw_interface_add_del_mac_address: Secondary MAC Addresses not supported for interface index 0
Feb 21 17:06:33.797 [INFO] [cmd:vpp] vpp[21]: received signal SIGSEGV, PC 0x7fcb4b0b52f1, faulting address 0x0
Feb 21 17:06:33.797 [INFO] [cmd:vpp] vpp[21]: #0  0x00007fcb8ba73fdb 0x7fcb8ba73fdb
Feb 21 17:06:33.797 [INFO] [cmd:vpp] vpp[21]: #1  0x00007fcb8b986420 0x7fcb8b986420
Feb 21 17:06:33.797 [INFO] [cmd:vpp] vpp[21]: #2  0x00007fcb4b0b52f1 af_packet_device_class_tx_fn_hsw + 0xdb1
Feb 21 17:06:33.798 [INFO] [cmd:vpp] vpp[21]: #3  0x00007fcb8ba06691 0x7fcb8ba06691
Feb 21 17:06:33.798 [INFO] [cmd:vpp] vpp[21]: #4  0x00007fcb8ba04091 0x7fcb8ba04091
Feb 21 17:06:33.798 [INFO] [cmd:vpp] vpp[21]: #5  0x00007fcb8ba73c1d 0x7fcb8ba73c1d
Feb 21 17:06:33.798 [INFO] [cmd:vpp] vpp[21]: #6  0x00007fcb8b9106e8 0x7fcb8b9106e8
2024/02/21 17:06:33 [ERROR] signal: aborted (core dumped)
2024/02/21 17:06:33 [ERROR] [handleIfOp:add] error adding vlan sub interface for connection: id:"689a8608-9746-40e5-8bcb-aa6ea355b361"  network_service:"kernel2kernel-vlan"  mechanism:{cls:"LOCAL"  type:"KERNEL"  parameters:{key:"inodeURL"  value:"inode://4/4026534184"}  parameters:{key:"name"  value:"nse0e30072a6238"}  parameters:{key:"supportsVlan"  value:"true"}  parameters:{key:"vlan"  value:"1"}}  context:{ip_context:{src_ip_addrs:"172.16.1.103/32"  dst_ip_addrs:"172.16.1.102/32"  src_routes:{prefix:"172.16.1.102/32"}  dst_routes:{prefix:"172.16.1.103/32"}  excluded_prefixes:"10.96.0.0/16"  excluded_prefixes:"10.244.0.0/16"}  dns_context:{}}  labels:{key:"nodeName"  value:"kind-worker"}  path:{index:2  path_segments:{name:"nsc-kernel-756cfc6bdb-w2v64"  id:"nsc-kernel-756cfc6bdb-w2v64-0"  token:"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zLWtlcm5lbDJrZXJuZWwtdmxhbi9wb2QvbnNjLWtlcm5lbC03NTZjZmM2YmRiLXcydjY0IiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvbnNtZ3ItdDlybmsiXSwiZXhwIjoxNzA4NTM1NzkyfQ.pyNHOnZavAMSnYWJ3HyDfaddwXOy1nf_QXUXwEqLyEVBU4k_YvCpWVKu62IS_h37zFck8ecGDVutFSqHdsULeg"  expires:{seconds:1708535792  nanos:177746509}  metrics:{key:"client_interface"  value:"KERNEL/nsm-1"}}  path_segments:{name:"nsmgr-t9rnk"  id:"0e5b79dd-8539-445a-962b-433218d9233b"  token:"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zbS1zeXN0ZW0vcG9kL25zbWdyLXQ5cm5rIiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvZm9yd2FyZGVyLW92cy1ucWJrcyJdLCJleHAiOjE3MDg1MzU3OTJ9.9Km_rXxujfZsFjrkofrDAxvRhpJmWErJz_LGZVikrHT_C3aT4E70YNOJ_aEgxQr5gkURRymifpLaOtBwfRh7Xw"  expires:{seconds:1708535792  nanos:205214960}}  path_segments:{name:"forwarder-ovs-nqbks"  id:"689a8608-9746-40e5-8bcb-aa6ea355b361"  token:"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zbS1zeXN0ZW0vcG9kL2ZvcndhcmRlci1vdnMtbnFia3MiLCJhdWQiOlsic3BpZmZlOi8vazhzLm5zbS9ucy9ucy1rZXJuZWwya2VybmVsLXZsYW4vcG9kL25zZS1rZXJuZWwtODZjNGI2ZmQ3NC10c2NieCJdLCJleHAiOjE3MDg1Mzc2ODV9.4LCYCaM8PRozt0MAp23zIYmSIotT60-vWp1Fkxp40xc-mgM8IVmwv0bY_y_IYQdSjxWBjs-FYQveg_FWwF-NeQ"  expires:{seconds:1708537685}  metrics:{key:"server_interface"  value:"KERNEL/nsm-1"}}  path_segments:{name:"nse-kernel-86c4b6fd74-tscbx"  id:"6daa2c09-5c43-4a0e-8a65-11a2a0860dee"  token:"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzcGlmZmU6Ly9rOHMubnNtL25zL25zLWtlcm5lbDJrZXJuZWwtdmxhbi9wb2QvbnNlLWtlcm5lbC04NmM0YjZmZDc0LXRzY2J4IiwiYXVkIjpbInNwaWZmZTovL2s4cy5uc20vbnMvbnNtLXN5c3RlbS9wb2QvZm9yd2FyZGVyLW92cy1ucWJrcyJdLCJleHAiOjE3MDg1MzU3OTJ9.5w9O3aeg7QMfsFsRXq1eYSfCttVAQVncaR9SdXie2zm4KMit9LazKfqipdMnzOv6sqQvGy7d0Rh-BA8wU2vfsg"  expires:{seconds:1708535792  nanos:540892647}}}  network_service_endpoint_name:"nse-kernel-86c4b6fd74-tscbx"  payload:"ETHERNET", err: context canceled

Steps to Reproduce

Run basic ovs example Kernel to Kernel Connection over VLAN Trunking

@ljkiraly ljkiraly self-assigned this Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant