Forum Replies Created
-
AuthorPosts
-
We want to work together on a notebook (if it is possible)
September 12, 2023 at 5:43 pm in reply to: Problem with instrumentalizing the slice for measurement network using elk #5289Hi, I think you should run this code in the JupyterHub shell, rather than in the notebooks.
- This reply was modified 7 months, 2 weeks ago by Arash SARABI.
Hi, You can use the following code to extend your lease:
from datetime import datetime from datetime import timezone from datetime import timedelta #Set end host to now plus 1 day end_date = (datetime.now(timezone.utc) + timedelta(days=1)).strftime("%Y-%m-%d %H:%M:%S %z") try: slice = fablib.get_slice(name=slice_name) slice.renew(end_date) except Exception as e: print(f"Exception: {e}")
- This reply was modified 1 year, 2 months ago by Arash SARABI.
Yesterday our project received confirmation that the volumes are created. How should I proceed?
Volumes are created on FABRIC-UTAH, FABRIC-TACC, FABRIC-STAR, FABRIC-MICH, FABRIC-FIU with the following information on all sites.
- This reply was modified 1 year, 2 months ago by Arash SARABI.
Thank you I am still unable to run the experiment with the following error:
Exception: Failed to submit slice: Status.FAILURE, (500) Reason: INTERNAL SERVER ERROR HTTP response headers: HTTPHeaderDict({'Server': 'nginx/1.21.6', 'Date': 'Sat, 28 Jan 2023 17:39:55 GMT', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '311', 'Connection': 'keep-alive', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Headers': 'DNT, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Range, Authorization', 'Access-Control-Allow-Methods': 'GET, POST, PUT, PATCH, DELETE, OPTIONS', 'Access-Control-Allow-Origin': '*', 'Access-Control-Expose-Headers': 'Content-Length, Content-Range, X-Error', 'X-Error': 'PDP Authorization check failed - Policy Violation: Your project is lacking Component.Storage tag to provision a VM with attached storage.'}) HTTP response body: b'{\n "errors": [\n {\n "details": "PDP Authorization check failed - Policy Violation: Your project is lacking Component.Storage tag to provision a VM with attached storage.",\n "message": "Internal Server Error"\n }\n ],\n "size": 1,\n "status": 500,\n "type": "error"\n}'
Yes, I did the same thing, but the result was the same.
- This reply was modified 1 year, 7 months ago by Arash SARABI.
No I am using
NIC_ConnectX_5
When changing
slice.add_l2network(name='net_c', type='L2Bridge', interfaces=[ifaceclient, ifaceRouterC])
toslice.add_l2network(name='net_c', type='L2PTP', interfaces=[ifaceclient, ifaceRouterC])
on the host we cannot run the commandethtool -K ens8 rx-fcs on
I tried it but had no luck:
Could not change any device features
September 8, 2022 at 4:44 pm in reply to: Authentication failed after hosts being in Active state #2936Hi Paul,
Thanks,
Do you know how to get the slice ID?
slice = fablib.get_slice(SLICENAME,"something to get the ID")
September 8, 2022 at 3:57 pm in reply to: Authentication failed after hosts being in Active state #2934How can I get the slice ID?
I know I can get the ID by usingprint(f"{slice}")
but is there anyway to pass this automatically?slice = fablib.get_slice(SLICENAME,"something to get the ID")
September 8, 2022 at 3:35 pm in reply to: Authentication failed after hosts being in Active state #2932I’m assuming this has something to do with the bastion key, which has went missing from my portal.
- This reply was modified 1 year, 7 months ago by Arash SARABI.
Yes, It seems the packets are being dropped!
I think that might be a side effect of NIC_Basic’s being SRIOV VFs with limited low level configuration available. Have you tried to use FABRIC’s dedicated NICs? theoretically it should give a bit more control.
- This reply was modified 1 year, 7 months ago by Arash SARABI.
Thank you very much. By ignoring the error, it appears that everything is fine.
Regarding the code you provided, I had previously fixed the quotes, and I think the error may caused by something else. -
AuthorPosts