1. Arash SARABI

Arash SARABI

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • in reply to: Share FABRIC Slice with other project members #5358
    Arash SARABI
    Participant

      We want to work together on a notebook (if it is possible)

      Arash SARABI
      Participant

        Hi, 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.
        in reply to: How to extend the lease end date? #3821
        Arash SARABI
        Participant

          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.
          in reply to: Importing the plugins #3681
          Arash SARABI
          Participant

            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.
            in reply to: Importing the plugins #3679
            Arash SARABI
            Participant

              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}'
              in reply to: Packets with bad checksum being dropped. #3005
              Arash SARABI
              Participant

                Yes, I did the same thing, but the result was the same.

                • This reply was modified 1 year, 7 months ago by Arash SARABI.
                in reply to: Packets with bad checksum being dropped. #3004
                Arash SARABI
                Participant

                  No I am using NIC_ConnectX_5

                  in reply to: Packets with bad checksum being dropped. #2945
                  Arash SARABI
                  Participant

                    When changing slice.add_l2network(name='net_c', type='L2Bridge', interfaces=[ifaceclient, ifaceRouterC]) to slice.add_l2network(name='net_c', type='L2PTP', interfaces=[ifaceclient, ifaceRouterC]) on the host we cannot run the command ethtool -K ens8 rx-fcs on

                    in reply to: Packets with bad checksum being dropped. #2939
                    Arash SARABI
                    Participant

                      I tried it but had no luck:
                      Could not change any device features

                      in reply to: Authentication failed after hosts being in Active state #2936
                      Arash SARABI
                      Participant

                        Hi Paul,
                        Thanks,
                        Do you know how to get the slice ID?
                        slice = fablib.get_slice(SLICENAME,"something to get the ID")

                        in reply to: Authentication failed after hosts being in Active state #2934
                        Arash SARABI
                        Participant

                          How can I get the slice ID?
                          I know I can get the ID by using print(f"{slice}") but is there anyway to pass this automatically?

                          slice = fablib.get_slice(SLICENAME,"something to get the ID")

                          in reply to: Authentication failed after hosts being in Active state #2932
                          Arash SARABI
                          Participant

                            I’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.
                            in reply to: Packets with bad checksum being dropped. #2875
                            Arash SARABI
                            Participant

                              Yes, It seems the packets are being dropped!

                              in reply to: Packets with bad checksum being dropped. #2865
                              Arash SARABI
                              Participant

                                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.
                                in reply to: modifying device properties #2358
                                Arash SARABI
                                Participant

                                  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.

                                Viewing 15 posts - 1 through 15 (of 26 total)