1. Paul Ruth

Paul Ruth

Forum Replies Created

Viewing 15 posts - 241 through 255 (of 273 total)
  • Author
    Posts
  • in reply to: JupyterHub 403 issue #1062
    Paul Ruth
    Keymaster

      Try it now. I added Jupyter permissions to your account.

      Paul

      in reply to: Username #1011
      Paul Ruth
      Keymaster

        Agreed, the portal has a lot more features in development.   This is one of them.

         

        in reply to: Trying to write in AppData fail #1010
        Paul Ruth
        Keymaster

          That looks like a Windows path. Is this on a Windows machine?  I suspect this has something to do with the way you setup the Python virtual environment on Windows.  I’m not very familiar with Windows but will reach out  to one of the FABRIC student who previously got this working and see if he can help.

           

           

          in reply to: API versions #1009
          Paul Ruth
          Keymaster

            Those notes will eventually be here: https://learn.fabric-testbed.net/article-categories/release-notes/

            If you want to install the API that is currently in the jupyter hub you can do this with the following command:

            pip install fabrictestbed==1.0.3

            in reply to: bastion username #1008
            Paul Ruth
            Keymaster

              There is a lot more key management functionality in development.  Also, keep in mind we should never have your private bastion key and will not be able to pre-install it for you.

              in reply to: What is it for and where can I find id_rsa_fabric? #1007
              Paul Ruth
              Keymaster

                That is the path to your private bastion host key.  Think of the Jupyterhub environment as private VM/container in the cloud that has all the FABRIC API configuration setup for you.

                Each user has two key pairs. The first key pair is the one the is installed on the bastion host.  The other key pair is the one that is installed in the VMs.

                In the Hello, FABRIC notebook example the bastion_key_filename needs to point to the bastion private key. This is the private half of the key pair that we installed in your account on the bastion host. By default this private key is not in your Jupyter environment. You will need to copy that private key to Jupyter and set bastion_key_filename to the path to that private key.

                In the Hello, FABRIC notebook example the key pair that is used in your VMs are referenced with the vars ssh_key_file_priv and ssh_key_file_pub.  These keys are set to a default key pair that is automatically in your Jupyter environment.  You can use that key pair or create a new one, if you want.  If you want ssh to your VMs from outside of your  Jupyter environment you need to copy the private key to your laptop or other work station.

                in reply to: No such file or directory #1006
                Paul Ruth
                Keymaster

                  Are you able to login from a terminal window?

                  in reply to: Jupyterhub issue? #1005
                  Paul Ruth
                  Keymaster

                    Can you retry this. It is working for me this morning.

                    Paul

                    in reply to: Maintenance on FABRIC Production Sites Today (Nov 10) #985
                    Paul Ruth
                    Keymaster

                      TACC, NCSA, UTAH, and MAX are reopened for users.  Please refrain from using STAR.

                      in reply to: Jupyterhub issue? #984
                      Paul Ruth
                      Keymaster

                        This may or may not be an issue. The utility function in the notebook has a timeout that can be chosen by the user. There is a sane default but larger slices may exceed that timeout.

                        If you are hitting that timeout and later the VMs become accessible,  you might want to increase the timeout for your use case.

                         

                        in reply to: No such file or directory #983
                        Paul Ruth
                        Keymaster

                          To answer Polina’s question… No, we have not installed you private key in the Jupyter environment (we never had access to your private key).

                          More detail can be found in this answer from the other topic: https://learn.fabric-testbed.net/forums/topic/test-server-bastion-host-login/#post-982

                          in reply to: Test Server/Bastion Host Login #982
                          Paul Ruth
                          Keymaster

                            I think one issue might be mixing up which key pair is which.  For reference, the initialization code in the Hello, FABRIC note book looks like the following.

                            Each user has two key pairs. The first key pair is the one the is installed on the bastion host.  The other key pair is the one that is installed in the VMs.

                            In the Hello, FABRIC notebook example the bastion_key_filename needs to point to the bastion private key. This is the private half of the key pair that we installed in your account on the bastion host. By default this private key is not in your Jupyter environment. You will need to copy that private key to Jupyter and set bastion_key_filename to the path to that private key.

                            In the Hello, FABRIC notebook example the key pair that is used in your VMs are referenced with the vars ssh_key_file_priv and ssh_key_file_pub.  These keys are set to a default key pair that is automatically in your Jupyter environment.  You can use that key pair or create a new one, if you want.  If you want ssh to your VMs from outside of your  Jupyter environment you need to copy the private key to your laptop or other work station.

                            bastion_public_addr = 'bastion-1.fabric-testbed.net'
                            bastion_private_ipv4_addr = '192.168.11.226'
                            bastion_private_ipv6_addr = '2600:2701:5000:a902::c'
                            
                            bastion_username = <your bastion id>
                            
                            bastion_key_filename = os.environ['HOME'] + "/.ssh/id_rsa_fabric"
                            
                            ssh_key_file_priv=os.environ['HOME']+"/.ssh/id_rsa"
                            ssh_key_file_pub=os.environ['HOME']+"/.ssh/id_rsa.pub"
                            
                            ssh_key_pub = None
                            with open (ssh_key_file_pub, "r") as myfile:
                            ssh_key_pub=myfile.read()
                            ssh_key_pub=ssh_key_pub.strip()

                            Let me know if this was the issue,

                            Paul

                            in reply to: No such file or directory #955
                            Paul Ruth
                            Keymaster

                              You will need to put your private key in the Jupyter container at that path (or some whereelse and change the path in the notebook).

                              You can think of the Jupyter container as a personal computer in the “cloud”.  The benefit is that it comes mostly configured for FABRIC.   The only thing you need to do is add your bastion key.

                              Another option is to install the FABRIC API on your personal machine (laptop, etc.).  There are some instructions for that here: https://learn.fabric-testbed.net/knowledge-base/install-the-python-api/

                              Paul

                              in reply to: Replication of customized configurations #952
                              Paul Ruth
                              Keymaster

                                I think you are asking about your experiment running a service that is accessible over the Internet.

                                This will be possible. Longer term we will enable L3 services on your experiment’s dataplane that can be connected to the Internet. This service is not ready now. For now, you can expose a service on the Internet using the management plane.  We are working on a way for you to tunnel that service through our bastion host.  We have the tunnel working but need to create some documentation that shows you how to use it.

                                Paul

                                in reply to: Replication of customized configurations #951
                                Paul Ruth
                                Keymaster

                                  I think you are asking about your experiment running a service that is accessible over the Internet.

                                  This will be possible. Longer term we will enable L3 services on your experiment’s dataplane that can be connected to the Internet. This service is not ready now. For now, you can expose a service on the Internet using the management plane.  We are working on a way for you to tunnel that service through our bastion host.  We have the tunnel working but need to create some documentation that shows you how to use it.

                                  Paul

                                Viewing 15 posts - 241 through 255 (of 273 total)