1. Get_slice and list_nodes execution takes more than 10 minutes.

Get_slice and list_nodes execution takes more than 10 minutes.

Home Forums FABRIC General Questions and Discussion Get_slice and list_nodes execution takes more than 10 minutes.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4309
    Nagmat Nazarov
    Participant

      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.

      #4311
      Komal Thareja
      Participant

        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

        #4312
        Nagmat Nazarov
        Participant

          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.

          #4326
          Ilya Baldin
          Participant

            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/

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.