- This topic has 3 replies, 3 voices, and was last updated 1 year, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › Get_slice and list_nodes execution takes more than 10 minutes.
The slice id : “d14c479f-3d2f-4541-8266-254e89882408”, Slice_name = “basic_nagm01”
The execution of :
`
try:
slice = fablib.get_slice(name=slice_name)
print(f”{slice.list_nodes()}”)
except Exception as e:
print(f”Exception: {e}”)
<code></code>` the command takes more than 10 minutes. What may be the issue? While other commands takes a second only.
Attached picture from jupyter notebook.
P.S: Tried the same steps after restart still takes more than 10 minutes.
Hi Nagmat,
Could you please check if your bastion keys are still valid? Also, could you please share and check for errors in /tmp/fabric/fablib.log
?
Thanks,
Komal
cat /tmp/fablib/fablib.log
the file is empty.
How do we check if bastion keys are invalid? I guess it is valid since other commands are running smoothly.
The currently valid bastion keys are listed in the Portal under ‘User Profile’/’SSH Keys’ (click on ‘Bastion’ tab). If you don’t remember which key is which, you can always take a fingerprint of either the public or private key (they are the same) and compare to the fingerprints shown in the portal:
$ ssh-keygen -E md5 -lf ~/path/to/the/key/file
More info here: https://learn.fabric-testbed.net/knowledge-base/logging-into-fabric-vms/