Home › Forums › FABRIC General Questions and Discussion › Unable to run old Jupyter notebooks
- This topic has 6 replies, 2 voices, and was last updated 2 years, 4 months ago by Acheme Acheme. 
- 
		AuthorPosts
- 
		
			
				
June 20, 2023 at 10:21 am #4556I 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 = 50try: 
 #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 June 20, 2023 at 10:33 am #4559Hello Acheme, Could you please share the output of the following commands? Also, which container are you using? pip list | grep fabriccat ~/work/fabric_config/requirements.txtThanks, Komal June 20, 2023 at 10:42 am #4560Hi 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.1Thank you. Regards, Acheme June 20, 2023 at 10:44 am #4561Could you please remove the entries for fabrictestbed-extensionsfrom ~/work/fabric_config/requirements.txt and restart your container? Please try your notebooks after the restart.Thanks, Komal June 20, 2023 at 10:58 am #4562Please how do I restart the container? June 20, 2023 at 11:12 am #4563Sorry, for not indicating this before, you can restart the container from File -> Hub Control Panel -> Stop My Server, then logout and login. June 20, 2023 at 11:30 am #4564Works fine now. Thank you Komal Regards, Acheme 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
