1. Yuvaraj Munian

Yuvaraj Munian

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: Authentication Failed error #5848
    Yuvaraj Munian
    Participant

      During Configure the environment,

      in reply to: Assignment IPV4 routing #5837
      Yuvaraj Munian
      Participant

        This is the error i am getting when i go with Hello Fabric. Remaining steps are executed correct.

        
        
        
        The Error is,
        
        ---------------------------------------------------------------------------
        AuthenticationException                   Traceback (most recent call last)
        Cell In[7], line 4
              1 node = slice.get_node('Node1')
              3 for node in slice.get_nodes():
        ----> 4     stdout, stderr = node.execute('echo Hello, FABRIC from node hostname -s')
        
        File /opt/conda/lib/python3.10/site-packages/fabrictestbed_extensions/fablib/node.py:1542, in Node.execute(self, command, retry, retry_interval, username, private_key_file, private_key_passphrase, quiet, read_timeout, timeout, output_file)
           1537 logging.warning(
           1538     f"Exception in node.execute() (attempt #{attempt} of {retry}): {e}"
           1539 )
           1541 if attempt + 1 == retry:
        -> 1542     raise e
           1544 # Fail, try again
           1545 if self.get_fablib_manager().get_log_level() == logging.DEBUG:
        
        File /opt/conda/lib/python3.10/site-packages/fabrictestbed_extensions/fablib/node.py:1395, in Node.execute(self, command, retry, retry_interval, username, private_key_file, private_key_passphrase, quiet, read_timeout, timeout, output_file)
           1393 bastion = paramiko.SSHClient()
           1394 bastion.set_missing_host_key_policy(paramiko.AutoAddPolicy())
        -> 1395 bastion.connect(
           1396     self.get_fablib_manager().get_bastion_public_addr(),
           1397     username=bastion_username,
           1398     key_filename=bastion_key_file,
           1399 )
           1401 bastion_transport = bastion.get_transport()
           1402 bastion_channel = bastion_transport.open_channel(
           1403     "direct-tcpip", dest_addr, src_addr
           1404 )
        
        File /opt/conda/lib/python3.10/site-packages/paramiko/client.py:485, in SSHClient.connect(self, hostname, port, username, password, pkey, key_filename, timeout, allow_agent, look_for_keys, compress, sock, gss_auth, gss_kex, gss_deleg_creds, gss_host, banner_timeout, auth_timeout, channel_timeout, gss_trust_dns, passphrase, disabled_algorithms, transport_factory, auth_strategy)
            482 else:
            483     key_filenames = key_filename
        --> 485 self._auth(
            486     username,
            487     password,
            488     pkey,
            489     key_filenames,
            490     allow_agent,
            491     look_for_keys,
            492     gss_auth,
            493     gss_kex,
            494     gss_deleg_creds,
            495     t.gss_host,
            496     passphrase,
            497 )
        
        File /opt/conda/lib/python3.10/site-packages/paramiko/client.py:818, in SSHClient._auth(self, username, password, pkey, key_filenames, allow_agent, look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host, passphrase)
            816 # if we got an auth-failed exception earlier, re-raise it
            817 if saved_exception is not None:
        --> 818     raise saved_exception
            819 raise SSHException("No authentication methods available")
        
        File /opt/conda/lib/python3.10/site-packages/paramiko/client.py:794, in SSHClient._auth(self, username, password, pkey, key_filenames, allow_agent, look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host, passphrase)
            788 key = self._key_from_filepath(
            789     filename, pkey_class, passphrase
            790 )
            791 # for 2-factor auth a successfully auth'd key will result
            792 # in ['password']
            793 allowed_types = set(
        --> 794     self._transport.auth_publickey(username, key)
            795 )
            796 two_factor = allowed_types & two_factor_types
            797 if not two_factor:
        
        File /opt/conda/lib/python3.10/site-packages/paramiko/transport.py:1658, in Transport.auth_publickey(self, username, key, event)
           1655 if event is not None:
           1656     # caller wants to wait for event themselves
           1657     return []
        -> 1658 return self.auth_handler.wait_for_response(my_event)
        
        File /opt/conda/lib/python3.10/site-packages/paramiko/auth_handler.py:263, in AuthHandler.wait_for_response(self, event)
            261     if issubclass(e.__class__, PartialAuthentication):
            262         return e.allowed_types
        --> 263     raise e
            264 return []
        
        AuthenticationException: Authentication failed.
        in reply to: Assignment IPV4 routing #5836
        Yuvaraj Munian
        Participant

          Yes I have tried the hello fabric, will try one more time and let you know any errors occur.

          in reply to: Assignment IPV4 routing #5530
          Yuvaraj Munian
          Participant

            Thank you.  When  I configure the nodes in IPV4 I am getting this error,

             

            Fail: Authentication failed.
            in reply to: Assignment IPV4 routing #5523
            Yuvaraj Munian
            Participant

              Should I rewrite each and every time these kind of different configuration, because it is showing the same error as before

              cores = 2
              ram = 2
              disk = 10

              The error is,

              Slice Failed: Submit request error: return_status Status.FAILURE, slice_reservations: (500)
              Reason: INTERNAL SERVER ERROR
              HTTP response headers: HTTPHeaderDict({'Server': 'nginx/1.21.6', 'Date': 'Tue, 03 Oct 2023 17:49:03 GMT', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '207', 'Connection': 'keep-alive', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Headers': 'DNT, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Range, Authorization', 'Access-Control-Allow-Methods': 'GET, POST, PUT, PATCH, DELETE, OPTIONS', 'Access-Control-Allow-Origin': '*', 'Access-Control-Expose-Headers': 'Content-Length, Content-Range, X-Error', 'X-Error': 'Slice IPv4_Routing already exists'})
              HTTP response body: b'{\n    "errors": [\n        {\n            "details": "Slice IPv4_Routing already exists",\n            "message": "Internal Server Error"\n        }\n    ],\n    "size": 1,\n    "status": 500,\n    "type": "error"\n}'
              in reply to: Assignment IPV4 routing #5519
              Yuvaraj Munian
              Participant

                This is the output for the last cell in first part. Thank you

                in reply to: Assignment IPV4 routing #5516
                Yuvaraj Munian
                Participant

                  Thank you. It is working now. But in the second part of the code” Routing with IPV4.ipynb”.  Under giving each node an address, in configuring nodes part i am getting this error,

                  Fail: node.execute: Management IP Invalid: None

                  in reply to: Setting up the jupyter environment for education purpose #5491
                  Yuvaraj Munian
                  Participant

                    Thank you for that.

                    Yeah I have tried to run the hello fabric, I am getting error called “authentication exception: Authentication failed error”,  when I go for step 6:run the experiment,

                    This is the error

                    ----------------------------------
                    AuthenticationException                   Traceback (most recent call last)
                    Cell In[18], line 4
                          1 #node = slice.get_node('Node1')
                          3 for node in slice.get_nodes():
                    ----> 4     stdout, stderr = node.execute('echo Hello, FABRIC from node hostname -s')
                    
                    File /opt/conda/lib/python3.10/site-packages/fabrictestbed_extensions/fablib/node.py:1542, in Node.execute(self, command, retry, retry_interval, username, private_key_file, private_key_passphrase, quiet, read_timeout, timeout, output_file)
                       1537 logging.warning(
                       1538     f"Exception in node.execute() (attempt #{attempt} of {retry}): {e}"
                       1539 )
                       1541 if attempt + 1 == retry:
                    -> 1542     raise e
                       1544 # Fail, try again
                       1545 if self.get_fablib_manager().get_log_level() == logging.DEBUG:
                    
                    File /opt/conda/lib/python3.10/site-packages/fabrictestbed_extensions/fablib/node.py:1395, in Node.execute(self, command, retry, retry_interval, username, private_key_file, private_key_passphrase, quiet, read_timeout, timeout, output_file)
                       1393 bastion = paramiko.SSHClient()
                       1394 bastion.set_missing_host_key_policy(paramiko.AutoAddPolicy())
                    -> 1395 bastion.connect(
                       1396     self.get_fablib_manager().get_bastion_public_addr(),
                       1397     username=bastion_username,
                       1398     key_filename=bastion_key_file,
                       1399 )
                       1401 bastion_transport = bastion.get_transport()
                       1402 bastion_channel = bastion_transport.open_channel(
                       1403     "direct-tcpip", dest_addr, src_addr
                       1404 )
                    
                    File /opt/conda/lib/python3.10/site-packages/paramiko/client.py:485, in SSHClient.connect(self, hostname, port, username, password, pkey, key_filename, timeout, allow_agent, look_for_keys, compress, sock, gss_auth, gss_kex, gss_deleg_creds, gss_host, banner_timeout, auth_timeout, channel_timeout, gss_trust_dns, passphrase, disabled_algorithms, transport_factory, auth_strategy)
                        482 else:
                        483     key_filenames = key_filename
                    --> 485 self._auth(
                        486     username,
                        487     password,
                        488     pkey,
                        489     key_filenames,
                        490     allow_agent,
                        491     look_for_keys,
                        492     gss_auth,
                        493     gss_kex,
                        494     gss_deleg_creds,
                        495     t.gss_host,
                        496     passphrase,
                        497 )
                    
                    File /opt/conda/lib/python3.10/site-packages/paramiko/client.py:818, in SSHClient._auth(self, username, password, pkey, key_filenames, allow_agent, look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host, passphrase)
                        816 # if we got an auth-failed exception earlier, re-raise it
                        817 if saved_exception is not None:
                    --> 818     raise saved_exception
                        819 raise SSHException("No authentication methods available")
                    
                    File /opt/conda/lib/python3.10/site-packages/paramiko/client.py:794, in SSHClient._auth(self, username, password, pkey, key_filenames, allow_agent, look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host, passphrase)
                        788 key = self._key_from_filepath(
                        789     filename, pkey_class, passphrase
                        790 )
                        791 # for 2-factor auth a successfully auth'd key will result
                        792 # in ['password']
                        793 allowed_types = set(
                    --> 794     self._transport.auth_publickey(username, key)
                        795 )
                        796 two_factor = allowed_types & two_factor_types
                        797 if not two_factor:
                    
                    File /opt/conda/lib/python3.10/site-packages/paramiko/transport.py:1658, in Transport.auth_publickey(self, username, key, event)
                       1655 if event is not None:
                       1656     # caller wants to wait for event themselves
                       1657     return []
                    -> 1658 return self.auth_handler.wait_for_response(my_event)
                    
                    File /opt/conda/lib/python3.10/site-packages/paramiko/auth_handler.py:263, in AuthHandler.wait_for_response(self, event)
                        261     if issubclass(e.__class__, PartialAuthentication):
                        262         return e.allowed_types
                    --> 263     raise e
                        264 return []
                    
                    AuthenticationException: Authentication failed.
                    in reply to: facility port – no option and no permissions to create slices #5356
                    Yuvaraj Munian
                    Participant

                      Ok

                      Thank you

                      in reply to: Setting up jupyter Hub environment #5276
                      Yuvaraj Munian
                      Participant

                        I have changed as you said and now i am getting this error. Herewith attached the screenshot

                         

                        in reply to: Setting up jupyter Hub environment #5273
                        Yuvaraj Munian
                        Participant

                          here is the screen shot. when i try to shut down the kernels, its not shutting down. If i open back the hello example and click the environment config. I am seeing the same file back again.

                          in reply to: About creating an experiment and issue in creating the slice #5266
                          Yuvaraj Munian
                          Participant

                            That would be highly appreciated for now. But for future class project, I want the project with all the required specialised components. Please create one or let me know what is the procedure to create one with all the requirements.

                            Once you give temporarily access to those specialised components, let me know.

                            in reply to: About creating an experiment and issue in creating the slice #5263
                            Yuvaraj Munian
                            Participant

                              Tried now regarding new topology creation and facing the same issue and attached the screenshot for the same. it is not letting me to choose the facility port. Please let me know ETA for getting this issue resolved in the Fabric portal.

                              in reply to: About creating an experiment and issue in creating the slice #5247
                              Yuvaraj Munian
                              Participant

                                Thank you for the reply I will try and get back to you.

                                in reply to: About creating an experiment and issue in creating the slice #5244
                                Yuvaraj Munian
                                Participant

                                  Here it is.

                                Viewing 15 posts - 1 through 15 (of 17 total)