Forum Replies Created
-
AuthorPosts
-
Sounds good!
If I need to, I can go into the node through the fabric network, avoiding the management ip.
But I think my runs are going to wrap up before the slice expires. I will reach out if I need some help.Thanks!
Hello Ilya,
I have a slice that is currently using MICH for one of the nodes. Will the currently active slices/experiments get some grace period of a few days? Are they going to be taken down effective immediately?
Thanks!
Oh I see!
In my scripts I’m using a slightly different command. Here’s a full snippet.
from datetime import datetime, timedelta
from dateutil import tz
end_date = (datetime.now(tz=tz.tzutc()) + timedelta(days=7)).strftime(“%Y-%m-%d %H:%M:%S %z”)
try:
fabric_slice = fablib.get_slice(name=slice_name)
fabric_slice = fabric_slice.renew(end_date)fabric_slice = fablib.get_slice(name=slice_name)
print(f’New lease end time: {fabric_slice.get_lease_end()}’)
except Exception as e:
print(f”Fail: {e}”)Hello,
I believe the max time you can renew a slice for is 7 days.
Try with 7 or less in the days parameter. You can rerun this code in the future to extend the slice further.Usually this error comes up because older version of fabrictestbed-extensions is loaded.
Can you check the file fabric_config/requirements.txt?
If there are any entries for “fabrictestbed-extensions”, try to remove them save the file and then restart the jupyter server.Have you tried adding the force_refresh parameter?
fablib.list_sites(force_refresh=True)
You can recreate your slice following the same recipe.
If you don’t want the slice to be removed within 24hours you can extend the lease before it ends.
Hello!
This error usually pops up when there is no slice with that name returned by the fabric api.
Take a look at https://portal.fabric-testbed.net/experiments and check if the slice pops up there.Hope that helps
September 13, 2022 at 8:03 pm in reply to: Production Jupyter Hub Upgrade 09/13/22 [PLEASE READ] #3029For me what worked was: right click -> copy download url -> paste on a new tab and enter
Otherwise most of the downloads were failing.
-
AuthorPosts