1. Hemil Panchiwala

Hemil Panchiwala

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Issue with SmartNIC Configuration on nodes #7827
    Hemil Panchiwala
    Participant

      Thanks for the quick response. I ran the jupyter-examples-*/configure_and_validate/configure_and_validate.ipynb, but I still see the same error. When I try to ssh to VM from the terminal in jupyter-notebook, it gives permission denied (seems to be the error with key verification).

      fabric@spring:fabric_config-96%$ ssh -i /home/fabric/work/fabric_config/slice_key -F /home/fabric/work/fabric_config/ssh_config ubuntu@2001:400:a100:3080:f816:3eff:fe28:f4bf
      Warning: Permanently added 'bastion.fabric-testbed.net' (ED25519) to the list of known hosts.
      hpanchiwala_0000176766@bastion.fabric-testbed.net: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
      kex_exchange_identification: Connection closed by remote host
      Connection closed by UNKNOWN port 65535

      I also tried creating a new slice by specifying the subnet as well as mode to auto for the interfaces, but doesn’t seem to work (attaching the output once setup is done). Slice ID: 944f4af0-283e-4032-b215-d6abe48cf86a

      slice_name = "dpdk_with_timestamps_l2bridge"
      network_name='l2'
      
      send_params = {"name": "sender", "site": "GATECH", "host": None, "image": "default_ubuntu_20"}
      send_nic_params = {"model": "NIC_ConnectX_5", "name": "SmartNIC"}
      recv_params = {"name": "receiver", "site": "GATECH", "host": None, "image": "default_ubuntu_20"}
      recv_nic_params = {"model": "NIC_ConnectX_5", "name": "SmartNIC"}
      
      try:
      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]
      send_iface.set_mode('auto')
      recv_node = slice.add_node(**recv_params)
      recv_iface = recv_node.add_component(**recv_nic_params).get_interfaces()[0]
      recv_iface.set_mode('auto')
      net1 = slice.add_l2network(name=network_name, interfaces=[send_iface, recv_iface], type='L2Bridge', subnet=IPv4Network("192.168.1.0/24"))
      slice.submit()
      except Exception as e:
      print(e)
      
    Viewing 1 post (of 1 total)