1. Issue with SmartNIC Configuration on nodes

Issue with SmartNIC Configuration on nodes

Home Forums FABRIC General Questions and Discussion Issue with SmartNIC Configuration on nodes

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7824
    Hemil Panchiwala
    Participant

      Hi,

      I’m encountering a problem while setting up nodes with SmartNICs on the Fabric testbed. While I can obtain the MAC addresses for the NICs, other crucial fields such as Physical Device, Device, and IP Address are showing up as None. This is causing issues when I try to execute scripts on the nodes.

      Setup Details

      I’m using the following code to set up the nodes and SmartNICs:

      send_params = {"name": "sender", "site": "SEAT", "host": None, "image": "default_ubuntu_20"} 
      send_nic_params = {"model": "NIC_ConnectX_5", "name": "SmartNIC"}
      slice = fablib.new_slice(name=slice_name)
      send_node = slice.add_node(**send_params)
      send_iface = send_node.add_component(**send_nic_params).get_interfaces()[0]
      

      I am attaching the details of the interface printed once the setup is done.

      Error

      When I try to execute the script (setup.sh as shown below in code) on the node, I am getting an “Authentication failed” error:

      send = slice.get_node(send_params["name"])
      send_iface = send.get_interface(network_name=network_name)
      send.execute(f"echo '{setup_script.format(interface_name=send_iface.get_device_name())}' > ~/setup.sh && chmod +x ~/setup.sh")
      

      This error seems to occur in the last line where send_iface.get_device_name() is returning None.

      Questions

      I am not sure why are the Physical Device, Device, and IP Address fields showing up as None for the SmartNIC. Also, how can I resolve the “Authentication failed” error? Any insights or suggestions would be greatly appreciated. Thank you for your help!

      Slice details:

      Name: dpdk_with_timestamps_l2bridge

      UUID: 9265b19b-1407-4582-8ebd-697afd4ae65e

      Fablib version: 1.7.3

      Site tried: STAR and SEAT

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.