1. Unable to create Slice, Errors at all ticketed nodes

Unable to create Slice, Errors at all ticketed nodes

Home Forums FABRIC General Questions and Discussion Unable to create Slice, Errors at all ticketed nodes

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6566
    Robin Schelstraete
    Participant

      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_manager

      fablib = 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

      #6568
      Komal Thareja
      Participant

        Hi 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

        #6570
        Komal Thareja
        Participant

          Issue has been resolved now. You slice provisioning should work now.

          #6575
          Robin Schelstraete
          Participant

            Thank you!!

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