Forum Replies Created
Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
February 26, 2024 at 12:27 pm in reply to: Lost ssh access to my nodes in the experiment, how to reinstate it? #6609
I am also facing issues :
When I run :
”
#Import Fablib library
from fabrictestbed_extensions.fablib.fablib import FablibManager as fablib_manager
fablib = fablib_manager()”
GettingĀ error :
”
--------------------------------------------------------------------------- SliceManagerException Traceback (most recent call last) File /opt/conda/lib/python3.10/site-packages/fabrictestbed/slice_manager/slice_manager.py:225, in SliceManager.refresh_tokens(self, refresh_token) 224 error_message = Utils.extract_error_message(exception=tokens) --> 225 raise SliceManagerException(error_message) 226 except Exception as e: SliceManagerException: Internal Server Error - During handling of the above exception, another exception occurred: SliceManagerException Traceback (most recent call last) Cell In[2], line 4 1 # 5 Servers and 1 switch example 2 #Import Fablib library 3 from fabrictestbed_extensions.fablib.fablib import FablibManager as fablib_manager ----> 4 fablib = fablib_manager() File /opt/conda/lib/python3.10/site-packages/fabrictestbed_extensions/fablib/fablib.py:569, in FablibManager.__init__(self, fabric_rc, credmgr_host, orchestrator_host, core_api_host, token_location, project_id, bastion_username, bastion_key_location, log_level, log_file, data_dir, output, execute_thread_pool_size, offline, **kwargs) 567 self.ssh_thread_pool_executor = ThreadPoolExecutor(execute_thread_pool_size) 568 self.setup_logging() --> 569 self.__build_slice_manager() 570 self.required_check() File /opt/conda/lib/python3.10/site-packages/fabrictestbed_extensions/fablib/fablib.py:888, in FablibManager.__build_slice_manager(self) 886 except Exception as e: 887 logging.error(e, exc_info=True) --> 888 raise e 890 return self.slice_manager File /opt/conda/lib/python3.10/site-packages/fabrictestbed_extensions/fablib/fablib.py:872, in FablibManager.__build_slice_manager(self) 869 Utils.is_reachable(hostname=self.get_orchestrator_host()) 870 Utils.is_reachable(hostname=self.get_core_api_host()) --> 872 self.slice_manager = SliceManager( 873 oc_host=self.get_orchestrator_host(), 874 cm_host=self.get_credmgr_host(), 875 core_api_host=self.get_core_api_host(), 876 project_id=self.get_project_id(), 877 token_location=self.get_token_location(), 878 initialize=True, 879 scope="all", 880 ) 881 self.slice_manager.initialize() 882 logging.debug("Slice manager initialized!") File /opt/conda/lib/python3.10/site-packages/fabrictestbed/slice_manager/slice_manager.py:94, in SliceManager.__init__(self, cm_host, oc_host, core_api_host, token_location, project_id, scope, initialize, project_name) 90 raise SliceManagerException(f"Invalid initialization parameters: project_id={self.project_id}, " 91 f"project_name={self.project_name}") 93 if initialize: ---> 94 self.initialize() File /opt/conda/lib/python3.10/site-packages/fabrictestbed/slice_manager/slice_manager.py:112, in SliceManager.initialize(self) 106 """ 107 Initialize the Slice Manager object 108 - Load the tokens 109 - Refresh if needed 110 """ 111 if not self.initialized: --> 112 self.__load_tokens() 113 self.initialized = True File /opt/conda/lib/python3.10/site-packages/fabrictestbed/slice_manager/slice_manager.py:161, in SliceManager.__load_tokens(self, refresh) 159 # Renew the tokens to ensure any project_id changes are taken into account 160 if refresh: --> 161 self.refresh_tokens(refresh_token=refresh_token) File /opt/conda/lib/python3.10/site-packages/fabrictestbed/slice_manager/slice_manager.py:228, in SliceManager.refresh_tokens(self, refresh_token) 226 except Exception as e: 227 error_message = Utils.extract_error_message(exception=e) --> 228 raise SliceManagerException(error_message) SliceManagerException: Internal Server Error -
”
How can I resolve this issue?
January 9, 2024 at 1:42 pm in reply to: How to access the files from my older username on the same project? #6283The issue resolved.
Thanks!
January 8, 2024 at 3:03 pm in reply to: How to access the files from my older username on the same project? #6260Stopped the Container.
January 8, 2024 at 2:51 pm in reply to: How to access the files from my older username on the same project? #6258I have access to Jupyterhub, but I can’t access my old files.
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)