1. Paul Ruth

Paul Ruth

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 274 total)
  • Author
    Posts
  • in reply to: P4_bmv2 example is not working when executed on fabrictestbed. #3880
    Paul Ruth
    Keymaster

      There are some update coming to fablib to better support docker containers.  When these arrive we will revisit all the “complex” examples and get them working in a much simpler way.

      For now, I can assure you there is nothing in FABRIC that prevents these examples from working.  They just need to be updated.  It is possible for someone with P4 BMV2 experience to get them working on their own.

      I’ll keep this forum update on any progress.

       

       

      Paul Ruth
      Keymaster

        This is an effect of the tar command not adding empty folders.   I fixed it in the newest branch and it will be included in an upcoming release.

        Thanks.

        in reply to: How to extend the lease end date? #3823
        Paul Ruth
        Keymaster

          Note that a great place to learn about FABlib is in the JupyterExample that come pre-installed in your JupyterHub container.  You can also pull the examples from github

          Current examples in a zip file (FABRIC Jupyter Examples 1.4.2)

          The index of other example can be found here: (Jupyter Examples Index)

          The renew example can be found there (github link: Renew Slice)

          All of these examples are pre-installed in your JupyterHub container and should run after you configure the environment with your username and keys.

          in reply to: Layer 3 IPv6 connection with error #3772
          Paul Ruth
          Keymaster

            There is a image called “default_ubuntu_22” that you can use.

            However, I tried both ubuntu images and there is something about their IPv6 configuration that isn’t working quite right. It looks like in ubuntu the interfaces are not correctly being put in the state ‘up’ with IPv6.

            It will work if you add the following line to each of the “Configure NodeX” cells of the JupyterExample:

            stdout, stderr = node1.execute(f'sudo ip -6 link set dev {node1_iface.get_os_interface()} up')

             

            in reply to: upload_file error: No such file or directory #3771
            Paul Ruth
            Keymaster

              That looks correct.

              Are you able to open and read the file directly in the code?

              It looks like you are running this on a Mac.  Are you running it in a virtual environment on the Mac?  In some cases a virtual environment will not be able to access files outside of the virtual environment.

              Try opening and reading the file directly.

              in reply to: “stdio forwarding failed” issue #3765
              Paul Ruth
              Keymaster

                For clarity, I say “slice/sliver key” because we are a bit inconsistent in our use of terms.   “Slice key” and “sliver key” are often use to mean the same thing.  This is really just the key that is in the VM (as opposed to the key that is in the bastion host).

                The important thing to know is that the slice key you use in the portal and the slice key you use in the JupyterHub are not necessarily the same.  The slice key that is pushed to the VM will be the slice key that is used when you submit the slice request.  That is the slice key you will need to use to access it, regardless of where you access if from.

                So, if you create a slice in the portal and want to access it from the jupyterhub, you will need to have that slice key in your jupyterhub.  The reverse is also true.

                You don’t need to have your keys match, you just need to know which key you used when you created the slice.

                in reply to: Failed to Login into FABRIC VM #3761
                Paul Ruth
                Keymaster

                  This has something to do with the ESnet IEP for your account and we need to escalate it to a proper ticket.

                  Can you create a account help ticket here: https://portal.fabric-testbed.net/help

                  PAul

                  in reply to: Failed to Login into FABRIC VM #3756
                  Paul Ruth
                  Keymaster

                    This should work.  Can you confirm the following?

                    • You replaced “username_0123456789” with your bastion user name from the portal.
                    • You replace “~/.ssh/fabric_bastion” with the actual path to your bastion private key
                    • Your bastion key is not more that 6 months old

                    Paul

                    in reply to: Unable to allocate resources after the updates/maintenance. #3753
                    Paul Ruth
                    Keymaster

                      @Manas –

                      Can you try using the NVMe drives?  They are 1 TB each and you can have multiple per VM.  Like all the other components, you can only create VMs composed of components that are on the same physical host. So, just because a site has 10+ NVMe drives does not mean you can put them all on one VM.  Two NVMe drives in a VMs is possible on most sites.  The other bonus of the NVMe drives is that they are very fast.

                      Also, you might try using large persistent volumes.  These can be very large but are mounted across a network but within a site.  You would need to pick a few site where we can create the volumes. Then you can mount them with VMs on that site.  The bonus with these volumes is that the data is persistent.  So, if you shutdown a slice and come back tomorrow or next week, the data will still be there.

                      Paul

                       

                      • This reply was modified 1 year, 10 months ago by Paul Ruth.
                      in reply to: “stdio forwarding failed” issue #3750
                      Paul Ruth
                      Keymaster

                        We looked into this and this is not an issue with being banned.

                        From your error, you have made it through the bastion host but are failing authorization at the VM.  This is likely caused by using the wrong VM username or the wrong key.  Keep in mind, the key you use in the portal and the key you use in the JupyterHub are likely different.  You can make them the same but you would need to manually do that.  Are you sure you are using the correct slice/sliver key?

                        in reply to: File save error and Load file error #3726
                        Paul Ruth
                        Keymaster

                          What are you using it for? Generally, the JupyterHub is a good place for code/script/docs (i.e. smaller things). Do you need space for large data sets? If so we can create a persistent storage volume in the testbed itself.

                          in reply to: “stdio forwarding failed” issue #3721
                          Paul Ruth
                          Keymaster

                            I think what you have will probably work once the ban is lifted.  We did make a small change in order to load balance across the bastions hosts.  There is now one bastion name “bastion.fabric-testbed.net”.  You might try making ssh_config look something like this (Although I think it would work the way you have it):

                            Host bastion.fabric-testbed.net
                                User pruth_0031379841
                                ForwardAgent yes
                                Hostname %h
                                IdentityFile /home/fabric/work/fabric_config/fabric_bastion_key
                                IdentitiesOnly yes
                            
                            Host * !bastion.fabric-testbed.net
                                ProxyJump pruth_0031379841@bastion.fabric-testbed.net:22
                            • This reply was modified 1 year, 10 months ago by Paul Ruth.
                            • This reply was modified 1 year, 10 months ago by Paul Ruth.
                            in reply to: “stdio forwarding failed” issue #3719
                            Paul Ruth
                            Keymaster

                              Oh, actually this won’t work for you right now.  There is still something wrong with your ssh setup but even if you correct it, you have triggered our security policy about failed ssh retries and your IP has been temporarily banned.

                              Are you able to try this from a different IP?

                              in reply to: “stdio forwarding failed” issue #3717
                              Paul Ruth
                              Keymaster

                                Ok, my next thought is that the ssh_config file might be wrong or not at the path you specified.

                                Can you confirm the ssh_config file is in the local dir and post the parts related to the fabric bastion host?

                                in reply to: File save error and Load file error #3714
                                Paul Ruth
                                Keymaster

                                  It looks like you filled your disk allocation our JupyterHub.  Do you have old files that you can clean up?

                                Viewing 15 posts - 46 through 60 (of 274 total)