1. Komal Thareja

Komal Thareja

Forum Replies Created

Viewing 15 posts - 226 through 240 (of 475 total)
  • Author
    Posts
  • in reply to: No candidate nodes found error #7221
    Komal Thareja
    Participant

      Hi Nishant,

      VM requested on GATECH identified by ID: 3d425fc6-0f44-4e98-a0cc-d9ee9358cb8f cannot be allocated. Looks like you are requesting CX6 there which are only available on GATECH-w3 which is currently under maintenance. Hence, CF is unable to find any nodes to serve this reservation.

      Hope this helps!

      Thanks,

      Komal

      in reply to: network config lost on reboot #7203
      Komal Thareja
      Participant

        Hi Nirmala,

        FABLIB API supports 3 modes of configuration for the VMs.
        – Manual: Manual configuration does not require any additional steps before the slice request is submitted.

        – Auto: Automatic configuration requires specify a subnet for the network and setting the interface’s mode to auto using the iface1.set_mode(‘auto’) function before submitting the request. With automatic configuration, FABlib will allocate an IP from the network’s subnet and configure the device during the post boot configuration stage. Optionally, you can add routes to the node before submitting the request.

        – User Defined (config): User defined configuration requires specifying a subnet for the network and specifying the IP to use for each interface before the request is submitted. You can signal FABlib to configure the user defined IPs by setting the interface’s mode to config using the iface1.set_mode(‘config’) function before submitting the request. With user defined configuration, FABlib will use the IP defined by the user and configure the device during the post boot configuration stage. Optionally, you can add routes to the node before submitting the request.

        Examples for each mode of configuration are available via Start Here:

        Screenshot-2024-07-01-at-3.12.46 PM
        Reboot Persistence:

        Assuming the manual configuration is done via ip addr commands, it is not reboot persistent and the onus lies on the user to save/apply the config again post reboot.

        For modes auto and config, FABLIB maintains the IP address information in the meta data for each of VMs maintained in UserData JSON object saved in the Fabric Information Model for the VM. In both these modes, the configuration can be fetched and re-applied using the code block:

        
        slice = fablib.get_slice(slice_name)
        for n in slice.get_nodes()
        n.config()
        

        Hope this helps! Please let me know if you have any feedback.

        Thanks,
        Komal

        in reply to: network config lost on reboot #7194
        Komal Thareja
        Participant

          Hi Vaiden,

          Not sure how your slice was setup. If you interfaces were configured in auto mode. You should be able to do the following to reapply the config.


          slice = fablib.get_slice(slice_name)
          for n in slice.get_nodes():
          n.config()

           

          Thanks,

          Komal

          in reply to: Slice Dead #7187
          Komal Thareja
          Participant

            Hi Vaiden,

            I have checked the logs and don’t see any errors. Looks like your slice was modified multiple times.

            Some of the resources closed on 2024-05-18 18:27:07 +0000 while all other had expiry date set to 2024-11-02 19:45:33 +0000. Is it possible that the slice deletion was triggered by you on accident?

            I have no evidence of software deleting it due to expiry as per the logs.

            Could you please share if there were any recent actions taken on the slice? Trying to see if this can be recreated.

            Appreciate your help with this.

            Thanks,

            Komal

            in reply to: Slice Dead #7184
            Komal Thareja
            Participant

              Hi Vaiden,

              Unfortunately, it is not possible to recover the slivers once deleted. I will look at why the slice was closed before the end date. However, I do suspect that Extend/Renew may have failed for certain slivers. I will look more and share details here.

              Thanks,

              Komal

              in reply to: get_device_name returns None #7166
              Komal Thareja
              Participant

                Good morning Fraida,

                I’ve pushed a fix to address this issue. Could you please try again using the Beyond Bleeding Edge container on JH and let us know if the problem persists? Your help is greatly appreciated!

                Thanks,

                Komal

                in reply to: Slice Configuration Failure #7165
                Komal Thareja
                Participant

                  Hi Pilar,

                  Could you please check if your bastion keys are expired via on the Portal ->Experiments -> Manage SSH Keys -> Bastion Keys? If so, Please re-run the notebook jupyter-examples-rel1.6.1/configure_and_validate.ipynb

                  This should renew your bastion keys. Please try creating your slice again after this.

                  Thanks,

                  Komal

                  in reply to: How to use long-lived tokens in experiments #7164
                  Komal Thareja
                  Participant

                    Hi Nishant,

                    Installing fablib from main branch should work. It is using the fabrictestbed==1.5.9 dependency which has the fix.

                    fabrictestbed==1.5.9 is built from llt branch. I will work on merging this branch to main as well.

                    Thanks,

                    Koma

                    in reply to: Follow up re: capabilities of Basic NIC devices #7163
                    Komal Thareja
                    Participant

                      Hi Fraida,

                      Yes, FABRIC now supports Slices using OVS Bridges using NIC_Basic. An example notebook can be found here: https://github.com/fabric-testbed/jupyter-examples/blob/main/fabric_examples/complex_recipes/openvswitch/openvswitch.ipynb

                      We do have following constraint though for this to work.

                      Host Considerations:

                      Because of constraints imposed by NVIDIA/Mellanox, when utilizing NIC_Basic for an OVS bridge experiment, it is advisable to deploy the VM responsible for running the bridge on a separate host from the VMs linked to the bridge.

                      Additionally, it’s worth noting that this condition does not apply to NIC_ConnectX_5 and NIC_ConnectX_6 configurations.

                      Thanks,

                      Komal

                      in reply to: Bug / footgun calling slice.delete() #7092
                      Komal Thareja
                      Participant

                        Thank you for sharing this Sunjay, we will fix this in the next version.

                        Thanks,

                        Komal

                        in reply to: Slice creation fails #7087
                        Komal Thareja
                        Participant

                          Posting an update to close the loop.

                          Had a quick Zoom meeting with Laura to resolve this. The issue seemed to be bastion keys, removing contents of fabric_config and re-running configure_and_validate.ipynb resolved the issue.

                          @Laura – Please let us know if you run into any issues!

                          Thanks,

                          Komal

                          Komal Thareja
                          Participant

                            Hi Shoaib,

                            Which network are you trying to setup – layer2 or layer3? Please share your slice id to help us investigate this further.

                            In addition, please take a look at the examples available from start_here.ipynb

                            Screenshot-2024-06-10-at-9.41.01 AM

                            All the networking examples have three configurations:

                            • Auto – FABLIB automatically configures IPs and routes
                            • Manual – User explicitly configures IPs and routes
                            • Config – User explicitly specifies the IPs/subnets to choose and FABLIB automatically configures IPs and routes

                            Please let us know if you still have questions or concerns.

                            Thanks,

                            Komal

                            in reply to: Links not showing up on ip link command #7079
                            Komal Thareja
                            Participant

                              There was a missing configuration on RUTG due to the maintenance being lifted from one of the hosts there. Please check again now; the interfaces should be visible on your VMs.

                              Thank you for reporting this issue and allowing us to address the misconfiguration.

                              Thanks,

                              Komal

                              1 user thanked author for this post.
                              in reply to: Slices not showing up on portal #7077
                              Komal Thareja
                              Participant

                                Thanks,

                                Komal

                                 

                                in reply to: Slices not showing up on portal #7076
                                Komal Thareja
                                Participant

                                  Hi Nirmala,

                                  Are you a member of multiple projects? If so, could you please try the following and see if this helps?

                                  From the portal Go to Experiments -> Projects and Slices, choose the specific project, click on Slices under that project.

                                  Please let us know if this is still an issue.

                                  Alternatively, you could renew the slices from Jupyter Hub with one of the following options:

                                  Option A: Slice commander

                                  • Open a terminal, type slice-commander
                                  • type ls to list your slices
                                  • cd to your slice and then type renew <days>

                                  Option B: Notebook

                                  • List your slices using notebook Start Here -> List All Slices (available under Managing Slices)
                                  • Renew your slices using notebook Start Here -> Extending a Slice Reservation (available under Managing Slices)

                                   

                                  Thanks,

                                  Komal

                                   

                                Viewing 15 posts - 226 through 240 (of 475 total)