xde: mac_unicast_add failed for vnic on etherstub

Đang mở
#373 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
networking

Hướng nghiên cứu

Tái hiện thiết lập với một etherstub và vnic bằng các lệnh dladm được cung cấp, sau đó lần theo đường dẫn SetXdeUnderlay nơi mac_unicast_add thất bại với EINVAL đối với net1. Hoàn tất khi underlay vnic-on-etherstub hoạt động sau khi nâng cấp OPTE mà không gặp lỗi đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

My test sleds only have one physical 10G link to the fake scrimlet, but xde requires setting two devices as the underlay devices. My work around for this is to use the 10G link as the first underlay devices, and a vnic on an otherwise unconnected etherstub as the second underlay device:

pfexec dladm create-etherstub -t unattachedstub0
pfexec dladm create-vnic -t -l unattachedstub0 net1

This way, there's no ddm advertisement confusion.

This method didn't work after upgrading to OPTE 0.23.170. I saw EINVAL:

16:07:47.228Z WARN SledAgent (sprockets (BootstrapAgent)): Sled agent request failed
    err = Error managing sled agent: Could not start sled agent server: Error managing guest networking: Failure interacting with the OPTE ioctl(2) interface: command SetXdeUnderlay failed: System { errno: 14, msg: "mac_unicast_add failed for net1: 22" }

If I instead use a simnet link that's not connected to anything, or the machine's 1G link (that does also not participate in any ddm related activity), I do not see EINVAL.

Ngôn ngữ chính
Rust
Star
82
Fork
16
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oxidecomputer/opte

Tất cả issue của oxidecomputer/opte

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.