1. Arash

Arash

Forum Replies Created

Viewing 4 posts - 31 through 34 (of 34 total)
  • Author
    Posts
  • in reply to: When attempting to create a new slice, an error occurs. #2154
    Arash
    Participant

      Yes, Thank you

      still I am getting an error, (I checked both paths and everything looks good.)

      try:
      node1 = slice.get_node(name=node1_name)
      node1.upload_file(local_file_path=os.environ[‘HOME’]+’/work/Server.py’, remote_file_path=’/home/ubuntu/’)

      except Exception as e:
      print(f”Exception: {e}”)

       

      SCP upload fail. Slice: ArashTest3, Node: Node1, trying again
      Fail: Failure
      SCP upload fail. Slice: ArashTest3, Node: Node1, trying again
      Fail: Failure
      Exception: Failure

      in reply to: When attempting to create a new slice, an error occurs. #2151
      Arash
      Participant

        Thank you. Do you have any suggestions for transferring my Python file and running it on the node? (With JupyterLab)

        The file is already on my jupyterLab.

        in reply to: When attempting to create a new slice, an error occurs. #2149
        Arash
        Participant

          Thank you; that pretty much solved my problem. I also wondered how I could select the ISO (select ubuntu instead of RedHat) or even upload my preconfigured ISO file.

          in reply to: Can’t make first slice using Portal interface #2139
          Arash
          Participant

            When I try to create a new slice, I also get the following error:

            any advice?

            try:
            slice = fablib.new_slice(name=”MySlice”)
            node = slice.add_node(name=”Node1″)
            slice.submit()
            except Exception as e:
            print(f”Exception: {e}”)
            Exception: ‘NoneType’ object has no attribute ‘resources’

          Viewing 4 posts - 31 through 34 (of 34 total)