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
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.
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.
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’