Home › Forums › FABRIC General Questions and Discussion › Unable to create Slice, Errors at all ticketed nodes
Tagged: error, failed lease update, nodes, slice
- This topic has 3 replies, 2 voices, and was last updated 10 months, 1 week ago by Robin Schelstraete.
-
AuthorPosts
-
February 15, 2024 at 6:01 am #6566
Hi all,
I have been working on an experiment for the last three months where I submit a slice when I start working on it, and delete the slice when I am done for the day. I haven’t changed anything about the code, but since a few days my slice won’t stabilize because of a “failed lease update” error (screenshot in the attachment) on every ticketed node.
How can I fix this?The code used to create:
from ipaddress import ip_address, IPv4Address, IPv6Address, IPv4Network, IPv6Network
import ipaddress
from fabrictestbed_extensions.fablib.fablib import FablibManager as fablib_managerfablib = fablib_manager()
fablib.show_config();
slice_name=”Experiment Slice”
node1_name=”Node1″
node2_name=”Node2″
# This will be the router node
node3_name=”SR-ingress-node”
node4_name=”Source-Node”
node5_name=”Destination-Node”
network_name=’net1′
node_location = “AMST”
image=”default_ubuntu_22″# Create a slice
slice = fablib.new_slice(name=slice_name)# Network
net1 = slice.add_l2network(name=network_name, subnet=IPv6Network(“2001:0db8:85a3::/64”))# Add a node
node1 = slice.add_node(name=node1_name, site=node_location, image=image)
iface1 = node1.add_component(model=’NIC_Basic’, name=’nic1′).get_interfaces()[0]
iface1.set_mode(‘auto’)
net1.add_interface(iface1)node2 = slice.add_node(name=node2_name, site=node_location, image=image)
iface2 = node2.add_component(model=’NIC_Basic’, name=’nic1′).get_interfaces()[0]
iface2.set_mode(‘auto’)
net1.add_interface(iface2)node3 = slice.add_node(name=node3_name, site=node_location, image=image)
iface3 = node3.add_component(model=’NIC_Basic’, name=’nic1′).get_interfaces()[0]
iface3.set_mode(‘auto’)
net1.add_interface(iface3)node4 = slice.add_node(name=node4_name, site=node_location, image=image)
iface4 = node4.add_component(model=’NIC_Basic’, name=’nic1′).get_interfaces()[0]
iface4.set_mode(‘auto’)
net1.add_interface(iface4)node5 = slice.add_node(name=node5_name, site=node_location, image=image)
iface5 = node5.add_component(model=’NIC_Basic’, name=’nic1′).get_interfaces()[0]
iface5.set_mode(‘auto’)
net1.add_interface(iface5)# Submit the slice
slice.submit();Thanks!
Robin
February 15, 2024 at 6:50 am #6568Hi Robin,
There are libvirt issues on the worker your VMs are being created. We are looking at the issue and will keep you informed. However, could you please try using a different site than AMST in the meanwhile to unblock you?
Apologies for the inconvenience!
Thanks,
Komal
February 15, 2024 at 10:12 am #6570Issue has been resolved now. You slice provisioning should work now.
February 16, 2024 at 11:06 am #6575Thank you!!
-
AuthorPosts
- You must be logged in to reply to this topic.