1. Unable to run old Jupyter notebooks

Unable to run old Jupyter notebooks

Home Forums FABRIC General Questions and Discussion Unable to run old Jupyter notebooks

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4556
    Acheme Acheme
    Participant

      I have a few project notebooks that I was able to run successfully before last week’s maintenance but now cannot. Can anyone help me?

      I get  the following error from creating slice even though it says the slice is stable and Ok:

      Running post_boot_config … Slice Fail: Label exception: Unable to set field numa of labels, no such field available [‘bdf’, ‘mac’, ‘ipv4’, ‘ipv4_range’, ‘ipv4_subnet’, ‘ipv6’, ‘ipv6_range’, ‘ipv6_subnet’, ‘asn’, ‘vlan’, ‘vlan_range’, ‘inner_vlan’, ‘instance’, ‘instance_parent’, ‘local_name’, ‘local_type’, ‘device_name’, ‘bgp_key’, ‘account_id’, ‘region’]

      Code:

      from fabrictestbed_extensions.fablib.fablib import FablibManager as fablib_manager

      try:
      fablib = fablib_manager()

      fablib.show_config()
      except Exception as e:
      print(f”Exception: {e}”)

      slice_name = ‘SameSite_L2’

      sites = [‘CLEM’, ‘CLEM’]
      nodes_name = [‘Node1’, ‘Node2’]

      network_name=[‘net1’, ‘net2’]
      node_nic_name = [‘nic1′,’nic2’]

      image = ‘default_ubuntu_20′
      cores = 4
      ram = 64
      disk = 50

      try:
      #Create Slice
      slice = fablib.new_slice(name=slice_name)

      # Node1
      node1 = slice.add_node(name=nodes_name[0], site=sites[0])
      node1.set_capacities(cores=cores, ram=ram, disk=disk)
      node1.set_image(image)
      iface1_1 = node1.add_component(model=’NIC_Basic’, name=node_nic_name[0]).get_interfaces()[0]

      # Node2
      node2 = slice.add_node(name=nodes_name[1], site=sites[1])
      node2.set_capacities(cores=cores, ram=ram, disk=disk)
      node2.set_image(image)
      iface2_1 = node2.add_component(model=’NIC_Basic’, name=node_nic_name[1]).get_interfaces()[0]

      # Network
      net1 = slice.add_l2network(name=network_name[0], interfaces=[iface1_1, iface2_1])

      #Submit Slice Request
      slice.submit()
      except Exception as e:
      print(f”Slice Fail: {e}”)

       

       

      Thank you very much.

      Regards,

      Acheme

      #4559
      Komal Thareja
      Participant

        Hello Acheme,

        Could you please share the output of the following commands? Also, which container are you using?

        pip list | grep fabric

        cat ~/work/fabric_config/requirements.txt

        Thanks,

        Komal

        #4560
        Acheme Acheme
        Participant

          Hi Komal,

          I am using 1.5.1

          (base) fabric@jupyter-aacheme-40clemson-2eedu:~/work$ pip list | grep fabric
          fabric 3.1.0
          fabric-credmgr-client 1.3.2
          fabric-fim 1.4.3
          fabric_fss_utils 1.5.0
          fabric-orchestrator-client 1.4.4
          fabrictestbed 1.4.4
          fabrictestbed-extensions 1.4.1

           

          (base) fabric@jupyter-aacheme-40clemson-2eedu:~/work$ cat ~/work/fabric_config/requirements.txt
          fabrictestbed-extensions==1.4.1

          Thank you.

          Regards,

          Acheme

          #4561
          Komal Thareja
          Participant

            Could you please remove the entries for fabrictestbed-extensions from ~/work/fabric_config/requirements.txt and restart your container? Please try your notebooks after the restart.

            Thanks,

            Komal

            #4562
            Acheme Acheme
            Participant

              Please how do I restart the container?

              #4563
              Komal Thareja
              Participant

                Sorry, for not indicating this before, you can restart the container from File -> Hub Control Panel -> Stop My Server, then logout and login.

                #4564
                Acheme Acheme
                Participant

                  Works fine now.

                  Thank you Komal

                   

                  Regards,

                  Acheme

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.