Forum Replies Created
-
AuthorPosts
-
The way this works is that it ssh’s to your node and gets the result of ‘ip addr route’ as json. It then digs through that json to find the name of the device.
Your error seems to be that the json that is returned is ‘None’. This likely means the ssh failed.
Can you do a “mynode.execute(‘hello, fabric’)” ? Does that fail too?
This error needs to more clear, but it basically means the slice you are trying to get doesn’t exist.
September 28, 2022 at 8:15 am in reply to: How to delete a nonempty directory in jupyter notebook #3199What are you trying to delete? How are you trying to delete it?
You definitely have permissions to delete things in your JupyterHub container. If you open a terminal in JupyterLab you can get a shell in your container and use most BASH commands.
The error says “Invalid Refresh Token”. This is a more general error than just the execute method. You likely need a new API token or need to restart your Jupyter Notebook’s kernel.
Can you try logging out and back into JuptyerHub?
Paul
Arash,
Have you tried to do this with a physical machines outside of FABRIC. It would be interesting to see if any switches forward frames with errors.
I suspect that the only way to fix this is to restart your Juypyter container. Choose File->Hub Control Panel. Then stop/start the container. I think this will rebuild your environment.
Sorry for the delayed response. We have been running the FABIRC KNIT5 workshop.
Can you confirm that your bastion key has not expired? They expire every 6 months. You can create a new one at anytime.
September 10, 2022 at 4:50 pm in reply to: Unable to create/delete slice, takes forever for creation and errors out #2986There is a article here that links to some FABlib documentation. The sphinx documentation here shows the details of the FABlib API. Specifically, the submit function is described here and has an optional argument to set the timeout your are looking for.
Also, be careful because that slice will only work if all 6 RTK6000s at MAX are available. You might want to check the availability of those GPUs to find a site that has enough available.
Paul
This seems like an issue with your account. I’ll need to get someone else to look at it.
Are you using NIC_Basic? A bunch of ethtool settings are not possible with that type of NIC. You probably need to use one of the dedicated NICs.
Can you to clear your cookies and retry? Also, make sure you allow cookies.
September 8, 2022 at 5:16 pm in reply to: Authentication failed after hosts being in Active state #2937If you have the slice you can call:
slice_id = slice.get_slice_id()
In your example, you could do something like:
slice_id = fablib.get_slice(SLICENAME).get_slice_id()
September 8, 2022 at 4:35 pm in reply to: Authentication failed after hosts being in Active state #2935Yeah, I think your bastion key expired. They expire every 6 months. Try creating another one and retry.
Paul
September 8, 2022 at 3:19 pm in reply to: “Failed to load projects. Please re-try” error report #2929I see you in a project. If you were added recently you may need to wait a bit for the backend to sync or try logging out and back in. If that doesn’t work, we will need to check to see if your account was created correctly.
Give it 10 mins and log out/in. Let me know if that works.
September 8, 2022 at 3:09 pm in reply to: “Failed to load projects. Please re-try” error report #2927This error is happening because you are not a member of an active project. You need to ask your project lead to add you to a project.
-
AuthorPosts